/* Senft Family Office — reference restyle.
   Geometry is authored at a 1440px frame; --s is that frame's pixel, so every measure scales with the
   viewport between 1024 and 1440 and freezes at 1:1 above (the frame is centred there). Below 1024 the stacked
   rules take over, with a tablet layer at 700-1023 and phone rules below 700. */

/* ---------- Tokens ---------- */
:root {
  --s: clamp(.7111px, 100vw / 1440, 1px);
  --cream: #F9F1DD;
  --ink: #221818;
  --ink-soft: #6B5E58;
  --sand: #B99A6B;
  --sand-deep: #7A5F35;
  --rule: rgba(34, 24, 24, .16);
  --rule-cream: rgba(249, 241, 221, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-reveal: .7s;
  --font-sans: "Akzidenz", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Schneidler", Georgia, "Times New Roman", serif;
  --card-x: calc(114 * var(--s));
  --card-w: calc(1210 * var(--s));
  --inset: calc(38 * var(--s));
  --rail: calc(36 * var(--s));
}

/* ---------- Fonts (self-hosted subsets, see tools/build_fonts.py) ---------- */
@font-face { font-family: "Akzidenz"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/akzidenz-regular.woff2") format("woff2"); }
@font-face { font-family: "Akzidenz"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/akzidenz-medium.woff2") format("woff2"); }
@font-face { font-family: "Akzidenz"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/akzidenz-bold.woff2") format("woff2"); }
@font-face { font-family: "Schneidler"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/schneidler-regular.woff2") format("woff2"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--sand) transparent; scrollbar-width: thin; }
body {
  margin: 0; min-height: 100dvh; background: var(--ink); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
hr { border: 0; margin: 0; height: 1px; background: var(--rule); }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand-deep); outline-offset: 3px; border-radius: 2px; }
.projects :focus-visible, .nav__toggle:focus-visible { outline-color: var(--cream); }
.skip-link { position: absolute; left: 1rem; top: -3rem; padding: .5rem .75rem; background: var(--ink); color: var(--cream); z-index: 100; font-size: .75rem; }
.skip-link:focus { top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Backdrop: the photograph everything floats on ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; background: var(--ink); }
.backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: sepia(.6) saturate(1.1) brightness(.78); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(58, 38, 20, .42), rgba(34, 24, 24, .58)); }

/* ---------- Cards: cream planes with two inner rails ---------- */
.page { padding: calc(118 * var(--s)) var(--card-x); max-width: 1440px; margin-inline: auto; }
.card { position: relative; background: var(--cream); width: var(--card-w); }
.card::before, .card::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule); pointer-events: none; }
.card::before { left: var(--rail); }
.card::after { right: var(--rail); }
.card--bottom { margin-top: 0; }

/* ---------- Type helpers ---------- */
.small { font-size: max(11px, calc(11 * var(--s))); line-height: 1.3; letter-spacing: .02em; }
.label { font-size: max(11px, calc(11 * var(--s))); line-height: calc(14 * var(--s)); color: var(--ink-soft); letter-spacing: .01em; }
.label--bold { font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; font-size: max(11px, calc(11 * var(--s))); }
.plus { display: inline-block; margin-right: .45em; color: var(--ink-soft); font-weight: 400; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; white-space: nowrap;
  font-size: max(11px, calc(11 * var(--s))); font-weight: 500; letter-spacing: .04em; line-height: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pill--ink { background: var(--ink); color: var(--cream); }
.pill--ink:hover { background: var(--sand-deep); }
.pill--line { border: 1px solid var(--ink); color: var(--ink); text-transform: uppercase; }
.pill--line:hover { background: var(--ink); color: var(--cream); }
.pill--cream { background: var(--cream); color: var(--ink); text-transform: uppercase; }
.pill--cream:hover { background: var(--ink); color: var(--cream); }
.more { font-size: max(11px, calc(12 * var(--s))); font-weight: 500; letter-spacing: .02em; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.more:hover { border-color: var(--ink); }

/* ---------- Nav (83px row) ---------- */
.nav {
  display: grid; align-items: center; height: calc(83 * var(--s)); border-bottom: 1px solid var(--rule);
  grid-template-columns: var(--inset) calc(303 * var(--s)) calc(201 * var(--s)) calc(127 * var(--s)) calc(146 * var(--s)) calc(258 * var(--s)) minmax(calc(100 * var(--s)), auto) 1fr;
  font-size: max(11px, calc(12 * var(--s))); text-transform: uppercase; letter-spacing: .06em; font-weight: 400;
}
.nav__link, .nav__mark, .nav__pill { grid-row: 1; }
.nav__link { justify-self: start; line-height: 1.2; padding: 0; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { border-color: var(--ink); }
.nav__link--1 { grid-column: 2; }
.nav__link--2 { grid-column: 3; }
.nav__mark { grid-column: 4; justify-self: center; width: calc(127 * var(--s)); }
.nav__mark svg { display: block; width: 100%; height: auto; color: var(--ink); }
.nav__mark .eye { fill: var(--cream); }
.nav__link--3 { grid-column: 6; }
.nav__pill { grid-column: 7; width: auto; min-width: calc(100 * var(--s)); padding-inline: 14px; height: calc(32 * var(--s)); }
.nav__toggle { display: none; }
.nav__panel { display: contents; }

/* ---------- Hero (437px region, three-line headline) ---------- */
.hero {
  display: grid; height: calc(437 * var(--s));
  grid-template-columns: var(--inset) calc(478 * var(--s)) calc(121 * var(--s)) calc(258 * var(--s)) calc(80 * var(--s)) calc(193 * var(--s)) 1fr;
  grid-template-rows: auto 1fr;
}
.hero__title {
  grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: calc(89 * var(--s));
  font-weight: 700; font-size: calc(107 * var(--s)); line-height: calc(99 * var(--s)); letter-spacing: -.03em; text-wrap: balance;
}
.hero__lede { grid-column: 4; grid-row: 1; margin-top: calc(153 * var(--s)); min-height: calc(63 * var(--s)); font-size: max(11px, calc(12 * var(--s))); line-height: calc(17 * var(--s)); color: var(--ink); }
.hero__button { grid-column: 4; grid-row: 2; justify-self: start; align-self: start; margin-top: calc(34 * var(--s)); margin-left: calc(-3 * var(--s)); width: auto; min-width: calc(111 * var(--s)); padding-inline: 16px; height: calc(38 * var(--s)); }
.hero__slot { grid-column: 6; grid-row: 1 / span 2; margin-top: calc(102 * var(--s)); height: calc(183 * var(--s)); color: var(--sand); }
.hero__slot svg { width: 100%; height: calc(183 * var(--s)); overflow: visible; }
.hero--page { height: auto; padding-bottom: calc(60 * var(--s)); grid-template-rows: auto; }
.hero--page .hero__title { grid-column: 2 / span 2; grid-row: 1; margin-top: calc(70 * var(--s)); font-size: calc(96 * var(--s)); line-height: calc(87 * var(--s)); }
.hero--page .hero__lede { margin-top: calc(84 * var(--s)); }
.hero--page .hero__lede { grid-row: 1; grid-column: 4 / span 3; min-height: 0; max-width: calc(420 * var(--s)); }

/* ---------- Photo band (full card width) ---------- */
.band { height: calc(364 * var(--s)); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About (721px region) ---------- */
.about {
  display: grid; grid-template-columns: var(--inset) calc(478 * var(--s)) calc(637 * var(--s)) 1fr;
  height: calc(721 * var(--s)); padding-top: calc(121 * var(--s)); align-content: start;
}
.about__label { grid-column: 2; grid-row: 1; justify-self: start; }
.about__thumb { grid-column: 2; grid-row: 2; margin-top: calc(198 * var(--s)); width: calc(174 * var(--s)); }
.about__thumb img { width: calc(174 * var(--s)); height: calc(190 * var(--s)); object-fit: cover; }
.about__thumb-label { margin-top: calc(23 * var(--s)); line-height: calc(14 * var(--s)); justify-self: start; }
.about__body { grid-column: 3; grid-row: 1 / span 2; min-width: 0; }
.about__statement { font-weight: 500; font-size: calc(22 * var(--s)); line-height: calc(36 * var(--s)); min-height: calc(144 * var(--s)); letter-spacing: -.005em; }
.about__rule { margin-top: calc(53 * var(--s)); }
.stats { display: grid; grid-template-columns: calc(344 * var(--s)) 1fr; margin-top: calc(24 * var(--s)); }
.stat { display: grid; align-content: start; justify-items: start; }
.stat__value { font-weight: 700; font-size: calc(182 * var(--s)); line-height: 1; letter-spacing: -.04em; display: inline-flex; align-items: flex-start; font-variant-numeric: tabular-nums lining-nums; }
.stat__accent { display: inline-block; width: calc(26 * var(--s)); height: calc(26 * var(--s)); margin-left: calc(14 * var(--s)); margin-top: calc(40 * var(--s)); background: var(--sand); border-radius: 1px; }
.stat__accent--deep { background: var(--sand-deep); }
.stat__label { margin-top: calc(11 * var(--s)); font-size: max(12px, calc(15 * var(--s))); line-height: calc(18 * var(--s)); color: var(--ink-soft); }
a.stat:hover .stat__label { color: var(--ink); }

/* ---------- Projects: directly on the photograph ---------- */
.projects {
  position: relative; display: grid; color: var(--cream);
  grid-template-columns: var(--inset) calc(774 * var(--s)) calc(360 * var(--s)) 1fr;
  grid-template-rows: auto auto 1fr; padding-top: calc(86 * var(--s)); padding-bottom: calc(98 * var(--s));
}
.projects::before, .projects::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule-cream); }
.projects::before { left: var(--rail); }
.projects::after { right: var(--rail); }
.projects__title { grid-column: 2; align-self: start; margin-top: calc(1 * var(--s)); font-weight: 700; font-size: calc(96 * var(--s)); line-height: calc(87 * var(--s)); letter-spacing: -.03em; }
.projects__button { grid-column: 2; justify-self: start; align-self: start; margin-top: calc(40 * var(--s)); width: auto; min-width: calc(129 * var(--s)); padding-inline: 16px; height: calc(39 * var(--s)); }
.projects__button { border: 1px solid var(--cream); }
.pcards { grid-column: 3; grid-row: 1 / span 3; display: grid; gap: calc(35 * var(--s)); align-content: start; }

/* Project card: cream plane, 5px padding, caption row */
.pcard { background: var(--cream); color: var(--ink); padding: calc(5 * var(--s)); border-radius: 2px; }
.pcard a { display: block; }
.pcard img { width: 100%; height: auto; aspect-ratio: 350 / 346; object-fit: cover; background: #EDE4CC; transition: filter .6s var(--ease); }
.pcard a:hover img { filter: contrast(1.04) saturate(1.05); }
.pcard__row { display: flex; justify-content: space-between; align-items: baseline; gap: calc(8 * var(--s)); min-height: calc(48 * var(--s)); padding: calc(23 * var(--s)) calc(6 * var(--s)) 0; }
.pcard__name { font-size: max(15px, calc(20 * var(--s))); font-weight: 400; letter-spacing: -.01em; line-height: 1; }
.pcard__num { font-size: max(11px, calc(15 * var(--s))); color: var(--ink-soft); line-height: 1; }

/* Card grid (Objekte, Engagement photographs): three columns, same card */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(27 * var(--s)); padding: 0 var(--inset) calc(120 * var(--s)); }
.pgrid .pcard { border: 1px solid var(--rule); }

/* ---------- Side sections (label left, content right): the about grammar reused ---------- */
.side { display: grid; grid-template-columns: var(--inset) calc(478 * var(--s)) calc(637 * var(--s)) 1fr; padding: calc(96 * var(--s)) 0 calc(104 * var(--s)); }
.side + .side { border-top: 1px solid var(--rule); }
.side__label { grid-column: 2; }
.side__body { grid-column: 3; display: grid; gap: calc(28 * var(--s)); min-width: 0; }
.side__statement { font-weight: 500; font-size: calc(22 * var(--s)); line-height: calc(36 * var(--s)); letter-spacing: -.005em; }
.side__text { font-size: max(14px, calc(15 * var(--s))); line-height: 1.65; color: var(--ink); max-width: 68ch; }
.side__text + .side__text { margin-top: 0; }
.side__body .more { justify-self: start; }
.side--tight { padding-top: calc(64 * var(--s)); padding-bottom: calc(72 * var(--s)); }

/* Quotations: the one role Schneidler owns */
.voice { display: grid; gap: calc(14 * var(--s)); }
.voice__quote { font-family: var(--font-serif); font-size: calc(23 * var(--s)); line-height: 1.4; letter-spacing: -.005em; }
.voice__who { font-size: max(11px, calc(12 * var(--s))); line-height: 1.4; color: var(--ink-soft); }
.voice__who b { font-weight: 500; color: var(--ink); }
.voices { display: grid; gap: calc(44 * var(--s)); }
.voices--all .side { padding: calc(56 * var(--s)) 0 calc(60 * var(--s)); }
.voices--all .side__label { font-weight: 700; color: var(--ink); font-size: max(11px, calc(12 * var(--s))); letter-spacing: .06em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: calc(28 * var(--s)) calc(40 * var(--s)); font-size: max(14px, calc(15 * var(--s))); line-height: 1.6; }
.contact__block b { display: block; font-weight: 500; }
.contact a { border-bottom: 1px solid var(--rule); transition: border-color .3s var(--ease); }
.contact a:hover { border-color: var(--ink); }
.contact__wide { grid-column: 1 / -1; }

/* Prose (Impressum, Datenschutz, Engagement texts) */
.prose { display: grid; gap: calc(18 * var(--s)); font-size: max(14px, calc(15 * var(--s))); line-height: 1.65; max-width: 68ch; }
.prose h2 { font-size: max(15px, calc(17 * var(--s))); font-weight: 500; margin-top: calc(14 * var(--s)); }
.prose a { border-bottom: 1px solid var(--rule); }
.prose a:hover { border-color: var(--ink); }
.prose .note { color: var(--ink-soft); }

/* Investitionsfokus: the twenty silhouettes as a compact list */
.focus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(28 * var(--s)) calc(24 * var(--s)); }
.focus__item { display: grid; grid-template-columns: calc(40 * var(--s)) minmax(0, 1fr); gap: calc(12 * var(--s)); align-items: start; }
.focus__item .icon { width: calc(40 * var(--s)); height: calc(40 * var(--s)); color: var(--ink); fill: currentColor; }
.focus__title { font-size: max(13px, calc(14 * var(--s))); font-weight: 500; line-height: 1.3; }
.focus__text { font-size: max(12px, calc(13 * var(--s))); color: var(--ink-soft); line-height: 1.4; }
.focus__title, .focus__text { hyphens: auto; overflow-wrap: break-word; }

/* ---------- Footer (inside the last card) ---------- */
.footer { border-top: 1px solid var(--rule); padding: calc(56 * var(--s)) var(--inset) calc(44 * var(--s)); display: grid; gap: calc(40 * var(--s)); }
.footer__grid { display: grid; grid-template-columns: calc(478 * var(--s)) repeat(2, 1fr); gap: calc(24 * var(--s)); align-items: start; }
.footer__mark { width: calc(34 * var(--s)); color: var(--ink); }
.footer__mark .eye { fill: var(--cream); }
.footer__col { display: grid; gap: calc(8 * var(--s)); font-size: max(12px, calc(13 * var(--s))); line-height: 1.5; }
.footer__col a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.footer__col a:hover, .footer__col a[aria-current="page"] { border-color: var(--ink); }
.footer__head { color: var(--ink-soft); font-size: max(11px, calc(11 * var(--s))); text-transform: uppercase; letter-spacing: .06em; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: calc(8 * var(--s)) calc(24 * var(--s)); border-top: 1px solid var(--rule); padding-top: calc(20 * var(--s)); font-size: max(11px, calc(12 * var(--s))); color: var(--ink-soft); line-height: 1.5; }

/* ---------- Lightbox (Objekte, Engagement) ---------- */
.lightbox { border: 0; padding: 0; background: var(--cream); color: var(--ink); max-width: min(92vw, 1400px); max-height: 92dvh; border-radius: 2px; }
.lightbox::backdrop { background: rgba(34, 24, 24, .82); }
.lightbox__img { max-width: 100%; max-height: 80dvh; width: auto; height: auto; margin: 0 auto; }
.lightbox__bar { display: flex; justify-content: space-between; gap: 1rem; padding: 14px 16px 16px; font-size: 15px; }
.lightbox__close { background: none; border: 0; color: inherit; font: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; border-bottom: 1px solid var(--rule); padding: 0 0 2px; }
.lightbox__close:hover { border-color: var(--ink); }

/* ---------- Motion: one emergence for what arrives (cards, band), reveals share one ease ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes emerge { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
    .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; animation: emerge var(--t-reveal) var(--ease) both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; animation: none; } .pill, .more, .nav__link, .pcard img { transition: none; } }

/* ---------- Stacked (< 1024px): the same card, stacked; the tablet layer below refines 700-1023 ---------- */
@media (max-width: 1023px) {
  :root { --card-x: 16px; --card-w: auto; --inset: 20px; --rail: 12px; }
  .page { padding: 64px 16px 24px; }
  .card { width: auto; }
  .backdrop img { object-position: 50% 30%; }

  .nav { height: 64px; grid-template-columns: var(--inset) 1fr auto var(--inset); align-items: center; font-size: 11px; }
  .nav__mark { grid-column: 2; justify-self: start; width: 96px; grid-row: 1; }
  .nav__pill { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; grid-column: 3; grid-row: 1; height: 30px; padding: 0 14px; background: none; border: 1px solid var(--ink); border-radius: 999px; font: inherit; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: inherit; cursor: pointer; }
  .nav__panel { display: none; grid-column: 1 / -1; grid-row: 2; padding: 4px var(--inset) 18px; }
  .nav__panel[data-open] { display: grid; gap: 0; }
  .nav[data-open] { height: auto; }
  .nav__panel .nav__link { grid-column: 1; grid-row: auto; justify-self: start; padding: 12px 0; font-size: 12px; }
  .nav__panel .nav__pill { display: inline-flex; grid-column: 1; grid-row: auto; justify-self: start; margin-top: 14px; width: 120px; height: 36px; }

  .hero { height: auto; grid-template-columns: var(--inset) 1fr var(--inset); grid-template-rows: auto auto auto; padding-bottom: 36px; }
  .hero__title { grid-column: 2; grid-row: 1; margin-top: 40px; font-size: clamp(44px, 13.6vw, 56px); line-height: .93; }
  .hero__lede { grid-column: 2; grid-row: 2; margin-top: 28px; min-height: 0; font-size: 14px; line-height: 1.5; max-width: 32em; }
  .hero__button { grid-column: 2; grid-row: 3; margin: 22px 0 0; width: 128px; height: 40px; font-size: 12px; }
  .hero__slot { display: none; }
  .hero--page { padding-bottom: 32px; }
  .hero--page .hero__lede { grid-column: 2; max-width: none; }

  .band { height: auto; aspect-ratio: 16 / 10; }

  .about { grid-template-columns: var(--inset) 72px 1fr var(--inset); height: auto; padding: 48px 0 56px; }
  .about__label { grid-column: 2; grid-row: 1; padding-top: 4px; }
  .about__body { grid-column: 3; grid-row: 1; margin-top: 0; }
  .about__thumb { display: none; }
  .about__statement { font-size: 17px; line-height: 26px; min-height: 0; }
  .about__rule { margin-top: 32px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 20px; gap: 16px; }
  .stat__value { font-size: 72px; letter-spacing: -.04em; }
  .stat__accent { width: 12px; height: 12px; margin-left: 6px; margin-top: 14px; }
  .stat__label { font-size: 13px; line-height: 1.3; margin-top: 8px; }

  .projects { grid-template-columns: var(--inset) 1fr var(--inset); grid-template-rows: auto auto auto; padding: 56px 0 64px; }
  .projects__title { grid-column: 2; font-size: 44px; line-height: 42px; }
  .projects__button { grid-column: 2; margin-top: 24px; width: 128px; height: 40px; font-size: 11px; }
  .pcards { grid-column: 2; grid-row: 3; margin-top: 40px; gap: 24px; }
  .hero--page .hero__title { grid-column: 2; grid-row: 1; margin-top: 40px; font-size: clamp(44px, 13.6vw, 56px); line-height: .93; }
  .hero--page .hero__lede { grid-row: 2; margin-top: 24px; }
  .pcard { padding: 5px; }
  .pcard__row { min-height: 41px; padding: 12px 6px 4px; flex-wrap: wrap; gap: 4px 8px; }
  .pcard__name { font-size: 16px; line-height: 1.15; min-width: 0; hyphens: auto; overflow-wrap: break-word; }
  .pcard__num { font-size: 12px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 var(--inset) 56px; }

  .side { grid-template-columns: var(--inset) 72px 1fr var(--inset); padding: 44px 0 48px; }
  .side__label { grid-column: 2; padding-top: 4px; overflow-wrap: anywhere; }
  .side__body { grid-column: 3; margin-top: 0; gap: 22px; }
  .side__statement { font-size: 17px; line-height: 26px; }
  .voice__quote { font-size: 17px; }
  .voices { gap: 32px; }
  .contact { grid-template-columns: 1fr; gap: 20px; }
  .focus { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .focus__item .icon { width: 36px; height: 36px; }

  .footer { padding: 40px var(--inset) 28px; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer__mark { grid-column: 1 / -1; width: 30px; }
  .footer__legal { flex-direction: column; gap: 6px; }
}

@media (max-width: 599px) {
  .focus { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Tablet (700-1023): the composition in two columns, labels beside in a 140px track ---------- */
@media (min-width: 700px) and (max-width: 1023px) {
  :root { --card-x: 24px; --inset: 28px; --rail: 16px; }
  .page { padding: 72px 24px 32px; }
  .hero { grid-template-columns: var(--inset) minmax(0, 1fr) 40px 280px var(--inset); grid-template-rows: auto auto; padding-bottom: 56px; }
  .hero__title { grid-column: 2; grid-row: 1 / span 2; margin-top: 48px; font-size: 72px; line-height: 66px; }
  .hero__lede { grid-column: 4; grid-row: 1; margin-top: 60px; max-width: none; }
  .hero__button { grid-column: 4; grid-row: 2; margin-top: 24px; }
  .hero--page .hero__title { grid-column: 2 / span 3; grid-row: 1; margin-top: 48px; font-size: 64px; line-height: 60px; }
  .hero--page .hero__lede { grid-column: 2 / span 3; grid-row: 2; margin-top: 20px; max-width: 46em; }
  .about, .side { grid-template-columns: var(--inset) 140px minmax(0, 1fr) var(--inset); }
  .about { padding: 56px 0 64px; }
  .about__statement, .side__statement { font-size: 20px; line-height: 30px; }
  .stat__value { font-size: 96px; }
  .stat__accent { width: 14px; height: 14px; margin-left: 8px; margin-top: 18px; }
  .voice__quote { font-size: 19px; }
  .projects { padding: 64px 0 72px; }
  .projects__title { font-size: 56px; line-height: 52px; }
  .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .contact { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .footer__grid { grid-template-columns: 140px 1fr 1fr; gap: 24px; }
  .footer__mark { grid-column: 1; width: 34px; }
}
