/* The Avenue Barbershop — white and navy, one street-sign motif. */

:root {
  --navy: #192640;
  --navy-deep: #0f1828;
  --paper: #ffffff;
  --mist: #f1f4f8;
  --rule: #d3dae5;
  --steel: #50607a;

  --display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --plate-face: "Copperplate", "Copperplate Gothic Bold", "Copperplate Gothic", "Cinzel", serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Modular scale, ratio 1.25 */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.33rem;
  --step-2: 1.66rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 3.9rem);

  --gutter: 16px;
  --measure: 66ch;
  --max: 1120px;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy-deep);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--navy); color: var(--paper);
  padding: 10px 16px; z-index: 10; text-decoration: none;
}
.skip:focus { top: 12px; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}
h1 { font-size: var(--step-4); letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); letter-spacing: -0.015em; }
h3 { font-size: var(--step-1); font-weight: 600; }

p { margin: 0 0 1em; max-width: var(--measure); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--navy); max-width: 34ch; }
.muted { color: var(--steel); }
.small { font-size: var(--step--1); }

/* ---------- Street-sign plate (the one memorable element) ---------- */

.plate {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy);
  color: var(--paper);
  border-radius: 8px;
  padding: 0.35em 0.9em 0.4em;
  box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 4.5px var(--paper);
  text-decoration: none;
  line-height: 1;
}
.plate__name {
  font-family: var(--plate-face);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.plate__sub {
  font-family: var(--plate-face);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 0.25em;
}

/* Hero wordmark: Copperplate Gothic Bold, matching the shop's logo lettering.
   Lowercase letters render as small capitals in Copperplate (and in the Cinzel fallback). */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--navy);
  line-height: 1.05;
  font-size: clamp(2.1rem, 0.9rem + 6vw, 5.6rem);
}
.wordmark .plate__name,
.wordmark .plate__sub {
  font-family: var(--plate-face);
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.04em;
  margin: 0;
  opacity: 1;
}
.wordmark .plate__sub { margin-top: -0.24em; }

/* Header and footer logo: the wordmark lettering, both lines the same size */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--plate-face);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
  white-space: nowrap;
}

.logo__words { display: flex; flex-direction: column; align-items: center; }
.logo__words span + span { margin-top: -0.24em; }
.logo__mark { height: 1.6em; width: auto; flex: none; }

/* ---------- Header + navigation ---------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}

.nav-toggle {
  font: 500 var(--step--1) / 1 var(--text);
  color: var(--navy);
  background: none;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  cursor: pointer;
}

.nav { display: none; }
.nav.is-open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.nav a {
  display: block;
  padding: 12px 0;
  font-size: var(--step-1);
  font-family: var(--display);
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--mist);
}
.nav a[aria-current="page"] { font-weight: 700; }
.nav .nav__book { border-bottom: 0; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav, .nav.is-open { display: block; position: static; border: 0; }
  .nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .nav a {
    font-family: var(--text);
    font-size: var(--step--1);
    font-weight: 500;
    padding: 10px 12px;
    border: 0;
    border-radius: 999px;
  }
  .nav a:hover { background: var(--mist); }
  .nav a[aria-current="page"] {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.45em;
  }
  .nav .nav__book a { background: var(--navy); color: var(--paper); padding: 10px 18px; margin-left: 8px; }
  .nav .nav__book a:hover { background: var(--navy-deep); }
  .nav .nav__book a[aria-current="page"] { text-decoration-color: var(--paper); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font: 600 var(--step-0) / 1.2 var(--text);
  text-decoration: none;
  border: 1.5px solid var(--navy);
  cursor: pointer;
}
.btn--solid { background: var(--navy); color: var(--paper); }
.btn--solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--mist); }
.btn--large { min-height: 60px; padding: 16px 36px; font-size: var(--step-1); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */

main { display: block; }
.section { padding: 56px 0; }
@media (min-width: 720px) { .section { padding: 88px 0; } }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--paper); }
.section--navy h2, .section--navy h3, .section--navy a { color: var(--paper); }
.section--navy :focus-visible { outline-color: var(--paper); }
.section--navy .btn--line { border-color: var(--paper); }
.section--navy .btn--line:hover { background: rgba(255, 255, 255, 0.1); }
.section--navy .muted { color: #c9d3e3; }

.page-head { padding: 56px 0 8px; }
@media (min-width: 720px) { .page-head { padding: 88px 0 16px; } }
.page-head h1 {
  font-family: var(--plate-face);
  font-weight: 700;
  font-size: var(--step-3);
  letter-spacing: 0.04em;
}
.page-head p { color: var(--steel); font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }

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

.hero { padding: 48px 0 64px; text-align: center; }
/* Shop photo behind the hero, faded so the navy lettering stays readable */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url("shop-interior.jpg") center 60% / cover no-repeat;
  opacity: 0.32;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 100%);
}
.hero .btn--line { background: var(--paper); }
.hero .btn--line:hover { background: var(--mist); }
@media (min-width: 720px) { .hero { padding: 96px 0 112px; } }
.hero .wordmark { margin: 0 auto; }
.hero .hero__slogan {
  font-family: var(--text);
  color: var(--navy);
  line-height: 1.2;
  max-width: none;
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 32px auto 8px;
}
.hero p { margin: 0 auto; color: var(--navy); font-weight: 500; }
.hero .wordmark { margin-bottom: 0; }
.hero .actions { justify-content: center; }

@media (prefers-reduced-motion: no-preference) {
  .hero .wordmark { animation: settle 900ms cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes settle {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: none; }
  }
}

/* ---------- Two-column split ---------- */

.split { display: grid; gap: 40px; }
@media (min-width: 860px) { .split { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }

/* ---------- Price board ---------- */

.menu { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.menu li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.menu li:first-child { border-top: 1px solid var(--navy); }
.menu__name { font-family: var(--display); font-size: var(--step-1); color: var(--navy); }
.menu__time { display: block; font-family: var(--text); font-size: var(--step--1); color: var(--steel); }
.menu__lead { border-bottom: 2px dotted var(--rule); transform: translateY(-0.3em); min-width: 16px; }
.menu__price { font-family: var(--display); font-size: var(--step-2); font-weight: 600; color: var(--navy); font-variant-numeric: lining-nums; }
.section--navy .menu li { border-color: rgba(255, 255, 255, 0.2); }
.section--navy .menu li:first-child { border-top-color: var(--paper); }
.section--navy .menu__name, .section--navy .menu__price { color: var(--paper); }
.section--navy .menu__time { color: #c9d3e3; }
.section--navy .menu__lead { border-color: rgba(255, 255, 255, 0.35); }

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

/* Two-price board: walk-in (fixed) and appointment (from) */
.prices { width: 100%; max-width: 760px; border-collapse: collapse; }
.prices th, .prices td { padding: 16px 0; border-bottom: 1px solid var(--rule); text-align: right; vertical-align: baseline; }
.prices thead th {
  font: 600 var(--step--1) / 1.2 var(--text);
  color: var(--steel);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--navy);
}
.prices tbody th { text-align: left; font-weight: 400; width: 100%; }
.prices tbody th span { display: flex; align-items: baseline; gap: 10px; font-size: var(--step-1); font-weight: 500; color: var(--navy); }
.prices tbody th span::after { content: ""; flex: 1; min-width: 12px; border-bottom: 2px dotted var(--rule); transform: translateY(-0.3em); }
.prices td {
  font-size: var(--step-1); font-weight: 600; color: var(--navy);
  font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 20px;
}
.prices thead th + th { padding-left: 20px; white-space: nowrap; }
.prices .plus { font-size: 1em; font-weight: 700; margin-left: 1px; }
@media (max-width: 599px) {
  .prices tbody th span { font-size: var(--step-0); }
  .prices tbody th span::after { display: none; }
  .prices td { font-size: var(--step-0); padding-left: 16px; }
  .prices thead th + th { padding-left: 16px; }
}
@media (min-width: 720px) { .prices td, .prices thead th + th { padding-left: 40px; } }
.section--navy .prices th, .section--navy .prices td { border-color: rgba(255, 255, 255, 0.2); }
.section--navy .prices thead th { color: #c9d3e3; border-bottom-color: var(--paper); }
.section--navy .prices tbody th span, .section--navy .prices td { color: var(--paper); }
.section--navy .prices tbody th span::after { border-color: rgba(255, 255, 255, 0.35); }

.price-notes { display: grid; gap: 24px; margin: 40px 0 24px; max-width: 760px; }
@media (min-width: 720px) { .price-notes { grid-template-columns: 1fr 1fr; gap: 48px; } }
.price-notes h2 { font-size: var(--step-1); font-weight: 600; margin-bottom: 6px; }
.price-notes p { margin: 0; color: var(--steel); }

/* ---------- Team ---------- */

.team {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 40px 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .team { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member__photo {
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  background: #e6e9ee; /* same grey as the photo backgrounds */
  margin-bottom: 14px;
}
.member h3 { margin: 0 0 2px; font-size: var(--step-0); font-weight: 600; }
.member p { margin: 0; font-size: var(--step--1); color: var(--steel); }

/* ---------- Steps (Book) ---------- */

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: step; border-top: 1px solid var(--navy); padding-top: 16px; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--plate-face);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 12px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--steel); margin: 0; }

/* ---------- Generic lists of offerings (Careers, Education) ---------- */

.offer { padding: 32px 0; border-top: 1px solid var(--rule); display: grid; gap: 8px 48px; }
.offer:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 860px) { .offer { grid-template-columns: 4fr 6fr 2fr; align-items: baseline; } }
.offer h3 { font-size: var(--step-2); font-weight: 500; margin: 0; }
.offer p { margin: 0; }
.offer__meta { color: var(--steel); font-size: var(--step--1); }
@media (min-width: 860px) { .offer__meta { text-align: right; } }

/* ---------- Home ---------- */

/* Hero fills the first screen on larger displays */
@media (min-width: 720px) {
  .hero { min-height: calc(100svh - 72px); display: grid; align-items: center; padding: 64px 0; }
}
.hero .wordmark { font-size: clamp(2.1rem, 0.9rem + 6vw, 6.4rem); }
.hero .hero__slogan { margin-top: 36px; }

.text-link {
  display: inline-block;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.35em;
  padding: 6px 0;
}
.text-link:hover { text-decoration-thickness: 2.5px; }

.intro__grid { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro__since {
  font-family: var(--plate-face);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin: 0 0 20px;
}
.intro__since::before, .intro__since::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 40px; height: 1.5px; background: var(--rule); margin: 0 16px;
}
.intro__statement {
  font-size: clamp(1.7rem, 1rem + 2.6vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 26ch;
  margin: 0 auto 24px;
  text-wrap: balance;
}

/* Gallery: tall razor shot on the left, capes across the top right,
   desk and storefront side by side beneath it */
.gallery { padding-bottom: 0; }
.gallery__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.g-capes { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.g-razor, .g-front { aspect-ratio: 3 / 4; }
.g-desk { grid-column: 1 / -1; aspect-ratio: 16 / 10; object-position: 55% center; }
.g-front { object-position: center 40%; }
.g-capes { order: 1; } .g-razor { order: 2; } .g-front { order: 3; } .g-desk { order: 4; }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, clamp(220px, 22vw, 300px)); gap: 20px; }
  .gallery__grid img { aspect-ratio: auto; }
  .g-razor { grid-column: 1; grid-row: 1 / span 2; }
  .g-capes { grid-column: 2 / span 2; grid-row: 1; }
  .g-desk { grid-column: 2; grid-row: 2; object-position: 62% center; }
  .g-front { grid-column: 3; grid-row: 2; object-position: center 42%; }
}

/* Team preview */
.team-preview__head { margin-bottom: 40px; align-items: end; }
.team-preview__head h2 { margin: 0; }
.team-preview__head p { margin: 0 0 8px; font-size: var(--step-1); }
.team-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .team-strip { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.team-strip img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: #e6e9ee; margin-bottom: 12px; }
.team-strip span { font-weight: 600; color: var(--navy); }

/* Google reviews */
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.reviews__head h2 { margin: 0; }
.reviews__score { display: flex; align-items: center; gap: 16px; }
.reviews__number { font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.reviews__score > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.reviews__stars { color: var(--navy); letter-spacing: 0.12em; font-size: var(--step-0); }
.reviews__count { color: var(--steel); font-size: var(--step--1); }
.reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .reviews__list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.reviews__list li { background: var(--paper); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; }
.reviews__list blockquote { margin: 14px 0 20px; font-size: var(--step-1); line-height: 1.45; color: var(--navy); flex: 1; }
.reviews__list cite { font-style: normal; font-weight: 600; font-size: var(--step--1); color: var(--steel); }
.reviews__actions { justify-content: center; margin-top: 40px; }

/* Visit + final call to action */
.visit-home__cta { text-align: center; margin-bottom: 64px; }
.visit-home__cta h2 { font-size: clamp(1.8rem, 1rem + 3vw, 3.2rem); letter-spacing: -0.02em; max-width: 18ch; margin: 0 auto; }
.visit-home__cta .actions { justify-content: center; }
.visit-home__grid { grid-template-columns: 1fr; }
@media (min-width: 720px) { .visit__grid.visit-home__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Scroll motion (only when site.js adds .motion; off for reduced motion) */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .hero::before { transform: translateY(var(--hero-shift, 0px)) scale(1.06); will-change: transform; }

/* 404 page */
.notfound { text-align: center; padding: 96px 0 120px; }
.notfound__code { font-family: var(--plate-face); font-weight: 700; letter-spacing: 0.14em; color: var(--steel); margin: 0 auto 12px; }
.notfound h1 { font-size: var(--step-3); margin-bottom: 16px; }
.notfound p { margin: 0 auto; color: var(--steel); }
.notfound .actions { justify-content: center; }

/* ---------- About ---------- */

/* Opening: big Copperplate title beside one tall photo */
.about-hero { padding: 40px 0 16px; }
@media (min-width: 720px) { .about-hero { padding: 72px 0 24px; } }
.about-hero__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .about-hero__grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; } }
.about-hero h1 {
  font-family: var(--plate-face);
  font-weight: 700;
  font-size: clamp(2.1rem, 1rem + 3.6vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin: 0 0 24px;
}
.about-hero__lede { font-size: var(--step-2); line-height: 1.35; color: var(--navy); max-width: 28ch; margin: 0; }
.about-hero .actions { margin-top: 32px; }
.about-hero__photo {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 6px;
}
@media (min-width: 900px) { .about-hero__photo { aspect-ratio: 4 / 5; } }

.about-hero__since {
  font-family: var(--plate-face);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin: 16px 0 0;
}

/* Photo beside text; --flip puts the photo on the right on wide screens */
.media-split { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .media-split { grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
  .media-split--flip { grid-template-columns: 6fr 5fr; }
  .media-split--flip .media-split__photo { order: 2; }
}
.media-split__photo {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
@media (min-width: 900px) { .media-split__photo { aspect-ratio: 4 / 5; } }
.visit .media-split__photo { object-position: center 40%; }

/* Story: a large lead sentence, then the detail */
.about-story h2 { font-size: var(--step-1); font-weight: 600; color: var(--steel); letter-spacing: 0; margin-bottom: 16px; }
.about-story { border-bottom: 1px solid var(--rule); }
.about-story__lead {
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 24ch;
  margin-bottom: 24px;
}
.about-story p:not(.about-story__lead) { font-size: var(--step-1); line-height: 1.6; color: var(--steel); max-width: 52ch; }

/* Values: one clean centred line */
.values-band { text-align: center; }
.values-band__words {
  font-family: var(--plate-face);
  font-weight: 700;
  font-size: clamp(1.6rem, 0.9rem + 3vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--navy);
  max-width: none;
  margin: 0 0 16px;
}
.values-band__note { color: var(--steel); font-size: var(--step-1); margin: 0 auto; }

/* Goal: navy band, one big statement, logo watermark */
.goal { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 720px) { .goal { padding: 128px 0; } }
.goal__mark {
  position: absolute; z-index: -1;
  right: -4%; top: 50%;
  width: min(46vw, 520px); height: auto;
  transform: translateY(-50%);
  color: var(--paper);
  opacity: 0.035;
}
.goal__label {
  font-family: var(--plate-face);
  font-weight: 700;
  font-size: var(--step-0);
  letter-spacing: 0.12em;
  color: #c9d3e3;
  margin-bottom: 24px;
}
.statement {
  font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0 auto 24px;
}
.goal .muted { margin: 0 auto; max-width: 46ch; font-size: var(--step-1); }

/* Visit */
.visit__intro { font-size: var(--step-1); margin-bottom: 32px; }
.visit__grid { display: grid; gap: 28px; padding-top: 28px; border-top: 2px solid var(--navy); }
@media (min-width: 560px) { .visit__grid { grid-template-columns: 1fr 1fr; } }
.visit__grid h3 { font-size: var(--step-0); font-weight: 600; margin-bottom: 10px; }
.visit__grid p { margin: 0 0 6px; }
.visit .actions { margin-top: 40px; }

/* ---------- Careers application form ---------- */

.apply__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .apply__grid { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; } .apply__intro { position: sticky; top: 104px; } }
.apply__intro p { color: var(--steel); }

.form { background: var(--paper); border-radius: 8px; padding: 24px 20px; }
@media (min-width: 720px) { .form { padding: 40px; } }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form > fieldset { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.form > fieldset > legend { font-size: var(--step-1); font-weight: 600; color: var(--navy); padding: 0; margin-bottom: 20px; }
.form__row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label, .field--group > legend { display: block; font-size: var(--step--1); font-weight: 600; color: var(--navy); margin-bottom: 6px; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 var(--step-0) / 1.4 var(--text);
  color: var(--navy-deep);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"], .checks[aria-invalid="true"] { border-color: #b42318; }
.field__msg { color: #b42318; font-size: var(--step--1); margin: 6px 0 0; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 6px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.field .checks .check {
  display: inline-flex; margin: 0; font-weight: 500; color: var(--navy-deep);
  border: 1.5px solid var(--rule); border-radius: 999px;
  padding: 8px 14px; min-height: 44px; font-size: var(--step--1);
}
.field .checks .check:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.check input, .field .check input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--navy); margin: 0; }
.check--confirm { margin-top: 4px; font-size: var(--step--1); }

.form__error { color: #b42318; font-weight: 600; margin: 0 0 16px; }
.form__actions { margin-top: 8px; }
.form__done { margin-top: 24px; padding: 20px; border-radius: 6px; background: var(--mist); }
.form__done h3 { margin-bottom: 6px; }
.form__done p { margin: 0 0 6px; }

/* ---------- Facts (hours, address) ---------- */

.facts { display: grid; gap: 32px; }
.facts { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.facts h3 { font-family: var(--text); font-size: var(--step-0); font-weight: 600; margin-bottom: 8px; }
.facts p, .facts dl { margin: 0; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 24px; }
.hours dt, .hours dd { margin: 0; }
.hours dd { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: #dbe2ee; padding: 56px 0 40px; font-size: var(--step--1); }
.site-footer a { color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--paper); }
.site-footer .wrap { display: grid; gap: 32px; }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .logo { color: var(--paper); }
.site-footer p { margin: 0 0 6px; }
.site-footer .slogan { font-size: var(--step-0); font-weight: 500; color: var(--paper); margin-top: 16px; }
.site-footer h2 { font-family: var(--text); font-size: var(--step--1); font-weight: 600; color: var(--paper); margin: 0 0 10px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 20px; color: #a9b6cb; max-width: none; }

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