/* ==========================================================================
   Farah's Table — styles
   Static, standalone. No external fonts or assets beyond /images.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #17161A;
  --ink-soft:   #55525C;
  --muted:      #7C7883;
  --line:       #E7E5E1;
  --surface:    #F7F6F4;
  --paper:      #FFFFFF;
  --accent:     #D6541F;
  --accent-ink: #A63D12;
  --accent-wash:#FBF0EA;
  --olive:      #4B5D3A;
  --dark:       #1D1C21;

  --radius:     14px;
  --shadow-sm:  0 1px 2px rgba(23,22,26,.05);
  --shadow-md:  0 10px 30px -12px rgba(23,22,26,.18);

  --header-h:   76px;
  --ease:       cubic-bezier(.16,1,.3,1);
  --dur:        620ms;

  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Inter, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -.038em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.85rem); }
h3 { font-size: 1.12rem; letter-spacing: -.018em; line-height: 1.35; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a  { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { fill: currentColor; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: top 220ms var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Shared bits ---------- */
.eyebrow {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .85em;
}
.eyebrow--light { color: #F6C6AF; }

/* Icons are drawn as strokes so they stay light against the clean layout. */
.ico {
  width: 16px; height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--olive { color: var(--olive); }
.ico--lg { width: 28px; height: 28px; color: var(--accent); stroke-width: 1.6; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: .97rem;
  font-weight: 650;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms var(--ease),
              color 200ms var(--ease),
              border-color 200ms var(--ease),
              transform 200ms var(--ease),
              box-shadow 260ms var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(214,84,31,.75);
}
.btn--primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(214,84,31,.85); }
.btn--ghost {
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; border-color: #CFCCC6; transform: translateY(-2px); }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
}
.utility__list { display: flex; gap: 30px; flex-wrap: wrap; }
.utility__list li { display: flex; align-items: center; gap: 8px; }
.utility a { text-decoration: none; border-bottom: 1px solid transparent; transition: color 180ms var(--ease), border-color 180ms var(--ease); }
.utility a:hover { color: var(--accent); border-bottom-color: currentColor; }
.utility__right { margin: 0; letter-spacing: .01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease), background-color 240ms var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px -18px rgba(23,22,26,.55);
}

/* Reading-progress hairline along the bottom edge of the header. */
.progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled .progress { opacity: 1; }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding-block: 12px;
  transition: min-height 240ms var(--ease), padding-block 240ms var(--ease);
}
.site-header.is-scrolled .site-header__inner { min-height: 64px; padding-block: 8px; }

.wordmark {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
  transition: opacity 180ms var(--ease);
}
.wordmark span { color: var(--accent); }
.wordmark:hover { opacity: .78; }
.wordmark--sm { font-size: 1.3rem; margin-right: 0; }

.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 550;
  text-decoration: none;
  padding-block: 6px;
  transition: color 180ms var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.call-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 10px 16px;
  background: var(--surface);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 260ms var(--ease);
}
.call-card:hover {
  background: var(--accent-wash);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.call-card__ico { width: 19px; height: 19px; color: var(--accent); flex: none; }
.call-card__text { display: flex; flex-direction: column; line-height: 1.25; }
.call-card__text small { font-size: .72rem; color: var(--muted); }
.call-card__text strong { font-size: .95rem; color: var(--ink); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 200ms var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(78vh, 660px);
  padding-block: clamp(56px, 9vw, 104px);
  overflow: hidden;
}
/* Extra height below the fold gives the parallax somewhere to travel. */
.hero__media {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 124%;
  z-index: -2;
  transform: translate3d(0, var(--parallax, 0px), 0);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 74% 55%;
  animation: heroIn 1900ms var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.07); } to { transform: scale(1); } }

/* Dark wash from the left so white copy stays legible over the food. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(12,11,14,.90) 0%,
      rgba(12,11,14,.84) 26%,
      rgba(12,11,14,.66) 46%,
      rgba(12,11,14,.38) 64%,
      rgba(12,11,14,.12) 82%,
      rgba(12,11,14,0)   100%);
}
.hero__inner { position: relative; }
.hero__copy { max-width: 620px; }
.hero h1 { color: #fff; text-shadow: 0 1px 24px rgba(0,0,0,.28); }

/* Rotating audience in the headline. Inline-block so the full stop tracks it. */
.rotator { display: inline-block; vertical-align: baseline; }
.rotator__word {
  display: inline-block;
  transition: opacity 340ms var(--ease), transform 340ms var(--ease);
}
.rotator.is-out .rotator__word { opacity: 0; transform: translateY(-.18em); }
.rotator.is-in .rotator__word { opacity: 0; transform: translateY(.18em); }
.hero .eyebrow { color: #F0A47C; }
.hero .lede {
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.9);
  margin: 1.15em 0 2em;
  max-width: 33em;
  text-shadow: 0 1px 16px rgba(0,0,0,.3);
}
/* Ghost button sits on the dark wash here, not on paper. */
.hero .btn--ghost {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.42);
  color: #fff;
}
.hero .btn--ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.75);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

[data-hero] { opacity: 0; transform: translateY(16px); }
.js [data-hero] { animation: heroRise 780ms var(--ease) forwards; }
.js [data-hero="1"] { animation-delay: 120ms; }
.js [data-hero="2"] { animation-delay: 220ms; }
.js [data-hero="3"] { animation-delay: 340ms; }
.js [data-hero="4"] { animation-delay: 460ms; }
html:not(.js) [data-hero] { opacity: 1; transform: none; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding-block: clamp(26px, 3.4vw, 38px);
}
.trust__item { display: flex; align-items: flex-start; gap: 13px; }
.trust__item p { display: flex; flex-direction: column; margin: 0; line-height: 1.4; }
.trust__item strong { color: var(--ink); font-size: .97rem; font-weight: 700; letter-spacing: -.015em; }
.trust__item span { font-size: .86rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(68px, 8.5vw, 128px);
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: #C9C6CE; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 640px; margin-bottom: clamp(38px, 4.6vw, 62px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__intro {
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  margin-top: 1.05em;
  color: var(--ink-soft);
}
.section--dark .section__intro { color: #B4B0BB; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: clamp(16px, 2vw, 24px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), background-color 320ms var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.card__tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: .55em; }
.card p { font-size: .96rem; margin: 0; }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.split__media:hover img { transform: scale(1.04); }
.split--reverse .split__media img { aspect-ratio: 4 / 3; }

.ticks { margin: 1.6em 0 1.6em; display: grid; gap: 13px; }
.ticks li {
  position: relative;
  padding-left: 32px;
  font-size: .98rem;
  color: var(--ink-soft);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .32em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--accent-wash);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 6px; top: .62em;
  width: 7px; height: 3.5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.ticks--light li { color: #C9C6CE; }
.ticks--light li::before { background: rgba(214,84,31,.2); }

.note { font-size: .92rem; color: var(--muted); }
.note a { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(214,84,31,.35); transition: border-color 180ms var(--ease); }
.note a:hover { border-bottom-color: var(--accent); }
.note--light { color: #8E8A97; }

/* ---------- Steps ---------- */
.steps {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: clamp(28px, 3.4vw, 44px);
}
.steps::before {
  content: "";
  position: absolute;
  left: 27px; top: 24px; bottom: 24px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(214,84,31,.18) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1400ms var(--ease) 120ms;
}
.steps.is-drawn::before { transform: scaleY(1); }
html:not(.js) .steps::before { transform: scaleY(1); }

.step { position: relative; display: flex; gap: clamp(18px, 2.4vw, 28px); align-items: flex-start; }
.step__num {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease), color 320ms var(--ease), transform 320ms var(--ease);
}
.step:hover .step__num { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }
.step__body { padding-top: 9px; }
.step__body h3 { margin-bottom: .45em; font-size: 1.2rem; }
.step__body p { font-size: .98rem; margin: 0; max-width: 46em; }

/* ---------- Mosaic ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 215px);
  gap: clamp(10px, 1.3vw, 16px);
}
.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #EDEBE7;
  cursor: pointer;
  transition: box-shadow 380ms var(--ease);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 500ms var(--ease);
}
.tile:hover, .tile:focus-visible { box-shadow: var(--shadow-md); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.055); filter: brightness(1.04); }

/* 12 cells over 3 rows: one 2x2 hero tile, four singles, two half-width
   tiles across the bottom. Fills the grid exactly with no gaps. */
.tile--wide { grid-column: span 2; grid-row: span 2; }
.tile--pair { grid-column: span 2; }

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2px, .3vw, 4px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.benefit {
  background: var(--paper);
  padding: clamp(26px, 3vw, 40px);
  transition: background-color 320ms var(--ease);
}
.benefit:hover { background: var(--surface); }
.benefit h3 { margin: 18px 0 .5em; }
.benefit p { font-size: .95rem; margin: 0; }

/* ---------- Local ---------- */
.local { padding-block: clamp(60px, 7vw, 100px); }
.local__inner { max-width: 720px; margin-inline: auto; text-align: center; }
.local__inner p { font-size: clamp(1rem, 1.35vw, 1.13rem); margin-top: 1.2em; }

/* ---------- Contact ---------- */
.contact {
  background: var(--dark);
  color: #B4B0BB;
  padding-block: clamp(70px, 8.5vw, 120px);
  scroll-margin-top: calc(var(--header-h) + 8px);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -35%; left: 50%;
  width: min(900px, 120%); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(214,84,31,.22) 0%, rgba(214,84,31,0) 62%);
  pointer-events: none;
}
.contact__inner { position: relative; max-width: 760px; margin-inline: auto; text-align: center; }
.contact h2 { color: #fff; }
.contact__lede { font-size: clamp(1rem, 1.35vw, 1.13rem); margin: 1.15em auto 2.2em; max-width: 40em; }

.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 40px 18px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
  box-shadow: 0 16px 40px -18px rgba(214,84,31,.95);
  transition: background-color 220ms var(--ease), transform 260ms var(--ease), box-shadow 320ms var(--ease);
}
.contact__phone svg { width: 1em; height: 1em; flex: none; }
.contact__phone:hover {
  background: #E8642C;
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -18px rgba(214,84,31,1);
}
.contact__alt { margin-top: 1.6em; font-size: .95rem; color: #8E8A97; }
.contact__alt a { color: #E4C9BB; text-decoration: none; border-bottom: 1px solid rgba(228,201,187,.4); transition: color 180ms var(--ease), border-color 180ms var(--ease); }
.contact__alt a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 46px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-right: auto; }
.site-footer__nav a {
  font-size: .9rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.site-footer__nav a:hover { color: var(--accent); border-bottom-color: currentColor; }
.site-footer__fine { width: 100%; margin: 0; font-size: .82rem; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .call-card__text small { display: none; }
}

@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 6px clamp(20px, 5vw, 48px) 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 260ms var(--ease), transform 300ms var(--ease), visibility 260ms;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .cards--3 { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img, .split--reverse .split__media img { aspect-ratio: 16 / 10; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  /* Needs to out-specify `.utility__list li { display: flex }`. */
  .utility__list li.utility__hide-md { display: none; }
  .utility__right { display: none; }
  .utility__list { gap: 20px; }

  /* Narrow screens have no room for a side wash — darken top to bottom. */
  .hero { min-height: 66vh; padding-block: clamp(48px, 12vw, 88px); }
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(12,11,14,.82) 0%,
      rgba(12,11,14,.72) 45%,
      rgba(12,11,14,.78) 100%);
  }
  .hero__media img { object-position: 62% 55%; }
  .hero__copy { max-width: none; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 42vw;
  }
  .tile--wide, .tile--pair { grid-column: span 2; grid-row: span 1; }

  .benefits { grid-template-columns: 1fr; }
  .steps::before { left: 22px; }
  .step__num { width: 46px; height: 46px; font-size: 1rem; }
  .step__body { padding-top: 6px; }
}

@media (max-width: 560px) {
  /* The number must stay on one line beside the wordmark and the burger, so
     everything in the row scales down with the viewport rather than wrapping.
     `.call-card__text strong` already carries white-space: nowrap. */
  .site-header__inner { gap: 10px; }
  .wordmark { font-size: clamp(1rem, 4.4vw, 1.35rem); }
  .call-card { gap: 7px; padding: 8px 12px 8px 10px; }
  .call-card__ico { width: 16px; height: 16px; }
  .call-card__text strong { font-size: clamp(.72rem, 3.1vw, .95rem); }
  .burger { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; gap: 16px; }
  .contact__phone { padding: 15px 26px; gap: 12px; width: 100%; justify-content: center; }
  .mosaic { grid-auto-rows: 46vw; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-hero] { opacity: 1; transform: none; }
  .steps::before { transform: scaleY(1); }
  .tile:hover img, .split__media:hover img { transform: none; }
  .hero__media { transform: none !important; height: 100%; }
  .progress { display: none; }
}

/* Deliberately light-only: don't let UAs invert it. */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}
