:root {
  --ink: #27221c;
  --paper: #f4efe6;
  --cream: #fcf9f2;
  --gold: #e1b55c;
  --line: rgba(39, 34, 28, 0.16);
  --sans: "DM Sans", "Trebuchet MS", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

[data-theme="dark"] {
  --ink: #f4eee3;
  --paper: #29231e;
  --cream: #332b24;
  --gold: #e1b55c;
  --line: rgba(244, 238, 227, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); overflow-x: hidden; transition: background-color .25s ease, color .25s ease; }
a { color: inherit; text-decoration: none; }

.site-header {
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  height: 72px;
  left: 0;
  padding: 0 clamp(20px, 5vw, 76px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(39,34,28,.08); }
.site-nav { align-items: center; display: flex; gap: 24px; justify-content: space-between; width: 100%; }
.brand img { display: block; height: auto; width: 122px; }
.desktop-nav { align-items: center; display: flex; gap: clamp(12px, 2.4vw, 32px); margin-left: auto; }
.nav-link { align-items: center; color: var(--ink); display: inline-flex; font-size: 12px; font-weight: 600; gap: 6px; white-space: nowrap; }
.nav-link span { color: #bd8c3e; font-size: 16px; }
.nav-link:hover, .nav-link.active-link { color: #bd8c3e; }
.header-actions { align-items: center; display: flex; gap: 10px; }
.language-link { border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 11px; min-height: 32px; padding: 6px 11px; transition: background .2s ease, color .2s ease; }
.language-link:hover { background: var(--cream); color: #bd8c3e; }
.theme-toggle { align-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; cursor: pointer; display: inline-flex; font-size: 17px; height: 42px; justify-content: center; margin-left: 2px; transition: background .2s ease, transform .2s ease; width: 42px; }
.theme-toggle:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.button { align-items: center; border-radius: 999px; display: inline-flex; font-size: 14px; font-weight: 600; gap: 12px; justify-content: center; min-height: 46px; padding: 0 25px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: #fffaf2; color: var(--ink); }
.button-dark { background: rgba(47, 37, 29, .88); color: #fff; }
.hero { background: #61442e url("assets/hero-living-room.png") center / cover no-repeat; color: #fff; display: flex; flex-direction: column; height: 100dvh; justify-content: flex-end; min-height: 100svh; overflow: hidden; padding: 150px clamp(28px, 8vw, 132px) 38px; position: relative; }
.hero-scrim { background: linear-gradient(180deg, rgba(28, 22, 18, .32), transparent 36%, rgba(26, 19, 14, .38)); inset: 0; position: absolute; }
.hero-content, .hero-footer { position: relative; z-index: 1; }
.hero-content { margin-top: auto; max-width: 660px; }
.eyebrow, .section-label { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { margin: 0 0 23px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; margin: 0; }
h1 { font-size: clamp(52px, 6.4vw, 96px); line-height: .92; }
h2 { font-size: clamp(46px, 6vw, 84px); line-height: .96; }
h2 em { color: #bd8c3e; font-style: italic; }
.hero-copy { font-size: 16px; line-height: 1.6; margin: 30px 0 22px; max-width: 430px; }
.text-link, .dark-link { border-bottom: 1px solid currentColor; display: inline-flex; font-size: 14px; font-weight: 700; gap: 14px; padding-bottom: 6px; }
.text-link span, .dark-link span { font-size: 18px; line-height: 12px; }
.hero-footer { align-items: end; display: flex; font-size: 11px; justify-content: space-between; letter-spacing: .08em; line-height: 1.45; margin-top: 80px; text-transform: uppercase; }
.hero-footer p { margin: 0; }
.hero-note { text-align: right; }
.scroll-mark { border: 1px solid rgba(255,255,255,.7); border-radius: 50%; height: 35px; position: relative; width: 35px; }
.scroll-mark::after { border-bottom: 1px solid #fff; border-right: 1px solid #fff; content: ""; height: 6px; left: 13px; position: absolute; top: 11px; transform: rotate(45deg); width: 6px; }
.intro { background: var(--paper); padding: 145px clamp(28px, 8vw, 132px); transition: background-color .25s ease; }
.section-label { color: #97733f; margin-bottom: 62px; }
.intro-grid { display: grid; gap: 10vw; grid-template-columns: minmax(300px, .9fr) minmax(280px, .7fr); }
.intro-grid p { font-size: 16px; line-height: 1.7; max-width: 490px; }
.intro-grid .large-copy { font-family: var(--serif); font-size: 27px; line-height: 1.3; margin-top: 0; }
.dark-link { margin-top: 24px; }
.membership { background: var(--cream); display: grid; grid-template-columns: 1.1fr .9fr; min-height: 650px; transition: background-color .25s ease; }
.membership-image { background: url("assets/hero-living-room.png") 72% center / cover; min-height: 500px; }
.membership-copy { align-self: center; padding: 80px clamp(34px, 7vw, 110px); }
.membership-copy .section-label { margin-bottom: 36px; }
.membership-copy p { font-size: 16px; line-height: 1.7; margin: 30px 0; max-width: 360px; }
.testimonials { background: var(--paper); padding: 120px clamp(23px, 8vw, 132px) 140px; text-align: center; }
.testimonials .section-label { margin-bottom: 20px; }
.testimonials h2 { margin-bottom: 70px; }
.testimonial-grid { display: grid; gap: clamp(24px, 3vw, 42px); grid-template-columns: repeat(3, 1fr); margin: 0 auto; max-width: 1100px; }
.testimonial-card { min-height: 430px; position: relative; }
.testimonial-photo { background: url("assets/hero-living-room.png") center / cover; border-radius: 14px; height: 355px; }
.testimonial-card-two .testimonial-photo { background-position: 76% center; filter: saturate(.78); }
.testimonial-card-three .testimonial-photo { background-position: 23% center; filter: sepia(.12); }
.testimonial-quote { background: var(--cream); border-radius: 14px; bottom: 0; box-shadow: 0 18px 30px rgba(39,34,28,.16); left: 6%; padding: 30px 22px 21px; position: absolute; right: 6%; }
.testimonial-avatar { align-items: center; background: var(--gold); border: 5px solid var(--cream); border-radius: 50%; color: var(--ink); display: flex; font-family: var(--serif); font-size: 18px; font-weight: 700; height: 54px; justify-content: center; left: 50%; position: absolute; top: -28px; transform: translateX(-50%); width: 54px; }
.testimonial-quote h3 { color: var(--ink); font-size: 15px; margin: 0; }
.testimonial-quote p { color: rgba(39,34,28,.55); font-size: 11px; margin: 3px 0 15px; }
.testimonial-quote blockquote { color: rgba(39,34,28,.78); font-size: 12px; line-height: 1.55; margin: 0 auto 15px; max-width: 260px; }
.stars { color: #ed963d; font-size: 13px; letter-spacing: 2px; }
.site-footer { background: var(--paper); color: var(--ink); display: grid; gap: 52px clamp(30px, 6vw, 90px); grid-template-columns: 1.7fr 1fr 1fr 1fr; padding: 86px clamp(28px, 10vw, 138px) 34px; }
.footer-brand-lockup { align-items: center; display: inline-flex; gap: 8px; margin-bottom: 25px; }
.footer-brand-lockup span { font-size: 23px; font-weight: 700; letter-spacing: -.06em; }
.footer-logo { height: 28px; object-fit: contain; object-position: left center; width: 28px; }
.site-footer p, .footer-group a { color: rgba(39,34,28,.72); font-size: 13px; line-height: 1.6; }
.site-footer p { margin: 0; }
.footer-group { display: flex; flex-direction: column; gap: 13px; }
.footer-group h3 { color: #c78c38; font-size: 13px; font-weight: 500; margin: 0 0 2px; }
.footer-group a { transition: color .2s ease; }
.footer-group a:hover, .footer-legal a:hover { color: #bd8c3e; }
.footer-socials a { align-items: center; display: flex; gap: 12px; }
.footer-socials a span { color: var(--ink); font-size: 16px; font-weight: 700; min-width: 14px; }
.footer-bottom { align-items: end; border-top: 1px solid var(--line); display: flex; grid-column: 1 / -1; justify-content: space-between; padding-top: 25px; }
.footer-legal { display: flex; gap: 35px; }
.footer-legal a { color: rgba(39,34,28,.72); font-size: 13px; }
.copyright { white-space: nowrap; }
.menu-toggle, .mobile-nav { display: none; }
.offline-page { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding: 60px clamp(28px, 10vw, 138px); }
.offline-page > img { height: 72px; margin-bottom: 25px; width: 72px; }
.offline-page h1 { margin-bottom: 20px; }
.offline-page p:not(.eyebrow) { font-size: 16px; margin: 0 0 30px; }

[data-theme="dark"] .site-header.scrolled { background: rgba(28, 23, 19, .96); }
[data-theme="dark"] .membership-image { filter: brightness(.78) saturate(.9); }
[data-theme="dark"] .footer-brand-lockup .footer-logo { filter: brightness(.92); }
[data-theme="dark"] .site-header { background: var(--paper); }
[data-theme="dark"] .testimonial-quote p { color: rgba(244,238,227,.55); }
[data-theme="dark"] .testimonial-quote blockquote { color: rgba(244,238,227,.78); }
[data-theme="dark"] .site-footer p,
[data-theme="dark"] .footer-group a,
[data-theme="dark"] .footer-legal a { color: rgba(244, 238, 227, .72); }
[data-theme="dark"] .footer-socials a span { color: var(--ink); }

@media (max-height: 820px) and (min-width: 701px) {
  .hero { min-height: 100svh; padding-top: 120px; }
  .hero-content { max-width: 560px; }
  h1 { font-size: clamp(52px, 5.8vw, 82px); }
  .hero-copy { margin: 20px 0 16px; }
  .hero-footer { margin-top: 44px; }
}

@media (max-width: 700px) {
  .site-header { bottom: 0; border-bottom: 0; border-top: 1px solid var(--line); height: 64px; padding: 0 17px; top: auto; }
  .site-nav { gap: 10px; }
  .brand img { width: 108px; }
  .desktop-nav { display: none; }
  .language-link { font-size: 10px; padding: 5px 8px; }
  .theme-toggle { display: inline-flex; height: 34px; width: 34px; }
  .menu-toggle { background: transparent; border: 0; display: grid; gap: 5px; padding: 8px 0 8px 8px; }
  .menu-toggle span { background: var(--ink); display: block; height: 1px; width: 22px; }
  .mobile-nav { background: var(--paper); border-radius: 16px 16px 0 0; bottom: 64px; box-shadow: 0 -4px 18px rgba(39,34,28,.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 10px; left: 0; padding: 25px 20px 27px; position: absolute; right: 0; transform: translateY(calc(100% + 64px)); transition: transform .25s ease; }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav .nav-link { align-items: center; flex-direction: column; font-size: 11px; gap: 5px; }
  .hero { background-image: url("assets/landing-phone.png"); background-position: center 42%; height: 100svh; min-height: 100svh; padding: 92px 23px 88px; }
  h1 { font-size: clamp(45px, 13vw, 65px); }
  .hero-copy { font-size: 13px; line-height: 1.45; margin: 20px 0 16px; max-width: 290px; }
  .hero-footer { margin-top: 42px; }
  .hero-note { display: none; }
  .intro { padding: 82px 23px; }
  .section-label { margin-bottom: 37px; }
  .intro-grid { display: block; }
  .intro-grid h2 { margin-bottom: 45px; }
  .intro-grid .large-copy { font-size: 24px; }
  .membership { display: flex; flex-direction: column; }
  .membership-image { min-height: 310px; }
  .membership-copy { padding: 69px 23px 85px; }
  .testimonials { padding: 85px 23px 110px; }
  .testimonials h2 { margin-bottom: 50px; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 340px; }
  .testimonial-card { min-height: 400px; }
  .site-footer { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; padding: 64px 23px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-group { gap: 10px; }
  .footer-bottom { align-items: flex-start; display: block; grid-column: 1 / -1; }
  .footer-legal { gap: 18px; margin-top: 18px; }
}