/* HHPL — High Heads Pvt. Ltd.
   Palette: charcoal / rose gold / ivory. Nothing else. */

:root {
  --ink: #100e0c;
  --char: #1a1714;
  --char-2: #241f1b;
  --line: rgba(247, 244, 239, 0.12);
  --rose: #ac9683;
  --rose-l: #c7b29c;
  --rose-d: #6f5644;
  --ivory: #f7f4ef;
  --ivory-m: #c2b8ac;
  --ivory-d: #8a7f74;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(1.15rem, 4vw, 3rem);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --header-h: 68px;

  /* semantic tokens (dark is default) */
  --on-rose: #100e0c;
  --fixed-ivory: #f7f4ef;
  --fixed-rose-l: #c7b29c;
  --hair: rgba(247, 244, 239, 0.25);
  --ghost: rgba(247, 244, 239, 0.14);
  --header-bg: rgba(16, 14, 12, 0.82);
  --inv-muted: #4a4038;
  --inv-accent: #6f5644;
  --inv-line: rgba(16, 14, 12, 0.14);
  --map-filter: grayscale(1) invert(.9) sepia(.18) contrast(.9);
  --thread-fg: 247, 244, 239;
  color-scheme: dark;
}

/* Light theme: same palette, values flipped. --ink is always "page background", --ivory is always "text". */
[data-theme="light"] {
  --ink: #fbfaf7;
  --char: #f3efe9;
  --char-2: #e9e2d8;
  --line: rgba(16, 14, 12, 0.13);
  --rose-l: #6f5644;
  --ivory: #100e0c;
  --ivory-m: #4a4038;
  --ivory-d: #7c7065;
  --hair: rgba(16, 14, 12, 0.25);
  --ghost: rgba(16, 14, 12, 0.13);
  --header-bg: rgba(247, 244, 239, 0.85);
  --inv-muted: #c2b8ac;
  --inv-accent: #c7b29c;
  --inv-line: rgba(247, 244, 239, 0.14);
  --map-filter: grayscale(1) sepia(.2) contrast(.95);
  --thread-fg: 16, 14, 12;
  color-scheme: light;
}
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .5s ease, color .5s ease, border-color .5s ease !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--rose); color: var(--on-rose); }
:focus-visible { outline: 1px solid var(--rose-l); outline-offset: 4px; }

/* grain overlay, very faint */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--rose); color: var(--on-rose); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow, .mono {
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--rose-l); font-weight: 400;
}
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }

.display {
  font-family: var(--f-display); font-weight: 400; line-height: 0.92;
  letter-spacing: -0.02em; margin: 0;
  font-size: clamp(3rem, 13vw, 10.5rem);
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--rose-l); }
.h2 {
  font-family: var(--f-display); font-weight: 400; line-height: 1;
  letter-spacing: -0.015em; margin: 0;
  font-size: clamp(2.3rem, 7.5vw, 5.4rem);
}
.h3 {
  font-family: var(--f-display); font-weight: 500; line-height: 1.08; margin: 0;
  font-size: clamp(1.6rem, 4.2vw, 2.5rem);
}
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ivory-m); max-width: 38ch; line-height: 1.55; }
p { margin: 0 0 1.1em; }
.muted { color: var(--ivory-m); }
.prose { max-width: 66ch; color: var(--ivory-m); }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--ivory); margin: 2.2em 0 .5em; line-height: 1.1; }
.prose h3 { font-family: var(--f-body); font-size: 1rem; letter-spacing: .02em; color: var(--ivory); margin: 1.8em 0 .4em; font-weight: 600; }
.prose a { color: var(--rose-l); border-bottom: 1px solid rgba(199,178,156,.4); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--rose); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--rose);
  position: relative; display: inline-flex; align-items: center; gap: .8rem;
  padding: 1rem 1.5rem; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg); color: var(--on-rose); font-weight: 500;
  transition: color .5s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory);
  transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arr { width: 1.1em; height: 1.1em; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::before { background: var(--rose); }
.btn--ghost:hover { color: var(--on-rose); }

.link-u { position: relative; display: inline-block; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.site-header.is-solid { background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: .7rem; line-height: 1; }
.logo__mark { width: 44px; height: 44px; color: var(--ivory); flex: none; transition: color .4s, transform .8s var(--ease); }
.logo__mark svg { width: 100%; height: 100%; display: block; }
.logo:hover .logo__mark { color: var(--rose); transform: translateY(-2px); }
.hero__mark {
  position: absolute; z-index: 1; pointer-events: none; color: var(--rose);
  width: min(92vw, 760px); right: -18vw; top: 50%; transform: translateY(-50%); opacity: .13;
}
.hero__mark svg { width: 100%; height: auto; display: block; }
.js .hero__mark svg { clip-path: inset(100% 0 0 0); animation: markIn 2.4s .3s var(--ease-io) forwards; }
@keyframes markIn { to { clip-path: inset(0 0 0 0); } }
@media (min-width: 1000px) { .hero__mark { right: 2vw; opacity: .22; width: min(48vw, 720px); } }
[data-theme="light"] .hero__mark { opacity: .16; }
@media (min-width: 1000px) { [data-theme="light"] .hero__mark { opacity: .26; } }
.foot-lockup {
  --lock: clamp(52px, 13vw, 150px);
  display: flex; align-items: center; gap: calc(var(--lock) * .22);
  margin: 3.5rem 0 1.8rem; color: var(--rose); user-select: none;
}
.foot-lockup__mark { width: var(--lock); height: var(--lock); flex: none; }
.foot-lockup__mark svg { width: 100%; height: 100%; display: block; }
.foot-lockup__word {
  font-family: var(--f-body); font-weight: 800; font-stretch: 110%; letter-spacing: .02em;
  font-size: calc(var(--lock) * 1.36); line-height: 1; transform: translateY(.02em);
}
.foot-lockup__text { position: relative; }
.foot-lockup__tag {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: calc(var(--lock) * .26); line-height: 1; letter-spacing: .02em;
  color: var(--rose); padding-left: .06em;
  position: absolute; left: 0; top: calc(100% + var(--lock) * .06); white-space: nowrap;
}
.foot-lockup { margin-bottom: calc(1.8rem + var(--lock) * .4); }
.logo__txt {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  color: var(--ivory); white-space: nowrap; line-height: 1.05;
}
.logo__name {
  display: flex; flex-direction: column; gap: 0;
  font-family: var(--f-display); font-weight: 500; font-size: 1.02rem; letter-spacing: .03em;
}
.logo__tag {
  display: none;
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: .86rem; letter-spacing: .03em; color: var(--rose);
}
@media (min-width: 600px) {
  .logo__name { flex-direction: row; gap: .28em; font-size: 1.22rem; }
  .logo__tag { display: block; }
}

.nav-inline { display: none; gap: 2rem; font-size: .86rem; }
.nav-inline a { color: var(--ivory-m); transition: color .3s; }
.nav-inline a:hover, .nav-inline a[aria-current="page"] { color: var(--ivory); }
.nav-inline a[aria-current="page"]::before { content: "· "; color: var(--rose); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .btn { display: none; padding: .7rem 1.1rem; }

.menu-btn { display: inline-flex; align-items: center; gap: .65rem; padding: .55rem .2rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.menu-btn__lines { width: 26px; height: 10px; position: relative; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { top: 9px; width: 65%; left: auto; }
.menu-open .menu-btn__lines::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn__lines::after { top: 5px; width: 100%; transform: rotate(-45deg); }

/* full menu */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--char);
  clip-path: circle(0% at calc(100% - 3rem) 2rem); visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 2rem) 0 2rem; overflow-y: auto;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 3rem) 2rem); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu .wrap { display: grid; gap: 2.5rem; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0;
  font-family: var(--f-display); font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1.05;
  transform: translateY(105%); transition: transform .8s var(--ease), color .3s;
}
.menu__list a .mono { font-size: .65rem; color: var(--ivory-d); min-width: 2.2em; }
.menu__list a:hover { color: var(--rose-l); }
.menu-open .menu__list a { transform: none; }
.menu-open .menu__list li:nth-child(1) a { transition-delay: .25s; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .29s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .33s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .37s; }
.menu-open .menu__list li:nth-child(5) a { transition-delay: .41s; }
.menu-open .menu__list li:nth-child(6) a { transition-delay: .45s; }
.menu-open .menu__list li:nth-child(7) a { transition-delay: .49s; }
.menu-open .menu__list li:nth-child(8) a { transition-delay: .53s; }
.menu-open .menu__list li:nth-child(9) a { transition-delay: .57s; }
.menu__meta { display: grid; gap: 1.2rem; font-size: .9rem; color: var(--ivory-m); }
.menu__meta a { color: var(--ivory); }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 2.2rem; overflow: hidden;
}
.hero--inner { min-height: 72svh; }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 70% at 80% 10%, rgba(172,150,131,.16), transparent 60%),
              linear-gradient(to top, var(--ink) 4%, transparent 45%);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: auto; position: relative; z-index: 2; }
.hero__coords { display: none; text-align: right; color: var(--ivory-d); line-height: 1.7; }
.hero__title { margin: 2rem 0 1.8rem; }
.hero__bottom { display: grid; gap: 1.6rem; align-items: end; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.scroll-cue { display: none; align-items: center; gap: .8rem; color: var(--ivory-d); }
.scroll-cue__bar { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue__bar::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--rose-l); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

.crumbs { display: flex; gap: .6rem; flex-wrap: wrap; color: var(--ivory-d); }
.crumbs a:hover { color: var(--ivory); }

/* split lines */
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: inline-block; }
.js .ln > span { transform: translateY(108%); transition: transform 1.2s var(--ease); }
.js .is-in .ln > span, .js .ln.is-in > span { transform: none; }
.js .is-in .ln:nth-child(2) > span { transition-delay: .09s; }
.js .is-in .ln:nth-child(3) > span { transition-delay: .18s; }
.js .is-in .ln:nth-child(4) > span { transition-delay: .27s; }

/* reveals */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-delay="1"] { transition-delay: .1s; }
.js [data-delay="2"] { transition-delay: .2s; }
.js [data-delay="3"] { transition-delay: .3s; }

/* ---------- sections ---------- */
.section { padding: clamp(5rem, 14vw, 10rem) 0; position: relative; }
.section--tight { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--ivory .muted, .section--ivory .lede, .section--ivory .prose { color: var(--inv-muted); }
.section--ivory .eyebrow, .section--ivory .mono, .section--ivory .sec-num { color: var(--inv-accent) !important; }
.section--ivory .h2 em, .section--ivory .h3 em { color: var(--inv-accent); }
.section--char { background: var(--char); }
.sec-head { display: grid; gap: 1.4rem; margin-bottom: clamp(2.5rem, 7vw, 5rem); }
.sec-num { font-family: var(--f-mono); font-size: .7rem; color: var(--ivory-d); letter-spacing: .14em; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--ivory .rule { background: var(--inv-line); }

/* media */
.media { position: relative; overflow: hidden; background: var(--char-2); border-radius: 2px; }
.media::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(172,150,131,.08) 0 1px, transparent 1px 14px),
    radial-gradient(80% 80% at 30% 20%, rgba(172,150,131,.25), transparent 70%);
}
.media img { position: relative; width: 100%; height: 115%; object-fit: cover; will-change: transform; filter: saturate(.85) contrast(1.02); }
.media.img-missing img { opacity: 0; }
.media__tag { position: absolute; left: .9rem; bottom: .8rem; z-index: 2; color: var(--fixed-ivory); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.ar-45 { aspect-ratio: 4 / 5; } .ar-34 { aspect-ratio: 3 / 4; } .ar-169 { aspect-ratio: 16 / 9; } .ar-11 { aspect-ratio: 1; } .ar-32 { aspect-ratio: 3/2; }

/* intro split */
.intro { display: grid; gap: 3rem; }
.intro__media { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-items: start; }
.intro__media .media:nth-child(2) { margin-top: 4rem; }

/* manifesto */
.manifesto { font-family: var(--f-display); font-size: clamp(1.9rem, 6.2vw, 4.6rem); line-height: 1.08; letter-spacing: -.01em; max-width: 22ch; margin: 0; }
.manifesto .w { transition: color .25s linear; color: var(--ghost); }
.manifesto .w.on { color: var(--ivory); }
.manifesto .w.rose.on { color: var(--rose-l); font-style: italic; }
.no-js .manifesto .w, .reduce .manifesto .w { color: var(--ivory); }

/* facts strip */
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.fact { padding: 1.6rem 1rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 1rem; }
.fact__v { font-family: var(--f-display); font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; display: block; margin: .6rem 0 .3rem; }
.fact__v em { color: var(--rose-l); }
.fact p { font-size: .88rem; color: var(--ivory-m); margin: 0; }

/* brand panels */
.panels { display: grid; gap: 1rem; }
.panel { color: var(--fixed-ivory); position: relative; display: block; overflow: hidden; border-radius: 2px; min-height: 68vh; isolation: isolate; }
.panel .media { position: absolute; inset: 0; z-index: -2; height: 100%; }
.panel .media img { height: 100%; transition: transform 1.6s var(--ease); }
.panel:hover .media img { transform: scale(1.06); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(16,14,12,.92) 8%, rgba(16,14,12,.15) 60%, rgba(16,14,12,.35)); }
.panel__in { position: absolute; inset: 0; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; }
.panel__top { display: flex; justify-content: space-between; }
.panel__title { font-family: var(--f-display); font-size: clamp(2.6rem, 9vw, 5.5rem); line-height: .95; margin: 0 0 .8rem; }
.panel__title em { color: var(--fixed-rose-l); }
.panel ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.panel li { font-size: .78rem; padding: .35rem .7rem; border: 1px solid rgba(247,244,239,.25); border-radius: 999px; backdrop-filter: blur(6px); }
.panel__go { display: inline-flex; gap: .6rem; align-items: center; }
.panel__go svg { transition: transform .5s var(--ease); }
.panel:hover .panel__go svg { transform: translateX(6px); }

/* horizontal process */
.hs { position: relative; }
.hs__sticky { position: relative; }
.hs__track { display: grid; gap: 1rem; }
.step {
  position: relative; background: var(--char-2); border: 1px solid var(--line); border-radius: 2px;
  padding: 1.6rem; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.step__n { font-family: var(--f-display); font-style: italic; font-size: 6rem; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--rose); opacity: .8; }
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: 2rem; margin: 0 0 .5rem; }
.step p { color: var(--ivory-m); font-size: .95rem; margin: 0; }
.step::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(172,150,131,.25); }
.hs__intro { display: grid; gap: 1.2rem; align-content: end; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.3rem 0; }
.marquee__row { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee__row span { font-family: var(--f-display); font-size: clamp(2rem, 6vw, 4rem); padding-right: 2.2rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.2rem; }
.marquee__row span::after { content: "✦"; font-size: .4em; color: var(--rose); }
.marquee__row span:nth-child(even) { font-style: italic; color: var(--rose-l); }
@keyframes mq { to { transform: translateX(-50%); } }

/* list rows (values, depts) */
.rows { border-top: 1px solid var(--line); }
.section--ivory .rows { border-color: var(--inv-line); }
.row { display: grid; gap: .6rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); position: relative; }
.section--ivory .row { border-color: var(--inv-line); }
.row__n { font-family: var(--f-mono); font-size: .7rem; color: var(--rose-l); letter-spacing: .12em; }
.section--ivory .row__n { color: var(--inv-accent); }
.row h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: 0; line-height: 1.05; }
.row p { margin: 0; color: var(--ivory-m); max-width: 52ch; }
.section--ivory .row p { color: var(--inv-muted); }

/* timeline */
.tl { position: relative; padding-left: 1.6rem; }
.tl::before { content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 1px; background: var(--line); }
.tl__fill { position: absolute; left: 0; top: .4rem; width: 1px; height: 0; background: var(--rose); }
.tl__item { position: relative; padding-bottom: 2.6rem; }
.tl__item::before { content: ""; position: absolute; left: calc(-1.6rem - 4px); top: .45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1px solid var(--rose); }
.tl__item h3 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 500; margin: .3rem 0 .4rem; }
.tl__item p { color: var(--ivory-m); max-width: 50ch; margin: 0; }

/* team */
.founder { display: grid; gap: 2rem; align-items: end; }
.monogram { aspect-ratio: 4/5; display: grid; place-items: center; background: var(--char-2); position: relative; overflow: hidden; }
.monogram span { font-family: var(--f-display); font-style: italic; font-size: clamp(6rem, 22vw, 12rem); color: transparent; -webkit-text-stroke: 1px var(--rose); }
.monogram::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(172,150,131,.07) 0 1px, transparent 1px 14px); }
.depts { display: grid; gap: 1rem; }
.dept { border: 1px solid var(--line); padding: 1.5rem; border-radius: 2px; position: relative; overflow: hidden; transition: border-color .4s; }
.dept:hover { border-color: rgba(172,150,131,.6); }
.dept::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(172,150,131,.14), transparent 45%); opacity: 0; transition: opacity .4s; }
.dept:hover::before { opacity: 1; }
.dept h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; margin: 1.6rem 0 .5rem; }
.dept p { color: var(--ivory-m); margin: 0; font-size: .95rem; }

/* blog */
.posts { display: grid; gap: 2.4rem; }
.post-card { display: grid; gap: 1rem; }
.post-card .media { aspect-ratio: 4/3; }
.post-card .media img { height: 100%; transition: transform 1.2s var(--ease); }
.post-card:hover .media img { transform: scale(1.05); }
.post-card h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.08; margin: 0; transition: color .3s; }
.post-card:hover h3 { color: var(--rose-l); }
.post-card p { color: var(--ivory-m); margin: 0; font-size: .95rem; }
.post-meta { display: flex; gap: 1rem; color: var(--ivory-d); }
.article-hero .media { aspect-ratio: 16/9; margin-top: 2rem; }

/* forms */
.form { display: grid; gap: 1.4rem; }
.form__grid { display: grid; gap: 1.4rem; }
.field { position: relative; display: grid; }
.field label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-d); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hair);
  color: var(--ivory); font: inherit; font-size: 1.05rem; padding: .55rem 0 .7rem; border-radius: 0;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--rose-l) 50%), linear-gradient(135deg, var(--rose-l) 50%, transparent 50%); background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.5rem; }
.field select option { background: var(--char); color: var(--ivory); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); }
.field .bar { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--rose-l); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field input:focus ~ .bar, .field textarea:focus ~ .bar, .field select:focus ~ .bar { transform: scaleX(1); }
.file { border: 1px dashed var(--hair); border-radius: 2px; padding: 1.3rem; display: flex; align-items: center; gap: 1rem; cursor: pointer; transition: border-color .3s, background .3s; }
.file:hover, .file.is-drag { border-color: var(--rose); background: rgba(172,150,131,.06); }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file__ico { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rose); display: grid; place-items: center; flex: none; color: var(--rose-l); }
.file__txt { font-size: .92rem; color: var(--ivory-m); }
.file__txt strong { color: var(--ivory); font-weight: 500; display: block; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .86rem; color: var(--ivory-m); }
.check input { accent-color: var(--rose); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.check a { color: var(--rose-l); text-decoration: underline; text-underline-offset: 3px; }
.form__note { font-size: .8rem; color: var(--ivory-d); }
.form__err { color: var(--rose-l); font-size: .85rem; min-height: 1.2em; }
.hp { position: absolute !important; left: -9999px !important; }

/* contact */
.contact-grid { display: grid; gap: 3.5rem; }
.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cinfo__item { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .4rem; }
.cinfo__item a, .cinfo__item address { font-family: var(--f-display); font-size: clamp(1.4rem, 4vw, 1.9rem); font-style: normal; line-height: 1.2; }
.cinfo__item a:hover { color: var(--rose-l); }
.map { position: relative; aspect-ratio: 4/3; border-radius: 2px; overflow: hidden; border: 1px solid var(--line); background: var(--char-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }
.map__pin { position: absolute; left: 1rem; top: 1rem; background: var(--ink); padding: .5rem .8rem; border-radius: 999px; border: 1px solid var(--line); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band__big { display: block; font-family: var(--f-display); font-size: clamp(3.4rem, 15vw, 12rem); line-height: .9; letter-spacing: -.03em; }
.cta-band__big em { color: var(--rose-l); }
.cta-band__big:hover .circle-go { transform: rotate(-45deg) scale(1.05); background: var(--rose); color: var(--on-rose); }
.circle-go { display: inline-grid; place-items: center; width: clamp(64px, 12vw, 140px); height: clamp(64px, 12vw, 140px); border-radius: 50%; border: 1px solid var(--rose); vertical-align: middle; transition: transform .7s var(--ease), background .5s, color .5s; color: var(--rose-l); }
.circle-go svg { width: 36%; height: 36%; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--ink); }
.foot-grid { display: grid; gap: 2.6rem; }
.foot-col h4 { font-family: var(--f-mono); font-weight: 400; font-size: .66rem; letter-spacing: .16em; color: var(--ivory-d); text-transform: uppercase; margin: 0 0 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-col a { color: var(--ivory-m); transition: color .3s; }
.foot-col a:hover { color: var(--rose-l); }
.foot-col address { font-style: normal; color: var(--ivory-m); line-height: 1.7; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--ivory-d); font-size: .8rem; }
.foot-bottom a:hover { color: var(--ivory); }

/* floating whatsapp */
.wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 52px; height: 52px; border-radius: 50%;
  background: var(--rose); color: var(--on-rose); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .4s var(--ease);
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 24px; height: 24px; }

/* progress + cursor + transition */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--rose); transform-origin: left; transform: scaleX(0); z-index: 70; }
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--rose-l); display: none; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; mix-blend-mode: difference; }
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: var(--ivory); }
.veil { position: fixed; inset: 0; z-index: 100; background: var(--char); pointer-events: none; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-io); }
.veil.is-on { transform: scaleY(1); }
.js .veil.boot { transform: scaleY(1); transform-origin: top; animation: veilout .8s .05s var(--ease-io) forwards; }
@keyframes veilout { to { transform: scaleY(0); } }

/* misc */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list span { font-size: .8rem; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ivory-m); }
.split { display: grid; gap: 2.5rem; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.stack > * + * { margin-top: 1.2rem; }

/* ---------- tablet+ ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (min-width: 720px) {
  .hero__coords { display: block; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { border-right: 1px solid var(--line); padding-left: 1rem; }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { border-right: 0; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .form__grid .full { grid-column: 1 / -1; }
  .depts { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .row { grid-template-columns: 5rem 1fr 1.2fr; align-items: baseline; gap: 2rem; }
  .hs__track { grid-template-columns: 1fr 1fr; }
}

/* ---------- desktop ---------- */
@media (min-width: 1000px) {
  :root { --header-h: 84px; }
  .nav-inline { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .hero__bottom { grid-template-columns: 1fr auto; }
  .scroll-cue { display: inline-flex; }
  .intro { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .panels { grid-template-columns: 1fr 1fr; }
  .panel { min-height: 84vh; }
  .panel__in { padding: 2.2rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 6rem; }
  .founder { grid-template-columns: .8fr 1.2fr; gap: 5rem; }
  .depts { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .menu .wrap { grid-template-columns: 1.6fr 1fr; align-items: end; }
  .cursor { display: block; }

  /* pinned horizontal scroll (enabled by JS with .hs--on) */
  .hs--on .hs__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
  .hs--on .hs__track { display: flex; gap: 1.4rem; padding-left: max(var(--gutter), (100vw - var(--max)) / 2); padding-right: 10vw; will-change: transform; }
  .hs--on .hs__intro { width: 30vw; flex: none; padding-right: 3rem; }
  .hs--on .step { width: 30vw; max-width: 440px; flex: none; min-height: 62vh; }
}

@media (hover: none) { .cursor { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="clip"], .js .ln > span { opacity: 1; transform: none; clip-path: none; }
  .manifesto .w { color: var(--ivory); }
}

/* theme toggle */
.theme-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; transition: box-shadow .3s; }
.theme-btn:hover { box-shadow: inset 0 0 0 1px var(--rose); }
.theme-btn svg { width: 17px; height: 17px; position: absolute; transition: transform .6s var(--ease), opacity .4s; }
.theme-btn .i-sun { transform: translateY(140%) rotate(-90deg); opacity: 0; }
[data-theme="light"] .theme-btn .i-sun { transform: none; opacity: 1; }
[data-theme="light"] .theme-btn .i-moon { transform: translateY(-140%) rotate(90deg); opacity: 0; }
[data-theme="light"] body::after { mix-blend-mode: multiply; opacity: .035; }
[data-theme="light"] .media img { filter: saturate(.9); }
[data-theme="light"] .cursor { background: var(--rose); mix-blend-mode: normal; }
[data-theme="light"] .cursor.is-hover { background: rgba(172,150,131,.25); }

/* Team grid (team page) */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
@media (min-width: 800px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem 1.5rem; } }
.member { margin: 0; }
.member .media { aspect-ratio: 1; }
.member .media img { height: 100%; object-position: center top; transition: transform 1.2s var(--ease), filter .6s; }
.member:hover .media img { transform: scale(1.04); }
.member__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.1; color: var(--ivory); margin: 1rem 0 .35rem; }
.member__role { display: block; font-family: var(--f-display) !important; font-style: italic; font-weight: 500; font-size: 1.12rem; letter-spacing: .01em; text-transform: none; color: var(--ivory-m); }
.founder .stack > p.mono { font-family: var(--f-display) !important; font-style: italic; font-weight: 500; font-size: 1.3rem; letter-spacing: .01em; text-transform: none; color: var(--ivory-m); }
.founder .stack > p.lede, .founder .stack > p.muted { font-family: "Lora", Georgia, serif !important; font-weight: 400; font-style: normal; }

/* Process step photos (homepage) */
.step { gap: 1.2rem; }
.step::after { display: none; }
.step__img { position: relative; margin: 0; flex: 1 1 auto; min-height: 200px; overflow: hidden; border-radius: 2px; background: var(--char-2); }
.step__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__img img { transform: scale(1.04); }
.step__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(16,14,12,.45), rgba(16,14,12,0) 45%); pointer-events: none; }
.step__img .step__n { position: absolute; left: 1rem; top: 1rem; z-index: 1; font-size: 4.5rem; -webkit-text-stroke: 1px #fff; opacity: .95; }.step { justify-content: flex-start; }
.step__img { flex: none; height: clamp(200px, 34vh, 340px); }