/* ==========================================================================
   Taylor Petersen — portfolio
   Type: Fraunces (headlines) + Inter (everything else)
   ========================================================================== */

:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --ink: #141414;
  --ink-2: #47463f;
  --muted: #77746c;
  --line: #e4e0d7;
  --accent: #c2410c;
  --accent-soft: #fbece3;
  --good: #2f9e44;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 24px rgba(20,20,20,.06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -.015em; text-wrap: balance; color: var(--ink); }
p { margin: 0 0 1em; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 14px;
}
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholders: anything in brackets still needs real information. */
.tk {
  font: 600 .8em/1.4 var(--sans); color: var(--accent);
  background: var(--accent-soft); border: 1px dashed rgba(194,65,12,.5); border-radius: 4px;
  padding: 0 .35em; font-style: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.eyebrow {
  display: inline-block;
  font: 600 12.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}

/* ---------- Today bar ---------- */
.today {
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.today .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.today__date { display: inline-flex; align-items: center; gap: 8px; }
.today__date b { font-weight: 600; color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(47,158,68,.15); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247,245,241,.88);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; }
.brand { font: 500 22px/1 var(--serif); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: rgba(20,20,20,.05); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(20,20,20,.07); }
.nav a.nav__cta { background: var(--ink); color: #fff; margin-left: 6px; }
.nav a.nav__cta:hover { background: var(--accent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--sans);
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 14px 22px; text-decoration: none; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(20,20,20,.25); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
.section-head p { margin: 0; color: var(--muted); max-width: 40ch; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; margin-bottom: 28px; }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 25%; border-radius: 24px; box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; left: -14px; bottom: 22px;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow);
  padding: 12px 16px; font-size: 13.5px; line-height: 1.35;
}
.hero__badge b { display: block; font: 600 22px/1.1 var(--serif); }

/* ---------- Strengths ---------- */
.strengths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.strength {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}
.strength__num { font: 500 14px var(--sans); color: var(--accent); }
.strength h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; margin: 10px 0 12px; }
.strength p { margin: 0; color: var(--ink-2); }

/* ---------- Work cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card__img { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tag { font: 600 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.card h3 { font-size: 24px; line-height: 1.15; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.card__stat { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink-2); }
.card__stat strong { font: 500 28px/1 var(--serif); color: var(--ink); white-space: nowrap; }
.card__more { margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--accent); }

.mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.mini__link { display: block; text-decoration: none; color: inherit; }
.mini__link:hover { color: inherit; }
.mini__link:hover h3 { color: var(--accent); }
.mini .card__more { display: inline-block; margin-top: 6px; font-size: 14px; }
.mini figure { margin: 0; }
.mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.mini figcaption { margin-top: 12px; }
.mini h3 { font-size: 19px; line-height: 1.2; }
.mini p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.mini q { display: block; margin-top: 4px; font-size: 14px; font-style: italic; color: var(--ink-2); }

/* ---------- About teaser ---------- */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.split h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; margin-bottom: 18px; }
.split p { color: var(--ink-2); }

.quote {
  margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent);
  font: italic 400 clamp(22px, 2.4vw, 28px)/1.35 var(--serif); color: var(--ink);
}
.quote cite { display: block; margin-top: 12px; font: normal 500 14px var(--sans); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.75); margin: 0; }
.cta .btn-row { justify-content: flex-end; }
.cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

/* ---------- Case study pages ---------- */
.back { display: inline-flex; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.case-head { padding-block: clamp(36px, 6vw, 72px) 32px; }
.case-head h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.025em; max-width: 18em; margin-bottom: 20px; }
.case-head .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 40em; margin: 0; }

.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px; margin: 0 0 36px; }
.meta dt { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.meta dd { margin: 0; font-size: 15px; line-height: 1.45; }

.hero-img { margin: 0 0 clamp(40px, 6vw, 64px); border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.hero-img--cover img { object-fit: cover; }

.case-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose .quote { margin: 32px 0; }

.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { font: 600 12.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stats li + li { border-top: 1px solid var(--line); padding-top: 16px; }
.stats strong { display: block; font: 500 34px/1.05 var(--serif); letter-spacing: -.02em; }
.stats span { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 4px; }
.panel .quote { font-size: 18px; border-left-width: 2px; padding-left: 14px; }
.panel .quote cite { font-size: 13px; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 7vw, 80px); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.gallery--contain img { object-fit: contain; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.45; }

.next {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: clamp(56px, 8vw, 96px); padding: 28px 0; border-top: 1px solid var(--line);
  text-decoration: none;
}
.next small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.next span { font: 500 clamp(22px, 2.6vw, 32px)/1.15 var(--serif); }
.next b { font-size: 28px; font-weight: 400; transition: transform .2s ease; }
.next:hover b { transform: translateX(6px); }

/* ---------- About page ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-size: 14px; color: var(--muted); padding-top: 3px; }
.timeline b { display: block; font: 500 20px/1.25 var(--serif); }
.timeline span { color: var(--ink-2); font-size: 15.5px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.skill-group h3 { font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.facts { margin: 0; display: grid; gap: 14px; }
.facts dt { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 15.5px; line-height: 1.45; }

/* ---------- Recommendations ---------- */
.recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rec { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.rec blockquote { margin: 0 0 20px; font: italic 400 19px/1.45 var(--serif); color: var(--ink); }
.rec figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--muted); }
.rec figcaption b { display: block; font-weight: 600; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(20,20,20,.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.form-status { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); font-size: 15px; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 16px; font-weight: 500; word-break: break-word; }

/* ---------- 404 ---------- */
.lost { text-align: center; max-width: 720px; margin: 0 auto; padding-block: clamp(48px, 8vw, 96px); }
.lost .code { font: 500 clamp(80px, 16vw, 160px)/1 var(--serif); letter-spacing: -.04em; margin: 0 0 8px; }
.lost .code span { color: var(--accent); font-style: italic; }
.lost h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.lost p { color: var(--ink-2); }
.lost img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 55%; border-radius: 20px; margin: 28px 0; }
.lost .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 96px); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }

/* ==========================================================================
   The elephant
   ========================================================================== */
.ele-trigger {
  appearance: none; border: 0; background: none; padding: 2px; cursor: pointer;
  color: var(--ink-2); display: inline-flex; vertical-align: middle; border-radius: 6px;
}
.ele-trigger svg { width: 22px; height: auto; transition: transform .25s ease, color .25s ease; }
.ele-trigger:hover svg, .ele-trigger:focus-visible svg { transform: rotate(-10deg) scale(1.2); color: var(--accent); }

.parade {
  position: fixed; left: 0; z-index: 80;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 4px);
  width: clamp(96px, 12vw, 140px);
  pointer-events: none; will-change: transform;
}
.parade svg { width: 100%; height: auto; display: block; color: var(--ink); overflow: visible; animation: bob .46s ease-in-out infinite alternate; }
.parade .leg { transform-box: fill-box; transform-origin: 50% 0; }
.parade .leg-a { animation: step .46s ease-in-out infinite alternate; }
.parade .leg-b { animation: step .46s ease-in-out infinite alternate-reverse; }
.parade .trunk { transform-box: fill-box; transform-origin: 0 0; animation: sway .92s ease-in-out infinite alternate; }
.parade .tail { transform-box: fill-box; transform-origin: 100% 0; animation: sway .6s ease-in-out infinite alternate-reverse; }
.parade.trumpet .trunk { animation: toot .9s ease-out forwards; }
@keyframes step { from { transform: rotate(-13deg); } to { transform: rotate(13deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes sway { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
@keyframes toot { 0% { transform: rotate(0); } 40%, 100% { transform: rotate(-62deg); } }

.parade__bubble {
  position: absolute; bottom: 92%; left: 62%; white-space: nowrap;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow);
  padding: 6px 12px; font: 700 14px var(--sans);
  opacity: 0; transform: scale(.6); transform-origin: 0 100%;
  transition: opacity .2s ease, transform .25s cubic-bezier(.3,1.6,.5,1);
}
.parade.trumpet .parade__bubble { opacity: 1; transform: scale(1); }

.footprint {
  position: fixed; z-index: 79; pointer-events: none;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 3px);
  width: 15px; height: 8px; border-radius: 50%;
  background: rgba(20,20,20,.55);
  animation: inkfade 5.5s ease-in forwards;
}
@keyframes inkfade { 0% { opacity: .8; } 100% { opacity: 0; } }

.bulletin {
  position: fixed; left: 50%; z-index: 90;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  transform: translate(-50%, 160%);
  width: min(420px, calc(100vw - 32px));
  background: var(--surface); border-radius: 16px; box-shadow: 0 12px 40px rgba(20,20,20,.18);
  padding: 16px 44px 16px 18px;
  transition: transform .45s cubic-bezier(.2,1.3,.4,1);
}
.bulletin.is-in { transform: translate(-50%, 0); }
.bulletin b { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 2px; }
.bulletin p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.bulletin button { position: absolute; top: 8px; right: 10px; appearance: none; background: none; border: 0; cursor: pointer; font-size: 22px; line-height: 1; color: var(--muted); padding: 4px 6px; }

@media (prefers-reduced-motion: reduce) {
  .parade svg, .parade .leg, .parade .trunk, .parade .tail { animation: none !important; }
  .bulletin, .card, .card__img img, .btn { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .recs { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 1fr 1fr; }
  .case-body { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .today .wrap { font-size: 12.5px; }
  .today .status { display: none; }
  .brand { font-size: 19px; }
  .nav a { padding: 7px 9px; font-size: 14.5px; }
  .nav a.nav__cta { margin-left: 2px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__photo { order: -1; max-width: 420px; }
  .hero__photo img { aspect-ratio: 5 / 4; object-position: 62% 22%; }
  .hero__badge { left: 12px; bottom: 12px; }
  .strengths, .cards, .split, .contact-grid, .aside, .field-row { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .mini h3 { font-size: 16.5px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .split img { aspect-ratio: 5 / 4; }
}

@media (max-width: 400px) {
  .brand span { display: none; }
}
