/* =========================================================
   Sam Reid Plumbing — styles
   Direction A "The Neighbour": warm paper, deep navy, copper accent.
   Change the brand colours here and the whole site follows.
   ========================================================= */
:root {
  --paper: #fbfaf7;
  --paper-2: #f3f0e9;     /* tinted sections */
  --card: #ffffff;
  --ink: #1c2b3a;         /* navy: text + primary buttons */
  --ink-2: #3d4d5d;
  --muted: #677585;
  --line: #e4e0d6;
  --copper: #b5622e;      /* accent: eyebrows, icons, highlights */
  --copper-soft: #f5e7dc;
  --star: #d49a1e;
  --wa: #25d366;
  --wa-ink: #06371b;
  --ok: #2f9e5b;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(28, 43, 58, .06), 0 8px 24px -12px rgba(28, 43, 58, .18);
  --shadow-lg: 0 24px 60px -24px rgba(28, 43, 58, .35);
  --container: 1160px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--copper);
}
.eyebrow--light { color: #f0b98f; }
.stars { color: var(--star); letter-spacing: 2px; font-size: .95em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.2rem; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(28, 43, 58, .7); }
.btn--dark:hover { background: #243749; }
.btn--wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 8px 20px -10px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: #2fe070; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- top strip ---------- */
.strip { background: var(--ink); color: #d7dfe7; font-size: .85rem; }
.strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: #fff; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47, 158, 91, .6); animation: pulse 2.4s infinite; }
.status.is-closed .status__dot { background: #e0a43a; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,158,91,.55); } 70% { box-shadow: 0 0 0 8px rgba(47,158,91,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,91,0); } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -18px rgba(28,43,58,.5); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--copper-soft); display: grid; place-items: center; }
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand__name em { font-style: normal; font-weight: 500; color: var(--copper); }

.nav__menu { display: flex; gap: 1.6rem; }
.nav__menu a { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .98rem; padding-block: .4rem; position: relative; }
.nav__menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 10px; }
.nav__toggle svg { width: 24px; height: 24px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; letter-spacing: -0.025em; }
.hero h1 span { display: block; color: var(--copper); font-style: italic; font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; padding-top: .3rem; }
.rating { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink-2); font-size: .98rem; justify-self: start; }
.rating strong { color: var(--ink); }
.rating:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }

.hero__visual { position: relative; padding: 0 1.5rem 2.5rem 0; min-width: 0; }
.portrait {
  margin: 0; aspect-ratio: 4 / 5; width: 100%; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative; background: #cdd8de;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .9rem 1.1rem;
}
.badge--years { top: 1.5rem; right: 0; display: flex; align-items: center; gap: .7rem; }
.badge--years strong { font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--copper); }
.badge--years span { font-size: .85rem; line-height: 1.25; font-weight: 600; color: var(--ink-2); }
.badge--quote { left: -1.5rem; bottom: 0; max-width: 290px; display: grid; gap: .35rem; }
.badge--quote p { font-size: .92rem; line-height: 1.45; }
.badge--quote .who { font-size: .8rem; font-weight: 600; color: var(--muted); }

/* ---------- photo placeholders (delete once real photos are in) ---------- */
.ph, .ph-portrait { position: relative; display: grid; place-items: center; }
.ph { background:
  radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 55%),
  linear-gradient(150deg, #d9e2e6, #aebfc8); }
.ph-portrait { background: linear-gradient(165deg, #d5dfe4 0%, #9fb3bf 100%); }
.ph-portrait::before { content: ""; position: absolute; width: 36%; aspect-ratio: 1; border-radius: 50%; background: #e3c2a4; left: 32%; top: 18%; }
.ph-portrait::after { content: ""; position: absolute; width: 70%; height: 44%; left: 15%; bottom: 0; border-radius: 48% 48% 0 0; background: var(--ink); }
.ph-label {
  position: absolute; z-index: 1; left: 12px; top: 12px;
  background: rgba(255,255,255,.85); color: var(--ink-2); font-size: .75rem; font-weight: 600;
  padding: .3rem .6rem; border-radius: 999px; letter-spacing: .02em;
}

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--card); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__grid > div { padding: 1.6rem 1rem; display: grid; gap: .15rem; text-align: center; border-left: 1px solid var(--line); }
.stats__grid > div:first-child { border-left: 0; }
.stats strong { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .92rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--tint { background: var(--paper-2); }
.section__head { display: grid; gap: .7rem; max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.section__head--row > div { display: grid; gap: .7rem; }
.section__sub { color: var(--ink-2); font-size: 1.08rem; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* ---------- services (Hydrowell-style cards) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service { padding: 1.8rem 1.6rem; display: grid; gap: .7rem; align-content: start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6cfc1; }
.service p { color: var(--ink-2); font-size: .98rem; }
.service__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--copper-soft); color: var(--copper); display: grid; place-items: center; margin-bottom: .4rem; }
.service__icon svg, .creds svg, .hours__note svg, .contact__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: none; }
.step { position: relative; padding: 1.8rem 1.6rem; background: var(--card); border-radius: var(--radius-lg); display: grid; gap: .6rem; align-content: start; }
.step p { color: var(--ink-2); font-size: .98rem; }
.step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: .4rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: calc(1.8rem + 20px); left: calc(1.6rem + 52px); right: 1.6rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__photo { margin: 0; aspect-ratio: 5 / 6; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__copy { display: grid; gap: 1.1rem; min-width: 0; }
.about__copy > p:not(.eyebrow) { color: var(--ink-2); max-width: 36em; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding-top: .6rem; }
.creds li { display: flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .98rem; }
.creds svg { color: var(--copper); flex: none; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { margin: 0; aspect-ratio: 3 / 4; max-width: 100%; border-radius: var(--radius); overflow: hidden; position: relative; background: #cdd8de; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile__tag {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(16, 26, 36, .72); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  padding: .3rem .6rem; border-radius: 999px;
}
.tile__tag::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.portrait img { object-position: 72% center; }
.about__photo img { object-position: 78% center; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .8rem;
  color: #fff; font-size: .9rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(16, 26, 36, .78));
}

/* ---------- reviews ---------- */
.google { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem 1rem; transition: box-shadow .2s; }
.google:hover { box-shadow: var(--shadow); }
.google > span:last-child { display: grid; }
.google__score { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; }
.google__g { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 1.3rem/1 var(--body); color: #4285f4; border: 1.5px solid var(--line); }
.google__meta { font-size: .85rem; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.review { margin: 0; padding: 1.8rem 1.6rem; display: grid; gap: 1rem; align-content: space-between; }
.review p { font-family: var(--display); font-size: 1.08rem; line-height: 1.5; font-weight: 500; }
.review footer { font-size: .92rem; color: var(--muted); }
.review footer strong { color: var(--ink); }

/* ---------- area & hours ---------- */
.area { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.area > div:first-child { display: grid; gap: .8rem; }
.regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; padding-top: .8rem; }
.region { display: grid; gap: .5rem; align-content: start; }
.region h3 { font-size: .8rem; font-family: var(--body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.region:first-child { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-weight: 500; font-size: .95rem; }
.hours { padding: 1.8rem; display: grid; gap: 1rem; }
.hours dl { margin: 0; display: grid; }
.hours dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--line); }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.hours dl div.is-today dt, .hours dl div.is-today dd { color: var(--copper); }
.hours__note { display: flex; gap: .6rem; align-items: flex-start; background: var(--copper-soft); color: #7a3e18; border-radius: var(--radius); padding: .9rem 1rem; font-weight: 600; font-size: .95rem; }
.hours__note svg { width: 22px; height: 22px; flex: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq .section__head { margin-bottom: 0; }
.faq__list { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 2.5rem 1.3rem 0; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: #e3e9ef; }
.contact h2 { color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__info { display: grid; gap: 1.1rem; min-width: 0; }
.contact__info > p { color: #c3ceda; font-size: 1.08rem; max-width: 30em; }
.contact__list { display: grid; gap: 1rem; padding-top: .8rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list small { display: block; font-size: .8rem; color: #9fb0c0; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact__list a { color: #fff; font-size: 1.2rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__list a.alt { display: block; font-size: .95rem; font-weight: 500; color: #c3ceda; margin-top: .15rem; }
.contact__ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.08); color: #f0b98f; display: grid; place-items: center; flex: none; }

.form { padding: clamp(1.5rem, 3vw, 2.2rem); color: var(--ink); display: grid; gap: 1rem; border: 0; box-shadow: var(--shadow-lg); }
.form__hint { color: var(--muted); font-size: .92rem; margin-top: -.4rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input[type="text"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem .9rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px var(--copper-soft); }
.field--check { grid-template-columns: auto 1fr; align-items: center; gap: .6rem; }
.field--check input { width: 20px; height: 20px; accent-color: var(--copper); margin: 0; }
.field--check label { font-weight: 500; }
.form__error { color: #b3261e; font-size: .92rem; font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }

/* ---------- footer ---------- */
.footer { background: #142130; color: #9fb0c0; padding-block: 2.2rem; font-size: .92rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer .brand__name { color: #fff; display: block; margin-bottom: .2rem; }
.footer .brand__name em { color: #f0b98f; }

/* ---------- sticky mobile call bar ---------- */
.callbar { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1020px) {
  .nav__menu { gap: 1.1rem; }
  .services, .reviews { grid-template-columns: repeat(2, 1fr); }
  .reviews .review:last-child { display: none; }
}

@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .header__call { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(28,43,58,.4);
    padding: .5rem max(20px, env(safe-area-inset-left, 0px)) 1rem;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { display: block; padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__menu a::after { display: none; }

  .hero__grid, .about, .area, .faq, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 100%; margin: 0 auto; padding: 0 1rem 2.5rem 0; }
  .badge--quote { left: 0; }
  .about__photo { max-width: 460px; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid > div:nth-child(3) { border-left: 0; }
  .stats__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .7rem; }

  /* pinned call bar on phones */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .7rem max(14px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    background: rgba(251, 250, 247, .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .callbar .btn { padding: .95rem 1rem; font-size: 1.02rem; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .strip__info { display: none; }
  .strip__inner { justify-content: center; }
  .services, .reviews { grid-template-columns: 1fr; }
  .tile figcaption { font-size: .8rem; padding: 1.6rem .7rem .6rem; }
  .reviews .review:last-child { display: grid; }
  .hero__actions .btn { flex: 1 1 100%; }
  .badge--quote { max-width: 240px; padding: .75rem .9rem; }
  .badge--years strong { font-size: 1.9rem; }
  .creds { grid-template-columns: 1fr; }
  .section__head--row { align-items: flex-start; }
}

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

/* Some source photos have a thin white edge along the top; zoom slightly to hide it */
.about__photo img.trim-top, .tile img.trim-top { transform: scale(1.05); transform-origin: 75% 100%; }
.tile:hover img.trim-top { transform: scale(1.09); }
