/* Etheeden Technologies — site styles (2026 redesign) */

/* Schibsted Grotesk, self-hosted (SIL Open Font License) */
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #0F3D2E;
  --green-2: #165340;
  --green-3: #2B6B55;
  --gold: #FFC30C;
  --gold-deep: #E0A800;
  --ink: #1A211E;
  --muted: #56645D;
  --line: #D6DFDA;
  --tint: #EEF3F0;
  --paper: #FFFFFF;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --radius-lg: 16px;
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 1rem/1 var(--font); text-decoration: none; letter-spacing: -0.005em;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.text-link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--ink); }
.text-link.on-dark:hover { text-decoration-color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { width: 170px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--muted); }
.site-nav ul a:hover { color: var(--ink); background: var(--tint); }
.site-nav ul a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; } .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; }
  .brand img { width: 150px; }
}

/* Hero */
.hero { background: var(--green); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); position: relative; overflow: hidden; }
.hero::after {
  /* The logo's rising stroke, scaled up as a quiet backdrop. */
  content: ""; position: absolute; right: -6vw; bottom: -18vw; width: 54vw; height: 54vw; max-width: 760px; max-height: 760px;
  background: linear-gradient(135deg, transparent 47%, rgba(255,195,12,.07) 47%, rgba(255,195,12,.07) 62%, transparent 62%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 5vw, 4.25rem); }
.hero .lede { font-size: 1.2rem; color: #D5E3DC; max-width: 34ch; margin-top: 24px; }

.switcher-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.switcher-tabs [role="tab"] {
  font: 600 .95rem/1 var(--font); color: #BFD3C9; background: transparent; border: 1px solid rgba(255,255,255,.18);
  padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.switcher-tabs [role="tab"]:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.switcher-tabs [role="tab"][aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.switcher-panel[hidden] { display: none; }
.switcher-panel:not([hidden]) .browser { animation: rise .45s cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .switcher-panel:not([hidden]) .browser { animation: none; } }
.switcher-caption { margin: 16px 0 0; color: #D5E3DC; max-width: 60ch; }
.switcher-caption strong { color: #fff; }
.switcher-caption a { color: var(--gold); font-weight: 600; margin-left: .3em; white-space: nowrap; }

/* Browser frame */
.browser { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06); }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #F1F4F2; border-bottom: 1px solid #E2E8E4; }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5CF; }
.browser-bar .address { flex: 1; max-width: 320px; margin: 0 auto; text-align: center; font-size: .8rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; }
.browser-view { aspect-ratio: 16 / 10.5; background: var(--tint); overflow: hidden; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.fallback { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(20px, 5%, 48px); background: #fff; color: var(--ink); }
.fallback-ichuma { background: linear-gradient(160deg, #F4FAF5 0%, #E3F1E7 100%); }
.fb-title { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; margin: 0 0 14px; color: var(--green); }
.fb-sub { color: var(--muted); margin: 0 0 18px; }
.fb-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.fb-chips li { font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--green); color: #fff; }
.fb-modules { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.fb-modules li { background: #fff; border-radius: 10px; padding: 12px 14px; box-shadow: 0 0 0 1px #CFE2D6; font-weight: 700; color: var(--green); display: flex; justify-content: space-between; gap: 8px; font-size: .95rem; }
.fb-modules li span { font-weight: 600; font-size: .78rem; color: #fff; background: var(--green-3); border-radius: 999px; padding: 2px 8px; align-self: center; }
.fb-modules li.soon { color: var(--muted); box-shadow: 0 0 0 1px #DCE6E0; }
.fb-modules li.soon span { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px #C5D3CB; }
.fb-chips li.soon { background: transparent; color: var(--green-3); box-shadow: inset 0 0 0 1px #A9C7B7; }

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 4px; }
.facts-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { font-size: 1.1rem; letter-spacing: -0.01em; }
.facts span { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* Sections */
.section { padding: var(--section) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--green); color: #fff; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { font-size: 1.15rem; color: var(--muted); margin-top: 16px; }
.section-dark .section-head p { color: #C9DBD2; }
.more-link { margin-top: 40px; }

/* Platform rows */
.platform { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.platform + .platform { margin-top: clamp(64px, 9vw, 120px); }
.platform.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.platform.flip .platform-media { order: 2; }
.platform-media .browser { box-shadow: 0 24px 48px -24px rgba(15,61,46,.35), 0 0 0 1px var(--line); }
.kind { font-weight: 600; color: var(--green-3); margin: 0 0 8px; }
.platform h3, .h-platform { font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.platform-line { font-size: 1.2rem; font-weight: 600; margin: 12px 0 14px; line-height: 1.4; }
.platform-body > p:not(.kind):not(.platform-line) { color: var(--muted); }
.ticks { list-style: none; margin: 20px 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--green-3); border-bottom: 3px solid var(--green-3); transform: rotate(-45deg); }

/* Split section */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.service-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.service-list li { padding: 28px 28px 28px 0; border-bottom: 1px solid #C3D0C9; }
.service-list li:nth-child(even) { padding-left: 28px; border-left: 1px solid #C3D0C9; padding-right: 0; }
.service-list p { margin: 10px 0 0; color: var(--muted); }
.also { margin-top: 28px; color: var(--muted); }
.also .text-link { color: var(--ink); margin-left: .25em; }

/* Steps — a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-size: 2.75rem; font-weight: 800; line-height: 1; color: var(--gold-deep); letter-spacing: -0.04em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); margin: 8px 0 0; font-size: 1rem; }

/* Team strip on home */
.team-strip { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-strip a { display: flex; flex-direction: column; height: 100%; padding: 24px; border-radius: var(--radius-lg); background: var(--green-2); text-decoration: none; transition: background-color .15s; }
.team-strip a:hover { background: var(--green-3); }
.mono { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 20px; }
.t-name { font-size: 1.2rem; font-weight: 700; }
.t-role { color: #D5E3DC; margin-top: 4px; line-height: 1.4; }
.t-focus { color: #A5C2B4; font-size: .92rem; margin-top: auto; padding-top: 16px; }

/* CTA band */
.cta { padding: var(--section) 0; background: var(--gold); }
.cta-inner > * { max-width: 860px; }
.cta .btn-gold { background: var(--green); color: #fff; }
.cta .btn-gold:hover { background: var(--green-2); }
.cta h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.cta p { font-size: 1.15rem; margin-top: 16px; max-width: 56ch; }

/* Footer */
.site-footer { background: #12201A; color: #C2D1C9; padding: 72px 0 0; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; }
.footer-h { font-size: 1rem; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.site-footer .muted { color: #8FA79B; margin-top: 10px; }
.footer-base { margin-top: 56px; padding-bottom: 28px; color: #8FA79B; font-size: .9rem; }
.footer-base p { margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

/* Inner page header */
.page-hero { background: var(--green); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); max-width: 18ch; }
.page-hero p { font-size: 1.2rem; color: #D5E3DC; max-width: 52ch; margin-top: 20px; }

/* Team page */
.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.profile:first-child { border-top: 0; padding-top: 0; }
.profile-id { position: sticky; top: 108px; align-self: start; }
.profile-id .mono { width: 88px; height: 88px; font-size: 1.9rem; border-radius: 18px; }
.profile-id h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.profile-role { font-size: 1.1rem; font-weight: 600; margin: 8px 0 4px; }
.profile-focus { color: var(--muted); margin: 0; }
.profile-bio { font-size: 1.2rem; line-height: 1.6; max-width: 62ch; }
.profile-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 36px; }
.h-small { font-size: 1rem; font-weight: 700; margin-bottom: 12px; letter-spacing: 0; }
.plain { list-style: none; display: grid; gap: 8px; }
.plain li { padding-left: 16px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--gold-deep); border-radius: 50%; }
.skills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.skills li { font-size: .9rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--green); }
.timeline { list-style: none; margin-top: 36px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--green-3); }
.timeline .when { display: block; font-size: .9rem; font-weight: 700; color: var(--green-3); font-variant-numeric: tabular-nums; }
.timeline .what { display: block; font-weight: 700; margin: 2px 0 2px; }
.timeline p { margin: 0; color: var(--muted); }

/* Work page */
.work-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; height: 100%; }
.work-card .shot { aspect-ratio: 16 / 10; background: var(--tint); }
.work-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.work-card .shot.empty { display: grid; place-items: center; color: var(--green); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; }
.work-card .body { padding: 22px 24px 26px; }
.work-card p { color: var(--muted); margin: 8px 0 0; }

/* Services page */
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.svc-grid li { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.svc-grid li:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.svc-grid h3 { font-size: 1.4rem; }
.svc-grid p { color: var(--muted); margin: 10px 0 0; }
.svc-grid.small h3 { font-size: 1.15rem; }

/* About page */
.reg-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.reg-table th, .reg-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.reg-table th { width: 38%; font-weight: 600; color: var(--muted); }
.history { list-style: none; display: grid; gap: 0; }
.history li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.history .yr { font-size: 1.5rem; font-weight: 800; color: var(--green-3); letter-spacing: -0.02em; }
.history p { margin: 0; color: var(--muted); }
.values { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.values li { border-top: 2px solid var(--gold); padding-top: 18px; }
.values p { color: var(--muted); margin: 8px 0 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #B9C7C0; border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-3); box-shadow: 0 0 0 3px rgba(43,107,85,.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form-status.ok { background: #E3F3E8; color: #135A33; }
.form-status.err { background: #FCE8E6; color: #8A1C12; }
.form-status:empty { display: none; }
.contact-card { background: var(--tint); border-radius: var(--radius-lg); padding: 32px; }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { font-weight: 700; }
.contact-card dd { margin: 4px 0 0; color: var(--muted); }
.contact-card a { color: var(--ink); }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .team-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .platform, .platform.flip, .split, .profile, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 14ch; }
  .platform.flip .platform-media { order: 0; }
  .split .section-head, .profile-id { position: static; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div { padding: 22px 16px 22px 0; }
  .facts-grid > div + div { padding-left: 0; border-left: 0; }
  .facts-grid > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work-grid, .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .browser-view:has(.fallback) { aspect-ratio: auto; }
  .fallback { padding: 22px 18px 24px; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; padding-top: 16px; }
  .steps li::before { grid-row: span 2; font-size: 2rem; margin: 0; }
  .steps li p { grid-column: 2; }
  .fb-modules { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .fb-modules li { padding: 7px 12px; font-size: .88rem; }
  .service-list, .svc-grid, .work-grid, .values, .profile-cols, .form .row2 { grid-template-columns: 1fr; }
  .service-list li, .service-list li:nth-child(even), .svc-grid li, .svc-grid li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .team-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .history li { grid-template-columns: 1fr; gap: 6px; }
  .reg-table th { width: 44%; }
  .actions .btn { flex: 1 1 100%; }
  .hero .lede, .page-hero p { font-size: 1.08rem; }
}
