/* ================================================
   DOSON Design System v2 — Multi-Page Luxury Site
   ================================================
   80% The Whoo structure / 20% DOSON identity
   GSAP ScrollTrigger for scroll animations
   ================================================ */


/* ================================================
   1. DESIGN TOKENS
   ================================================ */

:root {
  /* Teal family */
  --doson-teal:        #5BBCB4;
  --doson-teal-light:  #8DD4CC;
  --doson-teal-deep:   #2A8F86;
  --doson-teal-glass:  #A8DED8;

  /* Neutrals — 80%+ of every page */
  --doson-white:       #FFFFFF;
  --doson-off-white:   #FAFAFA;
  --doson-ivory:       #F5F2EE;
  --doson-gray-light:  #E8E6E3;
  --doson-gray:        #9B9793;
  --doson-charcoal:    #2C2C2C;
  --doson-black:       #1A1A1A;

  /* Accents — max 5% usage */
  --doson-gold:        #C5A66E;
  --doson-lotus-pink:  #D4A5A5;

  /* Gradients */
  --doson-gradient: linear-gradient(180deg, #A8DED8 0%, #5BBCB4 50%, #2A8F86 100%);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing system */
  --space-section: 120px;
  --space-section-m: 80px;
  --space-element: 56px;
  --space-element-m: 36px;
  --max-content: 1200px;
  --max-text: 640px;
  --page-pad: 48px;
  --page-pad-m: 20px;

  /* Motion */
  --ease-luxury: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur-fast: 0.3s;
  --dur-std: 0.5s;
  --dur-slow: 0.7s;
  --dur-reveal: 0.9s;

  /* Nav */
  --nav-height: 72px;
  --nav-height-m: 60px;
  --announce-height: 32px;
}


/* ================================================
   2. RESET & BASE
   ================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--doson-charcoal);
  background-color: var(--doson-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ================================================
   3. SHARED TYPOGRAPHY
   ================================================ */

.heading-hero {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--doson-black);
}

.heading-section {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.heading-sub {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.body-large {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
}

.label-upper {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--doson-teal-deep);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .heading-hero { font-size: 36px; letter-spacing: 0.05em; }
  .heading-section { font-size: 28px; }
  .heading-sub { font-size: 18px; }
  .body-large { font-size: 16px; }
}


/* ================================================
   4. SHARED COMPONENTS
   ================================================ */

/* Placeholder image blocks */
.placeholder-img {
  background: linear-gradient(135deg, var(--doson-gray-light) 0%, #d4d2cf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--doson-gray);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  overflow: hidden;
  position: relative;
}

.placeholder-img--teal {
  background: linear-gradient(135deg, var(--doson-teal-glass) 0%, var(--doson-teal-light) 100%);
  color: var(--doson-teal-deep);
}

.placeholder-img--dark {
  background: linear-gradient(135deg, #3a3a3a 0%, var(--doson-charcoal) 100%);
  color: var(--doson-gray);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: all var(--dur-std) var(--ease-luxury);
  cursor: pointer;
  border: none;
}

.btn--teal {
  background: var(--doson-teal);
  color: #fff;
}
.btn--teal:hover {
  background: var(--doson-teal-deep);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--doson-charcoal);
  color: var(--doson-charcoal);
}
.btn--ghost:hover {
  background: var(--doson-charcoal);
  color: #fff;
}

.btn--white-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn--white-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn__arrow {
  font-size: 16px;
  transition: transform var(--dur-fast) var(--ease-luxury);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Section wrapper */
.section-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

@media (max-width: 768px) {
  .section-inner { padding: 0 var(--page-pad-m); }
  .btn { padding: 12px 24px; font-size: 12px; }
}

/* Divider */
.divider {
  width: 60px;
  height: 1px;
  background: var(--doson-teal);
  margin: 24px 0;
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-reveal) var(--ease-luxury),
              transform var(--dur-reveal) var(--ease-luxury);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ================================================
   5. ANNOUNCEMENT BAR
   ================================================ */

.announce {
  background: var(--doson-white);
  color: var(--doson-charcoal);
  border-bottom: 1px solid var(--doson-gray-light);
  height: var(--announce-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition: transform 0.45s var(--ease-luxury);
}

.announce.is-hidden {
  transform: translateY(-100%);
}

.announce__text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ================================================
   6. NAVIGATION
   ================================================ */

.nav {
  position: fixed;
  top: var(--announce-height);
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--dur-std) var(--ease-luxury),
              box-shadow var(--dur-std) var(--ease-luxury),
              top var(--dur-std) var(--ease-luxury),
              transform var(--dur-std) var(--ease-luxury);
}

.nav--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Hide nav on scroll down */
.nav--hidden {
  transform: translateY(calc(-100% - var(--announce-height)));
}

/* Nav always goes white on hover — even on hero pages */
.nav:hover {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav:hover .nav__logo-svg--dark  { display: block; }
.nav:hover .nav__logo-svg--white { display: none; }
.nav:hover .nav__item-btn        { color: var(--doson-charcoal); }
.nav:hover .nav__icon-btn        { color: var(--doson-charcoal); }
.nav:hover .nav__hamburger-line  { background: var(--doson-charcoal); }
.nav:hover .nav__item-btn::after { background: var(--doson-charcoal); }

.nav__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-svg {
  height: 40px;
  width: auto;
  transition: opacity var(--dur-fast) var(--ease-luxury);
}

.nav__logo-svg--dark { display: block; }
.nav__logo-svg--white { display: none; }

/* Hero nav state — transparent over dark/video hero */
.nav--hero .nav__logo-svg--dark  { display: none; }
.nav--hero .nav__logo-svg--white { display: block; }
.nav--hero .nav__item-btn {
  color: rgba(255,255,255,0.85);
}
.nav--hero .nav__item-btn:hover {
  color: #fff;
}
.nav--hero .nav__icon-btn {
  color: rgba(255,255,255,0.85);
}
.nav--hero .nav__icon-btn:hover {
  color: #fff;
}
.nav--hero .nav__hamburger-line {
  background: rgba(255,255,255,0.9);
}

/* Nav center links */
.nav__center {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__item {
  position: relative;
}

.nav__item-btn {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--doson-charcoal);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--dur-fast) var(--ease-luxury);
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
}

.nav__item-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--doson-charcoal);
  transition: right var(--dur-std) var(--ease-luxury);
}

.nav__item-btn:hover {
  color: var(--doson-teal-deep);
}

.nav__item-btn:hover::after {
  right: 0;
  background: var(--doson-teal-deep);
}

/* Active page indicator */
.nav__item--active .nav__item-btn {
  color: var(--doson-charcoal);
}

.nav__item--active .nav__item-btn::after {
  right: 0;
}

/* Hero state overrides */
.nav--hero .nav__item-btn::after {
  background: rgba(255,255,255,0.7);
}

.nav--hero .nav__item--active .nav__item-btn::after {
  right: 0;
  background: rgba(255,255,255,0.7);
}

/* Nav right icons */
.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--doson-charcoal);
  transition: color var(--dur-fast) var(--ease-luxury);
}

.nav__icon-btn:hover {
  color: var(--doson-teal-deep);
}

.nav__icon-btn svg {
  width: 20px;
  height: 20px;
}

/* Dropdown panel */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--doson-white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-luxury),
              opacity 0.4s var(--ease-luxury);
  opacity: 0;
  z-index: 999;
  border-bottom: 1px solid var(--doson-gray-light);
}

.nav__dropdown.is-open {
  max-height: 400px;
  opacity: 1;
}

.nav__dropdown-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px var(--page-pad);
}

/* Shop dropdown */
.shop-dropdown {
  display: flex;
  align-items: center;
  gap: 48px;
}

.shop-dropdown__img {
  width: 180px;
  height: 240px;
  object-fit: contain;
  flex-shrink: 0;
}

.shop-dropdown__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-dropdown__name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.04em;
}

.shop-dropdown__status {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--doson-gray);
}

/* Discover dropdown */
.discover-dropdown {
  display: flex;
  gap: 80px;
}

.discover-dropdown__col {
  min-width: 180px;
}

.discover-dropdown__heading {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--doson-gray);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--doson-gray-light);
}

.discover-dropdown__link {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--doson-charcoal);
  padding: 8px 0;
  transition: color var(--dur-fast) var(--ease-luxury);
}

.discover-dropdown__link:hover {
  color: var(--doson-teal-deep);
}

.discover-dropdown__standalone {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--doson-charcoal);
  display: block;
  margin-bottom: 32px;
  transition: color var(--dur-fast) var(--ease-luxury);
}

.discover-dropdown__standalone:hover {
  color: var(--doson-teal-deep);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav__hamburger-line {
  width: 24px;
  height: 1.5px;
  background: var(--doson-charcoal);
  transition: all var(--dur-fast) var(--ease-luxury);
}

/* Mobile panel */
.nav__mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--doson-white);
  z-index: 1100;
  transition: right 0.5s var(--ease-luxury);
  overflow-y: auto;
  padding: 80px var(--page-pad-m) 40px;
}

.nav__mobile-panel.is-open {
  right: 0;
}

.nav__mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__mobile-section {
  margin-bottom: 32px;
}

.nav__mobile-heading {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--doson-gray);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--doson-gray-light);
}

.nav__mobile-link {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  padding: 12px 0;
  color: var(--doson-charcoal);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav__mobile-link--serif {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 0.03em;
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-std) var(--ease-luxury);
}

.nav__overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .nav__center, .nav__right { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { padding: 0 var(--page-pad-m); }
  .nav { height: var(--nav-height-m); }
  .nav__dropdown { display: none; }
}


/* ================================================
   7. FOOTER — unified dark section (newsletter + nav)
   ================================================ */

.footer {
  background: var(--doson-black);
  color: #fff;
}

.footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* -- Logo (inside newsletter left) -- */
.footer__logo-svg {
  height: 22px;
  width: auto;
  margin-bottom: 36px;
  opacity: 0.75;
}

/* -- Newsletter row -- */
.footer__newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__newsletter-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer__newsletter-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 36px;
}

.footer__newsletter-social {
  display: flex;
  gap: 12px;
}

.footer__newsletter-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: border-color var(--dur-fast) var(--ease-luxury),
              color var(--dur-fast) var(--ease-luxury);
}

.footer__newsletter-social-link:hover {
  border-color: var(--doson-teal-light);
  color: var(--doson-teal-light);
}

.footer__newsletter-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--doson-teal-light);
  margin-bottom: 20px;
}

.footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__newsletter-field-wrap {
  display: flex;
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden;
}

.footer__newsletter-input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 300;
}

.footer__newsletter-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.footer__newsletter-btn {
  padding: 16px 28px;
  background: var(--doson-teal);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-luxury);
}

.footer__newsletter-btn:hover {
  background: var(--doson-teal-deep);
}

.footer__newsletter-note {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.3);
}

.footer__newsletter-msg {
  font-size: 13px;
}

.footer__newsletter-msg--error { color: #e57373; }
.footer__newsletter-msg--success { color: var(--doson-teal-light); }

/* -- Nav columns row -- */
.footer__mid {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__nav {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer__col {}

.footer__col-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease-luxury);
}

.footer__link:hover {
  color: #fff;
}

.footer__text {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  padding: 6px 0;
}

/* -- Bottom bar -- */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__origin {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}

.footer__legal {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer__legal a {
  transition: color var(--dur-fast) var(--ease-luxury);
}

.footer__legal a:hover {
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .footer__inner { padding: 0 var(--page-pad-m); }
  .footer__newsletter {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 0 48px;
  }
  .footer__newsletter-title { font-size: 28px; }
  .footer__newsletter-field-wrap { flex-direction: column; }
  .footer__newsletter-btn { width: 100%; }
  .footer__mid { padding: 40px 0; }
  .footer__nav { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}


/* ================================================
   8. LANDING PAGE
   ================================================ */

/* -- Announcement bar spacer -- */
body.has-announce {
  padding-top: calc(var(--announce-height) + var(--nav-height));
}

/* Hero pages — let hero extend under fixed bars */
body.has-announce.has-hero-nav {
  padding-top: 0;
}

body:not(.has-announce) {
  padding-top: var(--nav-height);
}

/* -- Hero -- */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.48) 0%,
    rgba(0,0,0,0.08) 45%,
    rgba(0,0,0,0.18) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 var(--page-pad);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(0,0,0,0.2);
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
  opacity: 0.9;
}

.hero__cta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 4px;
  transition: border-color var(--dur-fast) var(--ease-luxury);
}

.hero__cta:hover {
  border-color: #fff;
}


@media (max-width: 768px) {
  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero__title { font-size: 32px; letter-spacing: 0.05em; }
  .hero__subtitle { font-size: 14px; }
}


/* -- Brand Intro (main-sub equivalent) -- */
.brand-intro {
  padding: var(--space-section) 0;
  background: var(--doson-white);
}

.brand-intro__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.brand-intro__image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.brand-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-intro__content {
  max-width: 480px;
}

.brand-intro__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.brand-intro__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--doson-charcoal);
  margin-bottom: 32px;
}

.brand-intro__link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--doson-charcoal);
  border-bottom: 1px solid var(--doson-charcoal);
  padding-bottom: 4px;
  transition: all var(--dur-fast) var(--ease-luxury);
}

.brand-intro__link:hover {
  color: var(--doson-teal-deep);
  border-color: var(--doson-teal-deep);
}

@media (max-width: 768px) {
  .brand-intro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 var(--page-pad-m);
  }
  .brand-intro__title { font-size: 28px; }
}


/* -- Representative Imagery (flex accordion — The Whoo main-represen) -- */
.repr-gallery {
  padding: 80px 0;
  background: var(--doson-white);
  overflow: hidden;
}

.repr-gallery__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0;
}

/* Flex accordion grid */
.repr-gallery__grid {
  display: flex;
  align-items: stretch;
  column-gap: 3px;
}

/* Shrink siblings' title when parent list is hovered */
.repr-gallery__grid:hover .repr-gallery__card:not(:hover) .repr-gallery__title {
  font-size: 18px;
}
.repr-gallery__grid:hover .repr-gallery__card:not(:hover) .repr-gallery__label {
  opacity: 0;
}

/* Card */
.repr-gallery__card {
  flex: 1;
  overflow: hidden;
  background-color: var(--doson-gray-light);
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: flex 0.7s var(--ease-luxury);
}

.repr-gallery__card:hover {
  flex: 2;
}

/* Bottom-to-top gradient for text legibility */
.repr-gallery__card::after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.72));
  z-index: 1;
  pointer-events: none;
}

/* Image fills the card */
.repr-gallery__img {
  width: 100%;
  height: clamp(380px, 56vh, 640px);
  aspect-ratio: unset;
  overflow: hidden;
}

.repr-gallery__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.repr-gallery__card:hover .repr-gallery__img img {
  transform: scale(1.04);
}

/* Info panel: absolute at bottom-center */
.repr-gallery__info {
  position: absolute;
  inset: auto 16px 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  text-align: center;
}

.repr-gallery__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--doson-teal-light);
  font-weight: 400;
  font-family: var(--font-sans);
  transition: opacity 0.5s var(--ease-luxury);
}

.repr-gallery__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
  transition: font-size 0.5s var(--ease-luxury);
}

/* Arrow indicator — appears on hover */
.repr-gallery__card::before {
  content: '→';
  position: absolute;
  bottom: 30px;
  right: 20px;
  z-index: 2;
  color: var(--doson-teal-light);
  font-size: 14px;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.4s var(--ease-luxury), transform 0.4s var(--ease-luxury);
}

.repr-gallery__card:hover::before {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .repr-gallery { padding: 60px 0; }
  .repr-gallery__inner { padding: 0; }
  .repr-gallery__grid {
    flex-direction: column;
    row-gap: 2px;
  }
  .repr-gallery__card { flex: none; }
  .repr-gallery__img { height: clamp(220px, 56vw, 320px); }
  .repr-gallery__info { align-items: flex-start; inset: auto 16px 20px; }
  .repr-gallery__grid:hover .repr-gallery__card:not(:hover) .repr-gallery__title { font-size: 26px; }
  .repr-gallery__grid:hover .repr-gallery__card:not(:hover) .repr-gallery__label { opacity: 1; }
}


/* -- Product Showcase (single product, landscape) -- */
.product-showcase {
  padding: var(--space-section) 0;
  background: var(--doson-ivory);
}

.product-showcase__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  text-align: center;
}

.product-showcase__image {
  width: 100%;
  aspect-ratio: 16/7;
  margin-bottom: 48px;
  overflow: hidden;
}

.product-showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-showcase__name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.product-showcase__status {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--doson-gray);
}

@media (max-width: 768px) {
  .product-showcase__inner { padding: 0 var(--page-pad-m); }
  .product-showcase__image { aspect-ratio: 16/9; }
  .product-showcase__name { font-size: 24px; }
}


/* -- Highlight section (split parallax) -- */
.highlight {
  padding: var(--space-section) 0;
  overflow: hidden;
}

.highlight__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.highlight--reverse .highlight__inner {
  direction: rtl;
}

.highlight--reverse .highlight__inner > * {
  direction: ltr;
}

.highlight__image-wrap {
  position: relative;
  overflow: hidden;
}

.highlight__image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.highlight__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.highlight__image-wrap:hover .highlight__image img {
  transform: scale(1.03);
}

.highlight__content {
  max-width: 440px;
}

.highlight__overline {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--doson-teal-deep);
  margin-bottom: 16px;
}

.highlight__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.highlight__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--doson-charcoal);
  margin-bottom: 28px;
}

.highlight__link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--doson-charcoal);
  border-bottom: 1px solid var(--doson-charcoal);
  padding-bottom: 4px;
  transition: all var(--dur-fast) var(--ease-luxury);
}

.highlight__link:hover {
  color: var(--doson-teal-deep);
  border-color: var(--doson-teal-deep);
}

@media (max-width: 768px) {
  .highlight__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 var(--page-pad-m);
  }
  .highlight--reverse .highlight__inner { direction: ltr; }
  .highlight__title { font-size: 28px; }
}


/* -- Quick Access Grid (slide-up reveal — The Whoo main-quick) -- */
.quick-access {
  padding: var(--space-section) 0;
  background: var(--doson-ivory);
  overflow: hidden;
}

.quick-access__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.quick-access__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

/* Card: portrait aspect ratio, image fills, info slides up */
.quick-access__card {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--doson-gray-light);
  text-decoration: none;
  color: inherit;
}

/* Image: absolute fill */
.quick-access__card-img {
  position: absolute;
  inset: 0;
  margin: 0;
  aspect-ratio: unset;
}

.quick-access__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.quick-access__card:hover .quick-access__card-img img {
  transform: scale(1.05);
}

/* Gradient overlay — dark at top, fades to dark at bottom */
.quick-access__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    transparent 40%,
    rgba(0,0,0,0.5) 100%
  );
  z-index: 1;
  transition: opacity 0.5s var(--ease-luxury);
}

.quick-access__card:hover::before {
  opacity: 0;
}

/* Info panel: ivory, slides up from bottom */
.quick-access__card-info {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  background: var(--doson-ivory);
  padding: 22px 24px 20px;
  /* Default: only title row visible (title ≈ 28px + 22+20 padding = ~70px) */
  transform: translateY(calc(100% - 70px));
  transition: transform 0.55s var(--ease-luxury);
}

.quick-access__card:hover .quick-access__card-info {
  transform: translateY(0);
}

.quick-access__card-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--doson-charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}

.quick-access__card-text {
  font-size: 14px;
  color: var(--doson-gray);
  line-height: 1.65;
  margin-bottom: 14px;
}

.quick-access__card-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--doson-teal-deep);
  border-bottom: 1px solid var(--doson-teal-deep);
  padding-bottom: 2px;
  font-family: var(--font-sans);
  font-weight: 500;
}

@media (max-width: 768px) {
  .quick-access__inner { padding: 0 var(--page-pad-m); }
  .quick-access__grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .quick-access__card {
    aspect-ratio: 16/9;
  }
  .quick-access__card-info {
    /* On mobile: always show info panel at bottom */
    transform: translateY(0);
    background: rgba(245,242,238,0.95);
  }
  .quick-access__card::before { opacity: 0.6; }
}




/* ================================================
   9. SUB-PAGES — SHARED
   ================================================ */

.page-hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0.25) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 var(--page-pad);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 56px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(0,0,0,0.2);
}

.page-hero__subtitle {
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-top: 16px;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .page-hero { min-height: 70vh; }
  .page-hero__title { font-size: 32px; }
  .page-hero__content { padding: 0 var(--page-pad-m); }
}

/* Full-viewport scroll section (The Whoo pattern) */
.scroll-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}

.scroll-section--ivory { background: var(--doson-ivory); }
.scroll-section--white { background: var(--doson-white); }
.scroll-section--dark {
  background: var(--doson-charcoal);
  color: #fff;
}
.scroll-section--teal {
  background: var(--doson-teal-deep);
  color: #fff;
}

.scroll-section__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  width: 100%;
}

.scroll-section__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.scroll-section__split--reverse {
  direction: rtl;
}

.scroll-section__split--reverse > * {
  direction: ltr;
}

.scroll-section__image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.scroll-section__image--landscape {
  aspect-ratio: 16/10;
}

.scroll-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-section__text {
  max-width: 480px;
}

.scroll-section__text h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.scroll-section__text h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--doson-teal-deep);
  margin-bottom: 16px;
}

.scroll-section--dark .scroll-section__text h3 {
  color: var(--doson-teal-light);
}

.scroll-section__text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.scroll-section__text p:last-child { margin-bottom: 0; }

/* Centered text section */
.scroll-section__center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.scroll-section__center h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.scroll-section__center p {
  font-size: 17px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .scroll-section { min-height: auto; padding: var(--space-section-m) 0; }
  .scroll-section__inner { padding: 0 var(--page-pad-m); }
  .scroll-section__split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .scroll-section__split--reverse { direction: ltr; }
  .scroll-section__text h2 { font-size: 28px; }
  .scroll-section__center h2 { font-size: 28px; }
}


/* ================================================
   10. DOSOMATRIX PAGE SPECIFICS
   ================================================ */

.doso-hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--doson-charcoal);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.doso-hero__name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 72px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.doso-hero__name sup {
  font-size: 24px;
  color: var(--doson-gold);
  vertical-align: super;
}

.doso-hero__tagline {
  font-size: 16px;
  letter-spacing: 0.08em;
  opacity: 0.7;
  max-width: 480px;
  margin: 0 auto;
}

/* Power section with 3 benefits */
.doso-power__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.doso-power__item {
  text-align: center;
}

.doso-power__item-img {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 24px;
  overflow: hidden;
}

.doso-power__item-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  margin-bottom: 12px;
}

.doso-power__item-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--doson-gray);
}

/* Process steps */
.doso-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.doso-process__step {
  text-align: center;
}

.doso-process__step-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 48px;
  color: var(--doson-teal-light);
  opacity: 0.4;
  margin-bottom: 16px;
}

.doso-process__step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doso-process__step-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 12px;
}

.doso-process__step-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--doson-gray);
}

@media (max-width: 768px) {
  .doso-hero__name { font-size: 40px; letter-spacing: 0.12em; }
  .doso-power__grid { grid-template-columns: 1fr; gap: 40px; }
  .doso-process__steps { grid-template-columns: 1fr 1fr; gap: 32px; }
}


/* ================================================
   11. INGREDIENT LIBRARY (Our Armoire)
   ================================================ */

.ingr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}

.ingr-card {
  display: block;
}

.ingr-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 20px;
  overflow: hidden;
}

.ingr-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.ingr-card:hover .ingr-card__img img {
  transform: scale(1.04);
}

.ingr-card__name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.ingr-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--doson-gray);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ingr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }
  .ingr-card__name { font-size: 18px; }
}


/* ================================================
   12. PRODUCT DETAIL PAGE
   ================================================ */

.pdp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.pdp-hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--doson-ivory);
  padding: 80px 48px;
}

.pdp-hero__image img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.pdp-hero__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  max-width: 560px;
}

.pdp-hero__brand {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--doson-gray);
  margin-bottom: 16px;
}

.pdp-hero__name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 40px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.pdp-hero__status {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--doson-teal-deep);
  margin-bottom: 32px;
}

.pdp-hero__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--doson-charcoal);
  margin-bottom: 40px;
}

.pdp-hero__waitlist {
  display: flex;
  gap: 0;
  border: 1px solid var(--doson-gray-light);
}

.pdp-hero__input {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  background: transparent;
}

.pdp-hero__submit {
  padding: 14px 28px;
  background: var(--doson-teal);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-luxury);
}

.pdp-hero__submit:hover {
  background: var(--doson-teal-deep);
}

@media (max-width: 768px) {
  .pdp-hero { grid-template-columns: 1fr; }
  .pdp-hero__image { padding: 48px 20px; min-height: 50vh; }
  .pdp-hero__info { padding: 40px 20px; }
  .pdp-hero__name { font-size: 28px; }
  .pdp-hero__waitlist { flex-direction: column; }
  .pdp-hero__submit { width: 100%; }
}
