/* ==========================================================================
   Quarry House — quarryhouse.us
   Design direction: "The Quarry Face".
   Palette and brand marks are sampled from the client's own logo
   (navy #0F3D88, burnt-rust rule #A43300) and from the colour that recurs
   through Tom Atkins' own photography — rust, ochre, deep ink.
   Display face: Marcellus (inscriptional — letters cut in stone).
   Text face:    IBM Plex Sans (the engineering half of a 30-year AV career).
   Signature:    the "split edge" — feature imagery is clipped along an
                 irregular fracture, the way slate is split from the face.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted fonts (no external requests)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Marcellus";
  src: url("fonts/marcellus-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("fonts/ibm-plex-sans-var.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
/* REPLACEABLE IMAGES ---------------------------------------------------------
   Every photograph on this site is Tom Atkins' own work, and every one of them
   is referenced from the HTML as <img src="assets/..."> — never as a CSS
   background — so each keeps its own alt text, srcset and lazy-loading.

   To swap any image: drop the replacement into assets/ under the SAME filename
   and the whole site picks it up. If the new file has different proportions,
   update the width/height attributes on the corresponding <img> tag too.

     assets/art-*.webp        home hero            (approx. 1.15:1, mid-dark)
     assets/glass-*.webp      page header bands    (approx. 3.75:1, dark)
     assets/vine-*.webp       page header bands    (approx. 5.4:1, dark)
     assets/meadow-*.webp     page header band     (approx. 7.5:1)
     assets/leaf-*.webp       "Spirit first" band  (approx. 6:1, dark)
     assets/workbench-*.webp  Coaching card        (cropped to 2:1)
     assets/studio-*.webp     Consulting card, Photography
     assets/church-*.webp     Photography
     assets/pipes-*.webp      Photography card, Photography
     assets/tom.webp          founder's portrait — LOW RESOLUTION, replace first

   assets/manifest.json records the original source URL and a description for
   every file.
   END REPLACEABLE IMAGES ---------------------------------------------------- */

:root {
  /* Ink / ground */
  --ink:        #0E1620;
  --ink-2:      #16202B;
  --ink-3:      #1E2A37;

  /* Brand — sampled from picts/logo.jpg */
  --navy:       #0F3D88;
  --navy-deep:  #0A2A63;
  --navy-lift:  #7FA6E8;   /* navy legible on ink */
  --rust:       #B03A0E;   /* CTA on light grounds */
  --rust-lift:  #C0420F;   /* CTA on ink grounds   */
  --rust-pale:  #E8A882;

  /* Paper / stone */
  --paper:      #F5F6F5;
  --paper-2:    #FFFFFF;
  --mist:       #E4E8E8;
  --stone:      #55606B;
  --stone-dim:  #8C959D;

  /* Lines */
  --line:       rgba(14, 22, 32, .14);
  --line-soft:  rgba(14, 22, 32, .08);
  --line-ink:   rgba(255, 255, 255, .16);

  /* Type */
  --display: "Marcellus", "Optima", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Plex Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --t-xs:  0.75rem;
  --t-sm:  0.875rem;
  --t-base: 1.0625rem;
  --t-md:  clamp(1.125rem, 0.3vw + 1.06rem, 1.25rem);
  --t-lg:  clamp(1.35rem, 0.7vw + 1.2rem, 1.7rem);
  --t-xl:  clamp(1.7rem, 1.5vw + 1.35rem, 2.5rem);
  --t-2xl: clamp(2.1rem, 2.6vw + 1.5rem, 3.4rem);
  --t-3xl: clamp(2.4rem, 2.6vw + 1.5rem, 3.6rem);

  /* Space */
  --gap:   1.5rem;
  --pad-band: clamp(3.5rem, 7vw, 7rem);
  --wrap: 74rem;
  --wrap-narrow: 46rem;

  --radius: 2px;

  /* Signature: the split edge — an irregular near-vertical fracture */
  --split-left: polygon(4% 0%, 0.4% 13%, 3.4% 29%, 0.8% 45%, 4% 62%, 1.2% 79%, 3.2% 100%,
                        100% 100%, 100% 0%);
  --split-right: polygon(0% 0%, 100% 0%, 96.8% 12%, 99.4% 27%, 96.2% 44%,
                         99.2% 61%, 96.6% 78%, 99.6% 100%, 0% 100%);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  /* Width of the vertical scrollbar. On <html>, 100% is the content box
     (scrollbar excluded) while 100vw includes it. Full-bleed elements need
     this or they overhang by half a scrollbar and cause sideways scrolling. */
  --sbw: calc(100vw - 100%);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; background-color: var(--mist); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

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

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

::selection { background: var(--navy); color: #fff; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.band { padding-block: var(--pad-band); }
.band-tight { padding-block: clamp(2.5rem, 4.5vw, 4rem); }
.band-ink { background: var(--ink); color: #E8ECEF; }
.band-ink h1, .band-ink h2, .band-ink h3 { color: #fff; }
.band-ink a { color: var(--rust-pale); }
.band-ink a:hover { color: #fff; }
.band-paper2 { background: var(--paper-2); }
.band-mist { background: var(--mist); }

.stack > * + * { margin-top: 1.1em; }
.stack-lg > * + * { margin-top: 1.8rem; }

/* Section header ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.9rem;
}
.band-ink .eyebrow { color: var(--rust-pale); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 3.5vw, 3.25rem); }
.section-head h2 { font-size: var(--t-2xl); }
.section-head p { margin-top: 1rem; color: var(--stone); font-size: var(--t-md); }
.band-ink .section-head p { color: #AFBAC4; }

/* Signature: the fracture rule ------------------------------------------- */
.rule {
  position: relative;
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule::after {
  content: "";
  position: absolute;
  left: 34%;
  top: -3px;
  width: 7%;
  min-width: 2.5rem;
  height: 1px;
  background: var(--rust);
}
.band-ink .rule { background: var(--line-ink); }
.band-ink .rule::after { background: var(--rust-lift); }

/* --------------------------------------------------------------------------
   Buttons — one CTA vocabulary across the whole site
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: #8F2E09; color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Dark grounds — hero, inner-page headers and ink bands all share these. */
.band-ink .btn-primary, .hero .btn-primary, .page-head .btn-primary { background: var(--rust-lift); color: #fff; }
.band-ink .btn-primary:hover, .hero .btn-primary:hover, .page-head .btn-primary:hover { background: #D64C15; color: #fff; }
.band-ink .btn-ghost, .hero .btn-ghost, .page-head .btn-ghost { color: #fff; border-color: rgba(255,255,255,.38); }
.band-ink .btn-ghost:hover, .hero .btn-ghost:hover, .page-head .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-sm { padding: 0.6rem 1.05rem; font-size: var(--t-xs); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* Text link with a moving underline --------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .18s ease;
}
.skip:focus { top: 0.75rem; color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 245, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: 4.75rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 2.1rem; height: auto; color: var(--navy); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-size: 1.32rem;
  color: var(--navy-deep);
  letter-spacing: 0.005em;
}
.brand__tag {
  font-size: 0.57rem;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.34rem;
  white-space: nowrap;
}
/* The tagline is real text in the footer of every page (and in the page
   metadata). Keeping it out of the sticky header buys the ~90px the eight-item
   navigation needs to fit inside the content column at every width. */
.site-head .brand__tag { display: none; }

.nav { display: flex; align-items: center; gap: 1.05rem; }
.nav a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--rust); border-bottom-color: var(--rust); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.nav__ext::after { content: "↗"; font-size: 0.75em; margin-left: 0.2em; opacity: .6; }

.nav-toggle[hidden] { display: none; }   /* JS un-hides it; must beat the rules below */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 1rem; height: 0.6rem; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease;
}
.nav-toggle__bars::before { top: 0.05rem; }
.nav-toggle__bars::after { bottom: 0.05rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(0.24rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-0.26rem) rotate(-45deg); }

.head-cta { flex: none; }

/* CTA that lives inside the collapsed mobile panel */
.nav__cta { display: none; margin-top: 1rem; justify-content: center; }

/* --------------------------------------------------------------------------
   Hero — the split face
   -------------------------------------------------------------------------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: stretch;
  /* Kept close to the hero photograph's native height so it is never
     upscaled much — the source is 1500x400. */
  min-height: min(62vh, 30rem);
}
.hero__copy {
  padding-block: clamp(2.25rem, 3vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
  align-self: center;
  max-width: 38rem;
}
.hero__eyebrow {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--rust-pale);
  margin: 0 0 1.4rem;
}
.hero h1 {
  font-size: var(--t-3xl);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero__sub {
  margin-top: 1.3rem;
  font-size: var(--t-md);
  color: #BFC9D2;
  max-width: 33rem;
}
.hero .btn-row { margin-top: 1.9rem; }

.hero__media {
  position: relative;
  margin-right: calc(50% - 50vw + var(--sbw) / 2);   /* bleed to the content edge */
  clip-path: var(--split-left);
  /* The signature: a rust hairline traced along the fracture, so the split
     edge reads as a deliberate cut rather than a stray diagonal. */
  filter: drop-shadow(-2px 0 0 var(--rust-lift));
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14,22,32,.9) 0%, rgba(14,22,32,.32) 38%, rgba(14,22,32,.08) 72%);
}

/* Trust strip under the hero copy */
.hero__trust {
  margin-top: 1.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #93A0AB;
}
/* Separator trails each item rather than leading the next one, so a wrapped
   line never begins with an orphaned dot. */
.hero__trust span { display: inline-flex; align-items: center; gap: 1.4rem; }
.hero__trust span:not(:last-child)::after {
  content: "";
  width: 3px; height: 3px;
  background: var(--rust-lift);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-head { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-head__media { position: absolute; inset: 0; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.page-head__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,22,32,.93) 0%, rgba(14,22,32,.74) 45%, rgba(14,22,32,.42) 100%);
}
.page-head__inner {
  position: relative;
  padding-block: clamp(2.75rem, 4.5vw, 4.25rem);
  max-width: 44rem;
}
.page-head h1 { font-size: var(--t-2xl); color: #fff; }
.page-head__sub { margin-top: 1.15rem; font-size: var(--t-md); color: #BFC9D2; max-width: 36rem; }
.page-head .eyebrow { color: var(--rust-pale); }

/* --------------------------------------------------------------------------
   Proof bar
   -------------------------------------------------------------------------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof__item { padding: 1.6rem 1.25rem; border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__n {
  display: block;
  font-family: var(--display);
  font-size: var(--t-lg);
  color: var(--navy);
  line-height: 1.1;
}
.proof__l { display: block; margin-top: 0.4rem; font-size: var(--t-sm); color: var(--stone); }

/* --------------------------------------------------------------------------
   Thesis band — "spirit first"
   -------------------------------------------------------------------------- */
.thesis { position: relative; overflow: hidden; }
.thesis__bg { position: absolute; inset: 0; }
.thesis__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.thesis__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,22,32,.72) 0%, rgba(14,22,32,.92) 100%);
}
.thesis__inner { position: relative; }
.thesis__quote {
  font-family: var(--display);
  font-size: var(--t-xl);
  line-height: 1.24;
  color: #fff;
  margin: 0;
  max-width: 34rem;
  letter-spacing: -0.01em;
}
.thesis__quote cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-pale);
}
.thesis__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.thesis__body { color: #B6C1CB; font-size: var(--t-md); }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: rgba(15,61,136,.3); transform: translateY(-3px); box-shadow: 0 14px 34px -22px rgba(14,22,32,.5); }
.card__media { aspect-ratio: 2 / 1; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; gap: 0.8rem; }
.card h3 { font-size: var(--t-lg); }
.card__for {
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}
.card p { color: var(--stone); font-size: 1rem; }
.card .link-arrow { margin-top: auto; padding-top: 0.4rem; color: var(--navy); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.quotes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.quote blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.quote__attr {
  margin-top: auto;
  font-size: var(--t-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
}
.quote__attr b { display: block; color: var(--navy); font-weight: 600; letter-spacing: 0.09em; }
.quote-lead blockquote { font-family: var(--display); font-size: var(--t-lg); line-height: 1.3; }

/* --------------------------------------------------------------------------
   Stats — the coaching ROI figures, as real text
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.stats h3 {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.4rem;
}
.stat { margin-bottom: 1.25rem; }
.stat__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.stat__label { font-size: 0.95rem; color: var(--ink); }
.stat__value { font-family: var(--display); font-size: var(--t-lg); color: var(--navy); line-height: 1; }
.stat__bar { margin-top: 0.5rem; height: 3px; background: var(--mist); overflow: hidden; }
.stat__fill { display: block; height: 100%; background: var(--navy); }
.stats-note { margin-top: 2rem; font-size: var(--t-sm); color: var(--stone); }

/* --------------------------------------------------------------------------
   Founder's note
   -------------------------------------------------------------------------- */
.note { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.note__portrait {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: none;
}
.note__lead { font-family: var(--display); font-size: var(--t-lg); line-height: 1.3; }
.note__sig {
  margin-top: 1.6rem;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy);
}
.note__sig small { display: block; font-family: var(--sans); font-size: var(--t-xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-top: 0.35rem; }

/* --------------------------------------------------------------------------
   Prose (long-form pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 38rem; font-size: var(--t-md); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--t-xl); margin-top: 2.4em; }
.prose h3 { font-size: var(--t-lg); margin-top: 2em; }
.prose h2 + p, .prose h3 + p { margin-top: 0.8em; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { margin: 1.15em 0; padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose blockquote {
  margin: 1.8em 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--rust);
  font-family: var(--display);
  font-size: var(--t-lg);
  line-height: 1.32;
  color: var(--navy-deep);
}
.prose-wide { max-width: 46rem; }

/* Two-column layout with a sticky aside ---------------------------------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.aside { position: sticky; top: 6.5rem; }
.aside__box {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--rust);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.aside__box h2 { font-size: var(--t-lg); margin-bottom: 0.75rem; }
.aside__box p { font-size: 0.97rem; color: var(--stone); margin-bottom: 1.25rem; }

/* --------------------------------------------------------------------------
   Service list (consulting)
   -------------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.service { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.service h3 { font-size: var(--t-lg); margin-bottom: 0.6rem; }
.service p { color: var(--stone); }

/* --------------------------------------------------------------------------
   Portfolio (photography)
   -------------------------------------------------------------------------- */
.folio { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.folio__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.folio__item:nth-child(even) .folio__media { order: 2; }
.folio__media { border-radius: var(--radius); overflow: hidden; }
.folio__media img { width: 100%; }
.folio__body h2 { font-size: var(--t-xl); margin-bottom: 0.9rem; }
.folio__body p { color: var(--stone); font-size: var(--t-md); }

/* --------------------------------------------------------------------------
   Publication list
   -------------------------------------------------------------------------- */
.pubs { display: grid; gap: 0; }
.pub {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.pub:last-child { border-bottom: 1px solid var(--line); }
.pub__kind {
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}
.pub h2 { font-size: var(--t-lg); margin-bottom: 0.4rem; }
.pub p { color: var(--stone); font-size: 1rem; }
.pub__go { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.02em; }
.field .hint { font-size: var(--t-xs); color: var(--stone); font-weight: 400; letter-spacing: 0; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,61,136,.14);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.req { color: var(--rust); }

/* Honeypot — visually hidden but reachable by bots, never by people */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.form__status { display: none; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: 1rem; }
.form__status.is-visible { display: block; }
.form__status.is-ok { background: #E8F0E6; border: 1px solid #A8C39F; color: #23421C; }
.form__status.is-err { background: #FBEBE4; border: 1px solid #E0A98D; color: #7A2B0B; }

.form__legal { font-size: var(--t-sm); color: var(--stone); }

/* Contact details block --------------------------------------------------- */
.contact-lines { font-style: normal; font-size: var(--t-md); line-height: 1.75; }
.contact-lines a { font-weight: 500; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--t-2xl); max-width: 24ch; margin-inline: auto; }
.cta-band p { margin-top: 1.1rem; color: #B6C1CB; font-size: var(--t-md); max-width: 46ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-foot { background: var(--ink-2); color: #A9B4BE; padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.site-foot h2 { font-size: var(--t-sm); font-family: var(--sans); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.site-foot a { color: #CBD4DC; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.foot__brand .brand__name { color: #fff; }
.foot__brand .brand__tag { color: #8B96A0; }
.foot__brand .brand__mark { color: #fff; }
.foot__blurb { margin-top: 1.2rem; max-width: 30rem; font-size: 1rem; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 1rem; }
.foot__bottom {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: var(--t-sm);
  color: #7F8B95;
}
.foot__bottom a { color: #7F8B95; }

/* --------------------------------------------------------------------------
   Motion — one orchestrated page-load, nothing scattered
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes splitOpen {
  from { clip-path: polygon(48% 0%, 46% 100%, 100% 100%, 100% 0%); opacity: 0; }
  to   { clip-path: var(--split-left); opacity: 1; }
}
.hero__copy > * { animation: rise .7s cubic-bezier(.2,.7,.3,1) backwards; }
.hero__copy > :nth-child(1) { animation-delay: .05s; }
.hero__copy > :nth-child(2) { animation-delay: .13s; }
.hero__copy > :nth-child(3) { animation-delay: .21s; }
.hero__copy > :nth-child(4) { animation-delay: .29s; }
.hero__copy > :nth-child(5) { animation-delay: .37s; }
.hero__media { animation: splitOpen .95s cubic-bezier(.2,.7,.3,1) backwards .1s; }

/* Deliberately no scroll-triggered reveals. The page-load sequence above is
   the one orchestrated moment; everything else stays still. It also means no
   content is ever hidden behind JavaScript that might not run. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .hero__media { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
/* Navigation collapses earlier than the page layout — eight items plus the
   brand lockup and the CTA need about 1150px to sit on one line. */
@media (max-width: 75rem) {
  .site-head__inner { position: relative; flex-wrap: wrap; }
  .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 0 1.1rem;
  }
  .nav a { padding-block: 0.85rem; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
  .nav a:hover { border-bottom-color: var(--line-soft); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-soft); }
  .nav__cta { display: inline-flex; }
  .nav-toggle { display: inline-flex; }

  /* With JS the panel collapses behind the Menu button; without JS it simply
     stays open, so the navigation is never unreachable. */
  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px -24px rgba(14,22,32,.6);
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .js .nav.is-open { display: flex; }
  html:not(.js) .site-head { position: static; }
}

@media (max-width: 48rem) {
  .head-cta { display: none; }
}

@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__copy { padding-right: 0; padding-block: clamp(2.75rem, 8vw, 4rem) 2.5rem; max-width: none; }
  .hero__media {
    margin-inline: calc(50% - 50vw + var(--sbw) / 2);
    clip-path: none;
    aspect-ratio: 16 / 7;
    animation: none;
    /* No clip path here, so the rust fracture hairline has nothing to trace. */
    filter: none;
  }
  .hero__media::after { background: linear-gradient(180deg, rgba(14,22,32,.55) 0%, rgba(14,22,32,.1) 60%); }

  .thesis__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .with-aside { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .folio__item { grid-template-columns: minmax(0, 1fr); }
  .folio__item:nth-child(even) .folio__media { order: 0; }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .quotes, .quotes-2 { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .proof__item { border-left: 0; padding-left: 0; padding-inline: 0; border-top: 1px solid var(--line); }
  .proof__item:first-child, .proof__item:nth-child(2) { border-top: 0; }
  .pub { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .field-2 { grid-template-columns: minmax(0, 1fr); }
  .note { grid-template-columns: minmax(0, 1fr); }
  /* One trust item per line at this width — the separators would read as
     stray marks at the end of each line. */
  .hero__trust span:not(:last-child)::after { display: none; }
  .hero__trust { gap: 0.35rem 1rem; }
}

@media (max-width: 30rem) {
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .nav-toggle { width: auto; }
}
