:root {
  /* DeployKar brand — dark base, lime-green accent (from logo) */
  --bg: #0a0a0a;
  --bg-2: #0e0e0e;
  --fg: #f2f4f0;
  --muted: #9aa39a;
  --line: #33383a;
  --green: #8CC63F;
  --green-2: #a4d94f;
  --green-deep: #5f8f24;
  --primary: #8CC63F;
  --ink: #14181a;
  --radius: 0.75rem;

  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: var(--bg);
  /* Windows shows classic scrollbars: keep them dark, thin, and always reserved so nothing jumps */
  color-scheme: dark;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) #0a0a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}
/* lock on the root during the intro so the reserved gutter survives and the page doesn't shift when it ends */
html:has(> body.intro-lock) { overflow: hidden; }
body {
  background: transparent;
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: rgba(140, 198, 63, 0.3); color: var(--fg); }

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }

/* ---------- faint dot/line grid backdrop ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(140,198,63,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  pointer-events: none; z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s;
}
.cursor.big { width: 42px; height: 42px; background: rgba(140,198,63,0.15); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(10,10,10,.92), rgba(10,10,10,.6) 60%, transparent);
  pointer-events: none;
}
.nav .brand, .nav .nav-right { pointer-events: auto; }  /* only real controls click */
.brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: -0.03em;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--primary);              /* solid lime tile like the app icon */
}
.brand-mark svg path { stroke: #fff; }     /* white chevron inside the tile */
.brand-word { color: var(--fg); }
.brand-chev-wrap { position: relative; display: inline-block; }
.brand-chev {
  position: absolute;
  left: 41.5%; top: -.13em;
  transform: translateX(-50%);
  width: .6em; height: .405em;
  pointer-events: none;
}
.brand-tld { color: var(--muted); font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 1.6rem; }
.nav-right a { font-size: 0.9rem; color: var(--muted); transition: color 0.25s; }
.nav-right a:hover { color: var(--fg); }
.pill {
  color: #0a0a0a !important; background: var(--green); font-weight: 600;
  border-radius: 999px; padding: .5rem 1rem !important;
  font-size: 0.82rem;
  box-shadow: 0 6px 24px -6px rgba(140,198,63,.7);
  transition: transform .25s, box-shadow .3s;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -4px rgba(140,198,63,.9); }

/* ---------- hero: cinematic 3D helix stage ---------- */
.hero {
  position: relative;
  height: 100vh; width: 100%;
  overflow: hidden;
  background: #0a0a0a;
}
#helix {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block;
  z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.hero-overlay > * { pointer-events: auto; }

/* top center toggle */
.hero-top {
  position: absolute; top: 4.5rem; left: 0; right: 0;   /* clear of the fixed nav */
  display: flex; justify-content: center;
  z-index: 120; pointer-events: none;                    /* above the nav (z 100) */
}
.toggle {
  font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted);
  pointer-events: auto;
  background: transparent;
  border: none;
  padding: 0;
}
.toggle em {
  font-style: normal; transition: color 0.2s;
  cursor: pointer; padding: 0.2rem 0.35rem;   /* bigger hit area */
}
.toggle em:hover { color: var(--fg); }
.toggle .on { color: var(--primary); }

/* ---------- hero: the logo is the star ---------- */
#helix { opacity: .42; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(10,10,10,.82), rgba(10,10,10,.35) 60%, transparent 80%),
    linear-gradient(to bottom, transparent 70%, #0a0a0a);
}
.hero-center {
  /* centred in the band between the view toggle and the scroll cue, so it can't collide with either */
  position: absolute; left: 0; right: 0; top: 6.5rem; bottom: 6.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 1rem;
}
.hero-role {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .5rem .4rem .8rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(140,198,63,.3); border-radius: 999px;
  background: rgba(140,198,63,.07); backdrop-filter: blur(8px);
  font-size: .76rem; font-weight: 500; letter-spacing: .02em; color: var(--fg);
  transition: border-color .3s, background .3s;
}
.hero-role:hover { border-color: rgba(140,198,63,.6); background: rgba(140,198,63,.12); }
.hero-role i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(140,198,63,.7); animation: ping 2s ease-out infinite;
}
.hero-role span {
  padding: .2rem .6rem; border-radius: 999px;
  background: var(--green); color: #0a0a0a; font-weight: 600;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(140,198,63,.7); } 80%,100% { box-shadow: 0 0 0 9px rgba(140,198,63,0); } }

.hero-logo { position: relative; }
.hero-glow {
  position: absolute; left: 50%; top: 55%; z-index: -1;
  width: 120%; height: 160%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(140,198,63,.28), rgba(140,198,63,.08) 40%, transparent 70%);
  filter: blur(30px); pointer-events: none;
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity: .7; transform: translate(-50%,-50%) scale(.95); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.05); } }

.hero-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(4.2rem, 15vw, 13.5rem);
  line-height: .9; letter-spacing: -.055em;
  will-change: transform;
  position: relative; display: inline-block;
  padding: .12em .04em 0;
}
.hero-word {
  background: linear-gradient(105deg, #f2f4f0 0%, #f2f4f0 42%, #e4ffb8 49%, #ffffff 50%, #e4ffb8 51%, #f2f4f0 58%, #f2f4f0 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 45px rgba(140,198,63,.18));
  animation: sheen 7s cubic-bezier(.6,0,.3,1) infinite 1.2s;
}
@keyframes sheen { 0%,55% { background-position: 100% 0; } 85%,100% { background-position: 0% 0; } }
.hero-chev {
  position: absolute;
  left: 41.6%; top: -.05em;
  transform: translateX(-50%);
  width: .616em; height: .416em;
  pointer-events: none; overflow: visible;
  filter: drop-shadow(0 0 14px rgba(140,198,63,.85)) drop-shadow(0 0 40px rgba(140,198,63,.45));
  animation: chevFloat 3.2s ease-in-out infinite;
}
@keyframes chevFloat { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -.07em); } }

.hero-tag {
  margin-top: clamp(1rem, 2.4vw, 1.8rem);
  font-size: clamp(1rem, 1.9vw, 1.3rem); line-height: 1.55;
  color: rgba(242,244,240,.6); max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 48px; padding: 0 1.5rem; border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
  transition: transform .25s, box-shadow .3s, background .3s, border-color .3s;
}
.btn-primary {
  background: var(--green); color: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(164,217,79,.5), 0 10px 40px -8px rgba(140,198,63,.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(164,217,79,.8), 0 14px 50px -6px rgba(140,198,63,.9); }
.btn-ghost {
  color: var(--fg); border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(140,198,63,.5); background: rgba(140,198,63,.06); }
.btn-ghost span { transition: transform .25s; }
.btn-ghost:hover span { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .hero-word, .hero-chev, .hero-glow, .hero-role i { animation: none !important; }
}

/* rotating circular text — bottom left */
.rotor {
  position: absolute; left: 2.2rem; bottom: 2.2rem;
  width: 92px; height: 92px;
}
.rotor svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.rotor-text {
  font-size: 9px; letter-spacing: 0.18em;
  fill: var(--muted); text-transform: uppercase;
  font-family: var(--mono);
}
.rotor-dot {
  position: absolute; inset: 0; margin: auto;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* index — bottom right */
.hero-index {
  position: absolute; right: 2.2rem; bottom: 2.6rem;
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; letter-spacing: 0.2em; color: var(--muted);
  text-transform: uppercase;
}
.idx-num { font-family: var(--mono); color: var(--fg); }
.idx-line { width: 40px; height: 1px; background: var(--line); }

/* scroll cue — bottom center */
.scroll-cue {
  position: absolute; left: 0; right: 0; bottom: 1.4rem;
  text-align: center;
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue em { font-style: normal; display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* ---------- section shell ---------- */
.intro, .services, .work, .contact {
  max-width: 1200px; margin: 0 auto;
}
.intro {
  padding: clamp(6rem, 12vw, 10rem) clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr 3fr; gap: 2rem;
}
.intro-label, .section-label {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.intro-text {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.5; letter-spacing: -0.01em; color: rgba(255,255,255,.5);
}
.intro-text .ln { display: inline-block; overflow: hidden; }

.services, .work, .contact {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,.04);
}
.services { padding-bottom: clamp(6rem, 14vw, 12rem); }
.services-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2.5rem; }
.services-head h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); letter-spacing: -0.03em; font-weight: 500; }

/* ---------- services list — stacking cards ---------- */
/* ---------- feature grid — live, cursor-reactive ---------- */
.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}
/* cursor-following lime spotlight */
.fg-spot {
  position: absolute; left: 0; top: 0; width: 320px; height: 320px;
  margin: -160px 0 0 -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(140,198,63,.14), transparent 65%);
  transform: translate3d(var(--sx,-500px), var(--sy,-500px), 0);
  opacity: 0; transition: opacity .45s ease; pointer-events: none; z-index: 4;
}
.feature-grid:hover .fg-spot { opacity: 1; }

.feature-card {
  position: relative; z-index: 1;
  background: #0a0a0a;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: .5rem;
  transition: background .4s ease;
}
.feature-card:hover { background: #0d110a; }
/* animated top edge draws in on hover */
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.feature-card:hover::before { transform: scaleX(1); }

.fc-media {
  height: 60px; width: 100%; margin-bottom: .9rem;
  display: flex; align-items: center;
}
.fc-media .fx { width: 120px; height: 60px; overflow: visible; }
.fc-media .fx * { vector-effect: non-scaling-stroke; }

.feature-card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: -.02em; color: var(--fg);
}
.feature-card p {
  font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.42); max-width: 34ch;
}

/* ===== shared stroke defaults ===== */
.fx .nd, .fx .wr, .fx .shk, .fx .bdy, .fx .kh, .fx .base, .fx .line,
.fx .cell, .fx .trk, .fx .fill, .fx .ring { stroke: rgba(140,198,63,.55); stroke-width: 2; }
.fx .nd { stroke: rgba(255,255,255,.3); }
.fx .pkt, .fx .head { fill: var(--green); }
.fx .caret { fill: var(--green); }
.fx .cmd { fill: rgba(255,255,255,.55); font-family: var(--mono); font-size: 13px; }

/* ===== 1. drag-drop: packet rides the wire + nodes light in sequence ===== */
.fx-wire .wr { stroke-dasharray: 2 4; }
.fx-wire .pkt { animation: pkt 2.6s linear infinite; }
.fx-wire .nd3 { animation: ndpop 2.6s ease-in-out infinite; }
@keyframes pkt {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  46%,54% { transform: translateX(41px); opacity: 1; }
  92% { opacity: 1; } 100% { transform: translateX(82px); opacity: 0; }
}
@keyframes ndpop { 0%,55% { stroke: rgba(255,255,255,.3);} 70%,90% { stroke: var(--green);} 100%{ stroke: rgba(255,255,255,.3);} }

/* ===== 2. SSL: shackle snaps shut, ring pulses ===== */
.fx-lock .shk { transform-box: fill-box; transform-origin: 50% 100%; animation: shk 3s ease-in-out infinite; }
.fx-lock .ring { stroke: var(--green); opacity: 0; transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; }
@keyframes shk { 0%,100%{ transform: translateY(-5px);} 25%,75%{ transform: translateY(0);} }
@keyframes ring { 0%,30%{ opacity:0; transform: scale(.6);} 45%{ opacity:.5; } 70%,100%{ opacity:0; transform: scale(1.25);} }

/* ===== 3. autoscale: bars breathe + a replica ghost appears ===== */
.fx-scale .br { transform-box: fill-box; transform-origin: 50% 100%; fill: rgba(140,198,63,.14); }
.fx-scale .b1 { animation: bar 1.8s ease-in-out infinite; }
.fx-scale .b2 { animation: bar 1.8s ease-in-out infinite .25s; }
.fx-scale .b3 { animation: bar 1.8s ease-in-out infinite .5s; }
@keyframes bar { 0%,100%{ transform: scaleY(.4);} 50%{ transform: scaleY(1);} }

/* ===== 4. observability: EKG line draws continuously + head dot ===== */
.fx-ekg .base { stroke: rgba(255,255,255,.08); }
.fx-ekg .line { stroke: var(--green); stroke-dasharray: 240; stroke-dashoffset: 240; animation: ekg 2.4s linear infinite; }
.fx-ekg .head { offset-path: path('M2 40 H30 l6 -22 l8 34 l6 -24 l5 12 H78 l6 -16 l7 20 H118'); animation: ekghead 2.4s linear infinite; }
@keyframes ekg { to { stroke-dashoffset: 0; } }
@keyframes ekghead { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ===== 5. isolation: cells pulse independently ===== */
.fx-iso .cell { fill: rgba(140,198,63,.06); }
.fx-iso .c1 { animation: cell 3.2s ease-in-out infinite; }
.fx-iso .c2 { animation: cell 3.2s ease-in-out infinite .8s; }
.fx-iso .c3 { animation: cell 3.2s ease-in-out infinite 1.6s; }
.fx-iso .c4 { animation: cell 3.2s ease-in-out infinite 2.4s; }
@keyframes cell { 0%,100%{ fill: rgba(140,198,63,.05); stroke: rgba(140,198,63,.3);} 50%{ fill: rgba(140,198,63,.22); stroke: var(--green);} }

/* ===== 6. push: caret blinks, progress sweeps, then "git push" flashes green ===== */
.fx-push .trk { stroke: none; fill: rgba(255,255,255,.08); }
.fx-push .fill { stroke: none; fill: var(--green); transform-box: fill-box; transform-origin: left; transform: scaleX(0); animation: sweep 3s cubic-bezier(.5,0,.2,1) infinite; }
.fx-push .caret { animation: blink 1s steps(1) infinite; }
.fx-push .cmd { animation: cmdflash 3s ease-in-out infinite; }
@keyframes sweep { 0%,10%{ transform: scaleX(0);} 70%,100%{ transform: scaleX(1);} }
@keyframes blink { 0%,50%{ opacity:1;} 51%,100%{ opacity:0;} }
@keyframes cmdflash { 0%,65%{ fill: rgba(255,255,255,.55);} 80%,100%{ fill: var(--green);} }

@media (prefers-reduced-motion: reduce) {
  .fx *, .feature-card::before { animation: none !important; }
}

/* ---------- work / stack ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.work-card {
  cursor: pointer; background: transparent;
  border: 1px solid rgba(255,255,255,.04); border-radius: 6px;
  padding: 1rem; transition: border-color 0.25s;
}
.work-card:hover {
  border-color: rgba(140,198,63,.15);
}
.work-thumb {
  aspect-ratio: 16 / 10; border-radius: 4px;
  background: rgba(255,255,255,.02);
  display: flex; align-items: center; justify-content: center;
}
.work-thumb img {
  width: 42%; max-width: 96px; height: auto;
  opacity: 0.6;
}
.work-card h3 { font-size: 1rem; margin-top: 0.8rem; letter-spacing: -0.01em; font-weight: 500; }
.work-card p { color: rgba(255,255,255,.3); font-size: 0.78rem; margin-top: 0.1rem; }

/* ---------- contact / waitlist ---------- */
.contact { text-align: center; position: relative; }
.contact::before {
  content: ''; position: absolute; left: 50%; top: 32%; z-index: -1;
  width: min(900px, 90vw); height: 420px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(140,198,63,.22), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.contact-title {
  font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1;
  letter-spacing: -.05em; margin: 1.2rem 0 2.4rem; font-weight: 600;
}
.waitlist {
  display: flex; gap: .4rem; max-width: 520px; margin: 0 auto;
  align-items: center; padding: .4rem;
  border: 1px solid rgba(255,255,255,.1); border-radius: 999px;
  background: rgba(255,255,255,.03); backdrop-filter: blur(10px);
  transition: border-color .3s, box-shadow .3s;
}
.waitlist:focus-within { border-color: rgba(140,198,63,.55); box-shadow: 0 0 0 4px rgba(140,198,63,.12), 0 20px 60px -20px rgba(140,198,63,.5); }
.waitlist-input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  padding: .75rem 1.1rem;
  color: var(--fg); font-family: var(--font); font-size: 1rem;
}
.waitlist-input::placeholder { color: rgba(255,255,255,.3); }
.waitlist-btn {
  border: none; border-radius: 999px; cursor: pointer;
  height: 46px; padding: 0 1.4rem; font-family: var(--font);
  font-weight: 600; font-size: .92rem; color: #0a0a0a;
  background: var(--green); white-space: nowrap;
  box-shadow: 0 8px 30px -8px rgba(140,198,63,.8);
  transition: transform .25s, box-shadow .3s;
}
.waitlist-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 40px -6px rgba(140,198,63,1); }
.waitlist-note { min-height: 1.2rem; margin-top: 1rem; font-size: .9rem; color: var(--green); }
.waitlist-note.err { color: #f07178; }
.waitlist-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-foot {
  display: flex; justify-content: space-between; margin-top: clamp(5rem, 12vw, 9rem);
  color: rgba(255,255,255,.2); font-size: 0.75rem;
}

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); }

@media (max-width: 800px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .nav-right a:not(.pill) { display: none; }
  .intro { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .hero-title { font-size: 20vw; } }
/* short windows (Windows laptops at 125–150% scaling): size the hero to the height too */
@media (max-height: 720px) and (min-width: 521px) {
  .hero-title { font-size: clamp(4.2rem, min(15vw, 25vh), 13.5rem); }
  .hero-role { margin-bottom: 1rem; }
  .hero-tag { margin-top: .75rem; }
  .hero-cta { margin-top: 1.25rem; }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-foot { flex-direction: column; gap: 0.5rem; align-items: center; }
}

/* footer privacy link */
.foot-link { color: rgba(255,255,255,.4); text-decoration: none; transition: color .25s; }
.foot-link:hover { color: var(--green); }

/* ---------- privacy policy page ---------- */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: clamp(6rem, 12vw, 9rem) clamp(1.2rem, 5vw, 2rem) 6rem;
}
.legal .back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; color: rgba(255,255,255,.4);
  text-decoration: none; margin-bottom: 2.5rem; transition: color .25s;
}
.legal .back:hover { color: var(--green); }
.legal h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; color: var(--fg);
  margin-bottom: .6rem;
}
.legal .updated { color: rgba(255,255,255,.35); font-size: .85rem; margin-bottom: 3rem; }
.legal h2 {
  font-family: var(--display); font-weight: 500;
  font-size: 1.25rem; letter-spacing: -.02em; color: var(--fg);
  margin: 2.4rem 0 .8rem;
}
.legal p, .legal li { color: rgba(255,255,255,.55); line-height: 1.7; font-size: .95rem; }
.legal ul { padding-left: 1.2rem; margin: .6rem 0; }
.legal li { margin: .35rem 0; }
.legal a { color: var(--green); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
