/* Studio Saltwater
   Static site stylesheet. No framework, no build step required.
   Tokens are at the top; everything else derives from them. */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --orange: #EF7102;
  --grey: #f2f2f0;
  --line: #d9d9d6;
  --muted: #6d6d6a;

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: 5vw;              /* 72px at 1440 */
  --section: 6rem;

  --card-w: 324px;
  --card-h: 540px;
  --field-pad: 24px;
  --card-radius: 6px;

  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* Text-selection highlight changes color by section (data-sel on the section). */
:root { --sel: #ff3b30; --sel-fg: #fff; }
[data-sel="red"]     { --sel: #ff3b30; --sel-fg: #fff; }
[data-sel="sky"]     { --sel: #38a9ff; --sel-fg: #fff; }
[data-sel="magenta"] { --sel: #e5007d; --sel-fg: #fff; }
[data-sel="yellow"]  { --sel: #ffd400; --sel-fg: #111; }
[data-sel="green"]   { --sel: #1fb04a; --sel-fg: #fff; }
[data-sel="blue"]    { --sel: #1e63ff; --sel-fg: #fff; }
[data-sel="purple"]  { --sel: #7a2cff; --sel-fg: #fff; }
[data-sel="orange"]  { --sel: #ef7102; --sel-fg: #fff; }
.accent { color: var(--sel); }
.eyebrow.eyebrow--accent { color: var(--sel); }   /* outranks .eyebrow's muted color regardless of order */
::selection { background: var(--sel); color: var(--sel-fg); }
::-moz-selection { background: var(--sel); color: var(--sel-fg); }
img::selection { background: transparent; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;   /* the scroll-driven scale spills a few px to the right; clip (not hidden) leaves position: sticky alone */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section + .section { padding-top: 0; }

/* Type scale (tracks the template: 12vw title, 6vw section title, tight tracking) */
.display {
  font-size: clamp(2.6rem, 9.4vw, 8.5rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.06em;
  text-align: center;
}
.title-xl {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.title-l {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.title-m {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 44ch;
}
.body-l { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.45; letter-spacing: -0.02em; max-width: 62ch; }
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.muted { color: var(--muted); }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}
.nav__logo img { height: 26px; width: auto; }
.burger {
  width: 40px; height: 40px; border: 0; background: transparent; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Overlay menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--paper); overflow-y: auto;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.menu.is-open { visibility: visible; transform: none; transition: transform .6s var(--ease), visibility 0s; }
.menu__links li, .menu__work-title, .menu__col { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.menu.is-open .menu__links li, .menu.is-open .menu__work-title, .menu.is-open .menu__col { opacity: 1; transform: none; }
.menu.is-open .menu__links li:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__links li:nth-child(2) { transition-delay: .32s; }
.menu.is-open .menu__links li:nth-child(3) { transition-delay: .39s; }
.menu.is-open .menu__work-title { transition-delay: .3s; }
.menu.is-open .menu__col:nth-child(1) { transition-delay: .38s; }
.menu.is-open .menu__col:nth-child(2) { transition-delay: .44s; }
.menu.is-open .menu__col:nth-child(3) { transition-delay: .5s; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; }
.menu__top { display: flex; align-items: center; justify-content: space-between; padding-top: 1.35rem; padding-bottom: 1.35rem; }
.menu__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(2rem, 6vw, 5rem) 0 4rem; }
.menu__work-title { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.05; letter-spacing: -0.05em; font-weight: 500; margin-bottom: 1.5rem; }
.menu__work-title a { display: inline-block; transition: transform .35s var(--ease); }
.menu__work-title a:hover { transform: translateX(.15em); }
.menu__work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.menu__col .eyebrow { margin-bottom: .75rem; }
.menu__col li { font-size: .95rem; padding: .18rem 0; letter-spacing: -0.01em; }
.menu__col a:hover { color: var(--orange); }
.role-link { text-decoration: underline; text-underline-offset: 3px; }
.role-link:hover { color: var(--orange); }
.menu__links li { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.05; letter-spacing: -0.05em; font-weight: 500; }
.menu__links a { display: inline-block; transition: transform .35s var(--ease); }
.menu__links a:hover { transform: translateX(.15em); }
body.menu-open { overflow: hidden; }
.nav__links { display: flex; align-items: center; gap: 2rem; font-size: 0.95rem; letter-spacing: -0.01em; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ink); color: var(--paper);
  border-radius: 0; padding: .75rem 1.2rem;
  font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--orange); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.nav__links .btn::after { display: none; }

/* ---------- Custom cursor: a dot that inverts whatever it passes over ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 1000;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-text { width: 64px; height: 64px; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor input, body.has-cursor textarea, body.has-cursor label { cursor: none; }
}

/* ---------- Hero (demo-5 pattern: display title + cycling image block) ---------- */
.hero { padding-top: clamp(2rem, 6vw, 5rem); }
.hero__title { position: relative; z-index: 1; margin: 0 auto; }
.hero__media {
  position: relative;
  margin-top: -0.5em;                /* the image block sits under the lower half of the headline's second line */
  font-size: clamp(2.6rem, 9.4vw, 8.5rem);
  aspect-ratio: 16 / 9;                /* matches the 16:9 site screenshots; frames are 2000x1125 */
  overflow: hidden;
  border-radius: 4px;
  background: var(--grey);
}
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  visibility: hidden;                 /* hard cut, no fade: the template's flash */
}
.hero__media img.is-active { visibility: visible; }

/* ---------- Intro statement with inline image spans ---------- */
.intro { font-size: clamp(1.6rem, 4.2vw, 4.2rem); line-height: 1.12; letter-spacing: -0.045em; font-weight: 500; }
.intro .img-span {
  display: inline-block; vertical-align: -0.18em;
  width: 2.1em; height: 1.1em; border-radius: 0.12em; overflow: hidden;
  margin: 0 0.08em;
  background: var(--grey);
}
.intro .img-span img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Work rows ---------- */
.work__head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 1rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.row { margin-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.row:last-child { margin-bottom: 0; }
.row__head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1rem;
}
.row__count { font-variant-numeric: tabular-nums; }

/* ---------- Pinned sections (homepage) ----------
   Layout is unchanged except that each pinned section gets --hold of extra scroll length.
   main.js sets the .pin height to its content plus --hold and centers the content in the
   viewport with --pin-top. The section therefore scrolls in, holds on screen for --hold worth
   of scrolling, then scrolls on. Nothing covers anything. Runs on phones too; main.js adds
   .is-pinned per section, and only when that section actually fits the viewport. */
:root { --hold: 22vh; --grow: 0.04; }   /* --grow: peak scale-up while a section is held (0.04 = 4%) */
.pin.is-pinned > .pin__inner { position: sticky; top: var(--pin-top, 0px); transform-origin: 0 50%; will-change: transform; }   /* scales from the left edge: left alignment holds, growth spills right */
.pin.is-pinned > .section.pin__inner { transform-origin: var(--gutter) 50%; }   /* the intro section carries its own gutter padding, so anchor at the text edge */

/* The field. Cards are absolutely positioned and fanned by --step (set by JS).
   Hovering a card slides every card to its right by --reveal so it is fully exposed.
   This is the template's stacked-card interaction, in CSS.
   Each card carries its own frame color in --c (set inline from projects.json). */
.fan {
  --step: 121.5px;                                  /* one value for every row, set in main.js */
  --reveal: calc(var(--card-w) - var(--step));
  position: relative;
  height: var(--card-h);
  overflow: hidden;
}
.card {
  --c: var(--orange);
  --frame: 12px;
  position: absolute;
  top: 0;
  left: calc(var(--i) * var(--step));
  width: var(--card-w);
  height: var(--card-h);
  display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border: var(--frame) solid var(--c);
  border-radius: 2px;
  padding: 8px 10px 12px;
  box-shadow: -14px 0 32px -18px rgba(0,0,0,.45);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  will-change: transform;
}
.card:hover ~ .card,
.card.is-open ~ .card,                                /* touch: tapping a card opens it, main.js sets .is-open */
.card:focus-within ~ .card { transform: translateX(var(--reveal)); }
.card:hover, .card:focus-within { box-shadow: -14px 0 40px -14px rgba(0,0,0,.55); }
.card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.card__thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--grey);
  flex: 0 0 auto;
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__thumb--site { aspect-ratio: 4 / 3; }
.card__thumb--site img { object-position: top center; }
.card:hover .card__thumb img { transform: scale(1.03); }
.card__meta { margin-top: 14px; font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__title { margin-top: .35rem; font-size: 1.35rem; line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
.card__tagline { margin-top: .5rem; font-size: 0.92rem; line-height: 1.35; color: var(--muted); letter-spacing: -0.01em; }
.card__cta {
  margin-top: auto; padding-top: 1rem;
  font-size: 0.78rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 500;
  display: flex; align-items: center; gap: .4rem;
}
.card__cta svg { width: 12px; height: 12px; color: var(--c); transition: transform .35s var(--ease); }
.card__cta:hover svg { transform: rotate(45deg); }   /* ↗ becomes → when "View project" or the arrow is hovered */

/* Touch / narrow: the same fanned stack, scrolled sideways instead of hovered.
   main.js sets --step, --reveal and --rail per row; ::after is the in-flow block that
   gives the scroller its width, since every card is absolutely positioned. */
@media (max-width: 860px), (hover: none) {
  .fan {
    overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fan::-webkit-scrollbar { display: none; }
  .fan::after { content: ''; display: block; width: var(--rail, 100%); height: 1px; }
  .card {
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    box-shadow: -10px 0 26px -18px rgba(0,0,0,.45);
  }
  .card.is-open { box-shadow: -14px 0 34px -16px rgba(0,0,0,.5); }
  .card.is-open .card__cta svg { transform: rotate(45deg); }   /* the open card's arrow reads as "tap again to open" */
}

/* ---------- Contact form (footer column and menu overlay) ---------- */
.form { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.form__field { display: flex; flex-direction: column; gap: .15rem; }
.form__field--full { grid-column: 1 / -1; }
.form__field span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.form__field input, .form__field textarea {
  font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  padding: .3rem 0; outline: none; letter-spacing: -0.01em; font-size: .95rem; line-height: 1.3;
  transition: border-color .25s;
}
.form__field textarea { resize: vertical; min-height: 2.6rem; }
.form__field input:focus, .form__field textarea:focus { border-bottom-color: var(--orange); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: .25rem; }
.form__actions .btn { border: 0; cursor: pointer; }
.form__status { font-size: .9rem; color: var(--muted); }
.form__status.is-error { color: #b42318; }
.form__status.is-ok { color: var(--ink); }

/* ---------- Labeled blocks (project page): label column + content column, no rules ---------- */
.blocks { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: clamp(3rem, 6vw, 5rem); }
.block { display: grid; grid-template-columns: 1fr 3fr; gap: 1.5rem; align-items: start; }
.block > .eyebrow { padding-top: .35em; position: sticky; top: 1.5rem; }   /* label stays put while its content scrolls */
.deliverables li { padding: .3rem 0; font-size: clamp(1.05rem, 1.35vw, 1.3rem); letter-spacing: -0.02em; }

/* ---------- Testimonial quote (project page) ---------- */
.quote__block {
  --c: var(--orange);
  position: relative;
  margin: 0;
  padding-left: clamp(2.5rem, 6vw, 5rem);
  max-width: 60ch;
}
.quote__mark {
  position: absolute; left: 0; top: -0.12em;
  font-size: clamp(4rem, 8vw, 7rem); line-height: 1; font-weight: 500;
  color: var(--c);
}
.quote__headline { max-width: 24ch; }
.quote__text { margin-top: 1.1rem; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.4; letter-spacing: -0.02em; }
.quote__headline + .quote__text { margin-top: 1.5rem; }
.quote__by { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .15rem; font-size: .95rem; padding-left: 2rem; position: relative; }
.quote__by::before { content: ""; position: absolute; left: 0; top: .7em; width: 1.25rem; height: 1px; background: var(--c); }
.quote__by cite { font-style: normal; font-weight: 500; }
.quote__by span { color: var(--muted); }

/* ---------- Project page ---------- */
.project__title { padding-top: clamp(1.5rem, 4vw, 3.5rem); }
.project__hero {
  margin-top: clamp(1.25rem, 3vw, 2.5rem);
  aspect-ratio: 16 / 7;
  overflow: hidden; border-radius: 4px;
  background: var(--grey);
}
.project__hero img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.project__hero--contain img { object-fit: contain; padding: clamp(1.5rem, 6vw, 6rem); }
.project__hero--dark { background: var(--ink); }
.project__hero[style*="--hero-bg"] { background: var(--hero-bg); }
.project__hero[style*="--hero-bg"] img { padding: clamp(1rem, 3vw, 2.5rem); }
.project__hero[style*="--hero-bg:#ffffff"] { aspect-ratio: 16 / 6; }
.project__hero[style*="--hero-bg:#ffffff"] img { width: 56%; margin: 0 auto; padding: clamp(1rem, 4vw, 3.5rem) 0; }

.meta {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  font-size: .9rem;
}
.meta .eyebrow { margin-bottom: .35rem; }
.meta__link { text-decoration: underline; text-underline-offset: 3px; }
.meta__link:hover { color: var(--orange); }
.project__lead { margin-top: clamp(2rem, 4vw, 3.5rem); }
.project__lead .lead + .lead { margin-top: 1rem; }
.project__body { margin-top: clamp(2.5rem, 5vw, 4.5rem); display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.project__body img { border-radius: 4px; width: 100%; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); }
.gallery figure { margin: 0; overflow: hidden; border-radius: 4px; background: var(--grey); aspect-ratio: 4 / 3; }
.gallery figure.is-wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.gallery figure.is-contain img { object-fit: contain; padding: clamp(1rem, 4vw, 3rem); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.next { margin-top: var(--section); }
.next__link {
  display: block; position: relative; margin-top: 1.25rem;
  aspect-ratio: 16 / 7; overflow: hidden; border-radius: 4px; background: var(--ink);
}
.next__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.next__link::after {
  content: ""; position: absolute; inset: 0;
  background: var(--c);
  opacity: .78;
  transition: opacity .5s;
}
.next__link:hover::after { opacity: .7; }
.next__link--light .next__label { color: var(--ink); }
.next__link--light .next__label .eyebrow { color: rgba(17,17,17,.7); }
.next__link:hover img { transform: scale(1.03); }
.next__label { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(1.5rem, 4vw, 3rem); text-align: center; color: var(--paper); padding: 0 1rem; }
.next__label .eyebrow { color: rgba(255,255,255,.7); margin-bottom: .5rem; }

/* ---------- About page ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stats b { display: block; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stats span { font-size: .9rem; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.team__photo {
  aspect-ratio: 1 / 1; overflow: hidden; border-radius: 3px; background: var(--grey);
  margin-bottom: .9rem;
}
.team__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team__member:hover .team__photo img { transform: scale(1.03); }
/* Lead paragraph under the About headline */
.about__intro {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.25vw, 1.25rem);
  line-height: 1.5; color: var(--muted); letter-spacing: -0.01em;
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.values { grid-template-columns: repeat(2, 1fr); }
.team h3, .values h3 { margin-bottom: .4rem; }
.team p, .values p { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { padding-top: 3.5rem; padding-bottom: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.footer__link { text-decoration: underline; text-underline-offset: 2px; }
.footer__col a:hover { color: var(--orange); }
.footer__col .eyebrow { margin-bottom: .6rem; }
.footer__col li { padding: .15rem 0; font-size: .95rem; }
.footer__bottom {
  margin-top: 2rem; padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --card-w: 280px; --card-h: 480px; }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; --section: 4rem; --card-w: min(66vw, 264px); --card-h: 430px; --grow: 0.025; --hold: 20vh; }
  .nav__links { gap: 1.1rem; font-size: .9rem; }
  .nav__links .btn { padding: .5rem .85rem; }
  .team, .values, .stats { grid-template-columns: 1fr 1fr; }
  .meta { grid-template-columns: 1fr 1fr; }
  .block { grid-template-columns: 1fr; gap: .75rem; }
  .block > .eyebrow { position: static; }   /* single column: a sticky label would ride over the content below it */
  .footer__grid { grid-template-columns: 1fr; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu__work { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero__media { aspect-ratio: 4 / 3; }
  .project__hero, .next__link { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .nav__links a:not(.btn) { display: none; }
  .values, .stats, .gallery { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }   /* headshots stay two up; full width is too big */
  .gallery figure.is-wide { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
