:root {
  color-scheme: light;
  --ink: #121513;
  --muted: #616a65;
  --paper: #f4f6f4;
  --white: #fff;
  --line: rgba(18, 26, 22, 0.14);
  --green: #165f49;
  --mint: #b8dfcf;
  --blue: #416f9c;
  --coral: #b85e4d;
  --violet: #65547e;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
body.drawer-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; letter-spacing: 0; }
button { color: inherit; }
img { max-width: 100%; }
svg { width: 1em; height: 1em; stroke-width: 1.7; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 11px 14px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:where(a, button, input, textarea, [tabindex="0"]):focus-visible { outline: 2px solid #db9a37; outline-offset: 3px; }

.site-header { position: fixed; z-index: 100; top: 16px; left: 50%; width: min(calc(100% - 40px), var(--max)); min-height: 64px; padding: 8px 10px 8px 15px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid rgba(255,255,255,.68); border-radius: 18px; background: rgba(249,251,250,.68); box-shadow: 0 14px 46px rgba(13,24,19,.1), inset 0 1px rgba(255,255,255,.9); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); transform: translateX(-50%); transition: width .2s ease, background .2s ease; }
.site-header.scrolled { width: min(calc(100% - 52px), 1080px); background: rgba(249,251,250,.88); }
.site-brand { min-height: 44px; width: max-content; display: inline-flex; align-items: center; gap: 8px; }
.site-brand .brand-symbol { width: auto; height: 21px; filter: brightness(0); }
.site-brand .brand-wordmark { width: auto; height: 20px; filter: brightness(0); opacity: .92; }
.brand-division { padding-left: 9px; border-left: 1px solid var(--line); color: #4f5954; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; color: #505954; font-size: 13px; font-weight: 650; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); background: rgba(255,255,255,.76); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button { width: 44px; aspect-ratio: 1; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.72); cursor: pointer; }
.menu-button { display: none; }
.header-link, .primary-link, .outline-link, .text-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 4px; cursor: pointer; font-weight: 680; }
.header-link { padding: 0 16px; color: white; background: var(--ink); font-size: 13px; }
.primary-link { padding: 0 20px; color: white; background: var(--ink); }
.primary-link.light { color: var(--ink); background: rgba(255,255,255,.92); }
.outline-link { padding: 0 20px; border: 1px solid currentColor; background: transparent; }
.text-link { min-height: 36px; padding: 0; background: transparent; }

.hero { position: relative; min-height: 720px; height: calc(100svh - 24px); overflow: hidden; color: white; background: #17201c; }
.hero-media { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.015); animation: hero-drift 18s ease-in-out infinite alternate; }
.brand-site .hero-media { background-image: url("./assets/spa-hero.webp"); }
.product-site .hero-media { background-image: url("./products/assets/product-hero.webp"); }
.hero-overlay { position: absolute; inset: 0; background: rgba(5,11,8,.36); }
.product-site .hero-overlay { background: rgba(8,12,10,.28); }
.hero-inner { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); height: 100%; display: flex; flex-direction: column; justify-content: center; margin: 0 auto; padding-top: 82px; }
.hero-kicker, .eyebrow { margin: 0 0 18px; color: var(--green); font-size: 12px; font-weight: 760; text-transform: uppercase; }
.hero-kicker { color: rgba(255,255,255,.75); }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", "Songti SC", serif; font-size: 88px; font-weight: 400; line-height: .98; letter-spacing: 0; }
.hero-statement { max-width: 620px; margin: 23px 0 0; font-size: 27px; font-weight: 580; line-height: 1.38; }
.hero-copy { max-width: 570px; margin: 16px 0 0; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.hero-foot { position: absolute; right: 0; bottom: 34px; left: 0; width: min(calc(100% - 48px),var(--max)); display: flex; justify-content: space-between; align-items: flex-end; margin: auto; color: rgba(255,255,255,.66); font-size: 11px; }
.hero-foot span { display: flex; align-items: center; gap: 7px; }

.section { padding: 120px 24px; }
.section-inner { width: min(100%,var(--max)); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: end; }
.section-heading h2 { max-width: 700px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 52px; font-weight: 400; line-height: 1.12; }
.section-heading > p:last-child { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.manifesto { color: white; background: #14211c; }
.manifesto-inner { width: min(100%,900px); margin: 0 auto; text-align: center; }
.manifesto h2 { margin: 0; font-family: Georgia,"Songti SC",serif; font-size: 52px; font-weight: 400; line-height: 1.25; }
.manifesto p { max-width: 670px; margin: 28px auto 0; color: rgba(255,255,255,.66); line-height: 1.9; }
.manifesto-line { width: 1px; height: 72px; margin: 45px auto 0; background: rgba(255,255,255,.22); }

.experience-layout { display: grid; grid-template-columns: 330px 1fr; gap: 80px; margin-top: 76px; }
.experience-tabs { display: grid; align-content: start; border-top: 1px solid var(--line); }
.experience-tabs button { min-height: 86px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 14px 6px; border: 0; border-bottom: 1px solid var(--line); color: #737b77; background: transparent; text-align: left; cursor: pointer; }
.experience-tabs button span:first-child { font-family: Georgia,serif; font-size: 13px; }
.experience-tabs button strong { font-size: 15px; }
.experience-tabs button svg { opacity: 0; }
.experience-tabs button.active { color: var(--ink); }
.experience-tabs button.active svg { opacity: 1; }
.experience-stage { position: relative; min-height: 540px; overflow: hidden; border-radius: 6px; color: white; background: #223029; }
.experience-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .6s ease; }
.experience-stage::after { content:""; position:absolute; inset:0; background:rgba(6,12,9,.38); }
.experience-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 48px; }
.experience-copy small { color: rgba(255,255,255,.68); }
.experience-copy h3 { max-width: 540px; margin: 12px 0 0; font-family: Georgia,"Songti SC",serif; font-size: 38px; font-weight: 400; }
.experience-copy p { max-width: 560px; margin: 16px 0 0; color: rgba(255,255,255,.72); line-height: 1.8; }

.space-band { padding: 0; background: #e9edeb; }
.space-grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 760px; }
.space-main { position: relative; min-height: 650px; background: url("./assets/spa-reception.webp") center/cover; }
.space-side { display: flex; flex-direction: column; justify-content: space-between; padding: 80px; }
.space-side h2 { margin: 0; font-family: Georgia,"Songti SC",serif; font-size: 48px; font-weight: 400; line-height: 1.18; }
.space-side p { color: var(--muted); line-height: 1.85; }
.space-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 28px; border-top: 1px solid var(--line); }
.space-facts strong { display: block; font-size: 14px; }
.space-facts small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.5; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 70px; border-top: 1px solid var(--line); }
.service-card { min-height: 360px; padding: 34px 34px 30px; border-right: 1px solid var(--line); }
.service-card:last-child { border-right: 0; }
.service-number { color: var(--green); font: 14px Georgia,serif; }
.service-card h3 { margin: 72px 0 0; font-family: Georgia,"Songti SC",serif; font-size: 30px; font-weight: 400; }
.service-card p { margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-meta { display: flex; justify-content: space-between; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line); color: #4e5853; font-size: 12px; }

.ritual-bridge { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; color: white; background: #17201c; }
.ritual-bridge::before { content:""; position:absolute; inset:0 0 0 48%; background:url("./assets/spa-courtyard.webp") center/cover; }
.ritual-bridge::after { content:""; position:absolute; inset:0; background:rgba(7,13,10,.38); }
.ritual-bridge-inner { position:relative; z-index:2; width:min(calc(100% - 48px),var(--max)); margin:auto; }
.ritual-bridge h2 { max-width:620px; margin:0; font-family:Georgia,"Songti SC",serif; font-size:54px; font-weight:400; line-height:1.15; }
.ritual-bridge p { max-width:480px; margin:22px 0 30px; color:rgba(255,255,255,.7); line-height:1.85; }

.visit { background: #fff; }
.visit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.visit-photo { aspect-ratio: 4/5; overflow: hidden; border-radius: 6px; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit-copy h2 { margin:0; font-family:Georgia,"Songti SC",serif; font-size:52px; font-weight:400; line-height:1.15; }
.visit-copy > p { max-width:570px; margin:24px 0; color:var(--muted); line-height:1.9; }
.visit-notes { display:grid; gap:0; margin:32px 0; border-top:1px solid var(--line); }
.visit-notes span { min-height:58px; display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--line); font-size:13px; }
.visit-notes svg { color:var(--green); }

/* Product site */
.collection-section { background:#f7f8f7; }
.category-tabs { display:flex; gap:8px; margin-top:45px; }
.category-tabs button { min-height:42px; padding:0 15px; border:1px solid var(--line); border-radius:4px; color:#59635e; background:transparent; cursor:pointer; }
.category-tabs button.active { color:white; background:var(--ink); }
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:36px; }
.product-card { position:relative; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:white; }
.product-card[hidden] { display:none; }
.product-image { position:relative; aspect-ratio:4/5; overflow:hidden; background:#dfe4e1; }
.product-image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.product-card:hover .product-image img { transform:scale(1.035); }
.product-badge { position:absolute; top:12px; left:12px; z-index:2; padding:7px 9px; border-radius:3px; color:white; background:rgba(17,22,19,.76); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); font-size:10px; font-weight:700; }
.product-card-copy { padding:20px; }
.product-card-copy small { color:var(--green); font-weight:700; }
.product-card-copy h3 { margin:8px 0 0; font-family:Georgia,"Songti SC",serif; font-size:22px; font-weight:400; }
.product-card-copy p { min-height:42px; margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
.product-card-foot { display:flex; justify-content:space-between; align-items:center; margin-top:17px; }
.product-card-foot span { color:#4e5752; font-size:12px; }
.add-button { width:38px; aspect-ratio:1; display:grid; place-items:center; padding:0; border:1px solid var(--line); border-radius:4px; background:#f4f6f4; cursor:pointer; }
.add-button.done { color:white; background:var(--green); }

.formula-section { color:white; background:#18221e; }
.formula-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:90px; }
.formula-copy h2 { margin:0; font-family:Georgia,"Songti SC",serif; font-size:50px; font-weight:400; line-height:1.15; }
.formula-copy p { color:rgba(255,255,255,.66); line-height:1.9; }
.formula-list { display:grid; border-top:1px solid rgba(255,255,255,.18); }
.formula-list article { display:grid; grid-template-columns:56px 1fr; gap:16px; padding:25px 0; border-bottom:1px solid rgba(255,255,255,.18); }
.formula-list span { color:var(--mint); font:14px Georgia,serif; }
.formula-list h3 { margin:0; font-size:15px; }
.formula-list p { margin:7px 0 0; color:rgba(255,255,255,.6); font-size:12px; line-height:1.7; }

.finder { background:#e9eeeb; }
.finder-shell { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; }
.finder-copy h2 { margin:0; font-family:Georgia,"Songti SC",serif; font-size:50px; font-weight:400; }
.finder-copy p { color:var(--muted); line-height:1.85; }
.finder-options { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.finder-options button { min-height:120px; padding:22px; border:1px solid var(--line); border-radius:6px; background:rgba(255,255,255,.55); text-align:left; cursor:pointer; }
.finder-options button.active { border-color:var(--green); background:white; box-shadow:0 12px 32px rgba(20,44,34,.09); }
.finder-options strong { display:block; }
.finder-options small { display:block; margin-top:8px; color:var(--muted); line-height:1.55; }
.finder-result { min-height:82px; margin-top:12px; padding:18px 20px; border-left:3px solid var(--green); background:rgba(255,255,255,.7); }
.finder-result strong { display:block; }
.finder-result span { display:block; margin-top:6px; color:var(--muted); font-size:12px; }

.product-story { background:white; }
.story-grid { display:grid; grid-template-columns:1.1fr .9fr; min-height:620px; }
.story-visual { background:url("./products/assets/product-detail.webp") center/cover; }
.story-copy { display:flex; flex-direction:column; justify-content:center; padding:80px; }
.story-copy h2 { margin:0; font-family:Georgia,"Songti SC",serif; font-size:48px; font-weight:400; }
.story-copy p { color:var(--muted); line-height:1.9; }
.story-points { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:28px; }
.story-points span { padding-top:15px; border-top:1px solid var(--line); font-size:12px; line-height:1.6; }

.cart-drawer { position:fixed; z-index:300; top:0; right:0; width:min(100%,430px); height:100%; display:flex; flex-direction:column; padding:24px; border-left:1px solid rgba(255,255,255,.8); background:rgba(249,251,250,.9); box-shadow:-24px 0 70px rgba(14,24,19,.18); -webkit-backdrop-filter:blur(30px); backdrop-filter:blur(30px); transform:translateX(105%); transition:transform .28s ease; }
.cart-drawer.open { transform:none; }
.drawer-backdrop { position:fixed; z-index:290; inset:0; border:0; background:rgba(7,11,9,.44); }
.drawer-head { display:flex; justify-content:space-between; align-items:center; }
.drawer-head h2 { margin:0; font-family:Georgia,"Songti SC",serif; font-weight:400; }
.cart-items { flex:1; display:grid; align-content:start; gap:10px; margin:30px 0; overflow:auto; }
.empty-cart { padding:45px 20px; color:var(--muted); text-align:center; }
.cart-item { display:grid; grid-template-columns:64px 1fr auto; gap:13px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:6px; background:rgba(255,255,255,.66); }
.cart-thumb { width:64px; aspect-ratio:1; object-fit:cover; border-radius:4px; }
.cart-item strong { font-size:13px; }
.cart-item small { display:block; margin-top:5px; color:var(--muted); }
.quantity { display:flex; align-items:center; gap:7px; }
.quantity button { width:30px; aspect-ratio:1; display:grid; place-items:center; padding:0; border:1px solid var(--line); border-radius:3px; background:white; cursor:pointer; }
.drawer-foot { padding-top:18px; border-top:1px solid var(--line); }
.drawer-foot p { color:var(--muted); font-size:12px; line-height:1.6; }
.drawer-foot .primary-link { width:100%; }

.site-footer { min-height:200px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:30px; padding:42px max(24px,calc((100% - var(--max))/2)); color:var(--muted); background:#eef1ef; font-size:11px; }
.footer-brand { display:flex; align-items:center; gap:9px; }
.footer-brand img:first-child { width:auto; height:20px; filter:brightness(0); }
.footer-brand img:last-child { width:auto; height:18px; filter:brightness(0); }
.footer-nav { display:flex; gap:6px; }
.footer-nav a { padding:9px; }
.site-footer > p { justify-self:end; }

.modal { width:min(calc(100% - 32px),620px); padding:38px; border:1px solid rgba(255,255,255,.85); border-radius:8px; color:var(--ink); background:rgba(249,251,250,.92); box-shadow:0 40px 100px rgba(0,0,0,.28); -webkit-backdrop-filter:blur(28px); backdrop-filter:blur(28px); }
.modal::backdrop { background:rgba(6,10,8,.52); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.modal-close { position:absolute; top:14px; right:14px; }
.modal h2 { margin:0; font-family:Georgia,"Songti SC",serif; font-size:35px; font-weight:400; }
.modal > p { color:var(--muted); line-height:1.75; }
.modal-form { display:grid; gap:15px; margin-top:24px; }
.modal-form label { display:grid; gap:7px; color:#45504a; font-size:12px; font-weight:650; }
.modal-form input, .modal-form textarea { width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:4px; color:var(--ink); background:rgba(255,255,255,.76); }
.modal-form .primary-link { width:100%; }
.form-status { min-height:18px; margin:0; color:var(--green); font-size:12px; text-align:center; }

.reveal { opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }
@keyframes hero-drift { from { transform:scale(1.015); } to { transform:scale(1.055) translate3d(1%,-.7%,0); } }

@media (max-width:1050px) {
  .site-header { grid-template-columns:1fr auto; }
  .main-nav { display:none; }
  .menu-button { display:inline-grid; }
  .main-nav.open { position:absolute; top:72px; right:0; left:0; display:grid; padding:10px; border:1px solid rgba(255,255,255,.9); border-radius:12px; background:rgba(249,251,250,.96); box-shadow:0 20px 55px rgba(15,25,20,.18); }
  .main-nav.open a { min-height:48px; }
  .header-link { display:none; }
  .section-heading, .formula-layout { grid-template-columns:1fr; gap:24px; }
  .experience-layout { grid-template-columns:260px 1fr; gap:40px; }
  .product-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:720px) {
  .site-header { top:10px; width:calc(100% - 20px); min-height:58px; padding-left:12px; }
  .site-header.scrolled { width:calc(100% - 20px); }
  .site-brand .brand-symbol { height:18px; }
  .site-brand .brand-wordmark { height:17px; }
  .brand-division { display:none; }
  .hero { min-height:700px; height:calc(100svh - 12px); }
  .hero-inner { width:calc(100% - 40px); justify-content:flex-start; padding-top:145px; }
  .hero h1 { font-size:58px; }
  .hero-statement { font-size:22px; }
  .hero-copy { font-size:14px; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-foot { width:calc(100% - 40px); bottom:25px; }
  .hero-foot span:last-child { display:none; }
  .brand-site .hero-media { background-position:58% center; }
  .product-site .hero-media { background-position:64% center; }
  .hero-overlay { background:rgba(5,10,8,.52); }
  .section { padding:84px 20px; }
  .section-heading h2, .manifesto h2, .visit-copy h2, .formula-copy h2, .finder-copy h2 { font-size:38px; }
  .manifesto { padding-top:100px; padding-bottom:100px; }
  .experience-layout { grid-template-columns:1fr; gap:22px; margin-top:50px; }
  .experience-tabs { grid-template-columns:repeat(3,1fr); border-top:0; }
  .experience-tabs button { min-height:72px; display:flex; justify-content:center; padding:10px 4px; border:1px solid var(--line); font-size:12px; text-align:center; }
  .experience-tabs button span:first-child, .experience-tabs button svg { display:none; }
  .experience-stage { min-height:480px; }
  .experience-copy { padding:28px; }
  .experience-copy h3 { font-size:30px; }
  .space-grid, .visit-grid, .finder-shell, .story-grid { grid-template-columns:1fr; }
  .space-main { min-height:500px; }
  .space-side, .story-copy { padding:55px 20px; }
  .space-side h2, .story-copy h2 { font-size:38px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:280px; padding:30px 0; border-right:0; border-bottom:1px solid var(--line); }
  .service-card h3 { margin-top:45px; }
  .ritual-bridge { min-height:700px; align-items:flex-start; padding-top:110px; }
  .ritual-bridge::before { inset:46% 0 0; }
  .ritual-bridge h2 { font-size:40px; }
  .visit-photo { aspect-ratio:1; }
  .category-tabs { overflow:auto; padding-bottom:5px; }
  .category-tabs button { flex:0 0 auto; }
  .product-grid { grid-template-columns:1fr; }
  .product-image { aspect-ratio:5/4; }
  .formula-layout, .finder-shell { gap:45px; }
  .finder-options { grid-template-columns:1fr; }
  .story-visual { min-height:480px; }
  .site-footer { grid-template-columns:1fr auto; min-height:150px; }
  .footer-nav { display:none; }
  .modal { padding:34px 20px; }
}

@media (max-width:340px) {
  .hero h1 { font-size:50px; }
  .hero-statement { font-size:19px; }
  .site-brand .brand-symbol { display:none; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}
