/* Kindly Kozmetik — cinematic single page over a fixed WebGL stage */

:root {
  --ink: #0b0706;
  --ink-2: #15100d;
  --amber: #d9a05f;
  --amber-hi: #edc694;
  --ivory: #f6efe4;
  --mute: rgba(246, 239, 228, .68);
  --faint: rgba(246, 239, 228, .42);
  --line: rgba(246, 239, 228, .14);
  --red: #e3262c;
  --accent: var(--amber-hi);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(20px, 5vw, 88px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
}
html[data-chapter="kolonya"] { --accent: #e6e08a; }
html[data-chapter="oda"] { --accent: #f6b7ae; }
html[data-chapter="temizlik"] { --accent: #9be3fa; }
html[data-chapter="fason"] { --accent: #ff7a7e; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  color: var(--ivory);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: italic; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 1px solid var(--amber); outline-offset: 4px; }

.wrap { width: min(100% - 2 * var(--gut), 1360px); margin-inline: auto; }

/* ---------- Stage ---------- */
.stage {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; display: block;
  opacity: 0; transition: opacity .7s var(--ease);
}
.is-ready .stage { opacity: 1; }
.no-3d .stage { display: none; }
.no-3d body { background: radial-gradient(90% 70% at 75% 30%, #3a2415 0%, #1c130d 45%, var(--ink) 80%) fixed; }

.cloud {
  position: fixed; inset: -10%; z-index: 1; pointer-events: none; opacity: 0;
  background:
    radial-gradient(60% 50% at 30% 40%, rgba(255, 255, 255, .95), transparent 70%),
    radial-gradient(55% 60% at 72% 62%, rgba(214, 240, 255, .9), transparent 72%),
    radial-gradient(80% 80% at 50% 50%, rgba(236, 246, 252, .85), rgba(190, 225, 245, .5));
  filter: blur(30px);
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader (splash) ---------- */
@property --lr { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.loader {
  position: fixed; inset: 0; z-index: 100; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 46%, #2b1a0f 0%, #150d08 45%, var(--ink) 78%);
  display: grid; place-content: center; justify-items: center; gap: 26px;
}
.loader__tl, .loader__tr {
  position: absolute; top: clamp(20px, 3.2vw, 38px); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--faint);
  animation: lFade 1s .2s both;
}
.loader__tl { left: var(--gut); }
.loader__tr { right: var(--gut); }
.loader__mark { position: relative; display: grid; place-items: center; transition: transform .8s var(--ease), filter .6s var(--ease), opacity .6s var(--ease); }
.loader__glow {
  position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217, 160, 95, .3), rgba(217, 160, 95, .08) 55%, transparent);
  animation: lPulse 2.4s ease-in-out infinite alternate;
}
.loader__bottle { position: relative; height: clamp(250px, 46vh, 400px); width: auto; overflow: visible; animation: lRise 1.1s var(--ease) both; }
.loader__bottle .ol > * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lDraw 1.1s .1s var(--ease-io) forwards; }
.loader__bottle .ol > :nth-child(2) { animation-delay: .25s; }
.loader__bottle .ol > :nth-child(3) { animation-delay: .4s; }
.lq { transform: translateY(calc((1 - var(--p, 0)) * 184px)); }
.lq__w { animation: lWave 2.6s linear infinite; }
.lq__w--b { animation-duration: 3.8s; animation-direction: reverse; }
.loader__shine { animation: lFade 1s .6s both; }
.loader__mark img {
  position: absolute; left: 50%; top: 62%; width: 30%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 10px rgba(40, 18, 4, .55));
  animation: lLogo 1s .45s var(--ease) both;
}
.loader__line {
  position: relative; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--amber-hi);
  animation: lFade .9s .55s both;
}
.loader__num {
  position: absolute; right: var(--gut); bottom: clamp(26px, 4vw, 52px);
  font: italic 400 clamp(84px, 15vw, 220px)/.78 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums;
  color: transparent; -webkit-text-stroke: 1px rgba(237, 198, 148, .5);
}
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.loader__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--amber-hi)); transform: scaleX(0); transform-origin: left; }
@keyframes lDraw { to { stroke-dashoffset: 0; } }
@keyframes lWave { to { transform: translateX(62px); } }
@keyframes lRise { from { opacity: 0; transform: translateY(18px); } }
@keyframes lLogo { from { opacity: 0; filter: blur(8px); } }
@keyframes lFade { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }
@keyframes lPulse { to { transform: scale(1.12); opacity: .7; } }
/* Exit: the curtain thins out from the centre like mist clearing */
.is-ready .loader {
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, transparent var(--lr), #000 calc(var(--lr) + 30%));
          mask-image: radial-gradient(circle at 50% 46%, transparent var(--lr), #000 calc(var(--lr) + 30%));
  animation: lOut 1.15s var(--ease-io) forwards;
}
.is-ready .loader__mark { transform: scale(1.18); filter: blur(12px); opacity: 0; }
@keyframes lOut { 0% { --lr: -30%; opacity: 1; } 72% { opacity: 1; } 100% { --lr: 125%; opacity: 0; visibility: hidden; } }
@media (max-width: 860px) {
  .loader__tr { display: none; }
  .loader__line { font-size: 10.5px; letter-spacing: .28em; }
}

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: background .8s; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: .02em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ivory); transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--ghost { border: 1px solid rgba(246, 239, 228, .5); color: var(--ivory); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ivory); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }

/* Icons: the shared glyph set, tinted through a mask */
.ico { display: inline-block; width: 18px; height: 18px; background: currentColor; flex: none;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico--instagram { --i: url("../img/icon-instagram.png"); }
.ico--whatsapp { --i: url("../img/icon-whatsapp.png"); }
.ico--phone { --i: url("../img/icon-phone.png"); }
.ico--maps { --i: url("../img/icon-maps.png"); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 86px; padding: 0 var(--gut);
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid {
  height: 66px; background: rgba(11, 7, 6, .5);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  border-bottom-color: var(--line);
}
.hdr__brand img { height: 26px; width: auto; }
.hdr__nav { display: flex; gap: clamp(18px, 2.4vw, 38px); margin-inline: auto; }
.hdr__nav a { position: relative; font-size: 14px; letter-spacing: .06em; color: var(--mute); transition: color .3s; }
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease), background .8s;
}
.hdr__nav a:hover, .hdr__nav a.is-active { color: var(--ivory); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__end { display: flex; align-items: center; gap: 22px; }
.hdr__tel { font-size: 14px; letter-spacing: .04em; color: var(--mute); font-variant-numeric: tabular-nums; }
.hdr__tel:hover { color: var(--amber-hi); }
.hdr__ico { display: none; }
.hdr__burger { display: none; width: 44px; height: 44px; position: relative; }
.hdr__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr__burger span:first-child { top: 18px; }
.hdr__burger span:last-child { top: 25px; }
.hdr__burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45; background: rgba(13, 9, 7, .86);
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  padding: 110px var(--gut) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 44px) 42px);
  transition: clip-path .9s var(--ease-io), visibility 0s .9s; visibility: hidden;
}
.drawer.is-open { clip-path: circle(150vmax at calc(100% - 44px) 42px); visibility: visible; transition-delay: 0s; }
.drawer nav { display: grid; gap: 6px; }
.drawer nav a {
  display: flex; align-items: baseline; gap: 16px;
  font: 400 clamp(38px, 10vw, 56px)/1.15 var(--serif);
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.drawer nav a i { font: 400 12px var(--sans); color: var(--amber); letter-spacing: .1em; font-style: normal; }
.drawer.is-open nav a { opacity: 1; transform: none; }
.drawer.is-open nav a:nth-child(1) { transition-delay: .25s; }
.drawer.is-open nav a:nth-child(2) { transition-delay: .3s; }
.drawer.is-open nav a:nth-child(3) { transition-delay: .35s; }
.drawer.is-open nav a:nth-child(4) { transition-delay: .4s; }
.drawer.is-open nav a:nth-child(5) { transition-delay: .45s; }
.drawer__foot { display: grid; gap: 6px; color: var(--faint); font-size: 15px; }

/* ---------- Chapter rail ---------- */
.rail {
  position: fixed; right: clamp(14px, 2vw, 30px); top: 50%; z-index: 40;
  transform: translateY(-50%); display: grid; gap: 4px; justify-items: end;
}
.rail a { display: flex; align-items: center; gap: 12px; height: 22px; color: var(--faint); }
.rail a::after { content: ""; width: 16px; height: 1px; background: currentColor; transition: width .6s var(--ease), background .4s; }
.rail a span {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .5s var(--ease);
}
.rail a:hover span, .rail a.is-active span { opacity: 1; transform: none; }
.rail a.is-active { color: var(--accent); }
.rail a.is-active::after { width: 40px; }
.no-3d .rail { display: none; }
.rail { transition: opacity .5s var(--ease); }
.at-footer .rail { opacity: 0; pointer-events: none; }

/* ---------- Type ---------- */
.display {
  font: 400 clamp(50px, 7.4vw, 128px)/.94 var(--serif);
  letter-spacing: -.028em; font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.display--md { font-size: clamp(46px, 6.2vw, 104px); }
.display em { color: var(--accent); transition: color .8s; }
.eyebrow, .no {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); transition: color .8s;
}
.eyebrow::before, .no::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow span + span::before { content: "·"; margin-right: 14px; }
.lead { margin-top: 28px; max-width: 30em; font-weight: 300; font-size: clamp(16px, 1.2vw, 19px); color: var(--mute); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- Reveal ---------- */
.js [data-in] {
  opacity: 0; transform: translateY(26px); filter: blur(12px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js.is-ready [data-in].is-in { opacity: 1; transform: translate(var(--mx, 0), var(--my, 0)); filter: none; }
.w { display: inline-block; white-space: nowrap; }
.js .w > span {
  display: inline-block; opacity: 0; transform: translateY(.5em) rotate(3deg); filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}
.js.is-ready .is-in .w > span { opacity: 1; transform: none; filter: none; }

/* ---------- Chapters (pinned) ---------- */
main { position: relative; z-index: 3; }
.ch { position: relative; height: 190vh; }
.ch--hero { height: 150vh; }
.ch--tall { height: 260vh; }
.ch--tall .display { font-size: clamp(40px, 4.7vw, 78px); }
.ch--tall .ch__body { width: min(100%, 620px); }
.ch__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  padding: 100px var(--gut) 60px;
  display: flex; align-items: center;
}
.ch__body { width: min(100%, 600px); }
.ch--hero .ch__body { width: min(100%, 760px); }
.ch--right .ch__pin { justify-content: flex-end; }
.ch--right .ch__body { width: min(100%, 560px); margin-right: clamp(0px, 4vw, 70px); }

.facts {
  position: absolute; left: var(--gut); bottom: 34px;
  display: flex; gap: clamp(28px, 5vw, 80px);
}
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.facts dd { font: 400 21px var(--serif); }
.scrollcue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 70px; background: var(--line); overflow: hidden; }
.scrollcue i { position: absolute; inset: 0; background: var(--amber-hi); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.fallback-bottle { display: none; }
.no-3d .fallback-bottle {
  display: block; position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%);
  height: min(70vh, 620px); width: auto; border-radius: 300px 300px 6px 6px;
}

.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sizes li {
  padding: 9px 18px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  color: var(--accent); font-size: 14px; letter-spacing: .08em; font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.steps { margin: 36px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps span { font: italic 400 15px var(--serif); color: var(--accent); padding-top: 3px; }
.steps h3 { font: 400 21px/1.2 var(--serif); margin-bottom: 4px; }
.steps p { font-size: 14px; line-height: 1.5; color: var(--mute); font-weight: 300; }

/* ---------- Flow sections ---------- */
.flow { position: relative; padding: 26vh 0 30vh; }
.flow--list { padding-top: 4vh; }
.flow__head { max-width: 860px; margin-bottom: clamp(48px, 7vw, 90px); }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 84px); }
.cats li { padding: 24px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.cats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.cats b { font: 400 24px var(--serif); }
.cats span { font-size: 15px; color: var(--mute); line-height: 1.55; font-weight: 300; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); perspective: 1400px; }
.card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  position: relative; border-radius: 20px; padding: 12px 12px 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 30px 60px -30px rgba(0, 10, 20, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform-style: preserve-3d;
}
.js.is-ready .card.is-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity 1s var(--ease), filter 1s var(--ease), transform .5s var(--ease); }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 50% at var(--gx) var(--gy), rgba(255, 255, 255, .22), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.card:hover::after { opacity: 1; }
.card__img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__txt { padding: 18px 10px 0; display: grid; gap: 4px; }
.card__txt span { font: italic 400 14px var(--serif); color: var(--accent); }
.card__txt h3 { font: 400 clamp(22px, 1.9vw, 28px)/1.12 var(--serif); }
.card__txt p { font-size: 14px; color: var(--mute); }
.card__txt em { margin-top: 8px; font-style: normal; font-size: 13px; letter-spacing: .08em; color: var(--ivory); font-variant-numeric: tabular-nums; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; max-width: 960px; }
.about__year { font: 400 clamp(110px, 17vw, 270px)/.8 var(--serif); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(246, 239, 228, .5); }
.about__year span { color: var(--red); -webkit-text-stroke: 0; font-style: italic; }
.about__lead { font: 400 clamp(21px, 2vw, 28px)/1.38 var(--serif); margin-bottom: 34px; }
.pillars li { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.pillars b { font-weight: 600; font-size: 15px; }
.pillars span { color: var(--mute); font-size: 15px; font-weight: 300; }
.stats { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(246, 239, 228, .4); max-width: 960px; }
.stats div { padding: 26px 22px 0 0; }
.stats div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats dt { font: 400 clamp(46px, 5.4vw, 84px)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.stats dd { margin-top: 10px; color: var(--mute); font-size: 14px; }

/* Contact */
.ch--contact { height: 170vh; }
.ch--contact .ch__body { width: min(100%, 680px); }
.ch--contact .display { margin-bottom: 30px; }
.phone {
  display: inline-block; font: 400 clamp(32px, 4vw, 60px)/1 var(--serif); padding-bottom: 6px;
  background: linear-gradient(var(--amber-hi), var(--amber-hi)) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease);
}
.phone:hover { background-size: 100% 1px; }
.ch--contact .cta { margin: 28px 0 34px; }
.info div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.info dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); padding-top: 4px; }
.info dd { font-size: 16px; }
.info a:hover { color: var(--amber-hi); }

/* Footer */
.ftr { position: relative; z-index: 3; background: #080504; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 0; }
.ftr__top { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(0, .8fr)) minmax(220px, 1.2fr); gap: clamp(28px, 4vw, 64px); }
.ftr__logo { width: 92px; }
.ftr__brand p { margin-top: 22px; max-width: 30em; font-size: 15px; line-height: 1.65; font-weight: 300; color: var(--mute); }
.ftr__col h2 { margin-bottom: 22px; font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--amber); }
.ftr__col ul { display: grid; gap: 13px; }
.ftr__col li { font-size: 15px; line-height: 1.5; color: var(--mute); }
.ftr__col a { background: linear-gradient(var(--amber-hi), var(--amber-hi)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease); padding-bottom: 2px; }
.ftr__col a:hover { color: var(--ivory); background-size: 100% 1px; }
.ftr__col--contact a { display: inline-flex; align-items: flex-start; gap: 12px; background: none; }
.ftr__col--contact a .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--amber); flex: none; }
.ftr__col--contact a span { background: linear-gradient(var(--amber-hi), var(--amber-hi)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.ftr__col--contact a:hover span { background-size: 100% 1px; }
.ftr__map { position: relative; margin-top: clamp(44px, 6vw, 80px); height: clamp(260px, 40vh, 400px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.ftr__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ftr__map .btn { position: absolute; left: 18px; bottom: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.ftr__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px;
  margin-top: clamp(36px, 5vw, 60px); padding: 26px 0 30px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--faint);
}
.ftr__bottom a { color: var(--amber-hi); }

.ftr__policy { font-size: 13px; color: var(--faint); margin-right: auto; background: linear-gradient(var(--amber-hi), var(--amber-hi)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease); padding-bottom: 2px; }
.ftr__policy:hover { color: var(--ivory); background-size: 100% 1px; }

/* Cookie notice + policy */
.cookie {
  position: fixed; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 70;
  width: min(470px, calc(100vw - 24px)); padding: 16px 16px 16px 20px; border-radius: 20px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  background: rgba(17, 12, 9, .78); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(24px); filter: blur(8px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie.is-in { opacity: 1; transform: none; filter: none; }
.cookie__title { font: italic 400 20px/1.1 var(--serif); color: var(--amber-hi); margin-bottom: 6px; }
.cookie__text { font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.cookie__text button { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); }
.cookie__actions { display: grid; gap: 8px; }
.cookie__actions .btn { --h: 34px; padding: 0 18px; font-size: 13px; }

.policy {
  width: min(680px, calc(100vw - 28px)); max-height: min(82vh, 760px); padding: 0; border-radius: 22px;
  background: #130e0b; color: var(--ivory); border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
}
.policy[open] { display: flex; flex-direction: column; animation: policyIn .5s var(--ease); }
.policy::backdrop { background: rgba(5, 3, 2, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes policyIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.policy, .policy * { cursor: auto !important; }
.policy a, .policy button { cursor: pointer !important; }
.policy__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.policy__head p { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); }
.policy__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); font-size: 14px; transition: background .3s, color .3s; }
.policy__close:hover { background: var(--ivory); color: var(--ink); }
.policy__body { padding: 26px 26px 30px; overflow-y: auto; overscroll-behavior: contain; font-size: 15px; line-height: 1.65; color: var(--mute); }
.policy__body h3 { font: 400 clamp(26px, 3.4vw, 36px)/1.1 var(--serif); color: var(--ivory); margin-bottom: 14px; }
.policy__body h4 { font: 600 14px/1.3 var(--sans); letter-spacing: .04em; color: var(--ivory); margin: 24px 0 8px; }
.policy__body ul { display: grid; gap: 10px; padding-left: 18px; list-style: disc; }
.policy__body li::marker { color: var(--amber); }
.policy__body b { color: var(--ivory); font-weight: 600; }
.policy__body a { color: var(--amber-hi); text-decoration: underline; text-underline-offset: 3px; }
.policy__body p + p, .policy__body ul + p { margin-top: 12px; }
.policy__date { margin-top: 22px !important; font-size: 13px; color: var(--faint); }


/* Cursor: a glowing droplet; the mist trail itself is drawn on the stage */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.cursor::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid transparent; background: radial-gradient(circle, #fff 0, var(--accent) 38%, transparent 72%);
  transform: scale(.3); filter: drop-shadow(0 0 6px var(--accent));
  transition: transform .45s var(--ease), background .3s, border-color .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-link::before { transform: scale(1); background: transparent; border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .has-3d.is-ready, .has-3d.is-ready a, .has-3d.is-ready button { cursor: none; }
}
@media not ((hover: hover) and (pointer: fine)) { .cursor { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hdr__nav, .hdr__tel { display: none; }
  .hdr__burger { display: block; }
  .hdr__end { margin-left: auto; gap: 10px; }
  .rail a span { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cats li:nth-child(n+3) { padding-top: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: repeat(3, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__col--contact { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hdr { height: 66px; }
  .hdr__brand img { height: 22px; }
  .hdr .btn--sm { display: none; }
  .hdr__end { gap: 8px; }
  .hdr__ico { display: grid; place-items: center; width: 38px; height: 44px; color: var(--ivory); }
  .hdr__ico .ico { width: 21px; height: 21px; }
  .hdr__ico:active { color: var(--amber); }
  .hdr__end { gap: 2px; }
  .rail { display: none; }

  .ch { height: 170vh; }
  .ch--hero { height: 140vh; }
  .ch__pin { align-items: flex-end; padding: 90px var(--gut) 56px; }
  .ch__pin::before {
    content: ""; position: absolute; inset: 40% 0 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(8, 5, 4, .7) 45%, rgba(8, 5, 4, .86));
  }
  .ch__body, .ch--hero .ch__body, .ch--right .ch__body, .ch--contact .ch__body { width: 100%; margin: 0; }
  .ch--hero .ch__pin { padding-bottom: 34px; }
  .display { font-size: clamp(42px, 12.4vw, 70px); }
  .display--md { font-size: clamp(42px, 12.4vw, 70px); }
  .eyebrow, .no { margin-bottom: 16px; }
  .lead { margin-top: 18px; font-size: 15.5px; }
  .cta { margin-top: 24px; gap: 10px; }
  .cta .btn { flex: 1 1 auto; padding: 0 18px; --h: 52px; }
  .facts, .scrollcue { display: none; }

  /* Long chapters scroll normally; the bottle sits in the first screen and fades */
  .ch--tall, .ch--contact { height: auto; }
  .ch--tall .ch__pin, .ch--contact .ch__pin { position: relative; height: auto; padding-top: 58svh; padding-bottom: 80px; }
  .ch--tall .ch__pin::before, .ch--contact .ch__pin::before { inset: 30svh 0 0; }

  .flow { padding: 18vh 0 36vh; }
  .cats { grid-template-columns: 1fr; }
  .cats li, .cats li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .cats li:nth-child(n+3) { padding-top: 18px; }
  .cards {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding: 6px var(--gut) 20px;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 78%; scroll-snap-align: center; }

  .about { grid-template-columns: 1fr; }
  .pillars li { grid-template-columns: 1fr; gap: 4px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { margin-top: 26px; border-top: 1px solid var(--line); }
  .info div { grid-template-columns: 1fr; gap: 4px; }

  .ftr__top { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .ftr__brand, .ftr__col--contact { grid-column: 1 / -1; }
  .ftr__bottom { flex-direction: column; }

  .cookie { left: 12px; right: 12px; width: auto; bottom: max(12px, env(safe-area-inset-bottom)); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease), bottom .7s var(--ease); }
  .ftr__policy { margin-right: 0; align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-in], .js .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}
