/* ==========================================================================
   Scocasa Group — website system
   Built directly from Brand Identity Guidelines, Edition 01 — 2026.

   Non-negotiables encoded here:
   · Radius is 0 everywhere — buttons, cards, photos, inputs, badges, avatars
   · Charcoal leads, copper is an accent and never exceeds ~10% of a layout
   · One display face per layout block — display and text never compete
   · Type steps come from the 1.4 scale only: 12 / 15 / 19 / 26 / 38 / 54
   · Everything ranged left, never justified
   · No italics in Archivo — emphasis is weight 500 or Copper 700
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Core palette */
  --charcoal: #231f20;
  --copper: #b06a3d;
  --white: #ffffff;
  --alabaster: #f6f4f2;
  --mist: #e3dfdb;
  --stone: #a9a29d;
  --graphite: #4a4443;

  /* Copper range — 500 is the base, 700+ for text, 100–300 for quiet fills */
  --copper-100: #f7ede5;
  --copper-200: #e8cfb8;
  --copper-300: #d3aa85;
  --copper-400: #c6936d;
  --copper-500: #b06a3d;
  --copper-700: #8a4e2a;

  /* Neutral range */
  --n-100: #ffffff;
  --n-200: #f6f4f2;
  --n-300: #e3dfdb;
  --n-500: #a9a29d;
  --n-700: #4a4443;
  --n-900: #231f20;

  /* Typefaces. Jost is lockup-only and never loaded as running text.
     Display face is Playfair Display rather than the book's Bodoni Moda:
     Bodoni's hairlines all but disappeared at 38–54px on a light ground.
     Playfair keeps the high-contrast editorial serif register with far more
     stem weight. Set at 500, never 400, for the same reason. */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Grid — 12 columns, 24px gutters, everything snaps */
  --gutter: 24px;
  --container: 1240px;

  /* Vertical rhythm */
  --section: 120px;
  --section-tight: 80px;

  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0; /* rule 04 of the graphic language — the zero corner */
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

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

body {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: var(--charcoal);
  background: var(--alabaster);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Intrinsic width/height are set on every <img> for layout stability, so the
   height must be released here or the aspect ratio fights the CSS box. */
img,
svg {
  display: block;
  max-width: 100%;
}

img { height: auto; }

.frame img,
.hero__bg img,
.page-hero__bg img { height: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* 2px copper focus ring at 2px offset — specified on p.26 */
:focus-visible {
  outline: 2px solid var(--copper-500);
  outline-offset: 2px;
}

::selection {
  background: var(--copper-200);
  color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   3. Type scale — 1.4 ratio from 12px. Steps may be interpolated across
      breakpoints but never invented.
   -------------------------------------------------------------------------- */

.display,
.h1,
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  text-wrap: balance;
}

.display {
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.h1 {
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.h2 {
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* Heading 3 is Archivo Medium — the one heading not set in the display face */
.h3 {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 19px;
  line-height: 24px;
  letter-spacing: -0.005em;
}

.body-lg {
  font-size: 19px;
  line-height: 30px;
}

.small {
  font-size: 12px;
  line-height: 19px;
}

/* Label — eyebrows, overlines, nav, buttons */
.eyebrow,
.label {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--copper-700);
  margin-bottom: 20px;
}

.on-dark .eyebrow,
.band-charcoal .eyebrow {
  color: var(--copper-400); /* 400 holds legibility on charcoal at 11px */
}

/* Measure: 50–68 characters, always */
p {
  max-width: 62ch;
}

.measure-tight { max-width: 46ch; }
.measure-none { max-width: none; }

/* Emphasis is weight or copper — never italic, never underline */
strong,
b {
  font-weight: 500;
  color: inherit;
}

em {
  font-style: normal;
  font-weight: 500;
  color: var(--copper-700);
}

.on-dark em,
.band-charcoal em {
  color: var(--copper-300);
}

/* The display face carries numerals in statements */
.stat-figure {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

/* Rule 07 — numerals in the display face for statements, but a phrase is not
   a numeral.
   Word values in a stat block take the Archivo Medium step instead, so a
   display face and a text face never compete at the same size. */
.stat-value {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 19px;
  line-height: 24px;
  letter-spacing: -0.005em;
}

/* Archivo tabular numerals for tables and invoicing-style data */
.tabular {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   4. Rules — device 01 of the graphic language
      2px copper under headings · 2px charcoal between sections · 1px mist in lists
   -------------------------------------------------------------------------- */

.rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--copper-500);
  border: 0;
  margin: 24px 0 0;
}

.rule--top { margin: 0 0 28px; }

.rule-section {
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border: 0;
}

.on-dark .rule-section,
.band-charcoal .rule-section {
  background: rgba(255, 255, 255, 0.22);
}

.rule-hair {
  width: 100%;
  height: 1px;
  background: var(--mist);
  border: 0;
}

.on-dark .rule-hair,
.band-charcoal .rule-hair {
  background: rgba(255, 255, 255, 0.14);
}

/* --------------------------------------------------------------------------
   5. Layout — device 02, the modular grid
   -------------------------------------------------------------------------- */

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

.section {
  padding: var(--section) 0;
}

.section--tight {
  padding: var(--section-tight) 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

/* Widths set the END edge only, so an offset class can set the START edge
   without the shorthand clobbering the span. */
.col-3 { grid-column-end: span 3; }
.col-4 { grid-column-end: span 4; }
.col-5 { grid-column-end: span 5; }
.col-6 { grid-column-end: span 6; }
.col-7 { grid-column-end: span 7; }
.col-8 { grid-column-end: span 8; }
.col-12 { grid-column-end: span 12; }

/* Offsets — cells stay equal width, only the start column moves */
.start-7 { grid-column-start: 7; }
.start-8 { grid-column-start: 8; }
.start-9 { grid-column-start: 9; }

.align-center { align-items: center; }
.align-end { align-items: end; }

/* Bordered statement panel, used for the promise and for form notes */
.panel {
  border: 1px solid var(--charcoal);
  padding: 32px;
}

.band-charcoal .panel { border-color: rgba(255, 255, 255, 0.28); }

.band-charcoal {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.band-alabaster { background: var(--alabaster); }
.band-white { background: var(--white); }
.band-mist { background: var(--mist); }

.band-charcoal p { color: rgba(255, 255, 255, 0.74); }
.band-charcoal .h3 { color: var(--white); }

/* Section head — eyebrow, heading, rule, then the intro directly beneath it.
   The intro used to sit in a far-right column, which left it stranded in
   whitespace with nothing to anchor it. */
.section-head {
  max-width: 60ch;
  margin-bottom: 56px;
}

.section-head__intro {
  margin-top: 28px;
  font-size: 19px;
  line-height: 30px;
  color: var(--graphite);
}

.band-charcoal .section-head__intro,
.on-dark .section-head__intro { color: rgba(255, 255, 255, 0.74); }

/* --------------------------------------------------------------------------
   6. Device 03 — the monogram watermark
      White at 5–10% opacity, bleeding off one corner, one per layout,
      never behind body text.
   -------------------------------------------------------------------------- */

.watermark {
  position: absolute;
  width: clamp(360px, 46vw, 720px);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.watermark--br { right: -8%; bottom: -34%; }
.watermark--tr { right: -6%; top: -30%; }
.watermark--bl { left: -8%; bottom: -34%; }

.band-charcoal > .container { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   7. Buttons — zero radius, label type, copper reserved for booking
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex: none; }

/* Primary — charcoal ground, white label */
.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-primary:hover { background: var(--graphite); border-color: var(--graphite); }

/* Outline on light */
.btn-outline {
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

/* On charcoal */
.btn-light {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn-light:hover { background: var(--mist); border-color: var(--mist); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* Copper — the booking action in the header only */
.btn-copper {
  background: var(--copper-500);
  color: var(--white);
  border-color: var(--copper-500);
}
.btn-copper:hover { background: var(--copper-700); border-color: var(--copper-700); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Quiet text link with a copper underline that draws on hover */
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--mist);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.link:hover { border-bottom-color: var(--copper-500); color: var(--copper-700); }

.on-dark .link,
.band-charcoal .link {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.28);
}
.on-dark .link:hover,
.band-charcoal .link:hover {
  color: var(--copper-300);
  border-bottom-color: var(--copper-500);
}

.link svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   8. Icons — Lucide, 1.5px stroke, square caps, no fills, no badges
   -------------------------------------------------------------------------- */

.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  fill: none;
  flex: none;
}

.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-32 { width: 32px; height: 32px; stroke-width: 1.5; }

/* Copper only when the icon is the single accent in a block.
   Two-class specificity so it still wins inside .card__icon / .contact-list. */
.icon.icon-accent { color: var(--copper-500); }

/* --------------------------------------------------------------------------
   9. Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Horizontal lockup, sized to stay well clear of the minimum legible width */
.header__logo img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover { color: var(--white); }

.nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--copper-500);
}

.header .btn-copper { padding: 15px 24px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: transparent; /* a bare <button> otherwise gets the UA grey */
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   10. Hero — the p.26 homepage specification
   -------------------------------------------------------------------------- */

/* Full-bleed photograph under a 60% charcoal film. Charcoal is the brand's
   field colour, so it is the only tint that can carry this much area. */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__film {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(35, 31, 32, 0.6);
}

.hero > .container { position: relative; z-index: 2; }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  min-height: 660px;
  align-items: center;
  padding: 88px 0;
}

.hero__copy {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__copy .eyebrow { color: var(--copper-300); }

.hero__lede {
  margin-top: 28px;
  font-size: 19px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 44ch;
}

/* ---- Hero booking form -------------------------------------------------- */

.hero__form {
  grid-column: 8 / span 5;
  background: var(--alabaster);
  color: var(--charcoal);
  padding: 40px;
}

.hero__form-head { margin-bottom: 28px; }

.hero__form .field { margin-bottom: 18px; }

.hero__form .field label { margin-bottom: 8px; }

.hero__form .field input,
.hero__form .field select {
  padding: 13px 14px;
  background: var(--white);
}

.hero__form .btn { width: 100%; margin-top: 6px; }

.hero__form-note {
  font-size: 12px;
  line-height: 19px;
  color: var(--n-700);
  margin-top: 16px;
  max-width: none;
}

.hero__form-note a { border-bottom: 1px solid var(--mist); }
.hero__form-note a:hover { color: var(--copper-700); border-bottom-color: var(--copper-500); }

/* Page hero for inner pages — charcoal, watermarked. Service pages add a
   photograph under a 50% film; utility pages stay flat charcoal. */
.page-hero {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 24px;
  font-size: 19px;
  line-height: 30px;
}

/* Masthead — one ruled line across the full grid carrying the trail on the
   left and the section on the right, instead of two stacked labels in the
   same corner. */
.page-hero__masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.page-hero__trail {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
}

.page-hero__trail a { transition: color 0.2s ease; }
.page-hero__trail a:hover { color: var(--copper-300); }
.page-hero__trail span { color: rgba(255, 255, 255, 0.28); }

.page-hero__section { color: var(--copper-300); }

/* ---- Photographic page hero (service pages) ----------------------------- */

.page-hero__bg { position: absolute; inset: 0; z-index: 0; }

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 50% here against the homepage hero's 60% — this band is shorter and carries
   less type over the image. */
.page-hero__film {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(35, 31, 32, 0.5);
}

.page-hero > .container { position: relative; z-index: 2; }

/* With a photograph doing the work, the watermark would only muddy it —
   these heroes drop it rather than stacking two devices. */
.page-hero--photo { padding: 112px 0 104px; }

.page-hero--photo .page-hero__masthead {
  border-bottom-color: rgba(255, 255, 255, 0.34);
}

/* The film stays at 50%, so the copy carries more of its own contrast than it
   needs to on flat charcoal — a bright window behind the lede is otherwise
   marginal. */
.page-hero--photo p { color: rgba(255, 255, 255, 0.94); }
.page-hero--photo .page-hero__trail { color: rgba(255, 255, 255, 0.78); }
.page-hero--photo .page-hero__trail span { color: rgba(255, 255, 255, 0.45); }

/* --------------------------------------------------------------------------
   11. Photography frames — hard rectangles, zero radius, grid-aligned.
       Swap a placeholder for real work by adding an <img> inside .frame,
       or set  style="background-image:url(...)"  on the .frame itself.
   -------------------------------------------------------------------------- */

.frame {
  position: relative;
  background-color: var(--mist);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame__note {
  text-align: center;
  color: var(--n-500);
  padding: 24px;
}

.frame__note .icon { margin: 0 auto 12px; color: var(--n-500); }

.frame__note span {
  display: block;
  font-size: 12px;
  line-height: 19px;
  letter-spacing: 0.02em;
}

.frame--fill { position: absolute; inset: 0; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--1x1 { aspect-ratio: 1 / 1; }
.frame--4x5 { aspect-ratio: 4 / 5; }
.frame--16x9 { aspect-ratio: 16 / 9; }

/* --------------------------------------------------------------------------
   12. Cards — bordered, square, no shadow, no lift
   -------------------------------------------------------------------------- */

.card {
  border: 1px solid var(--mist);
  background: var(--white);
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.card:hover { border-color: var(--charcoal); }

.card .h3 { margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--graphite); }

.card__index {
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--copper-500);
  margin-bottom: 24px;
}

.card__icon { margin-bottom: 24px; color: var(--charcoal); }

.card__foot { margin-top: auto; padding-top: 28px; }

.band-charcoal .card {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}
.band-charcoal .card:hover { border-color: rgba(255, 255, 255, 0.5); }
.band-charcoal .card__icon { color: var(--white); }

/* .card p sets graphite, which would otherwise win over .band-charcoal p
   and leave dark grey text on a charcoal ground. */
.band-charcoal .card p { color: rgba(255, 255, 255, 0.74); }

/* Division card — photo above, copy below */
.division {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mist);
  background: var(--white);
  height: 100%;
  transition: border-color 0.2s ease;
}

.division:hover { border-color: var(--charcoal); }

.division__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.division__body .h2 { margin-bottom: 8px; }

.division__desc { margin: 20px 0 28px; color: var(--graphite); }

.division__list {
  list-style: none;
  margin-bottom: 32px;
}

.division__list li {
  font-size: 12px;
  line-height: 19px;
  color: var(--graphite);
  padding: 10px 0;
  border-top: 1px solid var(--mist);
}

.division__foot { margin-top: auto; }

/* Ruled spec list — a compact way to say what is included without a paragraph */
.spec-list { list-style: none; }

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 24px;
  color: var(--graphite);
  padding: 14px 0;
  border-top: 1px solid var(--mist);
}

.spec-list li:last-child { border-bottom: 1px solid var(--mist); }

.spec-list .icon { color: var(--copper-500); margin-top: 4px; }

.band-charcoal .spec-list li,
.on-dark .spec-list li {
  color: rgba(255, 255, 255, 0.74);
  border-top-color: rgba(255, 255, 255, 0.14);
}

.band-charcoal .spec-list li:last-child,
.on-dark .spec-list li:last-child { border-bottom-color: rgba(255, 255, 255, 0.14); }

/* --------------------------------------------------------------------------
   13. Proof strip
   -------------------------------------------------------------------------- */

.proof-band { background: var(--alabaster); }

.proof {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  list-style: none;
}

.proof__item {
  padding: 28px 24px 28px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-right: 1px solid var(--mist);
}

.proof__item:last-child { border-right: 0; }
.proof__item:not(:first-child) { padding-left: 24px; }

.proof__item span {
  font-size: 12px;
  line-height: 19px;
  color: var(--graphite);
}

.proof__item .icon { color: var(--copper-500); margin-top: -1px; }

/* --------------------------------------------------------------------------
   14. Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

/* Full-width rules are charcoal, never copper — a copper rule is 56px and
   sits under a headline. Copper stays in the eyebrow above. */
.stat { border-top: 2px solid var(--charcoal); padding-top: 20px; }

.band-charcoal .stat { border-top-color: rgba(255, 255, 255, 0.22); }

.stat__label {
  font-size: 12px;
  line-height: 19px;
  color: var(--n-500);
  margin-bottom: 8px;
}

.band-charcoal .stat__label { color: rgba(255, 255, 255, 0.55); }
.band-charcoal .stat-figure,
.band-charcoal .stat-value { color: var(--white); }

/* --------------------------------------------------------------------------
   15. Process — numbered, ruled, no circles or badges
   -------------------------------------------------------------------------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.step { border-top: 2px solid rgba(255, 255, 255, 0.22); padding-top: 24px; }

.step__no {
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--copper-400);
  margin-bottom: 20px;
}

/* Stacked variant, for narrow columns on a light ground */
.process--stack { grid-template-columns: 1fr; gap: 32px; }

.step--light { border-top-color: var(--charcoal); }
.step--light .step__no { color: var(--copper-700); }

.step .h3 { margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   16. Case study
   -------------------------------------------------------------------------- */

.case {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 56px;
}

.case__meta {
  display: flex;
  gap: 56px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--mist);
}

.case__meta div { min-width: 0; }

.case__meta dt {
  font-size: 12px;
  line-height: 19px;
  color: var(--n-500);
  margin-bottom: 4px;
}

.case__meta dd {
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   17. Project tiles
   -------------------------------------------------------------------------- */

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.project { display: block; }

.project .frame { margin-bottom: 20px; }

.project__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--copper-700);
  margin-bottom: 8px;
}

.project__title {
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.project:hover .project__title { color: var(--copper-700); }

.project__note { font-size: 12px; line-height: 19px; color: var(--graphite); }

/* --------------------------------------------------------------------------
   18. Quote — Bodoni italic is permitted here and only here
   -------------------------------------------------------------------------- */

.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.35;
  max-width: 34ch;
}

.band-charcoal .quote,
.on-dark .quote { color: var(--white); }

.quote__attrib {
  font-family: var(--font-text);
  font-style: normal;
  font-size: 12px;
  line-height: 19px;
  color: var(--n-500);
  margin-top: 24px;
}

.band-charcoal .quote__attrib { color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   19. Forms
   -------------------------------------------------------------------------- */

.field { margin-bottom: 24px; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 15px 16px;
  background: var(--white);
  border: 1px solid var(--mist);
  font-size: 15px;
  line-height: 24px;
  transition: border-color 0.2s ease;
}

/* A native select is shorter than a text input and draws its own arrow, so it
   is reset and given the same box plus a drawn chevron. */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--stone); }

.field textarea { min-height: 150px; resize: vertical; }

.hero__form .field input,
.hero__form .field select { min-height: 52px; }

.field__hint { font-size: 12px; line-height: 19px; color: var(--n-500); margin-top: 8px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }

.form-note {
  border: 1px solid var(--charcoal);
  padding: 24px;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   20. Contact rows
   -------------------------------------------------------------------------- */

.contact-list { list-style: none; }

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--mist);
}

.contact-list li:last-child { border-bottom: 1px solid var(--mist); }

.contact-list .icon { color: var(--copper-500); margin-top: 2px; }

.contact-list__label {
  font-size: 12px;
  line-height: 19px;
  color: var(--n-500);
  margin-bottom: 2px;
}

.contact-list__value { font-size: 15px; line-height: 24px; }
.contact-list__value a:hover { color: var(--copper-700); }

/* --------------------------------------------------------------------------
   21. CTA band
   -------------------------------------------------------------------------- */

.cta {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 104px 0;
}

/* Following a charcoal section, the two paddings stack into a dead band —
   the preceding section's bottom padding is separation enough. */
.band-charcoal + .cta { padding-top: 0; }

/* Stacked in a narrow column, the two buttons must match width rather than
   each shrink-wrapping its own label. */
.cta .btn-row {
  flex-direction: column;
  align-items: stretch;
}

.cta p { color: rgba(255, 255, 255, 0.74); margin-top: 24px; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding-bottom: 56px;
}

.footer__brand { grid-column: span 4; }
.footer__col { grid-column: span 2; }
.footer__contact { grid-column: span 4; }

/* Stacked primary at 226px wide — the guidelines set a 220px screen minimum */
.footer__logo img { height: 100px; width: auto; margin-bottom: 28px; }

.footer__blurb { font-size: 12px; line-height: 19px; color: rgba(255, 255, 255, 0.6); max-width: 34ch; }

.footer h4 {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 12px; }

.footer li a {
  font-size: 12px;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer li a:hover { color: var(--copper-300); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom a:hover { color: var(--copper-300); }

.footer__social { display: flex; gap: 20px; }
.footer__social a { color: rgba(255, 255, 255, 0.7); }
.footer__social a:hover { color: var(--copper-300); }

/* --------------------------------------------------------------------------
   23. Quiet reveal — restraint applies to motion too
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in { opacity: 1; transform: none; }

.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   24. Utilities
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--copper-500);
  color: var(--white);
  padding: 14px 20px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.skip-link:focus { left: 0; }

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

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* --------------------------------------------------------------------------
   25. Breakpoints — steps interpolate, the grid never breaks its snapping
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  :root { --section: 96px; --section-tight: 64px; }

  .section-head { margin-bottom: 48px; }

  .projects { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(3, 1fr); }
  .proof__item:nth-child(3) { border-right: 0; }
  .proof__item:nth-child(4) { padding-left: 0; border-top: 1px solid var(--mist); }
  .proof__item:nth-child(5) { border-top: 1px solid var(--mist); }
  .hero__copy { padding-right: 40px; }
  .case { padding: 40px; }
}

@media (max-width: 900px) {
  .start-7, .start-8, .start-9 { grid-column-start: auto; }

  .nav,
  .header .btn-copper { display: none; }

  .nav-toggle { display: inline-flex; }

  .header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px var(--gutter) 24px;
  }

  /* The booking button is already a child of .nav, so it just flows in the
     drawer — it must not pick up the link padding or the hairline. */
  .header.is-open .nav a:not(.btn) {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header.is-open .nav a[aria-current="page"]:not(.btn) {
    border-bottom-color: var(--copper-500);
  }

  .header.is-open .btn-copper {
    display: inline-flex;
    margin-top: 20px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 64px 0;
    gap: 48px;
  }
  /* The template drops to a single track here, so the children must be auto —
     "span 12" would generate 12 implicit columns and blow out the width. */
  .hero__copy,
  .hero__form { grid-column: auto; }

  .hero__form { padding: 32px; }

  .page-hero__masthead { margin-bottom: 40px; }

  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 {
    grid-column-start: auto;
    grid-column-end: span 12;
  }

  .stats, .process { grid-template-columns: repeat(2, 1fr); }
  .footer__brand, .footer__contact { grid-column: span 12; }
  .footer__col { grid-column: span 6; }
  .case__meta { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  :root { --section: 72px; --section-tight: 56px; --gutter: 20px; }

  /* Touch targets — everything tappable clears 44px on a phone. */
  .footer li { margin-bottom: 0; }

  .footer li a {
    display: block;
    padding: 12px 0;
    font-size: 13px;
  }

  .footer__social { gap: 8px; }

  .footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: -10px;
  }

  .link { padding: 12px 0; }

  .contact-list li { padding: 18px 0; }

  .footer__bottom { gap: 12px; }

  /* "Home ·" pushes the masthead onto two lines here, which puts the two
     labels back in a stack. The header logo already links home. */
  .page-hero__trail a,
  .page-hero__trail span { display: none; }

  .page-hero__masthead { gap: 16px; }

  .projects { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .proof__item {
    border-right: 0;
    border-top: 1px solid var(--mist);
    padding: 20px 0;
  }
  .proof__item:first-child { border-top: 0; }
  .proof__item:not(:first-child) { padding-left: 0; }

  .stats, .process { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .case { padding: 28px 24px; }
  .case__meta { gap: 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .footer__col { grid-column: span 12; }
}
