/* ============================================================
   DEEPLOY - grid site
   Inter everywhere for headings and UI. Monospace for the
   utility bar and the italic captions. Radius 0 on everything.
   White surface, 1px black rules, navy used as a solid block.
   ============================================================ */

@font-face { font-family: Inter; src: url("../assets/fonts/inter-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215; }
@font-face { font-family: Inter; src: url("../assets/fonts/inter-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215; }
@font-face { font-family: Inter; src: url("../assets/fonts/inter-latinext-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Inter; src: url("../assets/fonts/inter-latinext-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Inter; src: url("../assets/fonts/inter-cyrillic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Inter; src: url("../assets/fonts/inter-cyrillic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  --ink: #000000;
  --white: #ffffff;
  --navy: #27187e;
  --navy-hover: #1b1057;
  --wash: #e6e3f5;
  --dim: #6b6b6b;
  --rule: #000000;

  --ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, "DejaVu Sans Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --bar: 54px;
  --nav: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--ui); font-weight: 400;
  font-size: 15px; line-height: 1.5; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: -4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Utility bar ---------- */
.bar {
  background: var(--ink); color: var(--white);
  height: var(--bar); display: flex; align-items: center;
  font-family: var(--mono); font-size: 13px; letter-spacing: -0.01em;
}
.bar__in { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-inline: clamp(0.9rem, 1.6vw, 1.6rem); }
.bar__l, .bar__r { display: flex; align-items: center; gap: clamp(1.2rem, 3.4vw, 3.4rem); }
.bar a { transition: opacity 0.25s; }
.bar a:hover { opacity: 0.62; }
.bar__lang { display: flex; gap: 0.6rem; }
.bar__lang button { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.25s; }
.bar__lang button[aria-pressed="true"] { color: #fff; }
@media (max-width: 860px) { .bar__l span:nth-child(2), .bar__r a { display: none; } }

/* ---------- Nav row: cells split by rules ---------- */
.nav { border-bottom: 1px solid var(--rule); background: var(--white); position: sticky; top: 0; z-index: 90; }
.nav__in { display: flex; align-items: stretch; min-height: var(--nav); }
.nav__mark { background: var(--navy); color: var(--white); width: clamp(120px, 12vw, 176px); flex: none; display: grid; place-items: center; padding-inline: 1rem; }
.nav__mark svg, .nav__mark img { width: 100%; max-width: 118px; height: auto; }
.nav__cells a[aria-current="page"], .nav__cta[aria-current="page"] { background: var(--navy); color: var(--white); }
.nav__brand { border-right: 1px solid var(--rule); display: grid; align-content: center; padding-inline: clamp(0.9rem, 1.6vw, 1.6rem); flex: none; }
.nav__brand b { font-weight: 600; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.045em; line-height: 1; }
.nav__brand i { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--dim); letter-spacing: -0.02em; }

.nav__cells { display: flex; flex: 1; min-width: 0; }
.nav__cells a {
  flex: 1; display: grid; place-items: center; text-align: center;
  border-right: 1px solid var(--rule); padding: 0.5rem clamp(0.4rem, 1vw, 1rem);
  font-size: clamp(13px, 1.05vw, 16px); font-weight: 400; letter-spacing: -0.015em;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cells a:hover { background: var(--navy); color: var(--white); }
@media (max-width: 1000px) { .nav__cells { display: none; } }

.nav__cta {
  flex: none; display: grid; place-items: center;
  padding-inline: clamp(1.1rem, 2.6vw, 2.6rem);
  font-weight: 600; font-size: clamp(13px, 1.05vw, 16px); letter-spacing: 0.01em; text-transform: uppercase;
  background: var(--white); transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cta:hover { background: var(--navy); color: var(--white); }

/* ---------- The grid ---------- */
.grid { border-bottom: 1px solid var(--rule); }
.row { display: grid; border-top: 1px solid var(--rule); }
.row:first-child { border-top: 0; }
.row--3 { grid-template-columns: 1fr; }
.row--4 { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .row--3 { grid-template-columns: 2fr 1.35fr 1.35fr; }
  .row--4 { grid-template-columns: repeat(4, 1fr); }
}

.cell {
  position: relative;
  border-left: 1px solid var(--rule);
  min-height: clamp(320px, 42vh, 500px);
  display: grid; align-content: center; justify-items: center;
  text-align: center; gap: 1.4rem;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.3rem, 2.8vw, 3rem);
  transition: background-color 0.4s var(--ease);
}
.cell:first-child { border-left: 0; }
@media (max-width: 899px) { .cell { border-left: 0; border-top: 1px solid var(--rule); } .row > .cell:first-child { border-top: 0; } }
.cell:hover { background: var(--wash); }

.cell h2, .cell h3 {
  font-weight: 600; text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 56px); line-height: 1; letter-spacing: -0.04em;
  max-width: 14ch;
}
.cell p {
  font-family: var(--mono); font-style: italic;
  font-size: clamp(16px, 1.5vw, 24px); line-height: 1.35; letter-spacing: -0.02em;
  max-width: 24ch; color: var(--ink);
}
.cell__gain { font-weight: 600; font-size: clamp(17px, 1.5vw, 24px); letter-spacing: -0.03em; color: var(--navy); line-height: 1.2; max-width: 20ch; }
.cell--fill .cell__gain { color: var(--white); }

/* buttons appear on hover, like the reference */
.cell__acts { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.cell:hover .cell__acts, .cell:focus-within .cell__acts { opacity: 1; transform: none; }
@media (hover: none) { .cell__acts { opacity: 1; transform: none; } }
.pill {
  background: var(--navy); color: var(--white);
  padding: 1.05em 2.3em; font-size: clamp(13px, 1.05vw, 16px); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: background-color 0.3s var(--ease);
}
.pill:hover { background: var(--navy-hover); }
.pill--ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.pill--ghost:hover { background: var(--ink); color: var(--white); }

/* a filled statement cell */
.cell--fill { background: var(--navy); color: var(--white); }
.cell--fill:hover { background: var(--navy-hover); }
.cell--fill p, .cell--fill .cell__price { color: var(--white); }
.cell--fill .pill { background: var(--white); color: var(--navy); }
.cell--fill .pill:hover { background: var(--wash); }

/* ---------- Statement row ---------- */
.claim { border-top: 1px solid var(--rule); padding: clamp(4rem, 8vw, 9rem) clamp(1.3rem, 2.8vw, 3rem); text-align: center; }
.claim h2 { font-weight: 600; text-transform: uppercase; font-size: clamp(34px, 6.2vw, 108px); line-height: 0.96; letter-spacing: -0.048em; margin-inline: auto; max-width: 18ch; }
.claim h2 em { font-style: normal; color: var(--navy); }
.claim p { font-family: var(--mono); font-style: italic; font-size: clamp(17px, 1.6vw, 26px); margin: 2rem auto 0; max-width: 48ch; color: var(--dim); line-height: 1.45; }

/* ---------- Numbers row ---------- */
.nums { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
@media (min-width: 820px) { .nums { grid-template-columns: repeat(4, 1fr); } }
.nums > div { border-left: 1px solid var(--rule); padding: clamp(2rem, 3.8vw, 3.6rem) clamp(1.1rem, 2.2vw, 2.2rem); text-align: center; }
.nums > div:first-child { border-left: 0; }
@media (max-width: 819px) { .nums > div:nth-child(3), .nums > div:nth-child(4) { border-top: 1px solid var(--rule); } .nums > div:nth-child(3) { border-left: 0; } }
.nums dd { font-weight: 600; font-size: clamp(40px, 5.2vw, 92px); line-height: 1; letter-spacing: -0.052em; }
.nums dt { font-family: var(--mono); font-style: italic; font-size: clamp(14px, 1.25vw, 19px); color: var(--dim); margin-top: 0.9rem; line-height: 1.35; }

/* ---------- Bottom strip: form + feed ---------- */
.strip { display: grid; border-top: 1px solid var(--rule); }
@media (min-width: 1000px) { .strip { grid-template-columns: 26rem 1fr; } }
.strip__form { padding: clamp(1.6rem, 3vw, 2.6rem); border-right: 1px solid var(--rule); }
@media (max-width: 999px) { .strip__form { border-right: 0; border-bottom: 1px solid var(--rule); } }
.strip__form h2 { font-weight: 600; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 30px); letter-spacing: -0.035em; margin-bottom: 0.8rem; line-height: 1.05; }
.strip__form .kicker { font-family: var(--mono); font-style: italic; font-size: clamp(14px, 1.15vw, 17px); color: var(--dim); margin-bottom: 1.6rem; line-height: 1.45; }

.f { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.f label { font-family: var(--mono); font-size: 14px; color: var(--dim); font-style: italic; }
.f input, .f textarea, .f select {
  width: 100%; font: inherit; font-family: var(--ui); font-size: 17px; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule); border-radius: 0;
  padding: 0.9rem 1rem; transition: background-color 0.25s var(--ease);
}
.f textarea { min-height: 104px; resize: vertical; }
.f input:hover, .f textarea:hover, .f select:hover { background: var(--wash); }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; background: var(--wash); }
.f .err { font-family: var(--mono); font-size: 11px; color: #b00020; min-height: 1em; font-style: italic; }
.btn-send { width: 100%; background: var(--navy); color: #fff; padding: 1.25em; font-weight: 600; font-size: clamp(14px, 1.1vw, 17px); letter-spacing: 0.05em; text-transform: uppercase; transition: background-color 0.3s var(--ease); }
.orwrite { margin-top: 1.2rem; font-family: var(--mono); font-style: italic; font-size: clamp(14px, 1.15vw, 17px); color: var(--dim); line-height: 1.5; }
.orwrite a { color: var(--navy); border-bottom: 1px solid var(--navy); }
.mailbig { display: inline-block; font-weight: 600; font-size: clamp(20px, 2.4vw, 40px); letter-spacing: -0.038em; border-bottom: 2px solid currentColor; padding-bottom: 4px; line-height: 1.1; word-break: break-word; }
.mailbig:hover { color: var(--navy); }
.btn-send:hover { background: var(--navy-hover); }
.btn-send[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.stat { font-family: var(--mono); font-size: 12px; margin-top: 0.7rem; min-height: 1.3em; font-style: italic; }

.feed { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 22rem); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.feed::-webkit-scrollbar { display: none; }
.feed article {
  scroll-snap-align: start; border-left: 1px solid var(--rule);
  padding: clamp(1.4rem, 2.4vw, 2.2rem); display: grid; align-content: space-between; gap: 1.4rem;
  transition: background-color 0.35s var(--ease);
}
.feed article:first-child { border-left: 0; }
@media (max-width: 999px) { .feed article:first-child { border-left: 0; } }
.feed article:hover { background: var(--wash); }
.feed article { min-width: 0; }
.feed h3 { font-weight: 600; font-size: clamp(20px, 1.75vw, 28px); letter-spacing: -0.033em; line-height: 1.14; overflow-wrap: anywhere; hyphens: auto; }
.feed h3 a { overflow-wrap: anywhere; word-break: break-word; border-bottom: 1px solid currentColor; }
.feed .k { font-family: var(--mono); font-style: italic; font-size: 14px; color: var(--dim); }

/* ---------- Full width hero band ---------- */
.hband {
  position: relative; width: 100%; height: 66vh; min-height: 380px; max-height: 900px;
  overflow: hidden; background: var(--navy);
  border-bottom: 1px solid var(--rule);
  display: grid; place-items: center;
}
/* The photo already carries the wordmark, so it fills the band on its own.
   The logo block below is only the fallback while the file is missing. */
.hband { background: var(--ink); }
.hband__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hband__mark { display: none; }
.hband.is-empty { background: var(--navy); }
.hband.is-empty .hband__mark { display: block; position: relative; z-index: 2; width: min(92%, 1500px); padding-inline: var(--gut); }
.hband.is-empty .hband__mark img { position: static; width: 100%; height: auto; }
.hband__cap {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between;
  padding: clamp(0.9rem, 1.6vw, 1.4rem) clamp(1.1rem, 2.4vw, 2.4rem);
  font-family: var(--mono); font-style: italic; font-size: clamp(13px, 1.1vw, 17px);
  color: var(--white); background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
}

/* ---------- Page transition wipe ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 200; background: var(--navy);
  transform: scaleY(0); transform-origin: bottom; pointer-events: none;
  display: grid; place-items: center;
}
.wipe img { width: clamp(120px, 16vw, 260px); opacity: 0; transition: opacity 0.3s var(--ease); }
.js .wipe { animation: wipeOut 0.75s var(--ease) forwards; }
.wipe.is-leaving { animation: wipeIn 0.55s var(--ease) forwards; }
.wipe.is-leaving img { opacity: 1; }
@keyframes wipeIn { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
@keyframes wipeOut { from { transform: scaleY(1); transform-origin: top; } to { transform: scaleY(0); transform-origin: top; } }

@media (prefers-reduced-motion: reduce) {
  .js .wipe, .wipe.is-leaving { animation: none; transform: scaleY(0); }
}

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--rule); display: grid; }
@media (min-width: 900px) { .foot { grid-template-columns: repeat(3, 1fr); } }
.foot > div { border-left: 1px solid var(--rule); padding: clamp(1.6rem, 3vw, 2.6rem); }
.foot > div:first-child { border-left: 0; }
@media (max-width: 899px) { .foot > div { border-left: 0; border-top: 1px solid var(--rule); } .foot > div:first-child { border-top: 0; } }
.foot h4 { font-family: var(--mono); font-style: italic; font-size: 12px; color: var(--dim); font-weight: 400; margin-bottom: 1rem; }
.foot li + li { margin-top: 0.5rem; }
.foot li a { font-size: 15px; transition: color 0.25s; }
.foot li a:hover { color: var(--navy); }
.foot__mark { width: clamp(130px, 15vw, 190px); height: auto; }

/* ---------- Inner page head ---------- */
.phead { border-bottom: 1px solid var(--rule); padding: clamp(2.5rem, 6vw, 6rem) clamp(1.1rem, 2.4vw, 2.4rem); }
.phead h1 { font-weight: 600; text-transform: uppercase; font-size: clamp(38px, 7.2vw, 124px); line-height: 0.93; letter-spacing: -0.052em; max-width: 16ch; }
.phead p { font-family: var(--mono); font-style: italic; font-size: clamp(17px, 1.6vw, 26px); color: var(--dim); margin-top: 1.9rem; max-width: 54ch; line-height: 1.45; }
.crumb { font-family: var(--mono); font-style: italic; font-size: 12px; color: var(--dim); margin-bottom: 1.5rem; }
.crumb a:hover { color: var(--navy); }

/* ---------- Detail rows ---------- */
.drow { border-top: 1px solid var(--rule); display: grid; }
@media (min-width: 900px) { .drow { grid-template-columns: 22rem 1fr; } }
.drow > * { padding: clamp(1.6rem, 3.2vw, 3rem) clamp(1.1rem, 2.4vw, 2.4rem); }
@media (min-width: 900px) { .drow > * + * { border-left: 1px solid var(--rule); } }
.drow h2 { font-weight: 600; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.042em; }
.drow .gain { font-weight: 600; font-size: clamp(19px, 1.8vw, 28px); letter-spacing: -0.032em; color: var(--navy); line-height: 1.15; margin-top: 1rem; max-width: 20ch; }
.drow .when { font-family: var(--mono); font-style: italic; font-size: clamp(15px, 1.2vw, 18px); color: var(--dim); margin-top: 1.1rem; line-height: 1.45; }
.dlist { display: grid; gap: 0; margin-top: 1.9rem; }
.dlist li { border-top: 1px solid var(--rule); padding: 1.05rem 0; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.45; letter-spacing: -0.015em; }
.dlist li:first-child { border-top: 0; padding-top: 0; }
.dbody { font-size: clamp(18px, 1.6vw, 25px); line-height: 1.48; max-width: 60ch; letter-spacing: -0.02em; }
.dbody + .dbody { margin-top: 1.3rem; }
.note { font-family: var(--mono); font-style: italic; font-size: clamp(15px, 1.2vw, 18px); color: var(--dim); margin-top: 1.8rem; line-height: 1.45; }
.dcta { margin-top: 2.2rem; display: flex; gap: 0.7rem; flex-wrap: wrap; }
.foot__base { border-top: 1px solid var(--rule); padding: 1rem clamp(1.1rem, 2.4vw, 2.4rem); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* ---------- Reveal ---------- */
.js [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rv].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rv] { opacity: 1 !important; transform: none !important; }
  .cell__acts { opacity: 1 !important; transform: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Language ---------- */
[data-lang] { display: none; }
html[lang="en"] [data-lang="en"], html[lang="uk"] [data-lang="uk"] { display: revert; }

/* ============================================================
   RESPONSIVE LAYER
   Desktop is the base above. Everything below tightens the grid
   for tablet and phone and swaps the nav for a drawer.
   ============================================================ */

/* burger: hidden on desktop, shown when the cells collapse */
.nav__burger {
  display: none; order: 3; margin-left: auto;
  width: 56px; align-self: stretch; flex: none;
  border-left: 1px solid var(--rule);
  background: var(--navy);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background-color 0.3s var(--ease);
}
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* drawer: full-screen stacked menu in the grid language */
.drawer {
  position: fixed; left: 0; right: 0; top: calc(var(--bar) + var(--nav)); bottom: 0;
  z-index: 85; background: var(--white);
  display: flex; flex-direction: column;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  overflow-y: auto;
}
.drawer[hidden] { display: flex; }        /* keep it laid out; visibility drives it */
.drawer.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.drawer a {
  flex: 1; min-height: 84px; display: flex; align-items: center;
  padding: 1.2rem clamp(1.2rem, 5vw, 2rem);
  border-top: 1px solid var(--rule);
  font-weight: 600; text-transform: uppercase; letter-spacing: -0.03em;
  font-size: clamp(28px, 8vw, 46px); line-height: 1;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.drawer a:first-child { border-top: 0; }
.drawer a:active, .drawer a:hover { background: var(--wash); padding-left: clamp(1.6rem, 7vw, 2.8rem); }
.drawer__cta { background: var(--navy); color: var(--white); }
.drawer__cta:hover, .drawer__cta:active { background: var(--navy-hover); color: var(--white); }
body.menu-open { overflow: hidden; }

/* ---- tablet and below: swap nav, tighten grid ---- */
@media (max-width: 1000px) {
  .nav__cells { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__brand { border-right: 0; }
  .nav__mark { width: clamp(84px, 22vw, 120px); }
}

/* ---- phones ---- */
@media (max-width: 680px) {
  :root { --nav: 64px; }

  /* bar: keep only the essentials, let email shrink */
  .bar { font-size: 12px; }
  .bar__in { gap: 0.8rem; }
  .bar__l { gap: 0; }
  .bar__l a { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62vw; }
  /* !important beats the html[lang] language rule on these data-lang nodes */
  .bar__l span[data-lang] { display: none !important; }
  .bar__r a { display: none; }
  .bar__r { gap: 0.6rem; }

  .nav__brand i[data-lang] { display: none !important; }
  .nav__brand b { font-size: 22px; }

  /* the wide wordmark photo must show whole, so contain it. No caption on phone. */
  .hband { height: auto; min-height: 0; max-height: none; aspect-ratio: 20 / 11; }
  .hband__photo { object-fit: contain; }
  .hband.is-empty { aspect-ratio: auto; min-height: 200px; padding-block: 2.5rem; }
  .hband__cap { display: none; }

  /* two squares per screen: 2-column grid, tighter type */
  .row--3, .row--4 { grid-template-columns: 1fr 1fr; }
  .cell {
    min-height: 0; aspect-ratio: 1;
    gap: 0.6rem; padding: 1.1rem 0.9rem;
    border-left: 0; border-top: 1px solid var(--rule);
  }
  .cell:nth-child(2n) { border-left: 1px solid var(--rule); }
  .row > .cell:nth-child(1), .row > .cell:nth-child(2) { border-top: 0; }
  /* an odd trailing cell (3rd in a 3-up row) spans the full width */
  .row--3 > .cell:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .cell h2, .cell h3 { font-size: clamp(19px, 6vw, 27px); max-width: 16ch; letter-spacing: -0.03em; }
  .cell p, .cell__gain { font-size: clamp(12px, 3.5vw, 15px); max-width: 26ch; line-height: 1.3; }
  .cell .pill { padding: 0.7em 1.3em; font-size: 11px; }

  .claim { padding: 3.5rem 1.3rem; }
  .claim h2 { font-size: clamp(32px, 9.2vw, 60px); }
  .claim p { font-size: clamp(16px, 4.4vw, 20px); }

  .nums dd { font-size: clamp(38px, 12vw, 60px); }

  .drow > * { padding: 1.6rem 1.3rem; }
  .drow h2 { font-size: clamp(28px, 8vw, 40px); }
  .dbody { font-size: clamp(17px, 4.6vw, 20px); }

  .phead { padding: 2.5rem 1.3rem; }
  .phead h1 { font-size: clamp(36px, 12vw, 66px); }
  .phead p { font-size: clamp(16px, 4.4vw, 20px); }

  /* feed becomes a swipe row that fills the screen width per card */
  .feed { grid-auto-columns: 80%; }
}

/* ---- very small phones ---- */
@media (max-width: 380px) {
  .nav__mark { width: 72px; }
  .nav__brand b { font-size: 19px; }
  .cell h2, .cell h3 { font-size: clamp(26px, 8vw, 34px); }
}

/* ---- large desktops: keep the type from getting silly ---- */
@media (min-width: 1700px) {
  :root { --shell: 1600px; }
}
