/* ==========================================================================
   Gator Pit BBQ NH
   Direction: house barbecue — palette and type styling referenced from
   sonnysbbq.com at the client's request.
   - Ground: near-black + off-white/light grey. Action: brand red #bd2330.
   - Type: heavy uppercase signage display / Work Sans for body and labels.
   - Reference faces are licensed (MochaMattari, Linotype Typo American Pro);
     Anton and Work Sans are the free stand-ins. See HANDOFF.md.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------ */
:root {
  /* Surfaces — darkest to lightest, same roles as before */
  --ink: #060706; /* darkest ground: hero, footer, black bands */
  --char: #1f211f; /* primary dark surface + body text on light */
  --char-2: #2a2c2a; /* raised dark surface (cards on dark) */
  --smoke: #343634; /* hairlines + borders on dark */
  --ash: #a9aea9; /* muted text on dark   (8.8:1 on --ink) */
  --gray: #636763; /* muted text on light  (5.5:1 on --paper) */
  --paper: #fafafa; /* primary light surface */
  --paper-2: #f4f5f4; /* light surface, one step down */
  --paper-line: #d8dad8; /* borders on light */
  --field-line: #6a6e6a; /* control borders on dark (3.9:1 on --ink) */

  /* Accents */
  --ember: #bd2330; /* the brand red: buttons, tags, rules */
  --ember-lift: #d42b39; /* red, hover */
  --ember-ink: #bd2330; /* red as text/links on light (5.9:1 on --paper) */
  --lime: #9bd435; /* logo lime — mark only, never type */

  /* Type */
  --display:
    "Anton", "Haettenschweiler", "Arial Narrow Bold", Impact, sans-serif;
  --body: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --label: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Scale — fluid, mobile-first. Tuned down for Work Sans' large x-height. */
  --step--1: clamp(0.81rem, 0.78rem + 0.15vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.11rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.32rem + 1.4vw, 2.6rem);
  --step-3: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.5vw, 5rem);

  /* Space */
  --gap: 1.25rem;
  --section-y: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --shell: 1180px;
  --measure: 60ch;

  --radius: 5px; /* the reference button radius */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 84px;
}

body {
  margin: 0;
  background: var(--char);
  color: var(--paper);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
  font-optical-sizing: auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* Anton ships a single weight (400) and has no width axis — declaring
   font-weight/font-stretch here would only invite faux-bold synthesis. */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Visible, high-contrast keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--paper);
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100vh;
  z-index: 200;
  background: var(--ember);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.5rem;
}

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

/* --- Layout primitives -------------------------------------------------- */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}
@media (min-width: 60rem) {
  .shell {
    width: min(100% - 5rem, var(--shell));
  }
}

.band {
  padding-block: var(--section-y);
}
.band--paper {
  background: var(--paper);
  color: var(--char);
}
.band--char {
  background: var(--char);
  color: var(--paper);
}
.band--ink {
  background: var(--ink);
  color: var(--paper);
}
.band--ember {
  background: var(--ember);
  color: #fff;
}

/* Section headers. The eyebrow is a filled red tag — the reference site's
   signature label — so it reads the same on light grounds and dark ones. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start; /* never stretch inside a flex/grid parent */
  width: fit-content;
  gap: 0.5rem;
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
  background: var(--ember);
  border-radius: var(--radius);
  padding: 0.45rem 0.85rem;
  margin: 0 0 1.15rem;
}
/* On the red band the tag inverts rather than disappearing. */
.band--ember .eyebrow {
  background: #fff;
  color: var(--ember);
}

.band-title {
  font-size: var(--step-3);
}
.band-intro {
  max-width: var(--measure);
  font-size: var(--step-1);
  line-height: 1.5;
  margin-top: 1.1rem;
  color: color-mix(in srgb, currentColor 82%, transparent);
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn--ember {
  background: var(--ember);
  color: #fff;
}
.btn--ember:hover {
  background: var(--ember-lift);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--outline:hover {
  background: currentColor;
}
.band--char .btn--outline:hover,
.band--ink .btn--outline:hover {
  color: var(--ink);
}
.band--ember .btn--outline:hover {
  color: var(--ember);
}
.band--paper .btn--outline:hover {
  color: var(--paper);
}

/* The reference site's off-white button — used on dark and red grounds. */
.btn--light {
  background: var(--paper);
  color: var(--ink);
}
.btn--light:hover {
  background: #e7e8e7;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* --- Header ------------------------------------------------------------ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--smoke);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--paper);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.brand__name {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.12rem;
  line-height: 1;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 0.25rem;
  display: block;
}

@media (max-width: 30rem) {
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand {
    gap: 0.5rem;
  }
  .brand__name {
    font-size: 0.78rem;
  }
  .brand__sub {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
  .masthead__inner {
    gap: 0.4rem;
    min-height: 60px;
  }
  .masthead .btn--call {
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
  }
  .navtoggle {
    width: 42px;
    height: 42px;
    padding: 0 10px;
  }
}
@media (max-width: 22rem) {
  .brand__sub {
    display: none;
  }
  .brand__name {
    font-size: 0.68rem;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .masthead .btn--call {
    padding: 0.6rem 0.6rem;
    font-size: 0.72rem;
  }
}

.nav {
  display: none;
}
@media (min-width: 56rem) {
  .nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
  .nav a {
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--paper);
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition:
      border-color 0.18s var(--ease),
      color 0.18s var(--ease);
  }
  .nav a:hover {
    border-bottom-color: var(--ember);
  }
  .nav .btn {
    margin-left: 0.5rem;
  }
  .nav .btn--ember {
    color: #fff;
  }
  .nav .btn:hover {
    border-bottom-color: transparent;
  }
}

/* Mobile: call button + a disclosure menu */
.masthead .btn--call {
  min-height: 44px;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
}
@media (min-width: 56rem) {
  .masthead .btn--call {
    display: none;
  }
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navtoggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--smoke);
  border-radius: var(--radius);
  cursor: pointer;
}
.navtoggle span {
  display: block;
  height: 2px;
  background: var(--paper);
  transition:
    transform 0.2s var(--ease),
    opacity 0.2s var(--ease);
}
.navtoggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navtoggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navtoggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 56rem) {
  .navtoggle {
    display: none;
  }
}

.navpanel {
  display: none;
  border-top: 1px solid var(--smoke);
  background: var(--ink);
  padding: 0.5rem 0 1.25rem;
}
.navpanel.is-open {
  display: block;
}
@media (min-width: 56rem) {
  .navpanel {
    display: none !important;
  }
}
.navpanel a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--smoke);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
}
.navpanel a:last-child {
  border-bottom: 0;
}

/* --- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(88vh, 780px);
  background: var(--ink);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
}
/* Warm scrim: keeps type legible in sunlight without washing the photo out */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(6, 7, 6, 0.94) 0%,
      rgba(6, 7, 6, 0.72) 38%,
      rgba(6, 7, 6, 0.3) 70%,
      rgba(6, 7, 6, 0.45) 100%
    ),
    linear-gradient(to right, rgba(6, 7, 6, 0.6), rgba(6, 7, 6, 0) 65%);
}
/* Phones: a portrait crop of a different photo (a wide scene cannot survive a
   tall crop), content anchored to the TOP so it is never below the fold, and a
   heavier scrim because this gets read one-handed, outdoors, in sunlight. */
@media (max-width: 48rem) {
  /* Stacked, not overlaid. A scrim heavy enough to hold type in sunlight also
     kills the photograph — so on phones the picture gets its own band and the
     words sit on solid ground underneath, where they are always readable. */
  .hero {
    display: block;
    min-height: 0;
    background: var(--ink);
  }
  .hero__media {
    position: relative;
    inset: auto;
    height: 38vh;
    min-height: 230px;
    max-height: 340px;
  }
  .hero__media img {
    object-position: center 30%;
  }
  .hero__media::after {
    background: linear-gradient(
      to bottom,
      rgba(6, 7, 6, 0.45) 0%,
      rgba(6, 7, 6, 0) 30%,
      rgba(6, 7, 6, 0) 72%,
      rgba(6, 7, 6, 0.75) 100%
    );
  }
  .hero__inner {
    padding-block: 1.75rem 2.5rem;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 1.45rem + 4.6vw, 3.2rem);
    max-width: 16ch;
    margin-top: 1rem;
  }
  .hero__lede {
    font-size: 1.06rem;
    max-width: 36ch;
    margin-top: 1rem;
  }
  .hero__meta {
    margin-top: 1.5rem;
  }
  .hero .btn-row {
    margin-top: 1.5rem;
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 3.5rem 3rem;
}
.hero h1 {
  font-size: var(--step-4);
  max-width: 18ch;
  margin-top: 1.25rem;
}
.hero__lede {
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.45;
  margin-top: 1.2rem;
  color: color-mix(in srgb, var(--paper) 90%, transparent);
}
.hero__meta {
  margin-top: 2rem;
  font-family: var(--label);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}

/* The award badge. Deliberately inverted from the red CTA buttons beneath it
   so the WMUR placement still reads as a distinction, not another action. */
.ribbon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 2px 0 rgba(6, 7, 6, 0.3);
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ember-ink);
  text-decoration: none;
  line-height: 1.3;
}
.ribbon svg {
  flex: none;
}
.ribbon:hover {
  background: #fff;
}

/* The catering hero is shorter than the home one — but only where it overlays. */
@media (min-width: 48.0625rem) {
  .hero--short {
    min-height: min(66vh, 560px);
  }
}

/* Split hero: the gator photograph is portrait, so on wide screens it gets its
   own column at full height rather than being cropped into a letterbox band. */
@media (min-width: 54rem) {
  .hero--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    align-items: stretch;
    background: var(--ink);
    min-height: min(90vh, 820px);
  }
  .hero--split .hero__media {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
  }
  .hero--split .hero__media::after {
    background:
      linear-gradient(
        to right,
        rgba(6, 7, 6, 0.75) 0%,
        rgba(6, 7, 6, 0.1) 22%,
        rgba(6, 7, 6, 0) 45%
      ),
      linear-gradient(to top, rgba(6, 7, 6, 0.4), rgba(6, 7, 6, 0) 35%);
  }
  .hero--split .hero__media img {
    object-position: 58% 32%;
  }
  .hero--split .hero__inner {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-block: 4rem;
    padding-left: max(
      2.5rem,
      calc((100vw - min(100vw - 5rem, var(--shell))) / 2)
    );
    padding-right: clamp(2rem, 4vw, 4rem);
  }
  .hero--split h1 {
    max-width: 15ch;
  }
  .hero--split .hero__lede {
    max-width: 40ch;
  }
}

/* --- The Smoke Clock (signature) --------------------------------------- */
.clock {
  margin-top: 2.75rem;
  padding-inline-start: 0;
  border-top: 1px solid var(--smoke);
}
.clock__row {
  display: grid;
  gap: 0.35rem 1.25rem;
  grid-template-columns: 5.5rem 1fr;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--smoke);
  position: relative;
}
.clock__time {
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--paper);
  padding-top: 0.3rem;
}
.clock__what {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.2rem;
  line-height: 1.15;
}
.clock__note {
  grid-column: 2;
  color: var(--ash);
  font-size: var(--step--1);
  line-height: 1.5;
  margin: 0;
  max-width: 52ch;
}
@media (min-width: 60rem) {
  .clock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 0;
    margin-top: 3.25rem;
  }
  .clock__row {
    grid-template-columns: 1fr;
    border-bottom: 0;
    border-top: 2px solid var(--smoke);
    padding: 1.5rem 1.5rem 0 0;
  }
  .clock__row::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 46%;
    height: 2px;
    background: var(--ember);
  }
  .clock__note {
    grid-column: 1;
  }
}

/* --- Menu -------------------------------------------------------------- */
.menu-grid {
  display: grid;
  gap: 2.5rem 3.5rem;
  margin-top: 2.75rem;
}
@media (min-width: 48rem) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.menu-group__name {
  font-size: var(--step-1);
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--ember);
  margin-bottom: 0.35rem;
}
.menu-group__fine {
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0.7rem 0 0;
  line-height: 1.5;
}
.menu-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--paper-line);
}
.menu-item__name {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.12rem;
  letter-spacing: 0.025em;
}
.menu-item__desc {
  margin: 0.25rem 0 0;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--gray);
}

/* :not(.btn) matters — a bare `.band--paper a` outranks `.btn--ember` and
   would repaint red buttons' labels red-on-red. */
.band--paper a:not(.btn) {
  color: var(--ember-ink);
}

/* Red links can't carry text contrast on a dark ground, so inline links in
   dark and red bands are marked with an underline instead of a colour. */
.band--char a:not(.btn),
.band--ink a:not(.btn),
.band--ember a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Menu rules invert on dark grounds. */
.band--char .menu-item,
.band--ink .menu-item,
.band--ember .menu-item {
  border-bottom-color: var(--smoke);
}
.band--ember .menu-item {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* Muted copy flips ground with the band it sits in. */
.band--char .menu-item__desc,
.band--ink .menu-item__desc,
.band--char .menu-group__fine,
.band--ink .menu-group__fine {
  color: var(--ash);
}
.band--ember .menu-item__desc,
.band--ember .menu-group__fine {
  color: rgba(255, 255, 255, 0.85);
}

.note-card {
  margin-top: 2.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--paper-2);
  border-left: 4px solid var(--ember);
  border-radius: var(--radius);
}
.note-card p:last-child {
  margin-bottom: 0;
}

/* --- Where to find us --------------------------------------------------- */
.find {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.75rem;
}
@media (min-width: 54rem) {
  .find {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
}

.card {
  background: var(--char-2);
  border: 1px solid var(--smoke);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 1rem + 1.5vw, 2.1rem);
}
.band--paper .card {
  background: var(--paper-2);
  border-color: var(--paper-line);
}
.card__title {
  font-size: var(--step-1);
  margin-bottom: 0.85rem;
}

.hours {
  margin: 1.15rem 0 0.2rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--paper-line);
}
.hours__label {
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-ink);
  margin-bottom: 0.3rem;
}
.hours__time {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.hours__note {
  margin-top: 0.25rem;
  font-size: var(--step--1);
  color: var(--gray);
}

.stops {
  margin-top: 0.5rem;
}
.stop {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: 0.15rem 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--smoke);
}
.stop:first-child {
  border-top: 0;
  padding-top: 0;
}
.stop__date {
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-ink);
  padding-top: 0.25rem;
}
.stop__where {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}
.stop__when {
  grid-column: 2;
  font-size: var(--step--1);
  color: var(--ash);
}

.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.town {
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--smoke);
  border-radius: 999px;
  color: var(--ash);
}
.band--paper .town {
  border-color: var(--paper-line);
  color: var(--gray);
}
.band--paper .stop {
  border-top-color: var(--paper-line);
}

/* --- Gallery ----------------------------------------------------------- */
.gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.5rem;
}
@media (min-width: 52rem) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery figure:hover img {
  transform: scale(1.04);
}
.gallery .wide {
  grid-column: span 2;
}
.gallery .wide img {
  aspect-ratio: 2 / 1;
}

/* --- Story / split ------------------------------------------------------ */
.split {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
@media (min-width: 54rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}
.split--flip .split__media {
  order: -1;
}
@media (min-width: 54rem) {
  .split--flip .split__media {
    order: 1;
  }
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.split__body p {
  max-width: var(--measure);
}

/* --- Quote -------------------------------------------------------------- */
.pull {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: var(--step-2);
  line-height: 1.08;
  letter-spacing: 0.005em;
  max-width: 26ch;
  margin: 0;
}
.pull cite {
  display: block;
  font-family: var(--label);
  font-size: 0.78rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 1.1rem;
  line-height: 1.5;
}

/* --- Form --------------------------------------------------------------- */
.form {
  margin-top: 2rem;
}
.field-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 40rem) {
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-family: var(--label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.field .hint {
  display: block;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ash);
  margin-top: 0.2rem;
}
.band--paper .field .hint {
  color: var(--gray);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--paper);
  background: color-mix(in srgb, #000 40%, transparent);
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  transition:
    border-color 0.15s var(--ease),
    background-color 0.15s var(--ease);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--paper);
}
.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--ash) 75%, transparent);
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.form__foot .fineprint {
  font-size: 0.88rem;
  color: var(--ash);
  margin: 0;
  max-width: 34ch;
}

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--ink);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem;
}
.footer__grid {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 48rem) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer h3 {
  font-size: 0.98rem;
  letter-spacing: 0.09em;
  color: var(--ash);
  margin-bottom: 1rem;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer li {
  margin-bottom: 0.6rem;
}
.footer .contact-line {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: var(--step-2);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.colophon {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--smoke);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}

/* --- Sticky mobile call bar -------------------------------------------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  border-top: 1px solid var(--smoke);
  padding: 0.55rem 0.6rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.callbar .btn {
  min-height: 48px;
  font-size: 0.82rem;
  padding: 0.6rem 0.5rem;
}
.footer {
  padding-bottom: 6.5rem;
}
@media (min-width: 56rem) {
  .callbar {
    display: none;
  }
  .footer {
    padding-bottom: 2rem;
  }
}

/* --- Pull quote, compact variant (customer reviews) ---------------------- */
.pull--sm {
  font-size: var(--step-1);
  line-height: 1.2;
  max-width: 36ch;
  margin-top: 1.9rem;
}
/* Ash can't carry contrast on the red band; the cite goes near-white there. */
.band--ember .pull cite {
  color: rgba(255, 255, 255, 0.88);
}

/* --- Form error states ---------------------------------------------------
   Peach (#ffb4a0) rather than the brand red: red text fails contrast on the
   ink band, and the error voice should not reuse the CTA color anyway. */
.field__error {
  font-family: var(--body);
  font-size: 0.85rem;
  color: #ffb4a0;
  margin: 0.35rem 0 0;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #ffb4a0;
}

/* --- Hero smoke shimmer (home hero only) ---------------------------------
   The one ambient move on the site, per studio/motion conventions (ambient
   drift sits outside the interaction token scale; its knobs are its own).
   A faint haze over the hero photo drifts up and across on a long alternate
   loop — transform/opacity only (compositor tier), no layout, no paint.
   It renders under the scrim, so it reads as smoke in the air, not an
   overlay. Gated: it never exists under prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero--split .hero__media::before {
    content: "";
    position: absolute;
    inset: -18% -6%;
    /* no z-index: positioned pseudos already paint above the static <img>,
       and the ::after scrim, later in paint order, stays on top of this. */
    pointer-events: none;
    background:
      radial-gradient(
        46% 30% at 66% 58%,
        rgba(250, 250, 250, 0.09),
        transparent 72%
      ),
      radial-gradient(
        30% 22% at 38% 76%,
        rgba(250, 250, 250, 0.06),
        transparent 70%
      );
    opacity: 0.5;
    will-change: transform, opacity;
    animation: smoke-drift var(--smoke-duration, 17s) ease-in-out infinite
      alternate;
  }
  @keyframes smoke-drift {
    from {
      transform: translate3d(-2.5%, 2%, 0) scale(1);
      opacity: 0.35;
    }
    to {
      transform: translate3d(2.5%, -3.5%, 0) scale(1.05);
      opacity: 0.6;
    }
  }
}

/* --- Motion: one orchestrated reveal, not scattered effects ------------- */
.js .rise {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.js .rise.is-in {
  opacity: 1;
  transform: none;
}

@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;
  }
  .js .rise {
    opacity: 1;
    transform: none;
  }
  .btn:hover {
    transform: none;
  }
  .gallery figure:hover img {
    transform: none;
  }
}
