/* Mak'Eve Skincare: site styles */
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/garamond-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/garamond-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/josefin-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/josefin-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brown: #7a4b3c;
  --brown-deep: #5c372b;
  --terracotta: #a56a55;
  --blush: #d9bdb1;
  --cream: #f8f1ea;
  --cream-2: #f0e4da;
  --ink: #34231c;
  --ink-soft: #6b5247;
  --gold: #c8925f;        /* gold-leaning tint of terracotta: GOLD moments, hairlines, glows */
  --gold-light: #e8b478;  /* sunlight on the hero water */
  /* layered shadows that give photos depth (close contact shadow + mid + long soft fall-off) */
  --lift: 0 1px 2px rgba(52,35,28,.18), 0 10px 20px -8px rgba(52,35,28,.28), 0 34px 60px -24px rgba(52,35,28,.45);
  --lift-hi: 0 2px 4px rgba(52,35,28,.16), 0 18px 32px -10px rgba(52,35,28,.3), 0 54px 90px -30px rgba(52,35,28,.55);
  --lift-dark: 0 2px 4px rgba(20,10,6,.3), 0 18px 34px -12px rgba(20,10,6,.5), 0 50px 90px -30px rgba(20,10,6,.75);
  --lift-dark-hi: 0 3px 6px rgba(20,10,6,.3), 0 26px 44px -14px rgba(20,10,6,.55), 0 70px 110px -30px rgba(20,10,6,.8);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .13 0 0 0 0 .09 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --line: rgba(52, 35, 28, .16);
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Josefin Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 84px;
  --max: 880px;
  --hmax: 1320px;
  --gutter: clamp(20px, 5vw, 56px);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 clamp(17px, .5vw + 11px, 20px)/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--brown); color: #fff; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: var(--header-h); padding: 0 max(var(--gutter), calc((100vw - var(--hmax)) / 2)); }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.nav-right { justify-content: flex-end; }
.nav a { color: #fff; text-decoration: none; font: 500 clamp(12px, .15vw + 11px, 14px)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.logo { text-decoration: none; text-align: center; font: 400 clamp(26px, .6vw + 18px, 32px)/1.15 var(--serif); letter-spacing: .01em; color: inherit; }
.logo span { display: block; font-size: .66em; opacity: .92; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 4px 24px 20px; background: var(--brown-deep); border-top: 1px solid rgba(255,255,255,.15); }
.mobile-menu a { color: #fff; text-decoration: none; padding: 14px 0; font: 500 15px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (max-width: 899px) {
  .header-inner { grid-template-columns: 44px 1fr 44px; min-height: 76px; gap: 8px; padding: 0 12px; }
  .nav { display: none; }
  .burger { display: flex; grid-column: 1; grid-row: 1; }
  .logo { grid-column: 2; grid-row: 1; font-size: 22px; }
  .logo span { font-size: 15px; }
}
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* ---------- shared pieces ---------- */
.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; }
.container.narrow { width: min(780px, 100% - 2 * var(--gutter)); }
.container.narrow-left { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
.section { padding: clamp(56px, 7vw, 140px) 0; }
.tinted { background: var(--cream-2); }
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 14px; }
.display { font-size: clamp(34px, 3.2vw + 12px, 76px); letter-spacing: -.005em; }
.big { font: 400 clamp(19px, .9vw + 12px, 29px)/1.6 var(--serif); }
.muted { color: var(--ink-soft); }
.fine { font-size: 14px; color: var(--ink-soft); margin: 16px 0 0; }
.link-arrow { display: inline-block; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: ' \2192'; }
.btn { display: inline-block; font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; text-align: center; background: var(--brown); color: #fff; border: 1px solid var(--brown); padding: 17px 30px; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--brown-deep); border-color: var(--brown-deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-outline { background: transparent; color: var(--brown-deep); border-color: var(--brown-deep); }
.btn-outline:hover { background: var(--brown-deep); color: var(--cream); }
.btn-light { background: #fff; color: var(--brown-deep); border-color: #fff; }
.btn-light:hover { background: var(--cream); border-color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); max-width: 760px; margin: 0 auto; }
.split-top { align-items: start; }
.three { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); max-width: 760px; margin: 0 auto; }
.page-head { padding-bottom: clamp(24px, 4vw, 48px); }
.page-head .big { max-width: none; }
.page-head + .section { padding-top: 0; }
.page-head.center .big { margin-left: auto; margin-right: auto; max-width: 46ch; }

/* ---------- home ---------- */
/* Hero: golden-hour atmosphere on the left, the photo lifted on layered shadows over its own glow, ringed by barrier ripples */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(70% 60% at 80% 18%, rgba(232,180,120,.30), transparent 70%), radial-gradient(90% 80% at 0% 100%, var(--brown-deep), transparent 75%), var(--brown); }
.hero-arch { position: relative; order: -1; margin: clamp(20px, 5vw, 36px) var(--gutter) 0; }
.hero-image { position: relative; height: min(54vh, 440px); border-radius: var(--radius); background: url(/img/hero.jpg) center 28% / cover no-repeat; box-shadow: var(--lift-dark); }
.hero-image::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, rgba(92,55,43,.55) 0, rgba(92,55,43,0) 45%); }
.hero-arch::after { content: ''; position: absolute; inset: 6% 4% -4%; z-index: -1; border-radius: var(--radius); background: url(/img/hero.jpg) center 28% / cover no-repeat; filter: blur(42px) saturate(1.5); opacity: .6; translate: 0 26px; }
.hero-arch .rings { position: absolute; left: 50%; top: 42%; width: 190%; aspect-ratio: 1; translate: -50% -50%; z-index: -1; }
.hero-copy { position: relative; display: flex; flex-direction: column; padding: 36px var(--gutter) 60px; width: min(880px, 100%); margin: 0 auto; }
.hero .eyebrow { color: var(--gold-light); display: flex; align-items: center; gap: 14px; }
.hero .eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(42px, 7vw + 12px, 112px); line-height: 1; letter-spacing: -.015em; margin-bottom: .4em; }
.hero h1 .ln { display: block; }
.hero h1 .ln + .ln { padding-left: .5em; color: var(--blush); }
.hero .lede { font: 400 clamp(21px, 1vw + 12px, 30px)/1.45 var(--serif); margin-bottom: .6em; max-width: 26ch; }
.hero-sub { color: var(--blush); letter-spacing: .04em; margin: 0; }
.hero .btn:not(.btn-ghost) { background: #fff; color: var(--brown-deep); border-color: #fff; }
.hero .btn:not(.btn-ghost):hover { background: var(--cream); border-color: var(--cream); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: clamp(40px, 6vw, 120px); min-height: min(calc(100svh - var(--header-h)), 980px); padding: clamp(48px, 7vh, 96px) max(var(--gutter), calc((100vw - var(--hmax)) / 2)); }
  .hero-arch { order: 0; margin: 0; width: 100%; max-width: 500px; justify-self: center; }
  .hero-image { height: min(74vh, 720px); }
  .hero-copy { padding: 0; width: auto; margin: 0; }
  .hero h1 { font-size: clamp(60px, 5.9vw, 140px); }
  .hero h1 .ln { white-space: nowrap; }
  .hero h1 .ln + .ln { padding-left: .9em; }
  .hero-arch .rings { width: 230%; --ring-gap: 38px; --ring: rgba(232,180,120,.4); }
  .hero .lede { max-width: 30ch; }
}

/* barrier rings: concentric ripples, the site's recurring motif */
.rings { pointer-events: none; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 calc(var(--ring-gap, 30px) - 1px), var(--ring, rgba(232,180,120,.32)) calc(var(--ring-gap, 30px) - 1px) var(--ring-gap, 30px)); -webkit-mask: radial-gradient(circle, #000 18%, transparent 66%); mask: radial-gradient(circle, #000 18%, transparent 66%); }
.statement .display { max-width: 24ch; margin-left: auto; margin-right: auto; }
.statement .big { max-width: 36em; margin: 0 auto; }
.duo { background: var(--cream-2); }
.duo-photo { margin: 0; }
.duo-photo img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px -28px rgba(52,35,28,.55); }
.duo-products { display: grid; grid-template-columns: 1fr; gap: 22px; margin: 28px 0 8px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.duo-products h3 { font-size: 28px; margin-bottom: .25em; }
.duo-products p { font-size: 15.5px; margin: 0; color: var(--ink-soft); }
.together { font: italic 400 22px/1.4 var(--serif); margin: 22px 0; }
.band { background: var(--terracotta); color: #fff; }
.band .eyebrow { color: #fff; opacity: .85; }
.band .big { margin-bottom: 1.6em; }
.card-link { display: block; text-decoration: none; padding: 32px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(52,35,28,.5); }
.card-link h3 { font-size: 28px; }
.card-link p { color: var(--ink-soft); font-size: 16px; }

/* ---------- about / prose ---------- */
.portrait { margin: 0; }
.portrait img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px -28px rgba(52,35,28,.55); }
.prose h2 { font-size: clamp(26px, 3vw, 36px); }
.prose h3 { font-size: 24px; margin-top: 1.4em; }
.prose p { font-size: 1.03em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.signoff { font: italic 400 30px/1.3 var(--serif); margin-top: 1.2em; color: var(--brown); }
.legal h2 { font-size: 26px; margin-top: 1.8em; }

/* ---------- society ---------- */
.society-hero { background: var(--brown); color: #fff; }
.society-image { background: url(/img/society.jpg) center 74% / cover no-repeat; height: min(52vh, 420px); }
.society-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 36px var(--gutter) 52px; width: min(880px, 100%); margin: 0 auto; }
.society-copy .eyebrow { color: var(--blush); }
.society-copy p { font-size: 1.06em; max-width: 36em; }
.society-copy .btn { background: #fff; color: var(--brown-deep); border-color: #fff; margin-top: 8px; }
@media (min-width: 900px) {
  .society-image { height: clamp(340px, 56vh, 680px); }
  .society-copy { align-items: center; text-align: center; padding-bottom: clamp(56px, 6vw, 100px); }
}
.pillar { padding-top: 20px; border-top: 1px solid var(--line); }
.pillar h3 { font-size: 30px; }
.pillar p { color: var(--ink-soft); }
.section-head { margin: 0 auto 28px; max-width: 760px; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- events ---------- */
.events { border-bottom: 1px solid var(--line); margin: 0 auto 8px; max-width: 760px; }
.ev { border-top: 1px solid var(--line); }
.ev-head { display: grid; grid-template-columns: 1fr 28px; row-gap: 6px; align-items: center; width: 100%; padding: 22px 4px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ev-head:hover .ev-title { text-decoration: underline; text-underline-offset: 4px; }
.ev-date, .ev-title, .ev-time { grid-column: 1; }
.ev-date { font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); }
.ev-title { font: 400 clamp(22px, 1vw + 14px, 36px)/1.2 var(--serif); }
.ev-time { color: var(--ink-soft); font-size: 15px; }
.ev-icon { grid-column: 2; grid-row: 1 / span 3; font: 300 28px/1 var(--sans); text-align: center; transition: transform .25s; }
.ev-head[aria-expanded="true"] .ev-icon { transform: rotate(45deg); }
.ev-teaser { margin: -8px 0 0; padding: 0 4px 16px; max-width: 720px; color: var(--ink-soft); }
.ev-panel { padding: 0 4px 26px; max-width: 720px; }
.ev-panel p { margin: 0 0 14px; }
.ev-details { white-space: pre-line; }
.ev-loc { font-weight: 600; }
.lock { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); font-size: 15.5px; }
.rsvp { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rsvp .rsvp-going { margin: 0; flex-basis: 100%; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--brown-deep); }
.rsvp .rsvp-note:empty { display: none; }
.rsvp .rsvp-note { margin: 0; flex-basis: 100%; color: var(--terracotta); font-size: 15px; }
.rsvp-cancel { background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; color: var(--brown-deep); cursor: pointer; }
.rsvp-cancel::after { content: none !important; }
.rsvp-page .ev-date { display: block; margin: 0 0 6px; }
.rsvp-page .rsvp { margin-top: 28px; }
.empty { padding: 30px 6px; color: var(--ink-soft); }

/* ---------- journal ---------- */
.article { padding: 0 0 clamp(36px, 6vw, 64px); margin-bottom: clamp(36px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.article .display { margin-bottom: .3em; }
.article p:last-child { margin: 0; }

/* ---------- forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 60px -40px rgba(52,35,28,.5); }
.card-title { font-size: 32px; }
.form label { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.form .optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-soft); }
.form input, .form textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 14px; font: 400 17px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--cream); border: 1px solid rgba(52,35,28,.28); border-radius: var(--radius); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brown); outline-offset: 1px; background: #fff; }
.form .btn { width: 100%; margin-top: 6px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { min-height: 1.5em; margin: 0 0 12px; font-size: 15.5px; }
.form-note.err { color: #a3281f; }
.form-note.ok { color: #2f6b3a; }
.form-done { text-align: center; padding: 12px 0; }
.form-done h2 { font-size: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brown-deep); color: #fff; padding-top: clamp(44px, 6vw, 72px); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 28px; width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; padding-bottom: 40px; }
.footer-brand .logo { text-align: left; display: inline-block; }
.footer-brand p { margin: 14px 0 0; color: var(--blush); }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links a, .footer-social a, .footer-social button { color: #fff; text-decoration: none; font: 500 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .9; background: none; border: 0; padding: 0; cursor: pointer; }
.footer-links a:hover, .footer-social a:hover, .footer-social button:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.follow { margin: 0 0 12px; font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--blush); }
.social-icons { display: flex; gap: 12px; }
.footer-social .social-icons a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; opacity: 1; transition: background .2s, border-color .2s, transform .2s; }
.footer-social .social-icons a:hover { background: rgba(255,255,255,.14); border-color: #fff; text-decoration: none; transform: translateY(-2px); }
.member-link { margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; color: var(--blush); }
.footer-legal a { color: inherit; }
/* footer on desktop: brand, links in two columns, and social laid out across the full width like the header */
@media (min-width: 900px) {
  .footer-inner, .footer-legal { width: min(var(--hmax), 100% - 2 * var(--gutter)); }
  .footer-inner { grid-template-columns: 1.1fr 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: 48px; }
  .footer-brand .logo { font-size: 34px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px clamp(32px, 4vw, 64px); justify-content: center; align-content: start; }
  .footer-social { align-items: flex-end; text-align: right; }
}


/* ================= atmosphere: grain, glow, rings, lifted photos ================= */
/* film grain over the deep-toned surfaces */
.site-header, .hero, .band, .site-footer, .society-hero, .page-head { position: relative; isolation: isolate; }
.site-header { position: sticky; }
.site-header::after, .hero::before, .band::before, .site-footer::before, .society-hero::before, .page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain); opacity: .22; mix-blend-mode: multiply; }
.page-head::before { opacity: .1; }
.site-header { background: linear-gradient(180deg, var(--brown), #74463a); box-shadow: inset 0 -1px 0 rgba(232,180,120,.28); }

/* page headers: warm wash, a ring halo off to the side, a hairline eyebrow */
.page-head { overflow: hidden; background: radial-gradient(60% 90% at 100% 0%, rgba(200,146,95,.16), transparent 70%), linear-gradient(180deg, var(--cream-2), var(--cream)); }
.page-head::after { content: ''; position: absolute; right: -12vw; top: -18vw; width: 52vw; max-width: 760px; aspect-ratio: 1; z-index: -1; pointer-events: none; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 33px, rgba(165,106,85,.16) 33px 34px); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); }
.page-head .eyebrow, .duo-copy .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.page-head .eyebrow::before, .duo-copy .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.page-head.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }

/* statement: a single glowing drop with its ripples */
.statement { position: relative; overflow: hidden; }
.statement::before { content: ''; position: absolute; left: 50%; top: clamp(30px, 4vw, 70px); width: min(1100px, 160vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 41px, rgba(165,106,85,.14) 41px 42px); -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%); }
.statement .container { position: relative; }
.drop { display: block; width: 14px; height: 14px; margin: 0 auto clamp(26px, 3vw, 40px); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3df, var(--gold-light) 45%, var(--gold)); box-shadow: 0 0 0 10px rgba(200,146,95,.16), 0 0 0 24px rgba(200,146,95,.08), 0 0 34px 8px rgba(232,180,120,.45); }
.statement .display { font-size: clamp(38px, 4vw + 14px, 92px); }

/* duo: lifted photo, numbered steps */
.duo { background: radial-gradient(50% 60% at 0% 40%, rgba(200,146,95,.14), transparent 70%), var(--cream-2); overflow: hidden; }
.duo-photo { position: relative; isolation: isolate; max-width: 520px; width: 100%; margin-inline: auto; }
.duo-photo img { border-radius: var(--radius); }
.duo-photo::after { content: ''; position: absolute; inset: 8% 6% -3%; z-index: -1; border-radius: var(--radius); background: url(/img/duo.jpg) center / cover; filter: blur(38px) saturate(1.4); opacity: .55; translate: 0 24px; }
.duo-photo img { box-shadow: var(--lift); }
ol.duo-products { list-style: none; padding: 24px 0; }
.duo-products li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.step-no { font: 400 40px/1 var(--serif); color: var(--gold); padding-top: 2px; }
.together { color: var(--brown); }

/* band: terracotta with sunlight and a ring field */
.band { overflow: hidden; background: radial-gradient(70% 90% at 15% 0%, rgba(232,180,120,.35), transparent 65%), radial-gradient(60% 80% at 100% 100%, rgba(92,55,43,.55), transparent 70%), var(--terracotta); }
.band-rings::after { content: ''; position: absolute; right: -18vw; bottom: -30vw; width: 70vw; max-width: 980px; aspect-ratio: 1; z-index: -1; pointer-events: none; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 37px, rgba(255,240,220,.18) 37px 38px); -webkit-mask: radial-gradient(circle, #000 15%, transparent 66%); mask: radial-gradient(circle, #000 15%, transparent 66%); }
.band .eyebrow { color: #fff3df; opacity: 1; }

/* explore cards: outlined numerals that fill in, a gold rule that draws across */
.card-link { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #fdf9f5); }
.card-link::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(.18); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card-link:hover::before, .card-link:focus-visible::before { transform: scaleX(1); }
.card-no { display: block; margin-bottom: 18px; font: 400 64px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--terracotta); transition: color .4s; }
.card-link:hover .card-no { color: var(--blush); }
.link-arrow::after { display: inline-block; transition: transform .3s; }
a:hover > .link-arrow::after, .link-arrow:hover::after { transform: translateX(5px); }
@media (min-width: 900px) {
  .explore .container, .duo .container { width: min(1180px, 100% - 2 * var(--gutter)); }
  .explore .three { max-width: none; grid-template-columns: repeat(3, 1fr); }
}

/* society hero gets the same golden-hour treatment */
.society-hero { overflow: hidden; background: radial-gradient(70% 60% at 50% 100%, rgba(232,180,120,.22), transparent 70%), var(--brown); }
.society-copy .eyebrow { color: var(--gold-light); }
.society-image { position: relative; }
.society-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--brown) 0, rgba(122,75,60,0) 45%); }

/* founder portrait: lifted like the hero */
.portrait { position: relative; isolation: isolate; }
.portrait::after { content: ''; position: absolute; inset: 8% 6% -3%; z-index: -1; border-radius: var(--radius); background: url(/img/founder.jpg) center / cover; filter: blur(38px) saturate(1.3); opacity: .5; translate: 0 24px; }
.portrait img { box-shadow: var(--lift); }

/* 3D: photos sit on layered shadows over a glow of their own colors, and tilt toward you on hover */
.hero-arch, .duo-photo, .portrait { perspective: 1400px; }
.hero-image, .duo-photo img, .portrait img { transition: transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .7s; transform-origin: 50% 60%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-arch:hover .hero-image { transform: rotateY(-5deg) rotateX(3deg) translateY(-6px); box-shadow: var(--lift-dark-hi); }
  .duo-photo:hover img, .portrait:hover img { transform: rotateY(5deg) rotateX(2deg) translateY(-6px); box-shadow: var(--lift-hi); }
}
.signoff { color: var(--gold); }

/* footer: a quiet "Love Your Skin" watermark */
.site-footer { overflow: hidden; background: radial-gradient(60% 80% at 50% 120%, rgba(232,180,120,.18), transparent 70%), var(--brown-deep); }
.site-footer::after { content: 'Love Your Skin'; position: absolute; left: 50%; bottom: -.18em; translate: -50% 0; z-index: -1; pointer-events: none; white-space: nowrap; font: 400 clamp(80px, 15vw, 260px)/1 var(--serif); color: rgba(255,240,220,.05); }

/* ---------- motion: one orchestrated page load, then gentle reveals while scrolling ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes mk-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes mk-line { from { opacity: 0; transform: translateY(.45em); clip-path: inset(-30% -50% 100% -50%); } to { opacity: 1; transform: none; clip-path: inset(-30% -50% -30% -50%); } }
  @keyframes mk-unveil { from { clip-path: inset(100% 0 0 0 round 4px); transform: scale(1.04); } to { clip-path: inset(0 0 0 0 round 4px); transform: none; } }
  @keyframes mk-breathe { from { transform: scale(.94); opacity: .7; } to { transform: scale(1.04); opacity: 1; } }
  @keyframes mk-pulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(200,146,95,.16), 0 0 0 24px rgba(200,146,95,.08), 0 0 30px 6px rgba(232,180,120,.4); } 50% { box-shadow: 0 0 0 14px rgba(200,146,95,.12), 0 0 0 32px rgba(200,146,95,.05), 0 0 44px 12px rgba(232,180,120,.55); } }

  .hero-copy > * { animation: mk-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > .eyebrow { animation-delay: .15s; }
  .hero-copy > h1 { animation: none; }
  .hero h1 .ln { animation: mk-line 1.1s cubic-bezier(.2,.7,.2,1) .3s backwards; } /* backwards: once finished, no clip is left on the letters */
  .hero h1 .ln + .ln { animation-delay: .48s; }
  .hero-copy > .lede { animation-delay: .7s; }
  .hero-copy > .hero-sub { animation-delay: .82s; }
  .hero-copy > .actions { animation-delay: .95s; }
  .hero-image { animation: mk-unveil 1.5s cubic-bezier(.65,0,.25,1) .1s backwards; }
  .hero-arch .rings { animation: mk-breathe 7s ease-in-out 1.2s infinite alternate both; }
  .drop { animation: mk-pulse 5s ease-in-out infinite; }
  .page-head .container > * { animation: mk-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .page-head .container > :nth-child(2) { animation-delay: .12s; }
  .page-head .container > :nth-child(3) { animation-delay: .24s; }
  .society-copy > * { animation: mk-rise .9s cubic-bezier(.2,.7,.2,1) .2s both; }

  /* reveal on scroll where the browser supports scroll-driven animations; elsewhere content simply shows */
  @supports (animation-timeline: view()) {
    @keyframes mk-reveal { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
    main > .section:not(.page-head) .container > *, .duo-photo { animation: mk-reveal linear both; animation-timeline: view(); animation-range: entry 0px entry 180px; }
  }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (min-width: 1700px) { :root { --max: 960px; --hmax: 1440px; --header-h: 96px; } }
@media (min-width: 2300px) { :root { --max: 1040px; --hmax: 1640px; --header-h: 104px; } }

@media (min-width: 900px) {
  .duo .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); max-width: 1180px; align-items: center; gap: clamp(48px, 7vw, 120px); }
  .duo-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 55%; }
  .duo-copy .display { font-size: clamp(40px, 3.6vw, 72px); }
  .portrait { max-width: 520px; margin: 0 auto; }
  /* About: founder photo on the left, her story beside it */
  .founder .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 1120px; align-items: start; }
  .founder .portrait { max-width: none; margin: 0; position: sticky; top: calc(var(--header-h, 80px) + 24px); }
  .founder .prose h2 { margin-top: 0; }
}
