/* ==========================================================================
   Momentum Marketing Partners FZCO
   Type:   Libre Caslon Text (display, headings, numerals) + Libre Franklin (text)
   Colour: deep green brand, near-black ink, white, warm paper, one brass accent
   Motif:  the embossed M (the logo's own mark, blind-embossed into the green),
           brass thick-and-thin rules, large Caslon numerals
   ========================================================================== */

@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/libre-caslon-400.woff2?v=1471d8a9f2') format('woff2');
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/libre-caslon-700.woff2?v=7dc7dc90fb') format('woff2');
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/libre-franklin.woff2?v=d21d154559') format('woff2');
}

:root {
  /* Brand */
  --brand: #1c3d32;
  --brand-dark: #163328;
  --brand-deep: #0f231c;
  --brand-tone: #1d4034;        /* wordmark tone on the footer */
  /* Secondary tone: brass. Light brass on green (5.2:1), dark brass on white (5.7:1) and paper (5:1). */
  --brass: #c8a76a;
  --brass-ink: #80612e;
  --brass-rule: rgba(200, 167, 106, 0.5);

  /* Neutrals */
  --ink: #161a18;
  --text: #2b2d2c;
  --text-2: #464a48;
  --muted: #5b5f5d;
  --white: #ffffff;
  --alt: #f3efe6;               /* warm paper */
  --rule: #e0dbd0;
  --rule-alt: #d3cbba;
  --rule-strong: #8c8c87;
  --error: #b42318;

  --on-dark: rgba(255, 255, 255, 0.84);
  --on-dark-muted: rgba(255, 255, 255, 0.7);
  --on-dark-rule: rgba(255, 255, 255, 0.18);
  --on-dark-rule-strong: rgba(255, 255, 255, 0.38);

  --serif: 'Libre Caslon Text', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Libre Franklin', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --section-y: clamp(4rem, 8vw, 7rem);
  --overlap: clamp(3rem, 7vw, 6.5rem);     /* how far a sheet rides up over the green above it */
  --facts-overlap: 3.25rem;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; }
address { font-style: normal; }
main:focus { outline: none; }

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.site-header :focus-visible,
.hero :focus-visible,
.page-header :focus-visible,
.section--ink :focus-visible,
.contact-band-panel :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.t-display {
  max-width: 9.6em;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 1.1rem + 5vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.t-h1 {
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.1rem + 4.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.t-h2 {
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(1.95rem, 1rem + 2.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.014em;
  text-wrap: balance;
}
.t-h3 {
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
}
.t-h3--serif {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1rem + 0.6vw, 1.55rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.006em;
}
.t-statement {
  max-width: 30em;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1rem + 1.25vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.008em;
  color: var(--ink);
  text-wrap: pretty;
}
.t-lead {
  max-width: 38em;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem);
  line-height: 1.6;
  color: var(--text-2);
}
.t-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

/* ---------- Links & buttons ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--brand);
  border-radius: 0;
  background: var(--brand);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.button:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.button--light { background: var(--alt); border-color: var(--alt); color: var(--brand-deep); }
.button--light:hover { background: var(--brass); border-color: var(--brass); color: var(--brand-deep); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.link-arrow .icon { transition: transform 0.18s ease; }
.link-arrow:hover { color: var(--brand); text-decoration-thickness: 2px; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: #fff; }

.link-plain,
.text-link {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.link-plain:hover,
.text-link:hover { text-decoration-thickness: 2px; }
.link-plain--light { color: #fff; text-decoration-color: var(--brass); }

/* Brass thick-and-thin rule, as on engraved stationery. */
.sheet::before,
.facts::before,
.register::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  border-top: 2px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand);
  color: #fff;
  border-bottom: 1px solid var(--on-dark-rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex-shrink: 0; color: inherit; text-decoration: none; }
.brand-logo { height: 42px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.95rem;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: none;
  text-decoration-color: var(--brass);
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}
.nav-list a:hover { color: #fff; text-decoration-line: underline; }
.nav-list a[aria-current='page'] { color: #fff; text-decoration-line: underline; text-decoration-thickness: 2px; }
.nav-list .nav-cta {
  margin-left: 0.75rem;
  padding: 0 1.25rem;
  border: 1px solid var(--brass);
  color: #fff;
}
.nav-list .nav-cta:hover,
.nav-list .nav-cta[aria-current='page'] { background: var(--brass); color: var(--brand-deep); text-decoration: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle-icon { position: relative; display: block; width: 22px; height: 10px; }
.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle-icon span:first-child { top: 0; }
.nav-toggle-icon span:last-child { top: 8.5px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-icon span:first-child { top: 4.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-icon span:last-child { top: 4.25px; transform: rotate(-45deg); }

/* ---------- Embossed monogram (shared by hero and page headers) ----------
   engraving.svg is a 1000 x 860 plate: the M blind-embossed in translucent light
   and shade, centred at (500, 430). --k scales it; --mx places the centre of the M
   that far in from the right edge of the content column; --my places it vertically. */
.hero-art,
.page-header-art {
  --k: 0.85;
  --mx: 300px;
  --my: 50%;
  position: absolute;
  top: calc(var(--my) - 430px * var(--k));
  right: calc(max(var(--gutter), (100vw - var(--container)) / 2) + var(--mx) - 500px * var(--k));
  width: calc(1000px * var(--k));
  height: calc(860px * var(--k));
  background: url('/assets/img/engraving.svg?v=dcf82c0a70') 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--on-dark);
  padding: clamp(4rem, 9vw, 8rem) 0 calc(clamp(4rem, 8vw, 7rem) + var(--facts-overlap));
}
.hero-art {
  --k: 0.58;
  --mx: calc(405px * var(--k)); /* right edge of the M on the content column */
  --my: calc(50% - var(--facts-overlap) / 2);
}
.hero-inner { position: relative; }
.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.hero-kicker span { display: inline-block; width: 2.25rem; height: 1px; background: var(--brass); }
.hero .t-display { color: #fff; }
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 36rem);
  gap: 2rem;
  margin-top: clamp(2rem, 3.5vw, 3rem);
}
.hero .t-lead { color: var(--on-dark); }

/* Company facts: a card that sits across the edge of the hero */
.facts-band { position: relative; z-index: 2; margin-top: calc(-1 * var(--facts-overlap)); }
.facts {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.55fr);
  margin: 0;
  padding: 0.6rem 0.5rem 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 0;
}
.facts > div { padding: 1.6rem 1.5rem 1.5rem; }
.facts > div + div { border-left: 1px solid var(--rule); }
.facts dt {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-ink);
}
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; color: var(--ink); overflow-wrap: break-word; }
.facts dd a { font-family: var(--sans); font-size: 1rem; font-weight: 500; }
.facts a { overflow-wrap: anywhere; color: var(--brand); text-underline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--alt); }
.section--flush-top { padding-top: 0; }
.section--ink { background: var(--brand); color: var(--on-dark); }
.section--ink h2,
.section--ink h3,
.section--ink .t-statement { color: #fff; }
.section--ink .t-lead,
.section--ink p { color: var(--on-dark); }
.section--ink .t-label { color: var(--brass); }

/* A heading row: label on the left, statement on the right, ruled above. */
.section-head,
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 1.25rem 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--ink);
}
.section-head { margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
/* When the grid is the container itself, draw the rule across the content column only. */
.container.section-grid { position: relative; border-top: 0; }
.container.section-grid::before {
  content: '';
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--ink);
}
.section--ink .container.section-grid::before { background: var(--on-dark-rule-strong); }
.section-head .t-label,
.section-label { padding-top: 0.45rem; }
.section-head .t-h2 { margin-bottom: 1.25rem; }
.section--ink .section-head,
.section--ink .section-grid { border-top: 0; padding-top: 0; }
.section-body > .t-h2 { margin-bottom: 1.4rem; }
.section-body > .t-lead { margin-bottom: 3rem; }
.section-body > .t-statement { margin-bottom: 2.75rem; }
.section-more { margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* Sheets: white panels laid over the green above them */
.sheet {
  position: relative;
  background: var(--white);
  padding: clamp(2.25rem, 5vw, 4.75rem) clamp(1.5rem, 5vw, 4.75rem) clamp(2.25rem, 5vw, 4.5rem);
}
.sheet.section-grid { border-top: 0; }
.section--underlap { padding-bottom: calc(var(--section-y) + var(--overlap)); }
.section--sheet { display: flow-root; padding-top: 0; }
.section--sheet .sheet,
.section--sheet-first .sheet { margin-top: calc(-1 * var(--overlap)); }
.section--sheet-first { display: flow-root; padding-top: 0; }

/* Ruled columns */
.cols { display: grid; gap: 2.75rem 3.5rem; list-style: none; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-item,
.ledger-item {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
}
.col-item .t-h3,
.ledger-item .t-h3 { margin-bottom: 0.7rem; }
.col-item p,
.ledger-item p { color: var(--text-2); }
.section--alt .col-item,
.section--alt .ledger-item { border-top-color: var(--rule-alt); }
.section--ink .col-item,
.section--ink .ledger-item { border-top: 0; padding-top: 0; }
.section--ink .col-item p,
.section--ink .ledger-item p { color: var(--on-dark); }

.ledger { display: grid; gap: 3rem 3rem; }
.ledger--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ledger--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 2.5rem; }

/* ---------- Home: services as numbered panels ---------- */
.section--services { padding-top: calc(var(--section-y) + 0.5rem); }
.panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.panels li { display: flex; background: var(--white); }
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 20rem;
  padding: 2.25rem 2.25rem 2.75rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.25s ease;
}
.panel-num {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 2rem + 1.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brass-ink);
}
.panel-name {
  margin-top: clamp(2.5rem, 4vw, 3.75rem);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.05rem + 0.6vw, 1.6rem);
  line-height: 1.2;
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--brass);
}
.panel-desc { margin-top: 0.85rem; color: var(--text-2); }
.panel-go {
  position: absolute;
  top: 2.4rem; right: 2.25rem;
  width: 24px; height: 24px;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}
.panel::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.panel:hover { background: var(--alt); }
.panel:hover::before { transform: scaleX(1); }
.panel:hover .panel-name { text-decoration-line: underline; }
.panel:hover .panel-go { color: var(--brand); transform: translateX(4px); }
.panel:focus-visible { outline-offset: -4px; }

/* ---------- Stage track (green panels) ---------- */
.stage-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem 2.5rem;
  list-style: none;
}
.stage {
  position: relative;
}
.stage-num {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.stage-word {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.stage-n {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 2.4rem + 2vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--brass);
}
.stage .t-h3 { margin-bottom: 0.65rem; }
.section--ink .stage p { color: var(--on-dark); }

/* ---------- Engagement options ---------- */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.triptych-item { padding: 2.25rem 2.75rem 0.5rem 0; }
.triptych-item + .triptych-item { padding-left: 2.75rem; border-left: 1px solid var(--rule); }
.triptych .t-h3--serif {
  margin-bottom: 0.85rem;
  font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.3rem);
  line-height: 1.1;
}
.triptych-item p { color: var(--text-2); }

/* ---------- Sectors ---------- */
.sector-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 2.5rem;
  list-style: none;
  border-bottom: 1px solid var(--rule-alt);
}
.sector-list li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule-alt);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.3;
  color: var(--ink);
}

/* ---------- Inner page header ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--on-dark);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6.5rem);
}
.page-header--overlap { padding-bottom: calc(clamp(3.5rem, 6vw, 5rem) + var(--overlap)); }
.page-header--compact .t-h1 { font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4rem); }
.page-header-art {
  --k: 0.5;
  --mx: calc(405px * var(--k));
}
.page-header--overlap .page-header-art { --k: 0.42; --my: calc(50% - var(--overlap) / 2); }
.page-header-inner { position: relative; }
.page-header .t-h1 { color: #fff; }
.page-header .t-lead { margin-top: 1.5rem; color: var(--on-dark); }
.page-header .t-label { color: var(--brass); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  list-style: none;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; color: var(--brass); }
.breadcrumb a { color: var(--on-dark-muted); text-underline-offset: 3px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* Numbered "on this page" index inside the header */
.jump-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2.5rem;
  max-width: 62rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  list-style: none;
  border-bottom: 1px solid var(--on-dark-rule);
}
.jump-list li { border-top: 1px solid var(--on-dark-rule); }
.jump-list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  min-height: 44px;
  padding: 0.85rem 0;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.jump-list a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; }
.jump-num {
  min-width: 1.6em;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--brass);
}
ol.jump-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.page-header--404 { padding: clamp(5rem, 12vw, 10rem) 0; }
.page-header--404 .actions { margin-top: 2.5rem; }
.page-header--404 .t-label { margin-bottom: 1.25rem; }

/* ---------- Service & stage rows ---------- */
.service-row,
.stage-rows .section { scroll-margin-top: var(--header-h); }
.section-grid--numbered .section-label { padding-top: 0; }
.big-num {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.75rem, 2rem + 5vw, 7.5rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--brass-ink);
}
.big-num-word {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.service-detail,
.stage-detail {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: 2.5rem 3.5rem;
}
.service-detail .t-label,
.stage-detail .t-label { margin-bottom: 0.85rem; }
.stage-detail .t-h2 { margin-bottom: 1.25rem; }
.plain-list { list-style: none; border-bottom: 1px solid var(--rule); }
.plain-list li { padding: 0.7rem 0; border-top: 1px solid var(--rule); color: var(--text); }
.section--alt .plain-list,
.section--alt .plain-list li { border-color: var(--rule-alt); }

.note {
  position: relative;
  padding: 1.75rem 1.75rem 1.9rem;
  background: var(--alt);
  border-top: 3px solid var(--brass);
}
.note p { color: var(--text-2); }
.section--alt .note { background: var(--white); }
.note .plain-list { border-bottom: 0; }
.note .plain-list li:first-child { border-top: 0; padding-top: 0; }
.section--alt .note .plain-list li { border-color: var(--rule); }
.stage-detail .note .plain-list li { border-color: var(--rule-alt); }
.section--alt .stage-detail .note .plain-list li { border-color: var(--rule); }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--rule); }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  padding: 1.35rem 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem);
  line-height: 1.3;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-icon { position: relative; flex-shrink: 0; width: 16px; height: 16px; color: var(--brass-ink); }
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding-bottom: 1.6rem; }
.faq-a p { max-width: 42em; color: var(--text-2); }

/* ---------- Details tables & the company register ---------- */
.details-table { margin: 0; border-bottom: 1px solid var(--rule); }
.details-table > div {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}
.details-table dt { color: var(--muted); }
.details-table dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.details-table a { color: var(--brand); text-underline-offset: 3px; }
.details-table--stacked > div { grid-template-columns: minmax(0, 1fr); }
.details-table--stacked dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

.register {
  position: relative;
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  background: var(--white);
  border: 1px solid var(--rule-alt);
  border-top: 0;
}
.register-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.register-mark { color: var(--brand); }
.register-mark .monogram { width: 44px; height: 44px; }
.register .details-table dd { font-family: var(--serif); font-size: 1.12rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}
.sheet--split { padding: 0; }
.contact-details {
  padding: clamp(2.25rem, 4.5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--alt);
}
.contact-form { padding: clamp(2.25rem, 4.5vw, 4rem) clamp(1.5rem, 4.5vw, 4.25rem); }
.contact-details .details-table,
.contact-details .details-table > div { border-color: var(--rule-alt); }
.contact-details .details-table > div:first-child { border-top: 0; padding-top: 0; }
.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.85rem + 0.6vw, 1.25rem);
  line-height: 1.4;
  color: var(--brand);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--brass);
  overflow-wrap: anywhere;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  margin-top: 0.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.copy-button:hover { border-color: var(--ink); }
.copy-button .icon { width: 16px; height: 16px; }
.next-steps { margin-top: 3rem; }
.next-steps .t-label { margin-bottom: 1rem; }
.next-steps ol { list-style: none; counter-reset: step; border-bottom: 1px solid var(--rule-alt); }
.next-steps li {
  position: relative;
  padding: 0.95rem 0 0.95rem 2.75rem;
  border-top: 1px solid var(--rule-alt);
  counter-increment: step;
  color: var(--text-2);
}
.next-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0.55rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--brass-ink);
}

.contact-form .t-h3 {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.form { display: grid; gap: 1.35rem; margin-top: 2.25rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.req { color: var(--brass-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 0;
  border-color: var(--brand);
}
.field textarea { min-height: 170px; resize: vertical; }
.field textarea::placeholder,
.field input::placeholder { color: var(--muted); opacity: 1; }
.field [aria-invalid='true'] { border-color: var(--error); border-width: 2px; padding: calc(0.75rem - 1px) calc(0.9rem - 1px); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  top: 50%; right: 1rem;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 2.5rem; cursor: pointer; }
.form-error { margin: 0; font-weight: 500; color: var(--error); }
.form-success {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--brass);
  background: var(--alt);
}
.form-success p { color: var(--text); }
.form-success .copy-button { margin-top: 0.75rem; }

/* ---------- Legal prose ---------- */
.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 2.5rem 3rem;
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 2rem); }
.toc .t-label { margin-bottom: 0.9rem; }
.toc ol { list-style: none; border-bottom: 1px solid var(--rule); }
.toc li { border-top: 1px solid var(--rule); }
.toc a {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-2);
  text-decoration: none;
}
.toc a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.toc-num { min-width: 1.4em; font-family: var(--serif); color: var(--brass-ink); }
.prose { max-width: 46rem; }
.prose h2 { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose > p:first-child { font-size: 1.12rem; color: var(--ink); }
.prose h2 {
  margin: 2.75rem 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
}
.prose p,
.prose li { color: var(--text); }
.prose ul { margin: 0 0 1em; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--brass-ink); }
.prose a { color: var(--brand); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Contact band: a green panel straddling the footer ---------- */
.contact-band {
  --band-top: var(--white);
  background: linear-gradient(to bottom, var(--band-top) 50%, var(--brand-deep) 50%);
}
.contact-band--alt { --band-top: var(--alt); }
.contact-band-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1.75rem 4rem;
  align-items: start;
  padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1.75rem, 6vw, 5.5rem);
  background: var(--brand);
  color: var(--on-dark);
  outline: 1px solid var(--brass-rule);
  outline-offset: -14px;
}
.contact-band .t-h2 { color: #fff; font-size: clamp(2.1rem, 1rem + 3vw, 3.6rem); }
.contact-band p { max-width: 34em; margin-bottom: 2rem; font-size: 1.12rem; color: var(--on-dark); }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  background: var(--brand-deep);
  color: var(--on-dark);
  font-size: 0.95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2.4fr) minmax(0, 1.6fr) minmax(0, 2.6fr);
  gap: 2.5rem 3rem;
}
.footer-brand p { max-width: 24em; margin-bottom: 1.5rem; color: var(--on-dark-muted); }
.footer-email {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem);
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.footer-email:hover { text-decoration-thickness: 2px; }
.footer-heading {
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.footer-col ul { display: grid; gap: 0.55rem; list-style: none; }
.footer-col a { color: #fff; text-decoration: none; text-underline-offset: 3px; }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.footer-col address { display: grid; gap: 0.55rem; color: var(--on-dark); }
.footer-wordmark {
  display: block;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  color: var(--brand-tone);
  transition: color 0.3s ease;
}
.footer-wordmark .wordmark { width: 100%; height: auto; }
.footer-wordmark:hover { color: #234a3c; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--on-dark-rule);
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.footer-legal { display: flex; gap: 1.5rem; list-style: none; }
.footer-legal a { color: var(--on-dark); text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }

/* ---------- Motion (only when the visitor has not asked for less) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-art,
  .page-header-art { animation: plate-in 0.9s ease-out both; }
  @keyframes plate-in {
    from { opacity: 0; }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero-art { --k: 0.5; }
}

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .ledger--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { padding-inline: 1.25rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; --facts-overlap: 2.5rem; }
  .brand-logo { height: 36px; }

  /* Mobile menu (collapsed only when JS is running) */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 0.5rem var(--gutter) 2rem;
    background: var(--brand);
    border-top: 1px solid var(--on-dark-rule);
    overflow-y: auto;
    visibility: hidden;
  }
  .js .site-nav.is-open { visibility: visible; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-list a {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid var(--on-dark-rule);
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 400;
    color: #fff;
  }
  .js .nav-list .nav-cta {
    justify-content: center;
    margin: 2rem 0 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--alt);
    background: var(--alt);
    color: var(--brand-deep);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 500;
  }
  body.nav-open { overflow: hidden; }

  /* Without JS the navigation simply wraps under the logo */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.75rem; gap: 0.5rem; }
  html:not(.js) .nav-list { flex-wrap: wrap; margin-left: -0.95rem; }

  .hero-foot,
  .section-head,
  .section-grid,
  .service-detail,
  .stage-detail,
  .contact-grid,
  .legal-grid,
  .contact-band-panel { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 2rem; border-bottom: 0; }
  .toc li { break-inside: avoid; }
  .section-head,
  .section-grid { gap: 1rem; }
  .section-head .t-label,
  .section-label { padding-top: 0; }

  .hero { padding-bottom: calc(clamp(10rem, 44vw, 17rem) + var(--facts-overlap)); }
  .hero-art,
  .page-header-art {
    -webkit-mask-image: linear-gradient(to bottom, transparent calc(60px * var(--k)), #000 calc(210px * var(--k)));
    mask-image: linear-gradient(to bottom, transparent calc(60px * var(--k)), #000 calc(210px * var(--k)));
  }
  .hero-art {
    --k: 0.52;
    --mx: 28vw;
    --my: calc(100% - var(--facts-overlap) - clamp(4.5rem, 21vw, 8.5rem));
  }
  .page-header-art { --k: 0.36; --mx: 70px; --my: calc(100% - 40px); opacity: 0.75; }
  .page-header--overlap .page-header-art { --k: 0.36; --my: calc(100% - var(--overlap) - 30px); }

  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
  .facts > div { padding: 1.3rem 1.25rem; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }

  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { min-height: 0; }
  .stage-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
  .ledger--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .triptych { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .triptych-item,
  .triptych-item + .triptych-item { padding: 1.75rem 0 2rem; border-left: 0; border-top: 1px solid var(--rule); }
  .sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jump-list,
  ol.jump-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .big-num { position: static; font-size: 3.5rem; }
  .big-num-word { display: inline; margin: 0 0.6rem 0 0; vertical-align: 0.9em; }
  .section-grid--numbered { gap: 1.5rem; }

  .contact-band-panel { gap: 1.5rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-art { --k: 0.38; --mx: calc(50vw - var(--gutter)); --my: calc(100% - var(--facts-overlap) - clamp(2.5rem, 11vw, 5rem)); }
  :root { --overlap: 2.5rem; }
  .cols-2,
  .form-row,
  .ledger--3,
  .ledger--4,
  .stage-track,
  .panels { grid-template-columns: minmax(0, 1fr); }
  .panel { min-height: 0; padding: 1.75rem 0.25rem 2rem; }
  .panels { background: transparent; gap: 0; }
  .panels li + li { border-top: 1px solid var(--rule); }
  .panel-name { margin-top: 1.25rem; }
  .panel-go { top: 1.9rem; right: 0.25rem; }
  .panel:hover { background: transparent; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div,
  .facts > div + div { padding: 1.1rem 1.25rem; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--rule); }
  .details-table > div { grid-template-columns: minmax(0, 1fr); }
  .sector-list { grid-template-columns: minmax(0, 1fr); }
  .jump-list,
  ol.jump-list { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-col:nth-child(2) { grid-column: 1 / -1; }
  .toc ol { columns: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-kicker span { display: none; }
  .hero-kicker { flex-direction: column; align-items: flex-start; }

  /* Sheets that open a page run edge to edge on phones; the one on paper keeps its margin */
  .section--sheet-first .sheet { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .section--sheet .sheet { padding: 2.25rem 1.25rem 2.5rem; }
  .sheet--split { padding-inline: 0; }
  .contact-details,
  .contact-form { padding-inline: var(--gutter); }
  .contact-band .container { padding-inline: 0; }
  .contact-band-panel { padding-inline: calc(var(--gutter) + 6px); outline-offset: -10px; }
  .register { margin-inline: calc(-1 * var(--gutter)); border-inline: 0; padding-inline: var(--gutter); }
}

@media (max-width: 380px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
  .nav-toggle-icon span,
  .faq-icon::before,
  .faq-icon::after {
    forced-color-adjust: none;
    background: CanvasText;
  }
  .button { border: 1px solid ButtonText; }
  .hero-art,
  .page-header-art { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .contact-band, .nav-toggle, .hero-art, .page-header-art { display: none !important; }
  .hero, .page-header, .section--ink, .section--alt { background: #fff; color: #000; }
  .hero *, .page-header *, .section--ink * { color: #000 !important; }
  .section--sheet .sheet, .section--sheet-first .sheet { margin-top: 0; }
  a { color: #000; }
}


/* ---------- Section headings ----------
   Section titles are real serif headings (not small-caps eyebrows); the right-hand
   column carries a short introduction in body type. */
.section-head > h2.t-label,
.section-label > h2.t-label {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
}
.section--ink .section-head > h2.t-label,
.section--ink .section-label > h2.t-label { color: #fff; }
.section-head > .t-lead { margin: 0.35rem 0 0; max-width: 38em; }

.stage-need { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.stage-need-text { max-width: 36em; color: var(--text-2); }
.ledger--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .ledger--2 { grid-template-columns: minmax(0, 1fr); } }

.footer-bottom p { margin: 0; }

/* Keep the embossed M clear of the Services jump list on mid-size desktops. */
@media (min-width: 1101px) and (max-width: 1280px) {
  .page-header-art { --k: 0.45; }
}

/* Phones: give the footer contact column (address, hours) the full width. */
@media (max-width: 640px) {
  .footer-top > .footer-col:last-child { grid-column: 1 / -1; }
}
