/* waterflytechnologies.com · Waterfly theme 01 Signal (light only, by design)
   Tokens mirror waterfly/collateral/waterfly-theme/theme.css.
   Layout idea: a technical drawing set. Numbered figures, hairline rules, mono captions,
   the torus mark drawn live, and renders labelled as renders. */
:root {
  --paper: #F7F9FC;
  --white: #FFFFFF;
  --ink: #0B1220;
  --muted: #4E5A72;
  --line: #DCE2EE;
  --mist: #E7ECFB;
  --blue: #3965FA;
  --blue-hover: #2C55E6;
  --navy: #121C4A;
  --flare: #FF5B1F;
  --grid: rgba(57, 101, 250, 0.07);
  --f-display: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Red Hat Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.028em; line-height: 1.03; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(46px, 6.6vw, 96px); letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.label { font: 500 12.5px/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
section { padding-block: clamp(88px, 11vw, 152px); }
.section-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 24px 64px; }
.section-head.split > div { display: grid; gap: 18px; }
.fig { display: inline-flex; gap: 10px; align-items: baseline; font: 400 12.5px/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--muted); }
.fig span { color: var(--blue); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(11, 18, 32, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 10px; border-radius: 4px; }
.frame { position: relative; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); font: 600 15px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C3CCDF; }
.btn-ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .6; cursor: default; }
.arrow { font-family: var(--f-mono); }

/* nav */
.site-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(247, 249, 252, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links ul a { font-size: 15px; color: var(--muted); text-decoration: none; }
.nav-links ul a:hover { color: var(--ink); }
.nav-links .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* hero */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 760px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 72% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-torus { margin: 0; display: grid; gap: 10px; justify-items: end; }
.hero-torus canvas { display: block; width: 100%; aspect-ratio: 1.3; }
.hero-media { position: relative; margin: clamp(40px, 6vw, 72px) 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--navy); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 62%; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.stats li { padding: 28px 24px 30px 0; display: grid; gap: 8px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { font: 700 clamp(32px, 3.6vw, 46px)/1 var(--f-display); letter-spacing: -0.03em; }
.stats span { font: 500 12px/1.35 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* figure blocks */
.how { padding-top: clamp(80px, 9vw, 128px); }
.figure-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.fb-text { display: grid; gap: 20px; align-content: start; }
.fb-text > p { color: var(--muted); font-size: 17.5px; }
.fb-text.narrow { max-width: 820px; }

/* fig 1: ground effect */
.fb-figure { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(10px, 2vw, 22px); }
#ge-svg { display: block; width: 100%; height: auto; }
#ge-svg .water { fill: none; stroke: var(--blue); stroke-width: 1; opacity: .5; }
#ge-svg .wing { fill: var(--ink); }
#ge-svg .vortex { fill: none; stroke: var(--blue); stroke-width: 1; }
#ge-svg .dim { stroke: var(--muted); stroke-width: 1; fill: none; }
#ge-svg .dim-t { font: 500 13px var(--f-mono); fill: var(--muted); }
#ge-svg .axis { stroke: var(--ink); stroke-width: 1; }
#ge-svg .gridl { stroke: var(--line); stroke-width: 1; }
#ge-svg .tick { font: 400 12px var(--f-mono); fill: var(--muted); }
#ge-svg .ax-t { font: 500 12px var(--f-mono); fill: var(--muted); letter-spacing: .04em; }
#ge-svg .curve { fill: none; stroke: var(--blue); stroke-width: 2; }
#ge-svg .area { fill: var(--mist); opacity: .7; }
#ge-svg .now { fill: var(--blue); stroke: var(--white); stroke-width: 3; }
#ge-svg .guide { stroke: var(--blue); stroke-width: 1; stroke-dasharray: 3 4; }
.ge-readout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; border-block: 1px solid var(--line); margin-top: 6px; }
.ge-readout > b { font: 700 clamp(48px, 5vw, 64px)/1 var(--f-display); letter-spacing: -0.04em; color: var(--blue); min-width: 3.2ch; font-variant-numeric: tabular-nums; }
.ge-readout p { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.ge-readout p b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.ge-slider { display: grid; gap: 10px; }
.sl-label { font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.ends { display: flex; justify-content: space-between; font: 400 12px/1 var(--f-mono); color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--blue) var(--fill, 5%), var(--line) var(--fill, 5%)); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line); border-radius: 2px; }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); box-shadow: 0 1px 4px rgba(18, 28, 74, .2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); }
.fb-text > p.note, .note { font: 400 12.5px/1.5 var(--f-mono); color: var(--muted); }

/* fig 2: anatomy */
.anatomy { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.annotated { margin: 0; display: grid; gap: 24px; }
.annotated .frame { aspect-ratio: 16 / 9; background: #1b2235; }
.pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.pin i, .legend i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 500 13px/1 var(--f-mono); font-style: normal; }
.pin i { background: var(--white); color: var(--blue); box-shadow: 0 0 0 1px rgba(57, 101, 250, .5), 0 2px 10px rgba(11, 18, 32, .35); position: relative; }
.pin i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.legend li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 16px 4px 0; }
.legend li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.legend i { flex: none; background: var(--mist); color: var(--blue); }
.legend b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.legend span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* fig 3: hub */
.hub { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.hub-media { margin: 0; }
.hub-media .frame { aspect-ratio: 16 / 10; }

/* statement */
.statement { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.statement .ghost { position: absolute; left: -18%; bottom: -38%; width: min(90vw, 1100px); opacity: 0.22; pointer-events: none; }
.statement-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.statement-copy { display: grid; gap: 26px; }
.statement h2 { font-size: clamp(42px, 6vw, 84px); letter-spacing: -0.035em; }
.statement p { font-size: clamp(18px, 1.8vw, 21px); max-width: 30em; color: #E3E9FF; }
.statement .label { color: #E3E9FF; }
.quad { margin: 0; }
.quad svg { display: block; width: 100%; height: auto; }
.q-axes line, .q-axes path { stroke: rgba(255, 255, 255, .8); stroke-width: 1.2; fill: none; }
.q-ax { font: 500 13px var(--f-mono); fill: #E3E9FF; letter-spacing: .06em; text-transform: uppercase; }
.q-guide { stroke: #fff; stroke-width: 1.2; stroke-dasharray: 4 5; }
.q-note { font: 500 14px var(--f-mono); fill: #fff; }
.q-dot { fill: rgba(255, 255, 255, .65); }
.q-lbl { font: 500 18px var(--f-body); fill: #E3E9FF; }
.q-lbl.hl { font: 700 22px var(--f-display); fill: #fff; letter-spacing: -.01em; }
.q-hl { fill: #fff; }
.q-ring { fill: none; stroke: #fff; stroke-width: 1; opacity: .7; }

/* progress */
.scale-fig { margin: 0 0 28px; display: grid; gap: 14px; }
.scale-scroll { overflow-x: auto; }
#scale-svg { display: block; width: 100%; min-width: 620px; height: auto; }
#scale-svg .craft { fill: var(--mist); stroke: var(--blue); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
#scale-svg .craft.next { fill: none; stroke: var(--flare); stroke-dasharray: 5 5; }
#scale-svg .sea { stroke: var(--line); stroke-width: 1; }
#scale-svg .span-dim { stroke: var(--muted); stroke-width: 1; }
#scale-svg .span-t { font: 400 12px var(--f-mono); fill: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; gap: 10px; align-content: start; padding: 28px 24px 4px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .mass { font: 700 clamp(36px, 4vw, 54px)/1 var(--f-display); letter-spacing: -0.03em; white-space: nowrap; margin-bottom: 6px; }
.steps b { font-weight: 600; font-size: 17px; line-height: 1.35; }
.steps .when { font: 500 12.5px/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.status.next::before { background: transparent; box-shadow: inset 0 0 0 2px var(--flare); }

/* story */
.story { background: var(--white); border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-text { display: grid; gap: 22px; }
.story-text p { font-size: 18px; color: var(--muted); }
.story-text p strong { color: var(--ink); font-weight: 600; }
.disciplines { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.disciplines li { font: 500 12.5px/1 var(--f-mono); letter-spacing: 0.04em; padding: 10px 12px; border-radius: var(--r); background: var(--mist); color: var(--navy); }
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.collage figure { margin: 0; }
.collage .c1 { grid-column: 1 / 11; grid-row: 1; }
.collage .c2 { grid-column: 5 / 13; grid-row: 2; margin-top: -22%; position: relative; z-index: 1; }
.collage .c1 .frame { aspect-ratio: 3 / 2; }
.collage .c2 .frame { aspect-ratio: 16 / 9; box-shadow: 0 0 0 8px var(--white); }
.collage figcaption { margin-top: 10px; font: 500 11.5px/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.collage .c1 figcaption { max-width: 40%; }
.collage .c2 figcaption { text-align: right; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.person { display: grid; gap: 16px; }
.person .frame { aspect-ratio: 4 / 5; }
.person .frame::after { content: ""; position: absolute; inset: 0; background: var(--blue); mix-blend-mode: screen; opacity: 0; transition: opacity .35s ease; }
.person:hover .frame::after { opacity: .55; }
.person .who { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.person h3 { font-size: 22px; }
.person .role { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.person a { font-size: 14px; color: var(--blue); text-decoration: none; white-space: nowrap; }
.person a:hover { text-decoration: underline; }

/* press */
.press { background: var(--white); border-block: 1px solid var(--line); }
.logos { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); list-style: none; margin: 0 0 64px; padding: 0; border-block: 1px solid var(--line); }
.logos li { display: flex; justify-content: center; align-items: center; height: 92px; padding: 0 14px; }
.logos li + li { border-left: 1px solid var(--line); }
.logos img { height: auto; max-height: 26px; width: auto; max-width: 100%; filter: grayscale(1); opacity: 0.7; transition: opacity .2s ease; }
.logos img[alt="Aaj Tak"], .logos img[alt="Guidance Tamil Nadu"], .logos img[alt="DD India"] { max-height: 34px; }
.logos li:hover img { opacity: 1; }
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 140px 200px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.news a:hover .t { color: var(--blue); }
.news .d { font: 500 12.5px/1.4 var(--f-mono); letter-spacing: 0.02em; color: var(--muted); font-variant-numeric: tabular-nums; }
.news .o { font-weight: 600; font-size: 15px; }
.news .t { font-size: 18px; transition: color .15s ease; }
.news .arrow { color: var(--muted); }

/* careers */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0 0 48px; padding: 0; border-top: 1px solid var(--line); }
.problems li { display: grid; gap: 12px; align-content: start; padding: 36px 40px 40px 0; border-bottom: 1px solid var(--line); }
.problems li:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.problems .tagline { font: 500 12px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.problems p { color: var(--muted); max-width: 30em; }
.careers-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* contact */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info dl { margin: 12px 0 0; display: grid; gap: 18px; }
.contact-info dt { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-info dd { margin: 4px 0 0; font-size: 18px; }
.contact-info dd a { color: var(--blue); text-decoration: none; }
form.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--white); border: 1px solid #C8D1E3; border-radius: var(--r); padding: 12px 14px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.ok { color: var(--ink); }

/* footer */
.site-footer { background: var(--navy); color: #C9D2EE; padding-block: 72px 36px; overflow: hidden; }
.site-footer .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.site-footer .sign { font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--f-display); letter-spacing: -0.02em; color: #fff; max-width: 14em; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 12px 56px; }
.site-footer a { color: #FFFFFF; text-decoration: none; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .giant { width: 100%; height: auto; margin-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); opacity: .96; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid #2B3A7A; font: 500 12.5px/1.4 var(--f-mono); letter-spacing: 0.04em; color: #AEB9DD; }

/* responsive */
@media (max-width: 1020px) {
  .nav-links ul { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-torus { justify-items: start; max-width: 560px; }
  .figure-block, .hub, .story-grid, .contact-grid, .statement-grid { grid-template-columns: minmax(0, 1fr); }
  .hub .hub-media { order: 2; }
  .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legend li:nth-child(4) { padding-left: 0; border-left: 0; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos li { border-bottom: 1px solid var(--line); }
  .logos li:nth-child(3n+1) { border-left: 0; }
  .logos li:nth-last-child(-n+3) { border-bottom: 0; }
  .news a { grid-template-columns: 120px minmax(0, 1fr) auto; }
  .news .o { display: none; }
  .section-head.split { grid-template-columns: minmax(0, 1fr); }
  .quad { max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ge-readout { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #ge-svg .tick, #ge-svg .ax-t, #ge-svg .dim-t { font-size: 21px; }
  .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend li:nth-child(n) { padding-left: 0; border-left: 0; }
  .legend li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .pin i { width: 22px; height: 22px; font-size: 11px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .collage { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .collage .c1, .collage .c2 { grid-column: 1; grid-row: auto; margin-top: 0; }
  .collage .c1 figcaption { max-width: none; }
  .collage .c2 figcaption { text-align: left; }
  .collage .c2 .frame { box-shadow: none; }
  .team-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .problems { grid-template-columns: minmax(0, 1fr); }
  .problems li, .problems li:nth-child(even) { padding: 28px 0; border-left: 0; }
  .news a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .news .d { grid-column: 1 / -1; }
  form.contact-form { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .news .t, .person .frame::after, .logos img { transition: none; }
  .pin i::after { animation: none; opacity: 0; }
}
