/* ==========================================================================
   Ayah Journals — design system + homepage
   ========================================================================== */
:root {
  --ivory: #F7F2E8;
  --ivory-light: #FCFAF5;
  --parchment: #EEE4D2;
  --sandstone: #D8C5A7;
  --forest: #243D32;
  --forest-deep: #172B24;
  --sage: #A7AD91;
  --gold: #B08A4A;
  --gold-text: #8A6A35;        /* gold that passes contrast on ivory */
  --gold-light: #D5B779;
  --gold-pale: #E9D9B7;
  --ink: #292820;
  --ink-muted: #716B60;
  --white: #FFFFFF;
  --line: #E4D9C7;
  --charcoal: #191B18;
  --midnight: #1B2029;
  --bronze: #987044;
  --cream-text: #F0E7D6;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px rgba(45, 35, 22, 0.07);
  --shadow-card: 0 18px 48px rgba(45, 35, 22, 0.10);
  --shadow-lift: 0 26px 60px rgba(45, 35, 22, 0.16);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.22);

  --content-width: 1200px;
  --section-space: 112px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
p { margin: 0; }
em.gold, .gold-em { font-style: italic; color: var(--gold-text); }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--forest); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(calc(100% - 96px), var(--content-width)); margin-inline: auto; }
.section { padding-block: var(--section-space); position: relative; }

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow--ruled::before, .eyebrow--ruled::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow--ruled::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section-head { text-align: center; max-width: 760px; margin-inline: auto; }
.section-title { font-size: clamp(36px, 4.4vw, 56px); margin-top: 18px; }
.section-lead { margin-top: 18px; color: var(--ink-muted); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--forest); --btn-fg: var(--white);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 15px/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease), background-color .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .22s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: 0 10px 24px rgba(23, 43, 36, .22); }
.btn--primary:hover { --btn-bg: var(--forest-deep); box-shadow: 0 14px 30px rgba(23, 43, 36, .3); }
/* light sweep on primary buttons */
.btn--primary::after, .btn--gold::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
}
.btn--primary:hover::after, .btn--gold:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn--secondary { --btn-bg: rgba(252, 250, 245, .55); --btn-fg: var(--forest); border-color: #CDBB9D; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--secondary:hover { --btn-bg: var(--parchment); }
.btn--gold { --btn-bg: var(--gold-light); --btn-fg: var(--charcoal); }
.btn--gold:hover { --btn-bg: var(--gold-pale); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--cream-text); border-color: rgba(213, 183, 121, .45); }
.btn--ghost-light:hover { --btn-bg: rgba(240, 231, 214, .08); }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.text-link { color: var(--forest); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(36,61,50,.25); padding-bottom: 2px; transition: border-color .2s, gap .2s; }
.text-link:hover { border-color: var(--forest); gap: 12px; }
.text-link svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(247, 242, 232, 0.72);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(176, 138, 74, 0.16);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled { background: rgba(247, 242, 232, 0.92); box-shadow: 0 8px 30px rgba(45, 35, 22, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(calc(100% - 64px), 1320px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 42px; color: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 27px; font-weight: 500; letter-spacing: -.01em; }
.brand-name span { color: var(--sandstone); margin: 0 6px; font-weight: 400; }
.brand-tag { margin-top: 6px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.nav-link {
  font: 500 15px/1 var(--font-body); color: var(--ink); text-decoration: none;
  padding: 12px 16px; border-radius: var(--radius-pill); border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: background-color .2s, color .2s;
}
.nav a:hover, .nav button.nav-link:hover { background: rgba(238, 228, 210, .7); }
.nav a[aria-current="page"] { background: rgba(233, 217, 183, .65); color: var(--forest); }
.nav .chev { width: 14px; height: 14px; transition: transform .2s; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 300px;
  background: rgba(252, 250, 245, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown:hover .chev, .dropdown.is-open .chev { transform: rotate(180deg); }
.dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; width: 100%; }
.dropdown-menu img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.dropdown-menu strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.1; }
.dropdown-menu small { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 3px; }

.header-cta { display: inline-flex; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(252,250,245,.7); color: var(--forest); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(23, 43, 36, .35); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(88vw, 400px); background: var(--ivory);
  padding: 22px 24px 32px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-panel > a, .drawer-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 6px; font: 500 18px var(--font-body); color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group[open] summary .chev { transform: rotate(180deg); }
.drawer-group .chev { width: 18px; height: 18px; transition: transform .2s; }
.drawer-sub { display: grid; gap: 4px; padding: 8px 0 12px; }
.drawer-sub a { display: flex; align-items: center; gap: 12px; padding: 8px 6px; text-decoration: none; color: var(--ink); border-radius: 10px; }
.drawer-sub img { width: 48px; height: 48px; border-radius: 8px; }
.drawer-sub strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; display: block; line-height: 1.1; }
.drawer-sub small { color: var(--ink-muted); font-size: 13px; }
.drawer-panel .btn { margin-top: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 920px); display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; animation: heroDrift 26s ease-in-out infinite alternate; transform-origin: 70% 60%; }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.08); } }
.hero::before { /* ivory wash for text on the left only */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(247,242,232,.94) 0%, rgba(247,242,232,.82) 30%, rgba(247,242,232,.25) 52%, rgba(247,242,232,0) 66%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(180deg, transparent, var(--ivory)); }
.hero-inner { width: min(calc(100% - 96px), 1320px); margin-inline: auto; padding-block: 72px 96px; }
.hero-content { max-width: 600px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: var(--radius-pill);
  border: 1px solid rgba(176, 138, 74, .55); background: rgba(252, 250, 245, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text);
}
.trust-pill svg { width: 20px; height: 20px; color: var(--gold); }
.hero h1 { font-size: clamp(46px, 6vw, 80px); line-height: 1.0; margin-top: 26px; letter-spacing: -.02em; }
.hero h1 .gold-em { display: inline-block; }
.shimmer { background: linear-gradient(100deg, var(--gold-text) 0%, var(--gold-text) 40%, #C9A462 50%, var(--gold-text) 60%, var(--gold-text) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s ease-in-out infinite; }
@keyframes shimmer { 0%, 60% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.hero-lead { margin-top: 24px; font-size: 19px; color: #4A463D; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 48px; }
.hero-point { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-inline: 26px; border-left: 1px solid rgba(176,138,74,.3); }
.hero-point:first-child { padding-left: 0; border-left: 0; }
.hero-point svg { width: 28px; height: 28px; color: var(--gold); stroke-width: 1.3; }
.hero-point strong { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.hero-point span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.hero-mobile-media { display: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(113,107,96,.45); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   Collection
   ========================================================================== */
.collection { background-color: var(--ivory); isolation: isolate; overflow: hidden; }
.collection-bg { position: absolute; inset: 0; z-index: -1; }
.collection-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.collection-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,242,232,.35) 0%, rgba(247,242,232,0) 22%, rgba(247,242,232,0) 75%, rgba(247,242,232,.7) 100%); }

.products { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 24px; margin-top: 56px; align-items: stretch; }

.product-card {
  position: relative; display: flex; flex-direction: column;
  background: rgba(252, 250, 245, .9); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--sandstone); }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--parchment); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.product-title { font-size: clamp(27px, 2.3vw, 32px); margin-top: 10px; }
.product-hook { margin-top: 10px; color: var(--ink-muted); font-size: 16px; line-height: 1.55; }
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; line-height: 1.45; align-items: start; }
.feature-list svg { width: 20px; height: 20px; color: var(--gold); margin-top: 1px; }
.feature-list b { font-weight: 600; }
.price-row { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.price { display: flex; flex-direction: column; }
.price strong { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; color: var(--forest); }
.price small { font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; }
.feature-list + .price-row { margin-top: 24px; }

/* Flagship */
.product-card--flagship { background: var(--forest-deep); border-color: rgba(213,183,121,.28); color: var(--cream-text); }
.product-card--flagship .feature-list { grid-template-columns: 1fr 1fr; column-gap: 22px; }
.product-card--flagship .feature-list li:last-child { grid-column: 1 / -1; }
.product-card--flagship .product-body { padding: 34px 34px 32px; background:
  radial-gradient(120% 80% at 100% 0%, rgba(176,138,74,.16), transparent 60%),
  linear-gradient(180deg, #1B3229 0%, var(--forest-deep) 100%); }
.product-card--flagship .product-title { color: var(--white); font-size: clamp(32px, 3vw, 42px); }
.product-card--flagship .product-title em { color: var(--gold-light); }
.product-card--flagship .product-sub { margin-top: 6px; font-family: var(--font-display); font-style: italic; font-size: 21px; color: var(--gold-pale); }
.product-card--flagship .product-hook { color: rgba(240,231,214,.82); }
.product-card--flagship .product-kicker { color: var(--gold-light); }
.product-card--flagship .feature-list svg { color: var(--gold-light); }
.product-card--flagship .feature-list .soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(213,183,121,.4); vertical-align: 1px; }
.product-card--flagship .price-row { border-top-color: rgba(213,183,121,.22); }
.product-card--flagship .price strong { color: var(--gold-light); }
.product-card--flagship .price small { color: rgba(240,231,214,.65); }
.product-card--flagship:hover { border-color: rgba(213,183,121,.5); }
.badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(23,43,36,.88); color: var(--cream-text); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(213,183,121,.35);
}
.badge svg { width: 14px; height: 14px; color: var(--gold-light); }
.badge--light { background: rgba(252,250,245,.9); color: var(--forest); border-color: var(--line); }
.badge--light svg { color: var(--gold); }
.badge--night { background: rgba(27,32,41,.85); color: var(--cream-text); }

/* AskHafiz (midnight) */
.product-card--ai { background: linear-gradient(180deg, #232935 0%, var(--midnight) 60%); border-color: rgba(213,183,121,.22); color: var(--cream-text); }
.product-card--ai .product-title { color: var(--white); }
.product-card--ai .product-hook { color: rgba(240,231,214,.75); }
.product-card--ai .product-kicker { color: var(--gold-light); }
.product-card--ai .feature-list svg { color: var(--gold-light); }
.product-card--ai .price-row { border-top-color: rgba(213,183,121,.2); }
.product-card--ai .price strong { color: var(--gold-light); }
.product-card--ai .price small { color: rgba(240,231,214,.6); }
.product-card--ai .product-media { background: var(--midnight); }

.assurance { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 44px; }
.assurance-item { display: flex; align-items: center; gap: 14px; padding: 6px 30px; border-left: 1px solid rgba(176,138,74,.3); }
.assurance-item:first-child { border-left: 0; }
.assurance-item svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.assurance-item strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.assurance-item span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-top: 3px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--ivory-light); border-block: 1px solid var(--line); }
.testimonials[hidden] { display: none; }
.proof-grid { margin-top: 52px; columns: 3 300px; column-gap: 22px; }
.proof-card { break-inside: avoid; margin: 0 0 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px; box-shadow: var(--shadow-soft); position: relative; }
.proof-card img { border-radius: 8px; width: 100%; }
.proof-card figcaption { padding: 12px 6px 4px; font-size: 13px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.proof-card figcaption svg { width: 16px; height: 16px; color: var(--gold); }

/* ==========================================================================
   Mission
   ========================================================================== */
.mission { background:
  radial-gradient(60% 70% at 85% 10%, rgba(233,217,183,.45), transparent 60%),
  var(--ivory); overflow: hidden; }
.mission-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.arch-frame { position: relative; aspect-ratio: 4 / 5; max-width: 500px; }
/* Pointed (ogee) arch: one SVG path used as an image mask and as the gold outline */
.arch-frame::before {
  content: ""; position: absolute; inset: -16px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='none'%3E%3Cpath d='M2 498V170C2 92 70 40 150 22c30-7 44-14 50-21 6 7 20 14 50 21 80 18 148 70 148 148v328z' fill='none' stroke='%23B08A4A' stroke-opacity='.6' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.arch-frame .arch-img {
  position: absolute; inset: 0; overflow: hidden; filter: drop-shadow(0 18px 40px rgba(45,35,22,.14));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='none'%3E%3Cpath d='M0 500V170C0 92 70 40 150 22c30-7 44-14 50-22 6 8 20 15 50 22 80 18 150 70 150 148v330z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='none'%3E%3Cpath d='M0 500V170C0 92 70 40 150 22c30-7 44-14 50-22 6 8 20 15 50 22 80 18 150 70 150 148v330z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.arch-frame .arch-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; transform: scale(1.05); }
.mission h2 { font-size: clamp(38px, 4.4vw, 58px); margin-top: 18px; }
.mission-body { margin-top: 24px; font-size: 18px; color: #4A463D; max-width: 560px; }
.mission-body + .mission-body { margin-top: 14px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.pillar { text-align: center; padding: 0 18px; border-left: 1px solid rgba(176,138,74,.28); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: var(--ivory-light); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.pillar-icon svg { width: 30px; height: 30px; color: var(--gold); }
.pillar strong { display: block; font-size: 16px; font-weight: 600; }
.pillar span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.45; }
.mission .hero-ctas { margin-top: 42px; }

/* ==========================================================================
   Founder
   ========================================================================== */
.founder { background: var(--parchment); overflow: hidden; }
.founder::before { content: ""; position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23243D32' stroke-width='1'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; position: relative; }
.founder-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4 / 5; max-width: 470px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.founder-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(252,250,245,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.6); }
.founder-photo figcaption strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; display: block; line-height: 1.1; }
.founder-photo figcaption span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.founder h2 { font-size: clamp(36px, 4vw, 52px); margin-top: 18px; }
.founder-text p { margin-top: 18px; font-size: 17.5px; color: #4A463D; max-width: 600px; }
.founder-quote { margin: 30px 0 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.3; color: var(--forest); max-width: 560px; }
.timeline { display: flex; gap: 0; margin-top: 34px; flex-wrap: wrap; }
.timeline div { padding: 0 24px; border-left: 1px solid rgba(176,138,74,.35); }
.timeline div:first-child { padding-left: 0; border-left: 0; }
.timeline strong { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--forest); line-height: 1; }
.timeline span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-top: 6px; }
.founder .text-link { margin-top: 32px; }

/* ==========================================================================
   Final CTA + Footer
   ========================================================================== */
.final-cta { background: var(--forest-deep); color: var(--cream-text); overflow: hidden; text-align: center; isolation: isolate; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 80% at 50% 0%, rgba(176,138,74,.22), transparent 70%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23D5B779' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M60 6l15 39 39 15-39 15-15 39-15-39L6 60l39-15z'/%3E%3Cpath d='M60 30l9 21 21 9-21 9-9 21-9-21-21-9 21-9z'/%3E%3C/g%3E%3C/svg%3E"); }
.final-arch { width: 64px; height: 70px; margin: 0 auto 22px; color: var(--gold-light); }
.final-cta h2 { color: var(--white); font-size: clamp(38px, 5vw, 64px); max-width: 860px; margin-inline: auto; }
.final-cta h2 em { color: var(--gold-light); }
.final-cta p { margin: 22px auto 0; max-width: 580px; color: rgba(240,231,214,.8); font-size: 18px; }
.final-cta .hero-ctas { justify-content: center; }
.final-note { margin-top: 22px !important; font-size: 14px !important; color: rgba(240,231,214,.55) !important; }

.site-footer { background: #11201B; color: var(--cream-text); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--cream-text); }
.site-footer .brand-name span { color: rgba(213,183,121,.45); }
.site-footer .brand-tag { color: rgba(240,231,214,.55); }
.footer-about { margin-top: 18px; color: rgba(240,231,214,.65); font-size: 15px; max-width: 330px; }
.footer-col h3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(240,231,214,.8); text-decoration: none; font-size: 15px; transition: color .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-col svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(213,183,121,.18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(240,231,214,.5); }

/* ==========================================================================
   Story page
   ========================================================================== */
.story-hero { padding-top: calc(var(--header-h) + 90px); padding-bottom: 70px; background: radial-gradient(60% 80% at 80% 0%, rgba(233,217,183,.55), transparent 60%), var(--ivory); }
.story-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.story-hero h1 { font-size: clamp(44px, 5.6vw, 76px); margin-top: 20px; }
.story-hero .hero-lead { max-width: 560px; }
.story-body { padding-block: 40px var(--section-space); }
.prose { max-width: 700px; margin-inline: auto; font-size: 19px; line-height: 1.75; color: #3A372F; }
.prose h2 { font-size: clamp(32px, 3.4vw, 42px); margin: 64px 0 18px; color: var(--forest); }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 20px; }
.prose .chapter-no { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.prose blockquote { margin: 36px 0; padding: 26px 30px; border-radius: var(--radius-md); background: var(--ivory-light); border: 1px solid var(--line); font-family: var(--font-display); font-style: italic; font-size: 27px; line-height: 1.35; color: var(--forest); box-shadow: var(--shadow-soft); }
.ornament { display: flex; justify-content: center; margin: 56px 0; color: var(--gold); }
.ornament svg { width: 120px; height: 16px; }

/* ==========================================================================
   Reveal motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-blur { filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-blur.is-in { filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --section-space: 92px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .products { grid-template-columns: 1fr 1fr; }
  .product-card--flagship { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .product-card--flagship .product-media { aspect-ratio: 1 / 1; height: auto; align-self: start; }
  .product-card--flagship .feature-list { grid-template-columns: 1fr; }
  .mission-grid, .founder-grid { gap: 56px; }
}
@media (max-width: 960px) {
  .container, .hero-inner { width: min(calc(100% - 64px), var(--content-width)); }
  .mission-grid, .founder-grid, .story-hero-grid { grid-template-columns: 1fr; }
  .arch-frame { max-width: 420px; margin-inline: auto; width: 100%; }
  .founder-photo { max-width: 440px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero::before { background: linear-gradient(90deg, rgba(247,242,232,.95) 0%, rgba(247,242,232,.85) 45%, rgba(247,242,232,.3) 75%, rgba(247,242,232,.1) 100%); }
}
@media (max-width: 760px) {
  .product-card--flagship { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --section-space: 68px; --header-h: 70px; }
  body { font-size: 16px; }
  .container, .hero-inner { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 32px); }
  .brand-mark { width: 30px; height: 34px; }
  .brand-name { font-size: 22px; }
  .brand-tag { font-size: 8.5px; letter-spacing: .18em; }

  /* Hero: text first on ivory, image below (no text over busy photo) */
  .hero { min-height: 0; display: block; }
  .hero-media, .hero::before, .scroll-cue { display: none; }
  .hero::after { display: none; }
  .hero-inner { padding-block: 34px 0; }
  .trust-pill { font-size: 11px; padding: 8px 14px; letter-spacing: .14em; }
  .hero h1 { font-size: 46px; margin-top: 20px; }
  .hero-lead { font-size: 17px; margin-top: 18px; }
  .hero-ctas { flex-direction: column; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; }
  .hero-points { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
  .hero-point { padding-inline: 10px; align-items: center; text-align: center; }
  .hero-point:first-child { padding-left: 10px; }
  .hero-point strong { font-size: 13px; }
  .hero-point span { font-size: 9.5px; letter-spacing: .1em; }
  .hero-mobile-media { display: block; margin-top: 34px; height: 300px; position: relative; overflow: hidden; }
  .hero-mobile-media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 70px; background: linear-gradient(180deg, var(--ivory), transparent); z-index: 1; }
  .hero-mobile-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(0deg, var(--ivory), transparent); z-index: 1; }
  .hero-mobile-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 70%; }

  .collection-bg img { object-position: 8% 30%; }
  .collection-bg::after { background: linear-gradient(180deg, rgba(247,242,232,.7) 0%, rgba(247,242,232,.55) 100%); }
  .section-title { font-size: 36px; }
  .section-lead { font-size: 16px; }
  .products { margin-top: 36px; gap: 20px; }
  .product-body, .product-card--flagship .product-body { padding: 22px 20px 22px; }
  .price strong { font-size: 34px; }
  .price-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .price-row .btn { width: 100%; white-space: normal; }
  .assurance { flex-direction: column; align-items: flex-start; gap: 16px; max-width: 330px; margin-inline: auto; }
  .assurance-item { border-left: 0; padding: 0; }

  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .pillar { display: grid; grid-template-columns: 56px 1fr; gap: 14px; text-align: left; align-items: center; padding: 0; border-left: 0; }
  .pillar-icon { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .pillar span { margin-top: 0; }
  .mission .hero-ctas .btn { width: 100%; }
  .founder-quote { font-size: 22px; }
  .timeline { display: grid; grid-template-columns: auto auto auto; justify-content: start; }
  .timeline div { padding: 0 14px; }
  .timeline strong { font-size: 24px; white-space: nowrap; }
  .timeline span { font-size: 10px; letter-spacing: .08em; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .final-cta .hero-ctas .btn { width: 100%; }
  .prose { font-size: 17.5px; }
  .prose blockquote { font-size: 22px; padding: 20px 22px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 40px; }
  .brand-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .shimmer { color: var(--gold-text); background: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--ivory); }
}

/* Legal pages */
.legal-hero { padding-bottom: 40px; }
.legal-hero h1 { font-size: clamp(40px, 5vw, 64px); margin-top: 20px; }
.prose.legal { font-size: 17px; }
.prose.legal h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 44px 0 12px; }
.prose.legal ul { padding-left: 22px; margin: 14px 0; }
.prose.legal li + li { margin-top: 6px; }
.prose.legal a { color: var(--forest); }
