/* Ghows — warm light behind frosted glass.
   Layout: floating glass nav, bento grids of photo tiles + glass cards, Terrava-style photo CTA with giant wordmark footer. */
:root {
  --bg: #F5EEE4;
  --bg-2: #EEE3D5;
  --ink: #1F1712;
  --ink-2: #5E5045;
  --ink-3: #8C7B6C;
  --accent: #E8641A;
  --accent-hover: #D4560F;
  --accent-ink: #FFF8F1;
  --accent-soft: rgba(232, 100, 26, 0.12);
  --glass: rgba(255, 251, 246, 0.56);
  --glass-strong: rgba(255, 251, 246, 0.8);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-hi: rgba(255, 255, 255, 0.85);
  --edge: rgba(31, 23, 18, 0.09);
  --shadow: 0 24px 60px -30px rgba(110, 56, 18, 0.35);
  --glow-a: rgba(255, 138, 61, 0.42);
  --glow-b: rgba(255, 197, 143, 0.55);
  --on-photo: #FFF6EE;
  --on-photo-2: rgba(255, 246, 238, 0.8);
  --photo-glass: rgba(255, 244, 232, 0.16);
  --photo-glass-border: rgba(255, 244, 232, 0.32);
  --field: rgba(255, 255, 255, 0.6);
  --focus: #E8641A;
  --grain-opacity: 0.35;
  --tint-glass: rgba(255, 251, 246, 0.62);
  --star-bg: rgba(232, 100, 26, 0.1);

  --font: "Urbanist", "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(64px, 10vw, 140px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120C08; --bg-2: #1A120D; --ink: #F6EDE3; --ink-2: #C3B2A2; --ink-3: #8F7E6F;
    --accent: #FF7A2E; --accent-hover: #FF8F4D; --accent-ink: #1A0E06; --accent-soft: rgba(255, 122, 46, 0.14);
    --glass: rgba(255, 236, 220, 0.055); --glass-strong: rgba(36, 25, 19, 0.72); --glass-border: rgba(255, 228, 205, 0.13);
    --glass-hi: rgba(255, 236, 220, 0.18); --edge: rgba(255, 236, 220, 0.09); --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
    --glow-a: rgba(255, 110, 30, 0.32); --glow-b: rgba(255, 160, 80, 0.14); --field: rgba(255, 236, 220, 0.06);
    --focus: #FF8F4D; --grain-opacity: 0.5; --tint-glass: rgba(24, 15, 10, 0.5); --star-bg: rgba(255, 122, 46, 0.12); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #120C08; --bg-2: #1A120D; --ink: #F6EDE3; --ink-2: #C3B2A2; --ink-3: #8F7E6F;
  --accent: #FF7A2E; --accent-hover: #FF8F4D; --accent-ink: #1A0E06; --accent-soft: rgba(255, 122, 46, 0.14);
  --glass: rgba(255, 236, 220, 0.055); --glass-strong: rgba(36, 25, 19, 0.72); --glass-border: rgba(255, 228, 205, 0.13);
  --glass-hi: rgba(255, 236, 220, 0.18); --edge: rgba(255, 236, 220, 0.09); --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  --glow-a: rgba(255, 110, 30, 0.32); --glow-b: rgba(255, 160, 80, 0.14); --field: rgba(255, 236, 220, 0.06);
  --focus: #FF8F4D; --grain-opacity: 0.5; --tint-glass: rgba(24, 15, 10, 0.5); --star-bg: rgba(255, 122, 46, 0.12); color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 1.0625rem; font-weight: 500; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .6s ease, color .6s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before, .ambient::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); transition: background .6s; }
.ambient::before { width: 60vw; height: 60vw; right: -18vw; top: -22vw; background: radial-gradient(circle, var(--glow-a), transparent 65%); }
.ambient::after { width: 50vw; height: 50vw; left: -20vw; top: 40vh; background: radial-gradient(circle, var(--glow-b), transparent 65%); }
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: var(--grain-opacity); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) 0; }
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
.display { font-size: clamp(2.7rem, 6.1vw, 5.6rem); line-height: 0.95; letter-spacing: -0.045em; }
.display.sm { font-size: clamp(2.4rem, 4.8vw, 4.4rem); line-height: 0.98; }
.h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; }
.h2.sm { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.h4 { font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36ch; }
.muted { color: var(--ink-2); }
.soft { color: var(--on-photo-2); }
.small { font-size: 0.9rem; }
p { margin: 0; }
.dim { color: var(--ink-3); }
.hl {
  display: inline-block; padding: 0 0.22em 0.04em; margin: 0 -0.04em; border-radius: 0.32em;
  background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}
.kicker { font-size: 0.92rem; font-weight: 700; color: var(--accent); display: block; }
.statement-q { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
  transition: background-color .6s ease, border-color .6s ease, box-shadow .6s ease;
}
.glass.tint { background: var(--tint-glass); }
.photo-glass {
  background: var(--photo-glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--photo-glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28); color: var(--on-photo);
}
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--edge); color: var(--ink-2); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 8px 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--font); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s ease, box-shadow .3s ease;
}
.btn .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: rotate(45deg); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 20px 38px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary .ico { background: rgba(255, 255, 255, 0.22); }
.btn-glass { color: var(--ink); }
.btn-glass .ico { background: var(--ink); color: var(--bg); }
.btn-glass:hover { transform: translateY(-2px); }
.btn-light { background: var(--on-photo); color: #1F1712; }
.btn-light .ico { background: #1F1712; color: var(--on-photo); }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { --h: 44px; padding: 0 6px 0 18px; font-size: 0.95rem; gap: 10px; }
.btn-sm .ico { width: 32px; height: 32px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--edge); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.link:hover { border-color: var(--accent); color: var(--accent); }
.link svg { transition: transform .3s var(--ease); }
.link:hover svg { transform: translate(2px, -2px); }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.ic svg.i { width: 22px; height: 22px; }

/* ---------- nav ---------- */
.nav-shell { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 50; padding-inline: var(--gutter); }
.nav {
  max-width: var(--wrap); margin: 12px auto 0; height: 68px; border-radius: 999px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; flex: none; }
.brand img { width: 64px; height: auto; transition: filter .4s ease, transform .5s var(--ease); }
.brand:hover img { filter: drop-shadow(0 0 10px rgba(255, 140, 50, .7)); transform: translateX(3px); }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 15px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.97rem; color: var(--ink-2); transition: background-color .2s, color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--glass); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--edge); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: var(--glass-strong); border: 1px solid var(--edge); transition: transform .3s var(--ease); flex: none;
}
.icon-btn:hover { transform: translateY(-1px); }
.theme-toggle svg { transition: transform .6s var(--ease); }
.theme-toggle:hover svg { transform: rotate(-25deg); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

.lang { position: relative; flex: none; }
.lang-btn svg.i { width: 20px; height: 20px; }
.lang.open .lang-btn { background: var(--ink); color: var(--bg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 180px; padding: 6px; border-radius: 18px; display: grid; gap: 2px;
  background: var(--bg); border: 1px solid var(--edge); box-shadow: 0 24px 50px -20px rgba(40, 18, 6, .45);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .2s ease, transform .3s var(--ease);
}
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink); }
.lang-menu a:hover { background: var(--accent-soft); }
.lang-menu a svg { opacity: 0; color: var(--accent); }
.lang-menu a[aria-checked="true"] { color: var(--accent); }
.lang-menu a[aria-checked="true"] svg { opacity: 1; }

/* ---------- hero (home) ---------- */
.hero { padding-block: clamp(32px, 6vw, 72px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 20px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: clamp(8px, 2vw, 24px) 0; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 560px; isolation: isolate; }
.hero-visual > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: drift 18s ease-in-out infinite alternate; }
.hero-card { position: absolute; left: 16px; right: 16px; bottom: 16px; border-radius: var(--r-lg); padding: 20px 22px; animation: rise 1s var(--ease) 1.5s both; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.hero-card li { display: flex; align-items: center; color: var(--ink); gap: 10px; font-weight: 600; font-size: 0.95rem; }
.hero-card li svg { flex: none; color: var(--accent); }
.hero-card .k { font-size: 0.85rem; color: var(--accent); margin-bottom: 12px; font-weight: 700; }
@keyframes drift { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.16) translate(-2%, 1.5%); } }
.rise { animation: rise 1s var(--ease) both; }
.rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .22s; } .rise.d3 { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* horse: flames sweep in left to right, head lands last, one glow pulse, then a slow breathing glow */
.horse { position: absolute; left: 50%; top: 40%; width: 78%; transform: translate(-50%, -50%); }
.horse img { width: 100%; height: auto; filter: drop-shadow(0 0 34px rgba(255, 150, 60, 0.5));
  animation: horse-in 1.7s cubic-bezier(.22, .8, .2, 1) .35s both, horse-breathe 7s ease-in-out 2.4s infinite; }
.horse::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.95) 48%, rgba(255, 214, 160, 0.9) 52%, transparent 65%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: url("img/logo_dark-900.webp") center / 100% 100% no-repeat; mask: url("img/logo_dark-900.webp") center / 100% 100% no-repeat;
  mix-blend-mode: soft-light; opacity: .9;
  animation: horse-shine 1.4s ease-in-out 1.55s both, horse-shine 1.6s ease-in-out 9s infinite;
}
@keyframes horse-in {
  0% { clip-path: inset(-40% 100% -40% -40%); opacity: 0; transform: translateX(-10%); filter: blur(8px) drop-shadow(0 0 0 rgba(255, 150, 60, 0)); }
  35% { opacity: 1; }
  80% { filter: blur(0) drop-shadow(0 0 70px rgba(255, 150, 60, 0.95)); }
  100% { clip-path: inset(-40% -40% -40% -40%); opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 34px rgba(255, 150, 60, 0.5)); }
}
@keyframes horse-breathe { 0%, 100% { filter: drop-shadow(0 0 34px rgba(255, 150, 60, 0.5)); } 50% { filter: drop-shadow(0 0 56px rgba(255, 150, 60, 0.85)); } }
@keyframes horse-shine { from { background-position: 160% 0; } to { background-position: -60% 0; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 96px) 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.page-hero-grid > * { min-width: 0; }
.page-hero + .section { padding-top: clamp(40px, 6vw, 80px); }
.strip { margin-top: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); height: clamp(150px, 22vw, 280px); overflow: hidden; position: relative; }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.strip .photo-glass { position: absolute; left: 16px; bottom: 16px; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 0.95rem; background: rgba(24, 15, 10, 0.32); }

/* ---------- section head ---------- */
.head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.head > * { min-width: 0; }
.head-side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-self: end; max-width: 440px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento > * { min-width: 0; }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; }
.tile > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile.shade::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 10, 6, 0) 30%, rgba(18, 10, 6, 0.7) 100%); }
.tile .panel { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); }
.tile .panel .h3 { margin: 18px 0 8px; }
.card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.card .h3 { margin: 26px 0 12px; }
.card.big .h3 { margin-top: 12px; }
.bullets { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); font-size: 0.98rem; }
.bullets li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.photo-glass .bullets li { color: var(--on-photo-2); }
.photo-glass .ic { background: var(--photo-glass); color: var(--on-photo); border: 1px solid var(--photo-glass-border); }

/* problem */
.problem .quote-tile { grid-column: span 6; grid-row: span 2; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.problem .quote-tile .photo-glass { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.problem .quote-tile .q { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; margin-bottom: 14px; }
.problem .card { grid-column: span 6; }
.problem .card.big .h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.problem .kicker { margin-bottom: 4px; }

/* two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.path { border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.path-media { height: clamp(180px, 20vw, 260px); overflow: hidden; position: relative; }
.path-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.path-body { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 14px; }
.path-k { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--accent); font-size: 0.98rem; }
.path-k .ic { width: 40px; height: 40px; border-radius: 12px; }
.path .h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.08; }
.path.b { background: color-mix(in srgb, var(--accent) 9%, var(--glass)); }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; color: var(--ink); }
.checks li svg { color: var(--accent); flex: none; margin-top: 3px; }

/* areas (home) */
.area-a { grid-column: span 7; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.area-b { grid-column: span 5; }
.area-c { grid-column: span 5; }
.area-d { grid-column: span 7; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 16px; }
.area-d .panel { max-width: 470px; }

/* steps (home) */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; }
.step .num { font-size: 2.8rem; line-height: 1; letter-spacing: -0.05em; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.step:last-child .num { color: var(--accent); }
.step-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.step .h3 { font-size: 1.3rem; margin-top: auto; }
.step p { color: var(--ink-2); font-size: 0.97rem; }
.swipe-hint { display: none; }

/* founder */
.founder { border-radius: var(--r-xl); overflow: hidden; position: relative; isolation: isolate; padding: clamp(14px, 3vw, 28px); }
.founder > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.founder::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 18%, transparent); }
.founder-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 16px; align-items: stretch; }
.founder-grid > * { min-width: 0; }
.founder-card { margin: 0; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); display: flex; gap: 22px; align-items: center; }
.avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid var(--glass-strong); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.founder-card blockquote { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.15; letter-spacing: -0.025em; }
.founder-card cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.92rem; color: var(--ink-2); font-weight: 600; }
.founder-copy { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; justify-content: center; align-items: flex-start; }

/* what we do page: capabilities */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-xl); overflow: hidden; }
.cap { padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--edge); border-bottom: 1px solid var(--edge); min-width: 0; transition: background-color .4s ease; }
.cap:nth-child(4n) { border-right: 0; }
.cap:nth-last-child(-n+4) { border-bottom: 0; }
.cap .ic { margin-bottom: 12px; }
.cap p { color: var(--ink-2); font-size: 0.97rem; }
.cap:hover { background: var(--accent-soft); }

/* about: how we're different */
.diff { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: stretch; }
.diff > * { min-width: 0; }
.diff-list { display: grid; gap: 14px; }
.pillar { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); display: flex; gap: 18px; align-items: flex-start; }
.pillar .h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pillar p { color: var(--ink-2); font-size: 0.98rem; }
a.ext { color: var(--accent); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a.ext:hover { color: var(--accent-hover); }
.featured {
  position: relative; border-radius: var(--r-xl); isolation: isolate; min-height: 520px; display: flex; align-items: flex-end;
  color: var(--on-photo); padding: clamp(14px, 1.6vw, 18px);
  box-shadow: 0 0 0 1px rgba(255, 190, 130, .5), 0 30px 90px -20px rgba(255, 110, 30, .65), 0 0 120px -30px rgba(255, 140, 50, .8);
  animation: feat-glow 5s ease-in-out infinite;
}
.featured-bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; clip-path: inset(0 round var(--r-xl)); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.featured-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: drift 16s ease-in-out infinite alternate; }
.featured-bg::before { /* rotating light around the edge */
  content: ""; position: absolute; inset: -40%; z-index: 1;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(255, 220, 170, .55) 75%, transparent 90%);
  animation: spin 9s linear infinite; mix-blend-mode: screen;
}
.featured-bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(20, 10, 4, 0) 35%, rgba(20, 10, 4, .32) 100%); }
.featured-inner { border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); background: rgba(60, 22, 4, .16); border: 1px solid rgba(255, 230, 205, .45);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; width: 100%; }
.feat-k { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: #FFF6EE; text-shadow: 0 1px 12px rgba(80,30,0,.35); font-size: 0.98rem; }
.feat-k .ic { background: rgba(255, 255, 255, .18); color: #FFF2E4; }
.feat-h { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.feat-p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; color: rgba(255, 246, 238, .9); max-width: 34ch; }
.featured .btn { margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes feat-glow { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 190, 130, .5), 0 30px 90px -20px rgba(255, 110, 30, .55), 0 0 100px -30px rgba(255, 140, 50, .7); }
  50% { box-shadow: 0 0 0 1px rgba(255, 210, 160, .8), 0 30px 110px -16px rgba(255, 110, 30, .8), 0 0 150px -20px rgba(255, 150, 60, .95); } }

/* process timeline */
.timeline { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: start; }
.timeline > * { min-width: 0; }
.sticky-media { position: sticky; top: 104px; border-radius: var(--r-xl); overflow: hidden; height: min(72vh, 640px); }
.sticky-media img { width: 100%; height: 100%; object-fit: cover; }
.sticky-media .photo-glass { position: absolute; left: 16px; right: 16px; bottom: 16px; border-radius: var(--r-lg); padding: 22px; }
.sticky-media .photo-glass .h3 { margin-bottom: 6px; }
.tl-progress { margin-top: 16px; height: 3px; border-radius: 3px; background: rgba(255, 244, 232, .25); overflow: hidden; }
.tl-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #FFB070, #FF7A2E); transition: transform .3s linear; }
.tl-list { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.tl-item { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: start; }
.tl-item .num { grid-row: span 3; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 2ch; transition: color .6s ease; }
.tl-item.on .num { color: var(--accent); }
.tl-item .chip { justify-self: start; margin-bottom: 8px; }
.tl-item p { color: var(--ink-2); }

/* fit lists */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit > * { min-width: 0; }
.fit-card { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); }
.fit-card .h3 { margin-bottom: 14px; }
.fit-card ul { list-style: none; margin: 0; padding: 0; }
.fit-card li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--edge); font-size: 0.98rem; color: var(--ink-2); }
.fit-card li svg { flex: none; margin-top: 3px; }
.fit-card.yes li svg { color: var(--accent); }
.fit-card li.star {
  margin: 8px -14px 0; padding: 16px 14px; border-radius: 16px; border-top: 0; color: var(--ink); font-weight: 700; font-size: 1.04rem;
  background: var(--star-bg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, transparent), 0 12px 36px -14px color-mix(in srgb, var(--accent) 70%, transparent);
}
.fit-card li.star svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.6; margin-top: 0; }
.fit-card.no { background: transparent; box-shadow: none; border: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.fit-card.no li svg { color: var(--ink-3); }

/* apply */
.apply-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: start; }
.apply-grid > * { min-width: 0; }
.apply-intro { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; position: sticky; top: 120px; }
.apply-form { border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 40px); }
.apply-form .h3 { margin-bottom: 6px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 500 1rem/1.4 var(--font); color: var(--ink); background: var(--field); border: 1px solid var(--edge);
  border-radius: var(--r-sm); padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 0.95rem; background: var(--accent-soft); color: var(--ink); }
.form-done { padding: 10px 0; }
.form-done .h3 { margin: 18px 0 8px; }
.done-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.hp { position: absolute; left: -9999px; }
.fit-section { padding-top: clamp(48px, 6vw, 80px); }

/* ---------- CTA + footer ---------- */
.cta-wrap { padding-block: var(--section) clamp(16px, 2vw, 24px); }
.cta { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 130px) clamp(10px, 1.6vw, 18px) clamp(10px, 1.6vw, 18px); color: var(--on-photo); }
.cta.no-copy { padding-top: clamp(70px, 12vw, 160px); }
.cta > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 30%, rgba(18, 10, 6, 0.2), rgba(18, 10, 6, 0.62)); }
.cta.no-copy::after { background: rgba(18, 10, 6, 0.3); }
.cta-copy { text-align: center; padding-inline: var(--gutter); margin-bottom: clamp(56px, 9vw, 120px); display: flex; flex-direction: column; align-items: center; }
.cta-copy .h2 { max-width: 15ch; }
.cta-copy p { max-width: 46ch; margin-top: 22px; color: var(--on-photo-2); }
.cta-copy .btn { margin-top: 34px; }
.cta-copy .fine { margin-top: 16px; font-size: 0.88rem; }
.footer { border-radius: calc(var(--r-xl) - 8px); overflow: hidden; padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 38px) 0; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 18px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 244, 232, 0.3); }
.footer-top .contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; list-style: none; margin: 0; padding: 22px 0 0; }
.footer-links a { text-decoration: none; color: var(--on-photo); font-weight: 600; opacity: .9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer .fine { color: var(--on-photo-2); font-size: 0.9rem; }
.wordmark {
  font-size: clamp(5rem, 23vw, 20rem); line-height: 0.8; letter-spacing: -0.07em; font-weight: 600; margin: clamp(18px, 3vw, 36px) 0 -0.08em;
  background: linear-gradient(180deg, rgba(255, 246, 238, 0.95) 25%, rgba(255, 246, 238, 0.25)); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; white-space: nowrap; text-align: center;
}
.copy-btn { font: 600 0.9rem var(--font); color: #1F1712; background: var(--on-photo); border: 0; border-radius: 999px; padding: 9px 15px; cursor: pointer; }

/* keep rounded corners on iPhone when the image inside is animated */
.hero-visual, .tile, .cta, .strip, .founder, .sticky-media { clip-path: inset(0 round var(--r-xl)); }
.path-media { clip-path: inset(0 round var(--r-xl) var(--r-xl) 0 0); }

/* ---------- scroll motion ---------- */
/* Content rises gently into place as it enters the screen. Without JS everything is simply visible. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .tile[data-reveal] > img.bg, .js .path[data-reveal] .path-media img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.js .tile[data-reveal].in > img.bg, .js .path[data-reveal].in .path-media img { transform: scale(1.02); }
/* slow parallax on photos where the browser supports scroll-linked animation */
@supports (animation-timeline: view()) {
  img.par { animation: par linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes par { from { transform: translateY(-5%) scale(1.12); } to { transform: translateY(5%) scale(1.12); } }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav-cta { display: none; }
}
@media (max-width: 860px) {
  .brand span { display: none; }
}
@media (max-width: 1000px) {
  .hero-grid, .page-hero-grid, .head, .founder-grid, .timeline, .apply-grid, .diff { grid-template-columns: 1fr; }
  .page-hero-grid { gap: 20px; }
  .head-side { justify-self: start; }
  .hero-visual { min-height: 460px; }
  .problem .quote-tile, .problem .card, .area-a, .area-b, .area-c, .area-d { grid-column: 1 / -1; }
  .problem .quote-tile { min-height: 420px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap:nth-child(4n) { border-right: 1px solid var(--edge); }
  .cap:nth-child(2n) { border-right: 0; }
  .cap:nth-last-child(-n+4) { border-bottom: 1px solid var(--edge); }
  .cap:nth-last-child(-n+2) { border-bottom: 0; }
  .sticky-media, .apply-intro { position: relative; top: auto; }
  .sticky-media { height: 300px; }
  .featured { min-height: 440px; }
}
@media (max-width: 680px) {
  :root { --section: 64px; --r-xl: 28px; --r-lg: 22px; }
  body { font-size: 1rem; }
  .nav { padding: 0 4px; height: 56px; gap: 2px; }
  .brand { display: none; }
  .nav-links { flex: 1; min-width: 0; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 9px clamp(4px, 1.3vw, 8px); font-size: clamp(12px, 3.4vw, 14px); letter-spacing: -0.005em; }
  .nav-right { gap: 2px; }
  .icon-btn { width: 38px; height: 38px; }
  .lang-menu { right: -40px; }
  .page-hero { padding-top: 30px; }

  .hero { padding-top: 22px; }
  .hero-copy { gap: 20px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero-visual { min-height: 400px; }
  .horse { top: 34%; width: 84%; }
  .hero-card { padding: 16px 18px; left: 12px; right: 12px; bottom: 12px; }
  .hero-card ul { gap: 8px 12px; }
  .hero-card li { font-size: 0.86rem; gap: 7px; }
  .head { margin-bottom: 24px; gap: 14px; }
  .head-side { gap: 14px; }

  .problem .quote-tile { min-height: 380px; padding: 12px; }
  .problem .card.big .h3 { font-size: 1.45rem; }

  /* swipe rows: one card in view, the next one peeking */
  .swipe {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { scroll-snap-align: start; grid-column: auto !important; }
  .swipe .area-a, .swipe .area-d { min-height: 420px; padding: 12px; }
  .swipe-hint { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 0.85rem; font-weight: 600; color: var(--ink-3); }
  .swipe-hint svg { width: 16px; height: 16px; }
  .step { min-height: 230px; padding: 22px; }

  .paths { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
  .path-body { gap: 12px; }
  .path .h3 { font-size: 1.5rem; }

  .caps { grid-template-columns: 1fr; }
  .cap { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 18px 20px; border-right: 0 !important; border-bottom: 1px solid var(--edge) !important; }
  .cap:last-child { border-bottom: 0 !important; }
  .cap .ic { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
  .cap .h4 { flex: 1; min-width: 0; }
  .cap p { flex-basis: 100%; padding-left: 54px; font-size: 0.94rem; }

  .founder-grid { gap: 12px; }
  .founder-card { flex-direction: row; gap: 16px; padding: 20px; }
  .avatar { width: 76px; height: 76px; border-width: 3px; }
  .founder-card blockquote { font-size: 1.25rem; }

  .tl-item { grid-template-columns: 1fr; gap: 6px; padding: 22px; }
  .tl-item .num { grid-row: auto; font-size: 2.2rem; }
  .sticky-media { height: 240px; }

  .pillar { padding: 20px; gap: 14px; }
  .pillar .ic { width: 40px; height: 40px; border-radius: 12px; }
  .featured { min-height: 420px; order: -1; }
  .diff { gap: 12px; }

  .fit, .fields { grid-template-columns: 1fr; }
  .fit-card li.star { margin-inline: -10px; padding-inline: 10px; }
  .apply-grid { gap: 22px; }
  .form-foot .btn { width: 100%; justify-content: space-between; }

  .cta-copy { margin-bottom: 52px; }
  .cta-copy .btn { width: 100%; justify-content: space-between; }
  .footer-links { justify-content: flex-start; gap: 10px 20px; }
  .btn { --h: 52px; white-space: normal; text-align: left; line-height: 1.2; height: auto; min-height: var(--h); padding-block: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .horse img { clip-path: none; opacity: 1; }
}
