: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-header { transition: transform .25s ease, box-shadow .2s ease; }
.site-nav { align-items: center; display: flex; gap: 24px; justify-content: space-between; width: 100%; }
.brand { align-items: center; display: inline-flex; gap: 8px; }
.brand span { color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -.06em; }
.brand-mark { display: block; height: 28px; object-fit: contain; width: 28px; }
.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 { align-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); display: inline-flex; font-size: 18px; height: 32px; justify-content: center; transition: background .2s ease, color .2s ease; width: 32px; }
.language-link:hover { background: var(--cream); color: #bd8c3e; }
.theme-toggle { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; display: inline-flex; font-size: 17px; height: 38px; justify-content: center; margin-left: 2px; transition: background .2s ease, transform .2s ease; width: 38px; }
.theme-toggle:hover { background: var(--cream); 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("../img/hero-living-room.webp") 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("../img/hero-living-room.webp") 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("../img/hero-living-room.webp") 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; }
.contact-panel { background: var(--cream); padding: 120px clamp(23px, 8vw, 132px); }
.contact-panel .section-label { margin-bottom: 28px; }
.contact-panel-grid { align-items: end; display: grid; gap: 10vw; grid-template-columns: minmax(300px, 1fr) minmax(280px, .7fr); }
.contact-panel h2 { margin-bottom: 30px; }
.contact-panel-grid > div:first-child p { font-size: 16px; line-height: 1.7; max-width: 470px; }
.contact-details { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-email { border-bottom: 1px solid currentColor; display: inline-flex; font-family: var(--serif); font-size: clamp(22px, 2.5vw, 32px); gap: 16px; padding-bottom: 7px; }
.contact-email span { font-family: var(--sans); font-size: 20px; }
.contact-details p { color: rgba(39,34,28,.62); font-size: 13px; margin: 17px 0 28px; }
[data-theme="dark"] .contact-details p { color: rgba(244,238,227,.62); }
.products { background: var(--paper); padding: 120px clamp(23px, 7vw, 110px) 100px; position: relative; text-align: center; }
.products .section-label { margin-bottom: 20px; }
.products h2 { margin-bottom: 28px; }
.product-filters { background: var(--cream); border-radius: 999px; display: inline-flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 72px; padding: 5px; }
.product-filter { background: transparent; border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; font: inherit; font-size: 12px; padding: 10px 15px; transition: background .2s ease, color .2s ease; }
.product-filter.is-active, .product-filter:hover { background: var(--paper); box-shadow: 0 2px 8px rgba(39,34,28,.1); color: var(--ink); }
.product-viewport { margin: 0 auto; max-width: 1120px; overflow: hidden; }
.product-grid { display: flex; gap: 30px; margin: 0; transition: transform .35s ease; will-change: transform; }
.product-card { min-width: 0; text-align: left; }
.product-grid .product-card { flex: 0 0 calc((100% - 90px) / 4); }
.product-art { align-items: center; background: #faf9f6; border-radius: 15px 15px 0 0; display: flex; height: 230px; justify-content: center; overflow: hidden; position: relative; }
.product-art::after { background: rgba(39,34,28,.1); border-radius: 50%; bottom: 16px; content: ""; filter: blur(7px); height: 16px; position: absolute; width: 110px; }
.product-art span { background: #272a31; border-radius: 10px; box-shadow: 10px 14px 0 rgba(0,0,0,.08); display: block; height: 125px; position: relative; width: 75px; z-index: 1; }
.product-art span::after { background: #e1b55c; border-radius: 50%; content: ""; height: 12px; left: 50%; position: absolute; top: 38%; transform: translateX(-50%); width: 12px; }
.product-switch span { border-radius: 15px; height: 140px; width: 90px; }
.product-switch span::after { background: #f7f4ed; border: 2px solid #bd8c3e; height: 40px; top: 40%; width: 40px; }
.product-dimmer span { border-radius: 50%; height: 132px; width: 132px; }
.product-dimmer span::after { background: #bd8c3e; height: 42px; top: 34%; width: 42px; }
.product-light span { background: #e1b55c; border-radius: 50% 50% 14px 14px; box-shadow: 0 0 30px rgba(225,181,92,.5); height: 110px; width: 110px; }
.product-light span::after { background: #fff8df; height: 28px; top: 38%; width: 28px; }
.product-strip span { background: transparent; border: 12px solid #e1b55c; border-radius: 50%; box-shadow: 0 0 28px rgba(225,181,92,.45); height: 110px; transform: rotate(-12deg); width: 155px; }
.product-strip span::after { background: #fff8df; height: 10px; top: 45%; width: 10px; }
.product-ambient span { background: #d9a54d; border-radius: 50% 50% 18px 18px; box-shadow: 0 0 38px rgba(225,181,92,.55); height: 130px; width: 105px; }
.product-ambient span::after { background: #fff7d9; height: 35px; top: 35%; width: 35px; }
.product-info { background: var(--cream); border-radius: 0 0 15px 15px; padding: 15px 17px 19px; }
.product-info p { color: rgba(39,34,28,.52); font-size: 12px; margin: 0 0 4px; }
.product-info h3 { color: var(--ink); font-size: 16px; margin: 0 0 4px; }
.product-rating { color: #efa04a; font-size: 13px; letter-spacing: 1px; }
.product-bottom { align-items: center; display: flex; justify-content: space-between; margin-top: 21px; }
.product-bottom strong { color: var(--ink); font-size: 16px; }
.product-bottom button { align-items: center; background: var(--ink); border: 0; border-radius: 50%; color: var(--paper); cursor: pointer; display: flex; font-size: 25px; height: 37px; justify-content: center; line-height: 1; width: 37px; }
.product-arrow { align-items: center; background: var(--cream); border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; display: flex; font-size: 22px; height: 40px; justify-content: center; position: absolute; top: 57%; width: 40px; }
.product-arrow:hover { background: var(--gold); }
.product-arrow-prev { left: 4%; }
.product-arrow-next { right: 4%; }
.products-view-all { color: #d58c31; display: inline-flex; font-size: 13px; gap: 14px; margin-top: 48px; }
[data-theme="dark"] .product-info p { color: rgba(244,238,227,.55); }
.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, .footer-socials a i { 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: auto; border-bottom: 1px solid var(--line); border-top: 0; height: 64px; padding: 0 17px; top: 0; }
  .site-header.nav-hidden { transform: translateY(-100%); }
  .site-nav { gap: 10px; }
  .brand span { font-size: 19px; }
  .brand-mark { height: 25px; width: 25px; }
  .desktop-nav { display: none; }
  .language-link { font-size: 17px; height: 30px; width: 30px; }
  .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: 0 0 16px 16px; 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; top: 64px; 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("../img/landing-phone.webp"); 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; }
  .contact-panel { padding: 85px 23px 100px; }
  .contact-panel-grid { display: block; }
  .contact-panel h2 { margin-bottom: 25px; }
  .contact-details { margin-top: 50px; }
  .contact-email { font-size: 25px; }
  .products { padding: 85px 18px 90px; }
  .product-filters { border-radius: 18px; margin-bottom: 46px; max-width: 350px; }
  .product-filter { font-size: 11px; padding: 8px 10px; }
  .product-grid { gap: 20px; }
  .product-grid .product-card { flex-basis: calc((100% - 20px) / 2); }
  .product-art { height: 170px; }
  .product-art span { height: 90px; width: 55px; }
  .product-switch span { height: 100px; width: 65px; }
  .product-dimmer span, .product-light span { height: 90px; width: 90px; }
  .product-info { padding: 12px; }
  .product-info h3 { font-size: 13px; }
  .product-bottom { margin-top: 15px; }
  .product-bottom strong { font-size: 13px; }
  .product-bottom button { font-size: 21px; height: 32px; width: 32px; }
  .product-arrow { display: none; }
  .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; }
}