/* ==========================================================================
   Lending Robots
   Direction: a library catalogue, not an equipment spec sheet. Pale sage
   ground, deep forest ink, and a single date-stamp red borrowed from the
   rubber stamp on a returned book. The signature object is the checkout card.
   Type: Bricolage Grotesque (display) / Newsreader (body serif) / Courier
   Prime (card labels). A serif body is deliberate - this is about books.
   ========================================================================== */

:root {
  --wash:    #eef4ec;   /* page ground - pale sage */
  --card:    #fbfaf9;   /* card stock */
  --white:   #ffffff;
  --ink:     #16302b;   /* deep forest, near-black but warm */
  --muted:   #5c7168;   /* secondary text */
  --rule:    #cfddd2;   /* hairlines */
  --stamp:   #e2483d;   /* date-stamp red - the one signal colour */
  --ochre:   #f2b33d;   /* secondary accent */
  --ink-dim: rgba(22, 48, 43, .06);

  --font-display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --font-body:    'Newsreader', Georgia, 'Times New Roman', serif;
  --font-card:    'Courier Prime', 'Courier New', monospace;

  --shell: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2.5px solid var(--stamp); outline-offset: 3px; }

.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;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--ink); color: var(--card);
  padding: .7rem 1.2rem; font-family: var(--font-card); font-size: .85rem;
  text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------- layout -- */

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 760px; }
.section { padding-block: var(--section-y); }
.section--card { background: var(--card); border-block: 1px solid var(--rule); }

/* ------------------------------------------------------- shared type bits -- */

/* Library card label: small, spaced, typewriter. Used instead of an eyebrow. */
.label {
  font-family: var(--font-card);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.label__dot { color: var(--stamp); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -.025em;
  max-width: 20ch;
  margin: 0 0 1rem;
}

.section-lede {
  font-size: clamp(1.075rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 2.75rem;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn--sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn--primary { background: var(--stamp); color: #fff; border-color: var(--stamp); }
.btn--primary:hover { background: #c93a30; border-color: #c93a30; transform: translateY(-1px); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--quiet:hover { background: var(--ink); color: var(--card); transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------- masthead -- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 244, 236, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); min-height: 70px; }

.wordmark { display: flex; align-items: center; gap: .6rem; text-decoration: none; white-space: nowrap; }
/* The mark is a book spine with a stamp dot - drawn, so there is no asset to load.
   `display: block` is load-bearing: as an inline span the width and height are
   ignored, which is fine inside the flex wordmark but silently collapses the mark
   to a bare dot in the footer, where it stands alone. */
.wordmark__mark {
  display: block;
  width: 20px; height: 24px; flex: none;
  background: var(--ink);
  border-radius: 2px 4px 4px 2px;
  position: relative;
}
.wordmark__mark::after {
  content: ''; position: absolute; left: 50%; top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--stamp); transform: translateX(-50%);
}
.wordmark__text { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; }

.masthead__nav { display: flex; gap: 1.5rem; margin-inline-start: auto; font-family: var(--font-display); font-size: .95rem; }
.masthead__nav a {
  text-decoration: none; color: var(--muted); padding-block: .3rem;
  border-bottom: 2px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.masthead__nav a:hover { color: var(--ink); border-bottom-color: var(--stamp); }
.masthead__actions { display: flex; align-items: center; gap: 1.25rem; }

.masthead__phone { text-decoration: none; line-height: 1.15; white-space: nowrap; }
.masthead__phone-label {
  display: block; font-family: var(--font-card); font-size: .64rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.masthead__phone-number {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .96rem; letter-spacing: -.01em;
  transition: color .16s var(--ease);
}
.masthead__phone:hover .masthead__phone-number { color: var(--stamp); }

.footer__big { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }

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

.hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__headline {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 0 0 1.25rem;
}
/* The stamped word: rotated, outlined, like a rubber stamp on a card. */
.stamped {
  display: inline-block;
  color: var(--stamp);
  border: 3px solid var(--stamp);
  border-radius: 4px;
  padding: 0 .3em .06em;
  transform: rotate(-2.5deg);
  line-height: 1.05;
}
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero__note {
  font-family: var(--font-card); font-size: .8rem; line-height: 1.6; color: var(--muted);
  max-width: 40ch; padding-left: .9rem; border-left: 2px solid var(--rule);
}
/* The generated hero carries a wide empty margin on its left. Cropping to 4:3
   and biasing right tightens it onto the shelf without regenerating the art. */
.hero__art { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
.hero__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% center; }

/* ------------------------------------------------------------ why borrow -- */

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.why__list h3 { font-size: 1.15rem; margin: 0 0 .45rem; padding-top: 1.15rem; border-top: 1px solid var(--rule); }
.why__list li:first-child h3 { padding-top: 0; border-top: none; }
.why__list p { color: var(--muted); margin: 0; }
.why__art { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }

/* ---------------------------------------------------------- what ships -- */

.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.5rem, 3vw, 2.25rem); }
.included__item h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.included__item p { color: var(--muted); font-size: .97rem; margin: 0; }
.included__art { margin: 0 0 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--white); }

/* ------------------------------------------ signature: the checkout card -- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; }

/* A card from the pocket in the back of a library book. The ruled lines and
   the stamp are the whole identity - do not soften them into a generic tile. */
.ccard {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  /* Ruled paper, drawn rather than imaged */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    var(--ink-dim) 27px,
    var(--ink-dim) 28px
  );
  background-position: 0 3.6rem;
}
.ccard__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem;
  font-family: var(--font-card); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: .6rem; margin-bottom: .85rem;
  border-bottom: 2px solid var(--ink);
}
.ccard__kind { color: var(--ink); }
.ccard__name { font-size: 1.28rem; letter-spacing: -.02em; margin: 0 0 .85rem; }
.ccard__rows { margin: 0 0 1rem; display: grid; gap: .38rem; font-family: var(--font-card); font-size: .78rem; }
.ccard__rows div { display: grid; grid-template-columns: 5.9rem minmax(0, 1fr); gap: .6rem; }
.ccard__rows dt { color: var(--muted); }
.ccard__rows dd { margin: 0; }
.ccard__note { font-size: .93rem; color: var(--muted); margin: 0 0 1rem; }
/* Supervision is the one line that must not read as filler. */
.ccard__super {
  margin-top: auto;
  font-family: var(--font-card); font-size: .72rem; line-height: 1.5;
  color: var(--stamp);
  border: 1.5px solid var(--stamp);
  border-radius: 3px;
  padding: .45rem .6rem;
  transform: rotate(-.6deg);
}

/* ------------------------------------------------------------- catalogue -- */

.band { padding-top: 3rem; border-top: 1px solid var(--rule); margin-top: 3rem; }
.band:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.band__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: 2rem; }
.band__title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .5rem; }
.band__grades { font-family: var(--font-card); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); margin: 0 0 .75rem; }
.band__blurb { color: var(--muted); margin: 0; }
.band__art { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }

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

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 2rem); row-gap: 0;
  padding-block: 1.75rem; border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
/* Numbered because borrowing genuinely is a sequence. */
.step__n {
  grid-column: 1; grid-row: 1 / span 2;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--card);
  font-family: var(--font-card); font-size: .95rem;
}
.step h3 { grid-column: 2; font-size: 1.2rem; margin: 0 0 .4rem; }
.step p { grid-column: 2; color: var(--muted); margin: 0; max-width: 60ch; }

/* ------------------------------------------------------------------ terms -- */

.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.term__title { font-size: 1.08rem; margin: 0 0 .5rem; padding-top: .8rem; border-top: 2px solid var(--stamp); display: inline-block; }
.term p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ------------------------------------------------------------- pricing note -- */

.pricing { border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 70ch; }
.pricing h3 { font-size: 1.2rem; margin: 0 0 .85rem; }
.pricing p { color: var(--muted); font-size: .98rem; }
.pricing ul { list-style: none; margin: 1.15rem 0; padding: 0; display: grid; gap: .6rem; font-size: .95rem; color: var(--muted); }
.pricing li { padding-left: 1.15rem; position: relative; }
.pricing li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--stamp); }
.pricing strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------- form -- */

.enquiry { max-width: 760px; }
.enquiry__progress {
  list-style: none; margin: 0 0 2.25rem; padding: 0 0 1.1rem;
  border-bottom: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-family: var(--font-card); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--rule);
}
.enquiry__progress li { display: flex; align-items: center; gap: .45rem; transition: color .2s var(--ease); }
.enquiry__progress li.is-current { color: var(--stamp); }
.enquiry__progress li.is-done { color: var(--muted); }

.step-panel { border: 0; margin: 0; padding: 0; display: none; }
.step-panel.is-active { display: block; }
.step-panel__legend { font-family: var(--font-display); font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; padding: 0; margin-bottom: 1.5rem; }

.field { margin-bottom: 1.4rem; }
.field--half { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field label {
  display: block; font-family: var(--font-card); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem;
}
.req { color: var(--stamp); margin-left: .35rem; }
.field__hint { font-size: .88rem; color: var(--muted); margin: -.1rem 0 .55rem; max-width: 56ch; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .85rem;
  background: var(--white); border: 1.5px solid var(--rule); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color .16s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--stamp); outline: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--stamp); }
.field__error { display: none; font-family: var(--font-card); font-size: .74rem; color: var(--stamp); margin: .4rem 0 0; }
.field__error.is-shown { display: block; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

.done { border: 2px solid var(--stamp); border-radius: var(--radius); background: var(--card); padding: clamp(1.5rem, 4vw, 2.5rem); }
.done[hidden] { display: none; }
.done__label { font-family: var(--font-card); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stamp); margin: 0 0 .7rem; }
.done__title { font-size: clamp(1.35rem, 3vw, 1.85rem); margin: 0 0 .9rem; }
.done p { color: var(--muted); }
.done__ref strong { font-family: var(--font-card); color: var(--ink); }

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

.footer { background: var(--ink); color: var(--card); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 3.5rem); padding-bottom: 3rem; }
.footer .wordmark__mark { background: var(--card); }
.footer__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 1rem 0 .5rem; }
.footer__tag { color: #9db3aa; font-size: .95rem; margin: 0; }
.footer__col h3 { font-family: var(--font-card); font-size: .72rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #9db3aa; margin: 0 0 1rem; }
.footer__col p { margin: 0 0 .55rem; font-size: .97rem; }
.footer__col a { color: var(--card); text-decoration: none; border-bottom: 1px solid rgba(251,250,249,.3); }
.footer__col a:hover { color: var(--ochre); border-bottom-color: var(--ochre); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .97rem; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  /* The chat button is fixed to the bottom-right corner, so the last line of the
     page needs clearance or the button sits on top of it. */
  padding: 1.4rem 0 5rem; border-top: 1px solid rgba(251,250,249,.15);
  font-family: var(--font-card); font-size: .74rem; color: #8ba79d;
}
.footer__base p:last-child { max-width: 46ch; }
.footer__base p { margin: 0; }

/* -------------------------------------------------------------- chat panel -- */

.ask-toggle {
  position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 120;
  display: flex; align-items: center; gap: .55rem;
  padding: .8rem 1.25rem;
  background: var(--ink); color: var(--card);
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: .92rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(22, 48, 43, .22);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.ask-toggle:hover { transform: translateY(-2px); background: #1f4038; }
.ask-toggle__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); }
.ask-toggle.is-open { display: none; }

.ask {
  position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 130;
  width: min(390px, calc(100vw - 2rem)); max-height: min(620px, calc(100vh - 2rem));
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--stamp);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(22, 48, 43, .22);
  animation: ask-in .22s var(--ease);
}
.ask[hidden] { display: none; }
@keyframes ask-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.ask__head { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.05rem; border-bottom: 1px solid var(--rule); }
.ask__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0; }
.ask__status { font-family: var(--font-card); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: .1rem 0 0; display: flex; align-items: center; gap: .35rem; }
.ask__dot { width: 6px; height: 6px; border-radius: 50%; background: #3f9d6a; }
.ask__close { background: none; border: none; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--muted); padding: 0 .2rem; }
.ask__close:hover { color: var(--ink); }

.ask__log { flex: 1; overflow-y: auto; padding: 1.05rem; display: grid; gap: .8rem; align-content: start; }
.msg { max-width: 88%; padding: .7rem .9rem; font-size: .95rem; line-height: 1.55; border-radius: var(--radius); }
.msg p { margin: 0 0 .5rem; }
.msg p:last-child { margin-bottom: 0; }
.msg--agent { background: var(--wash); border-left: 2px solid var(--stamp); justify-self: start; }
.msg--user { background: var(--ink); color: var(--card); justify-self: end; }
.msg--error { background: #fdeceb; border-left: 2px solid var(--stamp); color: #8f2b23; justify-self: start; }
.msg--typing { display: flex; gap: 5px; align-items: center; padding: .9rem; }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.3s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .18s; }
.msg--typing span:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.ask__chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1.05rem .85rem; }
.ask__chips button {
  background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  padding: .35rem .75rem; font-family: var(--font-card); font-size: .7rem;
  color: var(--muted); cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.ask__chips button:hover { border-color: var(--stamp); color: var(--stamp); }
.ask__chips[hidden] { display: none; }

.ask__form { display: flex; gap: .45rem; padding: .75rem 1.05rem; border-top: 1px solid var(--rule); }
.ask__form input { flex: 1; padding: .6rem .75rem; background: var(--wash); border: 1.5px solid transparent; border-radius: var(--radius); font-size: .95rem; }
.ask__form input:focus { outline: none; border-color: var(--stamp); background: var(--white); }
.ask__form button { display: grid; place-items: center; width: 42px; background: var(--stamp); color: #fff; border: none; border-radius: var(--radius); cursor: pointer; }
.ask__form button:disabled { opacity: .45; cursor: not-allowed; }
.ask__foot { margin: 0; padding: 0 1.05rem .85rem; font-family: var(--font-card); font-size: .7rem; color: var(--muted); }
.ask__foot a { color: var(--stamp); }

/* -------------------------------------------------------------- reveals -- */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 1060px) { .masthead__nav { display: none; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art img { aspect-ratio: 16 / 9; }
  .why { grid-template-columns: 1fr; }
  .why__art { order: -1; }
  .band__head { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  /* The number stays reachable as a tel: link in the hero and footer, so the
     masthead copy is redundant once it starts crowding the quote button. */
  .masthead__phone { display: none; }
  .field--half { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: .9rem; }
  .enquiry__progress { gap: .9rem; font-size: .66rem; }
  .ask { right: 0; bottom: 0; width: 100vw; max-height: 100vh; height: 100dvh; border-radius: 0; border-left: none; border-right: none; }
  .ccard__rows div { grid-template-columns: 5.2rem minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
