/* ==========================================================================
   Pixel + Ruby — site styles
   Palette and type per the brand wireframe (design/wireframe.png).
   ========================================================================== */

/* Fonts are self-hosted rather than pulled from Google. It removes a
   render-blocking stylesheet plus two third-party connections, and keeps
   visitor IPs off fonts.gstatic.com. Subsets and unicode-ranges are the ones
   Google serves; the latin-ext files only download if a glyph needs them.
   Inter is variable, so one file covers 400–600. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --cream: #faf6f0;
  --ink: #3a3632;
  --white: #fff;
  --peach: #f5c07a;
  --peach-hover: #f7cd94;

  /* Brand blue, per client guideline. Used everywhere — buttons, links, the
     active nav pill, decorative surfaces. Note: at 2.5:1 against cream this
     is under the WCAG AA text minimum of 4.5:1; kept as specified anyway
     (see the README's before-launch list). */
  --blue: #4ea8c8;
  --blue-hover: #3a8aa8;

  /* How-it-works panel background, per client's pick from the colour
     comparison (formerly panel-colours.html). Kept separate from --blue so
     re-tuning the accent blue doesn't also recolor the panel. */
  --panel-blue: #1295d8;

  /* Lighter companions to the brand pair, used only for the gradient ring
     around the team avatars. Decorative — nothing reads text against them. */
  --blue-soft: #8fd0e6;
  --peach-soft: #f8d5a5;

  /* Muted ink steps. Every value here clears 4.5:1 on its intended background. */
  --ink-muted: rgba(58, 54, 50, 0.74); /* on cream  — 5.1:1 */
  --ink-muted-card: rgba(58, 54, 50, 0.68); /* on white  — 4.5:1 */
  --ink-muted-peach: rgba(58, 54, 50, 0.8); /* on peach  — 4.6:1 */
  --ink-muted-footer: rgba(58, 54, 50, 0.7); /* on cream  — 4.6:1 */
  --cream-muted: rgba(250, 246, 240, 0.7); /* on ink    — 6.3:1 */

  --hairline: rgba(58, 54, 50, 0.08);
  --hairline-strong: rgba(58, 54, 50, 0.1);
  --field-border: rgba(58, 54, 50, 0.55); /* 3.2:1 — WCAG 1.4.11 for controls */

  --radius-card: 20px;
  --radius-panel: 24px;
  --radius-btn: 12px;
  --shell: 1120px;

  /* Layout values that used to be computed per-viewport in the design export.
     Desktop here; the 720px media query below carries the mobile set. */
  --header-pad: 14px 40px;
  --header-h: 94px;
  --logo-h: 82px;
  --sec-pad-x: 40px;
  --hero-h: 440px;
  --hero-text-pad: 52px 40px 8px;
  --how-sec-pad: 72px 40px;
  --how-inner-pad: 56px 40px;
  --steps-cols: repeat(3, 1fr);
  --benefits-cols: repeat(3, 1fr);
  --benefits-top-pad: 24px;
  --cta-pad: 56px 40px;
  --form-pad: 40px;
  --name-cols: 1fr 1fr;
  --team-cols: repeat(4, 1fr);
  --about-pad: 56px 40px 88px;
  --nav-pad: 10px 20px;
  --nav-size: 15px;
  --nav-gap: 8px;
}

/* Three storyboard steps side by side stop reading below roughly this width —
   the illustrations get too small to make out the mat and the sensor. They
   stack into one centred column from here down. */
@media (max-width: 999px) {
  :root {
    --steps-cols: 1fr;
  }
}

@media (max-width: 719px) {
  :root {
    /* Client feedback: the logo was hard to see/read on an iPhone. Raised
       from 54px to 78px tall; the header grows to hold it. */
    --header-pad: 4px 18px;
    --header-h: 86px;
    --logo-h: 78px;
    --sec-pad-x: 18px;
    --hero-h: 300px;
    --hero-text-pad: 32px 18px 8px;
    --how-sec-pad: 40px 18px;
    --how-inner-pad: 34px 24px;
    --benefits-cols: 1fr;
    --cta-pad: 40px 24px;
    --form-pad: 26px 22px;
    --name-cols: 1fr;
    /* Four avatars across is unreadably small on a phone; two up keeps the
       faces large enough to tell apart. */
    --team-cols: 1fr 1fr;
    --about-pad: 32px 18px 64px;
    /* Three nav pills (Home/About/Contact Us) is one more than this row was
       tuned for. Tightened padding, size and gap — combined with hiding
       "Us" below (see .nav__link-suffix) — so all three still fit beside
       the 78px logo down to a 320px viewport without wrapping. */
    --nav-pad: 7px 10px;
    --nav-size: 12px;
    --nav-gap: 3px;
  }
}

/* --------------------------------------------------------------- base ---- */

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

html {
  scroll-behavior: smooth;
  /* Reserve the scrollbar gutter on every page. Home is tall enough to
     always scroll; contact is short enough that it often doesn't — without
     this the scrollbar appearing/disappearing between pages shifts the
     whole layout sideways by its width. */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

/* The UA rule for [hidden] is display:none, which any later display
   declaration wins against. Forms here are flex, so make it stick. */
[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
}

/* ------------------------------------------------------------- header ---- */

/* Sticky wrapper spans full width so the cream background and hairline
   reach the viewport edges; .site-header inside it keeps the constrained
   shell so the logo/nav line up with everything below. */
.site-header-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}

.site-header-bar.is-scrolled {
  border-bottom-color: var(--hairline-strong);
}

.site-header {
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  padding: var(--header-pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  color: var(--ink);
}

.site-header__logo img {
  height: var(--logo-h);
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  font-size: var(--nav-size);
  font-weight: 600;
}

.nav__link {
  color: var(--ink);
  background: transparent;
  padding: var(--nav-pad);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav__link:hover {
  background: rgba(58, 54, 50, 0.06);
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  color: var(--cream);
  background: var(--blue);
}

.nav__link[aria-current="page"]:hover {
  background: var(--blue-hover);
  color: var(--cream);
}

/* Three pills (Home/About/Contact Us) beside the 78px logo don't fit a
   phone-width header even at the tightened mobile nav tokens above — "Us"
   is the difference between fitting and clipping off-screen. Drop it below
   720px; "Contact" alone is unambiguous as a nav label. */
@media (max-width: 719px) {
  .nav__link-suffix {
    display: none;
  }
}

/* ------------------------------------------------------------ buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--blue);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--blue-hover);
  color: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(58, 54, 50, 0.35);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--peach {
  background: var(--peach);
  color: var(--ink);
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 11px;
}

.btn--peach:hover {
  background: var(--peach-hover);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
  padding: 15px 28px;
}

.btn--ink:hover {
  background: #4a453f;
}

/* --------------------------------------------------------------- hero ---- */

.hero {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--sec-pad-x) 8px;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--hairline);
  height: var(--hero-h);
}

.hero__frame picture,
.hero__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 246, 240, 0.92);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--hero-text-pad);
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(40px, 9vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}

.hero-copy__lede {
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-copy__lede strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-copy__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------- how it works ---- */

.how {
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--how-sec-pad);
  /* Clears the sticky header (--header-h) plus the original 20px breathing
     room, so #how doesn't land its heading underneath the header. */
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.panel-dark {
  background: var(--panel-blue);
  border-radius: var(--radius-panel);
  padding: var(--how-inner-pad);
}

.eyebrow {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.eyebrow--blue {
  color: var(--blue);
}

/* For a second eyebrow further down a page, where a second blue one would
   compete with the first. */
.eyebrow--muted {
  color: var(--ink-muted);
}

.panel-dark h2 {
  font-size: clamp(26px, 5vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0;
}

/* Every step image already carries ~20% transparent space above its own
   frame (room for the music notes to overflow into), so the row is pulled up
   under the heading rather than stacking a second gap on top of that one. */
.steps {
  list-style: none;
  margin: -18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: var(--steps-cols);
}

.step {
  text-align: center;
}

.step__media {
  position: relative;
}

/* The rounded frame, the drop shadow and the surrounding margin are all baked
   into the artwork — see the note above .how in index.html. Nothing here may
   clip it. */
.step__art {
  display: block;
  width: 100%;
  height: auto;
}

/* The illustration frame itself sits inset from the canvas edge (transparent
   margin around it holds the drop shadow / overflowing notes), so the badge
   is positioned at the frame's actual top-left corner — roughly 8% in from
   the left, 21% down — not the raw image corner, which would float it out
   over empty space. A cream ring keeps it readable against whichever part of
   the illustration ends up underneath it. */
.step__num {
  position: absolute;
  left: 8%;
  top: 21%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
  box-shadow: 0 6px 14px rgba(58, 54, 50, 0.35);
}

/* Neither cream nor ink clears 4.5:1 on --panel-blue (best is 3.6:1); sized
   and weighted past the WCAG large-text threshold (>=18.66px bold) to hold
   AA at 3:1 instead of quietly shipping a below-AA caption size. */
.step__caption {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cream);
  margin: 14px 0 0;
  text-wrap: balance;
}

/* Stacked: hold the illustrations to a sane width instead of letting one fill
   a 900px-wide panel, and centre the heading over the centred column — left
   aligned only reads right against the full-width row of three. */
@media (max-width: 999px) {
  .panel-dark h2 {
    text-align: center;
  }

  .steps {
    max-width: 460px;
    margin-inline: auto;
  }
}

/* ----------------------------------------------------------- benefits ---- */

.benefits {
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--benefits-top-pad) var(--sec-pad-x) 20px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: var(--benefits-cols);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 34px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(58, 54, 50, 0.1);
}

.card--blue:hover {
  border-color: rgba(78, 168, 200, 0.4);
}

.card--peach:hover {
  border-color: rgba(245, 192, 122, 0.6);
}

.card--ink:hover {
  border-color: rgba(58, 54, 50, 0.35);
}

.card h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted-card);
  margin: 0;
}

.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card--blue .card__icon {
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(78, 168, 200, 0.35);
}

.card--peach .card__icon {
  background: var(--peach);
  box-shadow: 0 8px 18px rgba(245, 192, 122, 0.4);
}

.card--ink .card__icon {
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(58, 54, 50, 0.3);
}

/* ---------------------------------------------------------------- cta ---- */

.signup {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 48px var(--sec-pad-x) 80px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.signup__panel {
  background: var(--peach);
  border-radius: var(--radius-panel);
  padding: var(--cta-pad);
  text-align: center;
}

.signup__panel h2 {
  font-size: 34px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
}

.signup__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-muted-peach);
  max-width: 460px;
  margin: 0 auto 30px;
}

.signup__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.signup__form input {
  flex: 1;
  min-width: 220px;
}

/* -------------------------------------------------------------- forms ---- */

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

input[type="text"],
input[type="email"],
textarea {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--field-border);
  background: var(--cream);
  color: var(--ink);
}

.signup__form input[type="email"] {
  font-size: 16px;
  padding: 15px 18px;
  border-radius: var(--radius-btn);
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(58, 54, 50, 0.62);
}

.form-note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 18px 0 0;
}

.signup__panel .form-note {
  color: var(--ink-muted-peach);
  max-width: 460px;
  margin-inline: auto;
}

/* Result panel shown after a demo submission. */
.form-result {
  padding: 16px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}

.form-result--card {
  text-align: center;
  padding: 40px 0;
}

.form-result__icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
}

.form-result--card h2 {
  font-size: 26px;
  margin: 0 0 8px;
}

.form-result--card p {
  font-size: 16px;
  color: var(--ink-muted-card);
  margin: 0;
}

/* ------------------------------------------------------- contact page ---- */

/* Same shell width as the header/footer, so the content column's left/right
   edges line up when navigating from home — the 900px cap here previously
   made the whole page visibly narrower and indented on arrival. */
.contact-main {
  flex: 1;
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  padding: 40px var(--sec-pad-x) 80px;
}

/* Centred as a column in the full-width shell so it doesn't sit flush left
   with a slab of empty space beside it; the eyebrow reads as a centred
   kicker above it, but headings and body copy stay left-aligned — centred
   paragraphs are harder to read. */
.contact-intro {
  max-width: 560px;
  margin: 0 auto 40px;
}

.contact-intro .eyebrow {
  text-align: center;
}

.contact-intro h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.contact-intro__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

.contact-card {
  /* contact-main is now the full 1120px shell (to match header/footer), but
     a form stretched that wide reads badly — cap it independently, the way
     the peach signup panel on the home page isn't full-bleed either. Centred
     to match the intro column above it, rather than sitting flush left with
     a slab of empty space beside it. */
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: var(--form-pad);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: var(--name-cols);
  gap: 18px;
}

.contact-form button {
  align-self: flex-start;
  padding: 14px 30px;
}

/* --------------------------------------------------------- about page ---- */

/* Full shell width for the same reason contact-main is: a narrower main
   indents the whole page relative to the header logo, which reads as a jump
   when you arrive from home. The prose column is capped separately below. */
.about-main {
  flex: 1;
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto;
  padding: var(--about-pad);
}

/* Same treatment as .contact-intro: centred column, left-aligned copy,
   centred eyebrow kicker. */
.about-intro {
  max-width: 720px;
  margin: 0 auto 56px;
}

.about-intro .eyebrow {
  text-align: center;
}

.about-intro h1 {
  font-size: clamp(38px, 5.4vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}

.about-prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-prose p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}

.team {
  border-top: 1px solid var(--hairline-strong);
  padding-top: 44px;
}

.team__header {
  text-align: center;
  margin-bottom: 36px;
}

.team__header h2 {
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.team__grid {
  display: grid;
  grid-template-columns: var(--team-cols);
  gap: 36px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.team__member {
  text-align: center;
}

/* The ring is drawn as padding on this element with a gradient background,
   so the photo inside stays a clean circle and can be swapped for any square
   image without touching the markup. */
.team__photo {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 5px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team__photo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}

/* Alternating ring colours, the way the benefit cards alternate. The tilt
   flips direction with the colour so a row of four doesn't lean one way. */
.team__photo--blue {
  background: linear-gradient(145deg, var(--blue), var(--blue-soft));
  box-shadow: 0 12px 26px rgba(78, 168, 200, 0.32);
}

.team__photo--blue:hover {
  transform: translateY(-6px) rotate(-2deg);
  box-shadow: 0 20px 38px rgba(78, 168, 200, 0.45);
}

.team__photo--peach {
  background: linear-gradient(145deg, var(--peach), var(--peach-soft));
  box-shadow: 0 12px 26px rgba(245, 192, 122, 0.4);
}

.team__photo--peach:hover {
  transform: translateY(-6px) rotate(2deg);
  box-shadow: 0 20px 38px rgba(245, 192, 122, 0.55);
}

.team__name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 4px;
}

.team__role {
  font-size: 14px;
  /* The cream-background step, not the card one — this sits on the page. */
  color: var(--ink-muted);
  margin: 0;
}

/* ------------------------------------------------------------- footer ---- */

.site-footer {
  border-top: 1px solid var(--hairline-strong);
  background: var(--cream);
}

.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 32px var(--sec-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer img {
  height: 44px;
  width: auto;
  display: block;
}

.site-footer__links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
}

.site-footer__links a {
  color: var(--ink-muted-footer);
}

.site-footer__links a:hover {
  color: var(--ink);
}

.site-footer__icon {
  display: flex;
  align-items: center;
}

.site-footer__legal {
  font-size: 13px;
  color: var(--ink-muted-footer);
}

/* ------------------------------------------------------------ noscript ---- */

.noscript-note {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-top: 16px;
}

/* ------------------------------------------------------------- motion ---- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  /* The blanket rule above kills transition duration, not the transform
     itself — each hover lift needs its own opt-out. */
  .card:hover,
  .team__photo--blue:hover,
  .team__photo--peach:hover {
    transform: none;
  }
}
