/* Di-Khaka: "murmuration". Dark editorial hero, bold type, spots that gather. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --charcoal: #2B2F36;
  --pearl: #F4F1EA;
  --cobalt: #2F6FB5;
  --coral: #D6453D;
  --ivory: #E8D9A8;
  --card: #FBF9F4;
  color-scheme: light dark;
  /* Surface tokens: light sections switch with the visitor's setting */
  --bg: var(--pearl);
  --surface: var(--card);
  --ink: var(--charcoal);
  --link: var(--cobalt);
  --focus: var(--cobalt);
  --line: rgba(43, 47, 54, .16);
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spots-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%232B2F36' fill-opacity='.07'%3E%3Ccircle cx='14' cy='22' r='3'/%3E%3Ccircle cx='62' cy='12' r='2'/%3E%3Ccircle cx='118' cy='30' r='3.5'/%3E%3Ccircle cx='160' cy='14' r='2'/%3E%3Ccircle cx='36' cy='70' r='2.5'/%3E%3Ccircle cx='90' cy='84' r='3'/%3E%3Ccircle cx='146' cy='76' r='2'/%3E%3Ccircle cx='20' cy='128' r='3.5'/%3E%3Ccircle cx='72' cy='142' r='2'/%3E%3Ccircle cx='124' cy='130' r='3'/%3E%3Ccircle cx='168' cy='152' r='2.5'/%3E%3Ccircle cx='48' cy='172' r='2'/%3E%3Ccircle cx='104' cy='170' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  --spots-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%23F4F1EA' fill-opacity='.07'%3E%3Ccircle cx='14' cy='22' r='3'/%3E%3Ccircle cx='62' cy='12' r='2'/%3E%3Ccircle cx='118' cy='30' r='3.5'/%3E%3Ccircle cx='160' cy='14' r='2'/%3E%3Ccircle cx='36' cy='70' r='2.5'/%3E%3Ccircle cx='90' cy='84' r='3'/%3E%3Ccircle cx='146' cy='76' r='2'/%3E%3Ccircle cx='20' cy='128' r='3.5'/%3E%3Ccircle cx='72' cy='142' r='2'/%3E%3Ccircle cx='124' cy='130' r='3'/%3E%3Ccircle cx='168' cy='152' r='2.5'/%3E%3Ccircle cx='48' cy='172' r='2'/%3E%3Ccircle cx='104' cy='170' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  --spots-bg: var(--spots-light);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--charcoal);
    --surface: #343942;
    --ink: var(--pearl);
    --link: var(--ivory);
    --focus: var(--ivory);
    --line: rgba(244, 241, 234, .16);
    --spots-bg: var(--spots-dark);
    --coral-text: #EC7A72;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--display); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--bg) var(--spots-bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.contact :focus-visible { outline-color: var(--charcoal); }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .on-cobalt :focus-visible,
.form-card :focus-visible, .soon :focus-visible { outline-color: var(--ivory); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
p { margin: 0 0 1em; }
em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ivory); color: var(--charcoal); padding: .7rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 70; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--cobalt), var(--coral), var(--ivory)); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--pearl); transition: background .35s ease, box-shadow .35s ease; }
.site-header.solid, .site-header.scrolled { background: rgba(43, 47, 54, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(244, 241, 234, .12); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--pearl); text-decoration: none; }
.brand:hover { color: var(--ivory); }
.logo { width: 30px; height: 30px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav a { display: inline-block; padding: .45rem .8rem; border-radius: 999px; color: var(--pearl); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { background: rgba(244, 241, 234, .14); color: #fff; }
.bar { position: relative; }
.nav-toggle { display: none; padding: .45rem 1rem; border: 1.5px solid rgba(244, 241, 234, .5); border-radius: 999px; background: transparent; color: var(--pearl); font: 600 .95rem/1.2 var(--display); cursor: pointer; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: rgba(244, 241, 234, .14); }
@media (min-width: 1100px) { .site-nav .m-only { display: none; } }
@media (max-width: 1099px) {
  .nav-toggle { display: inline-block; margin-left: auto; }
  .site-nav ul { display: none; position: absolute; right: 22px; top: calc(100% + 6px); flex-direction: column; gap: 2px; min-width: 220px; padding: 10px; background: var(--charcoal); border: 1px solid rgba(244, 241, 234, .2); border-radius: 18px; }
  .site-nav ul[data-open="true"] { display: flex; }
  .site-nav a { display: block; border-radius: 10px; padding: .6rem .9rem; }
}
@media (max-width: 640px) { .bar .btn-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid var(--pearl);
  background: var(--pearl); color: var(--charcoal); font: 700 1rem/1 var(--display); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}
.btn::after { content: "\2192"; transition: transform .25s var(--ease); }
.btn:hover { background: var(--ivory); border-color: var(--ivory); color: var(--charcoal); transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn-sm { padding: .65rem 1.2rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--pearl); border-color: rgba(244, 241, 234, .55); }
.btn-ghost:hover { background: rgba(244, 241, 234, .14); color: #fff; border-color: var(--pearl); }
.btn-ghost::after { content: "\2193"; }
.btn-ghost:hover::after { transform: translateY(3px); }

/* ---------- Section scaffolding ---------- */
section { position: relative; padding: clamp(48px, 6vw, 84px) 0; }
.dark { background: var(--charcoal) var(--spots-dark); color: var(--pearl); }
.on-cobalt { background: var(--cobalt); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1.1rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 14px 0 0 var(--cobalt), 28px 0 0 var(--ivory); margin-right: 28px; }
.section-title { font-size: clamp(1.8rem, 1.35rem + 1.7vw, 2.8rem); letter-spacing: -.035em; line-height: .98; max-width: 16ch; margin-bottom: .4em; }
.section-title em { font-size: 1.08em; }
.lede { font-size: clamp(1rem, .96rem + .2vw, 1.1rem); max-width: 36rem; }
.head { margin-bottom: clamp(22px, 3vw, 36px); }

/* ---------- Hero ---------- */
.hero { min-height: max(100svh, 680px); padding: clamp(100px, 15vh, 150px) 0 0; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { font-weight: 800; font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem); line-height: .84; letter-spacing: -.05em; margin: 0; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .w:nth-child(2) > span { animation-delay: .12s; }
.tagline { animation: rise .9s var(--ease) .35s both; }
.hero-actions { animation: rise .9s var(--ease) .5s both; }
@keyframes rise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.08; color: var(--ivory); margin: .35em 0 1.1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-art .layer { transform: translate(calc(var(--px, 0) * 16px), calc(var(--py, 0) * 12px)); transition: transform .7s var(--ease); }
.hero-art .box { fill: rgba(244, 241, 234, .05); stroke: rgba(232, 217, 168, .8); stroke-width: 2; }
.hero-art .arrow { stroke: var(--ivory); stroke-width: 2; fill: none; stroke-linecap: round; }
.hero-art .arrowhead { fill: var(--ivory); }
.hero-art .label { fill: var(--pearl); font: 700 24px var(--display); letter-spacing: -.01em; text-anchor: middle; }
.hero-art .late { opacity: 0; animation: fadeIn 2s ease 11.5s forwards; }
.hero-art .dot { transform: translate(var(--x2), var(--y2)); animation: gather 16s ease-in-out var(--d, 0s) both; }
@keyframes gather {
  0%   { transform: translate(var(--x0), var(--y0)); opacity: 0; }
  8%   { opacity: .9; }
  24%  { transform: translate(var(--x0b), var(--y0b)); }
  40%  { transform: translate(var(--xa), var(--ya)); }
  60%  { transform: translate(var(--xb), var(--yb)); }
  86%, 100% { transform: translate(var(--x2), var(--y2)); opacity: 1; }
}
@keyframes fadeIn { to { opacity: 1; } }

.hero-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.hero-photo { margin: 0; position: relative; justify-self: center; display: none; }
.photo-ring { position: relative; width: min(360px, 30vw); aspect-ratio: 1; }
.photo-ring::before { content: ""; position: absolute; inset: -16px; border-radius: 50% 50% 46% 54% / 56% 52% 48% 44%; border: 3px dotted var(--ivory); opacity: .75; }
.photo-ring img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50% 50% 46% 54% / 56% 52% 48% 44%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.35fr .65fr; }
  .hero h1 { font-size: clamp(3.2rem, 2rem + 3.4vw, 5.6rem); }
  .hero-photo { display: block; }
  .hero-actions .sound { display: none; }
}
.sound {
  display: inline-flex; align-items: center; gap: 10px; padding: .7rem 1.2rem .7rem .8rem; border-radius: 999px;
  border: 2px solid var(--ivory); background: var(--charcoal); color: var(--pearl); font: 700 .95rem/1 var(--display); cursor: pointer; position: relative;
  transition: background .25s ease, color .25s ease;
}
.hero-photo .sound { position: absolute; left: -18px; bottom: 6px; }
.sound svg { width: 26px; height: 26px; fill: currentColor; }
.sound svg .wave { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sound:hover, .sound[aria-pressed="true"] { background: var(--ivory); color: var(--charcoal); }
.sound[aria-pressed="true"]::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 2px solid var(--ivory); animation: ripple 1.2s ease-out infinite; }
@keyframes ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.18); } }

.flock-photo { margin: 0 0 44px; }
.flock-photo img { width: 100%; height: auto; display: block; border-radius: 26px; aspect-ratio: 1920 / 464; object-fit: cover; }
@media (max-width: 719px) { .flock-photo img { aspect-ratio: 16 / 9; } }
figcaption { font-size: .85rem; margin-top: 10px; opacity: .9; }
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; display: block; border-radius: 999px 999px 34px 34px; aspect-ratio: 4 / 5; object-fit: cover; }

.credits { padding-bottom: 12px; position: relative; z-index: 1; font-size: .9rem; }
.credits summary { cursor: pointer; font-weight: 600; display: inline-block; padding: .3rem 0; }
.credits ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: .4rem; max-width: 60rem; }
.credits a { color: var(--ivory); }

/* ---------- Marquee ---------- */
.marquee { background: var(--ivory); color: var(--charcoal); padding: 0; overflow: hidden; border-block: 2px solid var(--charcoal); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; flex: none; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee li { font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; padding: 18px 0; white-space: nowrap; }
.marquee li::after { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); margin: 0 28px; vertical-align: middle; }
.marquee:hover .marquee-track, .offscreen .marquee-track, .offscreen .flow i { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- What we do: bento ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(12, 1fr); list-style: none; margin: 0; padding: 0; }
.tile {
  grid-column: span 12; position: relative; display: flex; flex-direction: column; min-height: 160px; padding: 20px 22px 22px;
  border-radius: 26px; background: var(--surface) var(--spots-bg); border: 1px solid var(--line);
  transition: transform .35s var(--ease), background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.tile:hover { transform: translateY(-5px); background-color: var(--ivory); color: var(--charcoal); border-color: var(--charcoal); box-shadow: 0 18px 40px -22px rgba(43, 47, 54, .55); }
.tile .num { position: absolute; top: 24px; right: 26px; font-size: .85rem; font-weight: 700; letter-spacing: .1em; opacity: .7; }
.tile svg.ico { width: 38px; height: 38px; margin-bottom: auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.tile:hover svg.ico { transform: rotate(-6deg) scale(1.1); }
.tile h3 { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.4rem); margin: 22px 0 .25em; }
.tile p { margin: 0; max-width: 32ch; font-size: .95rem; }
.tile.feature { background: var(--charcoal) var(--spots-dark); color: var(--pearl); border-color: var(--charcoal); }
.tile.feature:hover { background-color: #343942; color: var(--pearl); border-color: var(--ivory); }
.tile.blue { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.tile.blue:hover { background-color: #2a64a3; color: #fff; border-color: var(--charcoal); }
@media (min-width: 720px) { .tile { grid-column: span 6; } }
@media (min-width: 720px) and (max-width: 999px) { .tile.t7 { grid-column: span 12; } }
@media (min-width: 1000px) {
  .tile { grid-column: span 4; }
  .tile.t1 { grid-column: span 7; min-height: 180px; }
  .tile.t2 { grid-column: span 5; min-height: 180px; }
  .tile.t7 { grid-column: span 8; }
}

/* ---------- Statement break ---------- */
.statement { padding: clamp(40px, 5.5vw, 72px) 0; border-block: 2px solid var(--ink); background: var(--bg) var(--spots-bg); }
.statement p { margin: 0 auto; font-weight: 800; font-size: clamp(1.6rem, 1rem + 2.2vw, 2.8rem); line-height: 1.05; letter-spacing: -.04em; max-width: none; text-align: center; text-wrap: balance; }
.statement em { color: var(--link); }

/* ---------- How we work ---------- */
.process { overflow: hidden; }
.flow { position: relative; height: 2px; background: rgba(244, 241, 234, .22); margin-bottom: 38px; display: none; }
.flow i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ivory); animation: flow 6s linear infinite; }
.flow i:nth-child(2) { background: var(--pearl); animation-delay: -2s; }
.flow i:nth-child(3) { background: var(--coral); animation-delay: -4s; }
@keyframes flow { from { left: 0; opacity: 0; } 10%, 90% { opacity: 1; } to { left: calc(100% - 10px); opacity: 0; } }
@media (min-width: 900px) { .flow { display: block; } }
.steps { display: grid; gap: 28px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.step { border-top: 1px solid rgba(244, 241, 234, .3); padding-top: 18px; }
.step .n { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .14em; color: var(--ivory); }
.step h3 { font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); line-height: .9; letter-spacing: -.05em; margin: .1em 0 .15em; -webkit-text-stroke: 2px var(--ivory); color: transparent; transition: color .9s ease .3s; }
.step.in h3, html:not(.js) .step h3 { color: var(--pearl); }
.step p { font-size: 1.2rem; max-width: 22ch; margin: 0; }

/* ---------- Mission and values ---------- */
.mission { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.1; max-width: 22em; margin: 0 0 clamp(40px, 6vw, 72px); }
.values { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); list-style: none; margin: 0; padding: 0; }
.vcard { background: var(--pearl); color: var(--charcoal); border-radius: 24px; padding: 22px 22px 26px; transition: transform .35s var(--ease), background-color .3s ease; }
.vcard:hover { transform: translateY(-6px) rotate(-.6deg); background-color: var(--ivory); }
.vcard h3 { font-size: 1.35rem; margin: 8px 0 .3em; }
.vcard p { margin: 0; font-size: 1rem; }
.icon { width: 96px; height: 80px; display: block; overflow: visible; }
.icon .body { opacity: 0; transition: opacity .9s ease .7s; }
.icon .spot { fill: var(--cobalt); transition: transform 1.3s var(--ease), fill .5s ease; transition-delay: var(--sd, 0s), 1.1s; }
.icon .extra { opacity: 0; transition: opacity .6s ease 1.6s; }
.in .icon .body, .in .icon .extra { opacity: 1; }
.in .icon .spot { transform: translate(0, 0) !important; fill: var(--pearl); }

/* ---------- Tools ---------- */
.tools { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.tool { display: grid; grid-template-columns: 56px 1fr; gap: 6px 14px; align-items: baseline; padding: 22px 8px; border-bottom: 1px solid var(--line); position: relative; transition: padding .35s var(--ease), background-color .3s ease; }
.tool:hover { background: var(--ivory); color: var(--charcoal); padding-left: 22px; }
.tool .n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--coral-text, var(--coral)); }
.tool h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); margin: 0; letter-spacing: -.035em; }
.tool .note { grid-column: 2; font-size: 1.05rem; margin: 0; }


/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.about-copy p { font-size: 1.05rem; max-width: 34rem; }
.certs { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.certs li { display: inline-flex; align-items: center; gap: 10px; padding: .7rem 1.1rem; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; background: var(--surface); }
.certs li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); flex: none; }

/* ---------- Contact ---------- */
.contact { background: var(--ivory); color: var(--charcoal); }
.contact-lines a { color: var(--charcoal); }
.contact-grid { display: grid; gap: 44px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.form-card { background: var(--charcoal) var(--spots-dark); color: var(--pearl); border-radius: 24px; padding: clamp(20px, 3vw, 30px); }
.form-card h3 { font-size: 1.5rem; }
form { display: grid; gap: 12px; }
label { font-weight: 600; display: block; margin-bottom: 6px; }
input[type=text], input[type=email], textarea {
  width: 100%; font: inherit; color: var(--pearl); background: rgba(244, 241, 234, .08); border: 2px solid rgba(244, 241, 234, .55);
  border-radius: 14px; padding: .8rem 1rem; transition: border-color .2s ease, background-color .2s ease;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus { outline: 3px solid var(--ivory); outline-offset: 2px; border-color: var(--ivory); background: rgba(244, 241, 234, .14); }
textarea { min-height: 84px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ivory); }
.form-status { min-height: 1.5em; font-weight: 600; margin: 0; }
.form-status.error { color: var(--ivory); text-decoration: underline wavy var(--coral); text-underline-offset: 4px; }
.hint { font-size: .88rem; margin: 0; }
.form-card a { color: var(--ivory); }
.form-card a:hover { color: #fff; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.soon { background: var(--charcoal); color: var(--pearl); border-radius: 30px; padding: 32px; }
.soon h3 { font-size: 1.5rem; }
.soon p { margin: 0; }
.contact-lines { list-style: none; margin: 24px 0 0; padding: 0; font-size: 1.1rem; font-weight: 600; display: grid; gap: 6px; }

/* ---------- Placeholder highlight (privacy draft) ---------- */
.ph { background: var(--ivory); color: var(--charcoal); padding: 0 .25em; border-radius: 4px; }
.draft-note { color: var(--charcoal); background: var(--ivory); border-left: 6px solid var(--coral); padding: 14px 18px; border-radius: 8px; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal) var(--spots-dark); color: var(--pearl); position: relative; overflow-x: clip; overflow-y: visible; padding: 0; }
.walkway { --bird-w: 179px; position: relative; z-index: 2; height: 136px; overflow: visible; border-bottom: 1px dashed rgba(244, 241, 234, .28); }
.walker { position: absolute; left: 0; bottom: 2px; width: var(--bird-w); cursor: pointer; transform: translateX(var(--walk-x, 0px)); will-change: transform; }
.walker .facing { display: block; }
.walker .shadow { position: absolute; left: 18%; right: 24%; bottom: -4px; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); }
.back .facing { transform: scaleX(-1); }
/* Sprite strip of 19 cells cut from real footage. JS shows one cell at a time by moving the strip
   (transform only) and picks the walking cell from the distance walked, so the feet never slide. */
/* Shown at the frames' own size (no downscaling) so the thin legs stay sharp. */
.walker .cel { display: block; width: var(--bird-w); overflow: hidden; }
/* Phones: smaller bird so it has room to walk (dense screens keep it sharp). */
@media (max-width: 600px) { .walkway { --bird-w: 128px; height: 104px; } }
.walker-img { display: block; width: 1900%; max-width: none; height: auto; transform: translateX(-73.6842%); }
.footer-body { padding: 44px 22px 20px; display: grid; gap: 26px; position: relative; z-index: 1; }
@media (min-width: 800px) { .footer-body { grid-template-columns: 1fr 1fr; align-items: start; } }
.footer-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .98rem; }
.footer-body a { color: var(--ivory); }
.footer-body a:hover { color: #fff; }
.footer-brand { font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; margin: 0 0 .6rem; }
/* Footer wordmark: edge to edge; on scroll it fills left to right with the brand gradient (and empties when you scroll back up) */
.wordmark { position: relative; margin: 6px 0 0; padding: 0 1vw; line-height: 0; user-select: none; pointer-events: none; }
.wm { display: block; width: 100%; height: auto; overflow: visible; }
.wm text { font-family: var(--display); font-weight: 800; font-size: 300px; }
.wm-line text { fill: none; stroke: rgba(244, 241, 234, .24); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wm-fill { position: absolute; top: 0; left: 1vw; width: calc(100% - 2vw); opacity: .92; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .wm-fill { animation: wm-wipe linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .wordmark { animation: wm-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes wm-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wm-rise { from { transform: translateY(14%); opacity: .4; } to { transform: none; opacity: 1; } }

/* Privacy policy panel over the home page */
html.dialog-open { overflow: hidden; }
.policy-dialog { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 24px; background: var(--charcoal) var(--spots-dark); color: var(--pearl); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); }
.policy-dialog[open] { display: flex; flex-direction: column; }
.policy-dialog::backdrop { background: rgba(20, 22, 26, .6); backdrop-filter: blur(4px); }
.policy-dialog :focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; }
.policy-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 26px; border-bottom: 1px solid rgba(244, 241, 234, .15); }
.policy-dialog-title { margin: 0; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.policy-close { min-height: 36px; padding: 6px 16px; border: 1px solid rgba(244, 241, 234, .45); border-radius: 999px; background: none; color: var(--pearl); font: inherit; font-weight: 600; cursor: pointer; }
.policy-close:hover { border-color: var(--ivory); color: var(--ivory); }
.policy-dialog-body { overflow-y: auto; padding: 16px 26px 24px; font-size: .95rem; line-height: 1.55; }
.policy-dialog-body h2 { font-size: 1.02rem; margin: 1rem 0 .3rem; letter-spacing: -.01em; break-after: avoid; }
.policy-dialog-body p { margin: 0 0 .5rem; break-inside: avoid; }
.policy-dialog-body a { color: var(--ivory); }
.policy-dialog-body .small { font-size: .85rem; border-top: 1px solid rgba(244, 241, 234, .15); padding-top: .8rem; margin-top: 1rem; }
@media (min-width: 900px) {
  .policy-dialog-body { columns: 2; column-gap: 44px; }
  .policy-dialog-body > p:first-child, .policy-dialog-body .draft-note, .policy-dialog-body .small { column-span: all; }
}
@media (prefers-reduced-motion: no-preference) {
  .policy-dialog[open] { animation: dlg-in .3s var(--ease) both; }
}
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }

/* Privacy page on its own: two columns on wide screens so it reads like one page */
@media (min-width: 1000px) {
  .policy { max-width: 72rem; padding-top: 110px; columns: 2; column-gap: 56px; }
  .policy h1, .policy > p:first-of-type, .policy .draft-note, .policy .small { column-span: all; }
  .policy h2 { font-size: 1.2rem; margin-top: 1.4rem; break-after: avoid; }
  .policy p { break-inside: avoid; }
}

/* ---------- Reveal: spots fade in and settle ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .eyebrow::before { transform: translateX(-16px) scale(1.8); opacity: 0; transition: transform .9s var(--ease), opacity .9s ease; }
.js .in .eyebrow::before, .js .eyebrow.in::before { transform: none; opacity: 1; }
.js .stagger > :nth-child(2) { transition-delay: 80ms; }
.js .stagger > :nth-child(3) { transition-delay: 160ms; }
.js .stagger > :nth-child(4) { transition-delay: 240ms; }
.js .stagger > :nth-child(5) { transition-delay: 320ms; }
.js .stagger > :nth-child(6) { transition-delay: 400ms; }
.js .stagger > :nth-child(7) { transition-delay: 480ms; }
.js .stagger > :nth-child(8) { transition-delay: 560ms; }

/* ---------- Privacy page ---------- */
.policy { max-width: 46rem; padding: 130px 22px 80px; margin: 0 auto; }
.policy h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); letter-spacing: -.04em; }
.policy h2 { font-size: 1.4rem; margin-top: 2.2rem; letter-spacing: -.01em; }
.policy .small { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; }

/* ---------- Di-Khaka additions ---------- */
.dash { color: var(--coral-text, var(--coral)); }
.hero-eyebrow { color: var(--ivory); }
.js .hero .eyebrow::before { opacity: 1; transform: none; }
.faq-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 700; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.6em; line-height: .6; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; max-width: 60ch; }

input:user-invalid, textarea:user-invalid { border-color: var(--coral); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.copy { font-size: .9rem; opacity: .85; margin: 0; }

/* ---------- Section upgrades (techniques from details.so, ziddi.pro, posts.design, recent.design) ---------- */
/* Sticky label column: the heading stays put while the list scrolls beside it */
.split { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .split > .head, .faq-grid > .head { position: sticky; top: 110px; }
}
.tool { padding-right: 48px; }
.tool::after { content: "\2192"; position: absolute; right: 12px; top: 50%; font-size: 1.4rem; opacity: 0; transform: translate(-10px, -50%); transition: opacity .25s ease, transform .3s var(--ease); }
.tool:hover::after { opacity: 1; transform: translate(0, -50%); }

/* Service tiles: serif italic numerals */
.tile .num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.7rem; letter-spacing: 0; line-height: 1; top: 20px; opacity: 1; }

/* Value cards: real guinea fowl, framed by a ring of gathered spots */
.vphoto { position: relative; width: 112px; height: 112px; margin: 12px 0 22px 12px; }
.vphoto img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; opacity: 0; transform: scale(.7); transition: opacity .8s ease .9s, transform 1s var(--ease) .9s; }
.vphoto .ring { position: absolute; left: -12px; top: -12px; width: calc(100% + 24px); height: calc(100% + 24px); overflow: visible; }
.vphoto .spot { transition: transform 1.2s var(--ease); transition-delay: var(--sd, 0s); }
.in .vphoto img, html:not(.js) .vphoto img { opacity: 1; transform: none; }
.in .vphoto .spot { transform: none !important; }
.vcard:hover .vphoto img { transform: scale(1.07); transition-delay: 0s; }
.vcard { border: 1px solid transparent; }
.vcard:hover { border-color: var(--charcoal); }

/* About: a row of facts with large tabular numerals and hairline dividers */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 6px; border-top: 1px solid var(--line); }
.figures div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.figures div:first-child { padding-left: 0; }
.figures div:last-child { border-right: 0; }
.figures dd { margin: 0; font-weight: 800; font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.figures div:first-child dd { color: var(--coral-text, var(--coral)); }
.figures dt { font-size: .9rem; line-height: 1.35; }

/* Dark bands get a soft cobalt glow rising from the bottom */
.process { background-image: radial-gradient(ellipse 80% 60% at 50% 115%, rgba(47, 111, 181, .38), transparent 70%), var(--spots-dark); }

/* Contact: underline-only fields feel lighter inside the dark card */
.form-card input[type=text], .form-card input[type=email], .form-card textarea { background: transparent; border: 0; border-bottom: 2px solid rgba(244, 241, 234, .55); border-radius: 0; padding: .45rem 0; }
.form-card label { margin-bottom: 2px; font-size: .95rem; }
/* Compact form: name and email side by side when there is room */
@media (min-width: 560px) {
  #contact-form { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  #contact-form > * { grid-column: 1 / -1; }
  #contact-form > div:nth-child(-n+2) { grid-column: auto; }
}
.form-card input[type=text]:focus, .form-card input[type=email]:focus, .form-card textarea:focus { background: transparent; border-bottom-color: var(--ivory); outline-offset: 4px; }
.form-card input:user-invalid, .form-card textarea:user-invalid { border-bottom-color: var(--coral); }

/* Footer meta row */
.meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; margin-top: 8px; border-top: 1px solid rgba(244, 241, 234, .2); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; position: relative; z-index: 1; }
.meta a { color: var(--ivory); text-decoration: none; }
.meta a:hover { text-decoration: underline; }

/* ---------- Reduced motion: everything off ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .eyebrow::before { opacity: 1 !important; transform: none !important; }
  .hero-art .late { opacity: 1; }
  .hero-art .layer { transform: none; }
  .icon .body, .icon .extra { opacity: 1; }
  .icon .spot { transform: none !important; fill: var(--pearl); }
  .vphoto img { opacity: 1; transform: none; }
  .vphoto .spot { transform: none !important; }
  .step h3 { color: var(--pearl); }
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee ul[aria-hidden] { display: none; }
  .flow i { display: none; }
}
/* ---------- "Pause motion" button (WCAG 2.2.2): same end states as reduced motion ---------- */
html.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.js.motion-paused .reveal, .js.motion-paused .eyebrow::before { opacity: 1 !important; transform: none !important; }
.motion-paused .hero-art .late { opacity: 1; }
.motion-paused .hero-art .layer { transform: none; }
.motion-paused .icon .body, .motion-paused .icon .extra { opacity: 1; }
.motion-paused .icon .spot { transform: none !important; fill: var(--pearl); }
.motion-paused .vphoto img { opacity: 1; transform: none; }
.motion-paused .vphoto .spot { transform: none !important; }
.motion-paused .step h3 { color: var(--pearl); }
.motion-paused .marquee-track { width: auto; flex-wrap: wrap; }
.motion-paused .marquee ul[aria-hidden] { display: none; }
.motion-paused .flow i { display: none; }
.motion-toggle { background: none; border: 0; padding: 0; min-height: 24px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ivory); cursor: pointer; }
.motion-toggle:hover { text-decoration: underline; }
.motion-toggle[aria-pressed="true"]::before { content: "\25B6\FE0E  "; }


/* ---------- Section headings: scroll-linked entrance and exit (01 / What we do, 02 / How we work ...) ----------
   As a section scrolls in, its heading rises out of a mask and the serif word slides into place;
   as it scrolls out at the top, the heading drifts up and fades. Scrolling back reverses it.
   Only where the browser supports scroll timelines and motion is allowed; otherwise headings are simply shown. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-title { animation: head-in linear both, head-out linear forwards; animation-timeline: view(), view(); animation-range: entry 5% cover 32%, exit 25% exit 95%; }
    .section-title em { display: inline-block; animation: head-em linear both; animation-timeline: view(); animation-range: entry 20% cover 38%; }
    .head .eyebrow, .about-copy .eyebrow, .contact .eyebrow { animation: eyebrow-in linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    .head .lede { animation: lede-in linear both; animation-timeline: view(); animation-range: entry 10% cover 34%; }
  }
}
@keyframes head-in { from { clip-path: inset(-.2em -.15em 100% -.15em); transform: translateY(40%); opacity: 0; } to { clip-path: inset(-.2em -.15em -.3em -.15em); transform: none; opacity: 1; } }
@keyframes head-out { from { transform: none; opacity: 1; } to { transform: translateY(-30%); opacity: .15; } }
@keyframes head-em { from { transform: translateX(.6em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes eyebrow-in { from { letter-spacing: .5em; opacity: 0; } to { letter-spacing: .16em; opacity: 1; } }
@keyframes lede-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Without JavaScript the form cannot send (form-action 'none'); the <noscript> email line shows instead. */
html:not(.js) .form-card { display: none; }

/* Inline form errors (shown under each field, linked with aria-describedby) */
.field-error { margin: 4px 0 0; font-size: .85rem; font-weight: 600; color: var(--ivory); }
.field-error::before { content: "! "; color: var(--coral-text, var(--coral)); }
.form-card [aria-invalid="true"] { border-bottom-color: var(--coral) !important; }
.check input[aria-invalid="true"] { outline: 2px solid var(--coral); outline-offset: 2px; }

/* Fail-safe: if home.js never runs, reveal content after 3 s instead of leaving it invisible */
.js:not(.home-ready) .reveal { animation: reveal-failsafe .4s ease 3s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }

/* Phones: value cards two per row, smaller photo */
@media (max-width: 479px) {
  .values { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .vphoto { width: 88px; height: 88px; }
}

/* ---------- Phones and tablets (under 1000px): photo shown, flock art below the text (no overlap) ---------- */
.hero-actions .sound { display: none; }
@media (max-width: 999px) {
  .hero { min-height: auto; padding-bottom: 0; }
  .hero-photo { display: block; margin-top: 8px; }
  .photo-ring { width: min(240px, 62vw); }
  .hero-art { position: relative; inset: auto; order: 2; width: 100%; height: 440px; margin-top: 12px; }
}

/* ---------- Browsers without scroll timelines (older iPhone Safari, Firefox): JS adds .wm-on when the footer is in view ---------- */
@supports not (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .wm-fill { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease); }
    .js .wordmark.wm-on .wm-fill { clip-path: inset(0 0 0 0); }
  }
}
.motion-paused .wm-fill { clip-path: none !important; }
