/* KinStack Tech — site styles
   Layout concept: a white page where the logo's three diamonds float as large colour fields,
   with frosted "liquid glass" panels laid over them. One display face, one mono utility face. */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;
  --ink: #0F1729;
  --ink-2: #2A3242;
  --muted: #4A5363;
  --faint: #8A93A3;
  --line: #E3E6EB;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --teal: #14B8A6;
  --tint-blue: #E8F0FF;
  --tint-teal: #E3F6F2;
  --grad: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1208px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { position: relative; padding-block: 112px; overflow-x: clip; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 64px; }
.section-head > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.section-head > p { flex: 0 1 380px; margin: 0; font-size: 17px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow-ink { color: var(--ink-2); }
.display { margin: 0; font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -0.035em; font-weight: 800; }
.h1 { margin: 0; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.033em; font-weight: 800; }
.h2 { margin: 0; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -0.032em; font-weight: 800; }
.h3 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 750; font-weight: 800; }
.lead { margin: 0; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-2); }
.body { margin: 0; color: var(--muted); max-width: 40em; }
.accent { color: var(--blue); }
.quiet { color: var(--faint); }
.mono { font-family: var(--font-mono); }

/* ---------- Liquid glass ---------- */
.glass {
  background: linear-gradient(140deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .30));
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(255, 255, 255, .4),
    inset 0 0 24px rgba(255, 255, 255, .25),
    0 24px 60px -24px rgba(15, 23, 41, .28),
    0 0 0 .5px rgba(15, 23, 41, .07);
}
.glass-dark {
  background: linear-gradient(140deg, rgba(15, 23, 41, .9), rgba(15, 23, 41, .74));
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 30px -12px rgba(15, 23, 41, .5);
  color: #FFFFFF;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .9); }
}
/* light that follows the cursor across a glass panel */
.has-shine { position: relative; overflow: hidden; isolation: isolate; }
.has-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, var(--shine, .25)), rgba(255, 255, 255, 0) 60%);
  transition: background .2s linear;
}

/* ---------- The logo diamond, as a shape ---------- */
.dia {
  position: absolute;
  aspect-ratio: 1.9;
  max-width: none;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: var(--grad);
  pointer-events: none;
}
.o28 { opacity: .28; }
.o55 { opacity: .55; }
.o70 { opacity: .7; }
.o85 { opacity: .85; }
.art { position: absolute; pointer-events: none; }
[data-depth] {
  transform: translate3d(
    calc(var(--mx, 0) * var(--d, 1) * -60px),
    calc(var(--my, 0) * var(--d, 1) * -36px + var(--spread, 0px) * var(--s, 0)),
    0);
  transition: transform .9s var(--ease);
}
.is-active { --spread: 40px; }
.drift { animation: drift 14s ease-in-out infinite; }
.drift-slow { animation: drift 19s ease-in-out infinite reverse; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn-dark { color: #FFFFFF; }
.btn-dark:hover { color: #FFFFFF; }
.btn-glass { color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 11px; color: var(--blue); }
.link-arrow svg, .btn svg { flex: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  z-index: 50;
  margin-top: 12px;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.nav-pill {
  position: relative;
  max-width: 1168px;
  margin-inline: auto;
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.wordmark { font-size: 20px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); white-space: nowrap; }
.wordmark .s { color: var(--blue); }
.wordmark .t { color: #5B6475; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink-2); text-decoration: none; padding-block: 8px; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 24px;
    font-size: 17px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 14px 16px; border-radius: 14px; }
  .nav-links a[aria-current="page"] { box-shadow: none; background: rgba(37, 99, 235, .08); }
  .nav-links .mobile-only { display: block; }
}
.mobile-only { display: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; margin-top: -76px; padding-top: 76px; min-height: 860px; display: flex; flex-direction: column; overflow: hidden; }
.hero-art { right: -140px; top: 20px; width: 900px; height: 820px; }
.hero-art .dia { width: 860px; left: 0; top: 0; }
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: 72px 32px; }
.hero-panel { max-width: 760px; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.hero-panel .display .accent { color: var(--blue); }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.stat { border-radius: 24px; padding: 16px 24px; display: flex; align-items: center; gap: 14px; }
.stat b { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.scroll-cue { position: relative; z-index: 2; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 16px 28px; color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-decoration: none; }
.scroll-cue svg { animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { translate: 0 0; opacity: 1; } 50% { translate: 0 6px; opacity: .5; } }
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero-art { right: -260px; top: 40px; width: 620px; }
  .hero-art .dia { width: 600px; }
}

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; margin-top: -76px; padding-top: 76px; overflow: hidden; }
.page-hero-art { right: -180px; top: 10px; width: 760px; height: 600px; }
.page-hero-art .dia { width: 700px; left: 0; top: 0; }
.page-hero .container { position: relative; z-index: 2; padding-block: 80px 72px; }
.page-panel { max-width: 780px; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 52px); display: flex; flex-direction: column; gap: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }

/* ---------- Choose your path ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 24px; }
.path { position: relative; overflow: hidden; display: block; height: 460px; border-radius: 36px; text-decoration: none; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s ease; }
.path:hover { transform: translateY(-6px); box-shadow: 0 50px 80px -40px rgba(15, 23, 41, .35); color: var(--ink); }
.path-blue { background: var(--tint-blue); }
.path-teal { background: var(--tint-teal); }
.path-art { left: 50%; top: 36px; width: 460px; height: 300px; margin-left: -230px; transition: transform .9s var(--ease); }
.path:hover .path-art { transform: scale(1.08) translateY(-10px) rotate(-2deg); }
.path-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; border-radius: 26px; padding: 24px 26px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; }
.path-cap > span:first-child { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.path-cap strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.path-cap span { color: var(--ink-2); }
.path-cap .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); transition: gap .3s var(--ease); }
.path:hover .go { gap: 12px; }
@media (max-width: 520px) { .path { height: 420px; } .path-art { transform: scale(.72); transform-origin: 50% 0; } .path:hover .path-art { transform: scale(.76) translateY(-8px); } }

/* ---------- Services shelf (tilting glass tiles) ---------- */
.shelf-wrap { position: relative; overflow-x: clip; }
.shelf {
  position: relative;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 56px 112px;
  padding-left: max(var(--gutter-l), calc((100% - 1168px) / 2));
  padding-right: max(var(--gutter-r), calc((100% - 1168px) / 2));
}
.shelf::-webkit-scrollbar { display: none; }
.tile {
  --tx: 0; --ty: 0; --sc: 1;
  position: relative;
  flex: 0 0 min(380px, 82%);
  height: 270px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: var(--ink);
  transform: perspective(900px) rotateX(calc(var(--ty) * -9deg)) rotateY(calc(var(--tx) * 11deg)) scale(var(--sc));
  transition: transform .5s var(--ease);
}
.tile.is-focus { --sc: 1.07; z-index: 2; transition-duration: .12s; }
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 55%);
}
.tile.is-focus::before { opacity: 1; }
.tile-art { right: -10px; top: 6px; width: 220px; height: 140px; transform: translate(calc(var(--tx) * -16px), calc(var(--ty) * -10px)); transition: transform .5s var(--ease); }
.tile.is-focus .tile-art, .tile.is-focus .tile-text { transition-duration: .12s; }
.tile-art .dia { width: 84px; }
.tile-text { position: absolute; z-index: 4; left: 26px; right: 26px; bottom: 24px; display: flex; flex-direction: column; gap: 6px; transform: translate(calc(var(--tx) * 5px), calc(var(--ty) * 4px)); transition: transform .5s var(--ease); }
.tile-text .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-2); }
.tile-text strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.tile-text span:last-child { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Region-outage blueprint ---------- */
.bp-block { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; }
.seg button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); background: transparent; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; font-weight: 700; }
.bp-scroll { max-width: 100%; overflow-x: auto; padding: 4px; }
.bp { position: relative; width: 480px; height: 420px; border-radius: 30px; }
.bp-users { position: absolute; left: 190px; top: 22px; width: 100px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.bp-ln { position: absolute; background: var(--line); transition: background-color .45s ease; }
.bp-stem { left: 239px; top: 58px; width: 2px; height: 22px; background: var(--ink); }
.bp-ln.l-h { left: 124px; top: 80px; width: 116px; height: 2px; }
.bp-ln.r-h { left: 240px; top: 80px; width: 116px; height: 2px; }
.bp-ln.l-v { left: 123px; top: 80px; width: 2px; height: 34px; }
.bp-ln.r-v { left: 355px; top: 80px; width: 2px; height: 34px; }
.bp-region { position: absolute; top: 114px; width: 196px; height: 282px; padding: 14px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; transition: opacity .45s ease, border-color .45s ease, background-color .45s ease; }
.bp-region.a { left: 24px; }
.bp-region.b { left: 260px; }
.bp-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; font-weight: 800; }
.bp-pill { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; }
.bp-hub { padding: 10px; border-radius: 10px; background: rgba(37, 99, 235, .08); font-size: 12px; font-weight: 700; text-align: center; }
.bp-links { display: flex; justify-content: space-around; height: 16px; }
.bp-links span { width: 2px; background: #C9D2E0; }
.bp-spokes { display: flex; gap: 10px; }
.bp-spokes span { flex: 1; padding: 14px 6px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 700; text-align: center; }
.bp-id { padding: 8px; border-radius: 10px; border: 1px dashed #C9D2E0; font-size: 11px; font-weight: 600; color: var(--ink-2); text-align: center; }
.bp-repl { position: absolute; left: 216px; top: 262px; width: 48px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; color: var(--ink-2); }
.bp-repl i { width: 100%; height: 2px; background: var(--ink-2); transition: background-color .45s ease; }
.bp-caption { margin: 0; text-align: center; font-size: 14px; color: var(--ink-2); max-width: 30em; }
/* states */
[data-bp="normal"] .a { background: rgba(255, 255, 255, .82); border: 2px solid var(--blue); }
[data-bp="normal"] .b { background: rgba(255, 255, 255, .4); border: 2px dashed #B5BCC7; opacity: .65; }
[data-bp="fail"] .a { background: rgba(245, 246, 248, .5); border: 2px solid var(--line); opacity: .4; }
[data-bp="fail"] .b { background: rgba(255, 255, 255, .82); border: 2px solid var(--blue); }
[data-bp="normal"] .l-h, [data-bp="normal"] .l-v, [data-bp="fail"] .r-h, [data-bp="fail"] .r-v { background: var(--blue); }
[data-bp="fail"] .bp-repl i { background: var(--line); }
.st-live { background: var(--blue); color: #FFFFFF; }
.st-idle { background: #E7E9ED; color: var(--ink-2); }
.st-down { background: var(--ink); color: #FFFFFF; }
[data-bp="normal"] .when-fail, [data-bp="fail"] .when-normal { display: none; }

/* ---------- Lists, steps, definition rows ---------- */
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rows li { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.rows li b { flex: 0 0 200px; color: var(--ink); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 11px; height: 6px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--grad); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 40px 32px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink); }
.step .n { font-size: 72px; line-height: 1; font-weight: 300; letter-spacing: -0.04em; color: #B5BCC7; font-variant-numeric: tabular-nums; }
.step:last-child { border-top-color: var(--blue); }
.step:last-child .n { color: var(--blue); }
.step p { margin: 0; color: var(--muted); }

/* ---------- Services page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease); }
.chips a:hover { transform: translateY(-2px); color: var(--blue); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px 64px; padding-block: 64px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.svc:first-child { border-top: 2px solid var(--ink); }
.svc-main { display: flex; flex-direction: column; gap: 16px; }
.svc-main .num { font-family: var(--font-mono); font-size: 13px; color: var(--faint); }
.svc-main h2 { margin: 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.svc-main p { margin: 0; color: var(--muted); font-size: 17px; }
.svc-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px 40px; align-content: start; }
.svc-lists h3 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 860px) { .svc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Principles, glossary, offers ---------- */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px 48px; }
.principle { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--ink); }
.principle p { margin: 0; color: var(--muted); }
.glossary { margin: 0; border-top: 2px solid var(--ink); }
.glossary div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 40px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 800; font-size: 18px; }
.glossary dt small { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: .06em; }
.glossary dd { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .glossary div { grid-template-columns: minmax(0, 1fr); } }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.offer { border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.offer p { margin: 0; color: var(--ink-2); }
.phase { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; padding-block: 48px; border-top: 1px solid var(--line); }
.phase:first-child { border-top: 2px solid var(--ink); }
.phase .n { font-size: 88px; line-height: .9; font-weight: 300; letter-spacing: -0.05em; color: #B5BCC7; }
.phase:last-child .n { color: var(--blue); }
.phase-main { display: flex; flex-direction: column; gap: 12px; }
.phase-main p { margin: 0; color: var(--muted); }
.phase h4 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 860px) { .phase { grid-template-columns: minmax(0, 1fr); } .phase .n { font-size: 64px; } }

/* ---------- About ---------- */
.statement { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 750; font-weight: 800; }
.founder { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint-blue); display: flex; align-items: end; justify-content: start; padding: 20px; }
.portrait .dia { width: 360px; left: -40px; top: 60px; }
.portrait-tag { position: relative; z-index: 2; border-radius: 16px; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 40px; }
.facts div { padding-block: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 760px) { .founder { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 340px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form-panel { border-radius: 36px; padding: clamp(24px, 4vw, 44px); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #D5DAE1;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); max-width: 26em; }
.form-status { grid-column: 1 / -1; border-radius: 18px; padding: 18px 20px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.form-status p { margin: 0; }
.form-status textarea { width: 100%; min-height: 120px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); font: inherit; font-size: 14px; resize: vertical; }
.contact-side { display: flex; flex-direction: column; gap: 40px; }
.contact-lines { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.contact-lines li { display: flex; flex-direction: column; gap: 2px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.contact-lines span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.contact-lines b { font-size: 18px; user-select: all; }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.next-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--ink); color: #FFFFFF; }

/* ---------- CTA band ---------- */
.cta-art { left: 50%; top: 40px; width: 1100px; height: 560px; margin-left: -550px; }
.cta-art .dia { width: 1000px; }
.cta-panel { position: relative; border-radius: 44px; padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; gap: 36px; }
.cta-panel .mega { margin: 0; font-size: clamp(46px, 7vw, 104px); line-height: .96; letter-spacing: -0.04em; font-weight: 800; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; padding-top: 30px; border-top: 1px solid rgba(15, 23, 41, .12); }
.cta-mail { font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); user-select: all; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 28px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.foot-brand { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 14px; }
.foot-brand p { margin: 0; color: var(--muted); font-size: 15px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-col h2 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--blue); }
.foot-col span { color: var(--muted); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-bottom a { color: var(--muted); }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: flex; align-items: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
