/* ==============================
   RESET
   ============================== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
blockquote, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { border: none; background: none; cursor: pointer; }


/* ==============================
   ROOT VARIABLES
   ============================== */
:root {
  --color-bg:          #F5F2EB;
  --color-bg-dark:     #191A17;
  --color-bg-deep:     #0F2E2A;
  --color-bg-soft:     #EAE5DA;
  --color-text:        #191A17;
  --color-text-2:      #3E3B34;
  --color-text-muted:  #57534A;
  --color-text-faint:  #3A372F;
  --color-text-inv:    #F5F2EB;
  --color-accent:      #B4763F;
  --color-accent-lt:   #D9BFA4;
  --color-accent-warm: #E4CBAE;
  --font-serif:        'Instrument Serif', serif;
  --font-sans:         'Montserrat', system-ui, sans-serif;
  --max-w:             1360px;
  --pad-x:             clamp(20px, 4vw, 56px);
}


/* ==============================
   TYPOGRAPHY & BASE
   ============================== */
html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-bg-deep); }
a:hover { color: var(--color-accent); }
a, button, img { transition-timing-function: cubic-bezier(.2, .7, .2, 1); }

::selection { background: var(--color-accent); color: var(--color-bg); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
summary:focus-visible { outline-offset: 6px; }


/* ==============================
   ANIMATIONS
   ============================== */
@keyframes omHeroZoom {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}

@keyframes omLine {
  from { width: 0; opacity: 0; }
  to   { width: 34px; opacity: 1; }
}


/* ==============================
   LAYOUT
   ============================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
}


/* ==============================
   SECTION LABEL (overline)
   ============================== */
.section_label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section_label_line {
  width: 34px;
  height: 1px;
  background: var(--color-accent);
  display: block;
  flex-shrink: 0;
  animation: omLine 1s cubic-bezier(.2, .7, .2, 1) both;
}

.section_label_line--inv {
  background: var(--color-accent-lt);
}

.section_label_text {
  font-size: 9.5px;
  letter-spacing: 0.30em;
  font-weight: 600;
  color: var(--color-accent);
}

.section_label_text--inv {
  color: var(--color-accent-lt);
}


/* ==============================
   SCROLL REVEAL
   ============================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.30s; }


/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .35s ease, transform .35s ease, color .35s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn_dark {
  background: var(--color-bg-deep);
  color: var(--color-text-inv);
}

.btn_dark:hover {
  background: var(--color-accent);
  color: var(--color-text-inv);
  transform: translateY(-2px);
}

.btn_accent {
  background: var(--color-accent);
  color: var(--color-text-inv);
}

.btn_accent:hover {
  background: var(--color-text-inv);
  color: var(--color-bg-deep);
  transform: translateY(-2px);
}

.btn_ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 10.8px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(25, 26, 23, 0.28);
  transition: border-color .3s ease, color .3s ease;
  text-decoration: none;
}

.btn_ghost:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}


/* ==============================
   FAQ / DETAILS
   ============================== */
summary::-webkit-details-marker { display: none; }

summary {
  list-style: none;
  transition: color .25s ease;
  cursor: pointer;
}

summary:hover { color: var(--color-accent); }

details[open] > summary .faq_item_toggle {
  transform: rotate(45deg);
}

details[data-faq] {
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

details[data-faq][open] {
  background: #FFFFFF;
  border-color: rgba(15, 46, 42, 0.38);
  box-shadow: 0 16px 40px -26px rgba(25, 26, 23, 0.45);
}

details[data-faq][open] summary .faq_item_toggle {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(25, 26, 23, 0.35);
}

details::details-content {
  block-size: 0;
  overflow: clip;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    block-size .42s cubic-bezier(.2, .7, .2, 1),
    opacity .32s ease,
    transform .42s cubic-bezier(.2, .7, .2, 1),
    content-visibility .42s allow-discrete;
}

details[open]::details-content {
  block-size: auto;
  opacity: 1;
  transform: translateY(0);
}


/* ==============================
   SITE HEADER
   ============================== */
.site_header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 46, 42, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 242, 235, 0.14);
  will-change: transform;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.site_header_inner {
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site_header_logo_link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site_header_logo {
  height: clamp(30px, 3.4vw, 40px);
  width: auto;
}

.site_header_nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 38px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site_header_navlink {
  font-size: 9.9px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: rgba(245, 242, 235, 0.86);
  text-transform: uppercase;
  transition: color .3s ease;
}

.site_header_navlink:hover {
  color: var(--color-accent-warm);
}

.site_header_navcta {
  background: var(--color-accent);
  color: var(--color-text-inv);
  font-size: 9.9px;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  transition: background .35s ease;
}

.site_header_navcta:hover {
  background: var(--color-accent);
  color: var(--color-text-inv);
}

/* Hamburger toggle (hidden on desktop) */
.site_header_toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.site_header_toggle_bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(245, 242, 235, 0.9);
  border-radius: 1px;
  transform-origin: center;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s ease, width .25s ease;
}

.site_header_toggle.is_open .site_header_toggle_bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site_header_toggle.is_open .site_header_toggle_bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.site_header_toggle.is_open .site_header_toggle_bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ==============================
   SITE FOOTER
   ============================== */
.site_footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(245, 242, 235, 0.12);
  padding: 32px var(--pad-x);
}

.site_footer_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}

.site_footer_logo {
  height: 34px;
  width: auto;
}

.site_footer_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}

.site_footer_tagline {
  font-size: 11.7px;
  color: rgba(245, 242, 235, 0.66);
  letter-spacing: 0.04em;
}

.site_footer_contact {
  font-size: 11.7px;
  color: var(--color-accent-warm);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(228, 203, 174, 0.4);
  transition: color .3s ease;
}

.site_footer_contact:hover {
  color: var(--color-text-inv);
}

.site_footer_legal {
  font-size: 11.2px;
  color: rgba(245, 242, 235, 0.5);
}


/* ==============================
   STICKY CTA (mobile)
   ============================== */
.sticky_cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: rgba(15, 46, 42, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(245, 242, 235, 0.16);
  padding: 12px 16px;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}

.sticky_cta_visible {
  display: flex;
}

.sticky_cta_label {
  font-size: 9.9px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--color-accent-warm);
  text-transform: uppercase;
}

.sticky_cta_btn {
  background: var(--color-accent);
  color: var(--color-text-inv);
  font-family: var(--font-sans);
  font-size: 10.8px;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 15px 22px;
  border-radius: 2px;
  text-transform: uppercase;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background .35s ease;
}


/* ==============================
   NAV OVERLAY
   ============================== */
.nav_overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 26, 23, 0.58);
  backdrop-filter: blur(3px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.nav_overlay.is_open {
  opacity: 1;
  pointer-events: auto;
}


/* ==============================
   NAV SIDEBAR
   ============================== */
.nav_sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 82vw);
  background: var(--color-bg-deep);
  z-index: 65;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 36px;
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.2, .7, .2, 1);
  overflow-y: auto;
}

.nav_sidebar.is_open {
  transform: translateX(0);
}

.nav_sidebar_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.nav_sidebar_logo_link {
  display: flex;
  align-items: center;
}

.nav_sidebar_logo {
  height: 30px;
  width: auto;
}

.nav_sidebar_close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav_sidebar_close span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(245, 242, 235, 0.6);
  border-radius: 1px;
  position: absolute;
  transition: background .25s ease;
}

.nav_sidebar_close span:nth-child(1) { transform: rotate(45deg); }
.nav_sidebar_close span:nth-child(2) { transform: rotate(-45deg); }

.nav_sidebar_close:hover span {
  background: var(--color-text-inv);
}

.nav_sidebar_nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nav_sidebar_link {
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: rgba(245, 242, 235, 0.72);
  text-transform: uppercase;
  padding: 18px 0;
  border-bottom: 1px solid rgba(245, 242, 235, 0.08);
  display: block;
  transition: color .25s ease, padding-left .25s ease;
}

.nav_sidebar_link:hover {
  color: var(--color-text-inv);
  padding-left: 6px;
}

.nav_sidebar_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  background: var(--color-accent);
  color: var(--color-text-inv);
  font-family: var(--font-sans);
  font-size: 9.9px;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 17px 24px;
  border-radius: 2px;
  transition: background .35s ease, transform .35s ease;
  text-decoration: none;
}

.nav_sidebar_cta:hover {
  background: rgba(180, 118, 63, 0.85);
  color: var(--color-text-inv);
  transform: translateY(-2px);
}

body.nav_open .sticky_cta {
  display: none;
}


/* ==============================
   MOBILE
   ============================== */
@media (max-width: 900px) {
  .site_header_nav { display: none; }
  .site_header_toggle { display: flex; }
}

@media (max-width: 759px) {
  body { padding-bottom: 76px; }
  .section_label { justify-content: center; }

  .site_footer_inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site_footer_meta {
    justify-content: center;
    text-align: center;
  }
}
