/* ==========================================================================
   NavioBulk — Concept A: Heritage Navy
   Deep navy + brass hairline arcs + a serif with real weight over a neutral
   grotesque body. Alternating navy / warm off-white bands. The arcs at each
   seam are the signature device — hand-authored SVG route lines rather than
   a repeated icon or a filled curve mask.
   ========================================================================== */

:root {
  /* ---- palette ---- */
  --navy-deep:   #081D30;   /* header, footer, hero scrim, cta */
  --navy:        #0B2A44;   /* base navy band */
  --navy-mid:    #12324F;   /* raised panels on navy / dark card on paper */
  --navy-line:   #23445F;   /* hairline on navy where brass would be too loud */

  --brass:       #C08A2E;   /* brass — line and small-text use only, never a fill */
  --brass-light: #DDB05C;   /* brass tint — hover states, small labels/numerals on navy */
  --brass-ink:   #8C5F1D;   /* dark bronze — small text/labels on light backgrounds */

  --paper:       #FFFFFF;   /* white light band */
  --paper-deep:  #F1F3F5;   /* cool grey — secondary light tone, zebra rows, panel fill */
  --paper-line:  rgba(11, 42, 68, 0.16);

  --ink:         #142B40;   /* body text on paper */
  --ink-muted:   rgba(20, 43, 64, 0.7);
  --white:       #FFFFFF;   /* body text on navy */
  --white-muted: rgba(255, 255, 255, 0.76);

  --rule-brass:  rgba(192, 138, 46, 0.4);
  --rule-brass-soft: rgba(192, 138, 46, 0.22);

  /* ---- type ---- */
  --font-display: "Newsreader", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                  "Noto Sans SC", Georgia, "Times New Roman", serif;
  --font-body: "Libre Franklin", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- rhythm ---- */
  --container-w: 1180px;
  --edge: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 3px;
  --radius-md: 6px;

  color-scheme: light;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.visually-hidden {
  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: fixed;
  top: -48px; left: 1rem;
  z-index: 200;
  background: var(--navy-deep);
  color: var(--white);
  padding: 0.6em 1.1em;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---- focus ---- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ==========================================================================
   Typography primitives
   ========================================================================== */

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin: 0 0 0.9rem;
}
.eyebrow--dark { color: var(--brass-light); }

.h2-serif {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.35rem + 2vw, 2.7rem);
  line-height: 1.14;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.h2-serif--dark { color: var(--white); }

.lead {
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
  color: var(--ink-muted);
  max-width: 56ch;
  margin-top: 1.1rem;
}
.lead--dark { color: var(--white-muted); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--split { max-width: 46rem; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* stagger children of list-based reveals slightly */
.principles-grid.is-visible > *,
.desk-grid.is-visible > *,
.services-grid.is-visible > *,
.numbered-list.is-visible > * { transition-delay: calc(var(--i, 0) * 60ms); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-navy {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}
.btn-navy:hover { background: var(--navy); border-color: var(--navy); }

.btn-invert {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}
.btn-invert:hover { background: var(--paper-deep); border-color: var(--paper-deep); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { border-color: var(--brass-light); color: var(--brass-light); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 42, 68, 0.3);
}
.btn-outline-navy:hover { border-color: var(--navy); background: rgba(11, 42, 68, 0.05); }

.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-compact { padding: 0.6em 1.15em; font-size: 0.85rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(192, 138, 46, 0.25);
}

.header-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 0.85rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--brass);
}
.brand-mark .mark { display: block; }
.brand-mark .mark--disc {
  width: 2.75rem;
  aspect-ratio: 44 / 24;
  height: auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
}
.brand-tagline {
  font-size: 0.68rem;
  color: var(--white-muted);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  font-size: 0.88rem;
  font-weight: 500;
}
.site-nav a {
  color: var(--white-muted);
  position: relative;
  padding-block: 0.25rem;
}
.site-nav a:hover { color: var(--white); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass-light);
  transition: right 0.25s ease;
}
.site-nav a:hover::after { right: 0; }

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

.lang-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.15rem;
}
.lang-switch button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-switch button[aria-current="true"] {
  background: var(--white);
  color: var(--navy-deep);
}
.lang-switch button:not([aria-current="true"]):hover { color: var(--white); }

.flag-slot :where(svg) {
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .site-nav { display: none; }
}

/* ==========================================================================
   Bands
   ========================================================================== */

.band {
  position: relative;
  padding-block: clamp(3.5rem, 3rem + 3vw, 6.5rem);
}
.band--paper { background: var(--paper); }
.band--paper-deep { background: var(--paper-deep); }
.band--navy { background: var(--navy); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(860px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: clamp(6.5rem, 9vw, 9.5rem) var(--edge) clamp(9rem, 16vw, 13rem);
  overflow: hidden;
}

/* The hero photograph is bright overcast sky over the top ~40%, ship and sea
   below. Full container height is always preserved by object-fit: cover here
   (the image is proportionally wider than any realistic viewport), so copy
   stays anchored on the sky at every breakpoint without a dark scrim — a
   heavy overlay would just flatten the photograph, which is the strongest
   asset on the page. */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 48%;
}

/* Moving hero. shared/hero-video.js injects two <video> copies into .hero-media
   and crossfades them, so the loop has no visible cut. They stack above the still
   and below the scrim; the still stays underneath as the poster and is the whole
   hero when video is declined — reduced motion, Data Saver, or a narrow screen. */
.hero-loop {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center 48%;
  transition: opacity 0.55s linear;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(8, 29, 48, 0.12) 0%, rgba(8, 29, 48, 0) 22%);
}

/* Horizon seam sitting where the sky meets the ship's masts (~35% down). */
/* Above .hero-scrim (z-index 2), so the scrim darkens the photograph and not
   the type sitting on it. */
.hero-inner { position: relative; z-index: 3; max-width: 46rem; }

.hero-h1 {
  /* Left to itself the browser breaks after "worked" and drops "properly." onto
     a line by itself — the worst shape a centred two-line heading can take.
     `balance` evens the two lines instead. Browsers without it wrap as before,
     so there is nothing to lose. */
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 1.75rem + 3vw, 4rem);
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 1.3rem;
  text-shadow: 0 2px 26px rgba(255, 255, 255, 0.75), 0 1px 2px rgba(255, 255, 255, 0.6);
}

.hero-lead {
  text-wrap: pretty;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.28rem);
  color: var(--ink-muted);
  max-width: 42ch;
  margin: 0 auto 2.4rem;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.55);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* Opaque paper backing (not a blur) so the secondary button reads reliably
   over whichever part of the photograph it happens to sit on. */
.hero-actions .btn-outline-navy {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(11, 42, 68, 0.28);
}
.hero-actions .btn-outline-navy:hover { background: var(--paper); border-color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .scroll-dot { animation: none; }
}

/* ==========================================================================
   Seams — hairline brass route arcs
   ========================================================================== */

.seam {
  position: relative;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}
.seam svg {
  position: absolute;
  left: 0;
  width: 100%;
  /* Clip to the viewBox (SVG default) rather than overflow: visible — every
     path below is authored to stay within its viewBox, and clipping is a
     safety net against a curve's control points ever overshooting into the
     section content that follows. */
}

.seam--a { position: absolute; left: 0; right: 0; bottom: 0; }
.seam--a svg { bottom: -46px; height: 92px; }

.seam--b { margin-top: -1px; }
.seam--b svg { top: -1px; height: 62px; }

.seam--c { position: absolute; left: 0; right: 0; top: 8%; z-index: 1; }
.seam--c svg { top: 0; height: 90px; }

.seam--d { margin-top: -1px; }
.seam--d svg { top: -1px; height: 78px; }

.seam-line {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.4;
}
.seam-line--main { stroke: var(--brass); stroke-width: 1.7; opacity: 0.95; }
.seam-line--faint { stroke: var(--brass); opacity: 0.42; }
.seam-line--ghost { stroke: var(--brass-light); opacity: 0.32; stroke-width: 1.3; }

.seam-ticks line {
  stroke: var(--brass);
  stroke-width: 1.2;
  opacity: 0.6;
}

.seam-node {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.3;
  opacity: 0.78;
}
.seam-node-fill { fill: var(--brass-light); }

/* ==========================================================================
   Services ("What we do") — a ruled, numbered grid rather than cards. Same
   rule-and-numeral language as the principles grid below, recoloured for a
   light band; the two-digit numerals stay upright (not italic) to match the
   arabic figures used in the returns list rather than the roman numerals in
   principles.
   ========================================================================== */

.services-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.6rem clamp(2rem, 4vw, 4rem);
}
.service-item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-brass);
}
.service-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.service-item p { color: var(--ink-muted); font-size: 0.94rem; max-width: 42ch; }

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Ask
   ========================================================================== */

#ask { overflow: visible; }

.ask-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: start;
}

.ask-points {
  margin-top: 2.6rem;
  display: grid;
  gap: 1.6rem;
}
.ask-point {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--paper-line);
}
.ask-point:first-child { border-top: 1px solid var(--paper-line); }
.ask-point h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.ask-point p { font-size: 0.94rem; color: var(--ink-muted); }

.ask-panel {
  background: var(--navy-deep);
  border: 1px solid var(--rule-brass);
  border-radius: var(--radius-md);
  position: sticky;
  top: 6.5rem;
}
.ask-panel-inner { padding: clamp(2rem, 2.5vw, 2.8rem); }

.ask-panel-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 0.8rem;
}
.ask-panel-email {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  color: var(--white);
  line-height: 1.3;
  word-break: break-word;
  border-bottom: 1px solid var(--rule-brass);
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
}
.ask-panel-email:hover { color: var(--brass-light); }

.ask-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ask-panel-actions .btn { width: 100%; justify-content: center; }
.ask-panel-actions .btn-outline-navy {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.ask-panel-actions .btn-outline-navy:hover {
  border-color: var(--brass-light);
  color: var(--brass-light);
  background: transparent;
}

@media (max-width: 860px) {
  .ask-grid { grid-template-columns: 1fr; }
  .ask-panel { position: static; }
}

/* Ask now sits on a navy band (moved down, after the desk) — the panel stays
   navy-deep-on-navy exactly as before, but the intro column needs the same
   dark-text recolouring the coverage/principles bands already use. */
#ask .ask-point { border-top: 1px solid var(--rule-brass); }
#ask .ask-point-no { color: var(--brass-light); }
#ask .ask-point h3 { color: var(--white); }
#ask .ask-point p { color: var(--white-muted); }

/* ==========================================================================
   Coverage
   ========================================================================== */

.coverage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: stretch;
}

/* auto for the table, 1fr for the plate: the photograph absorbs whatever height
   the taller right-hand column has, instead of ending early and reading as a
   thumbnail dropped under the table. */
.coverage-table-wrap { display: grid; grid-template-rows: auto 1fr; gap: 1.8rem; }

.ruled-table { width: 100%; border-collapse: collapse; }
.ruled-table thead th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 600;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--rule-brass);
}
.ruled-table tbody td {
  padding: 0.95rem 0.5rem 0.95rem 0;
  border-bottom: 1px solid var(--navy-line);
  font-size: 0.98rem;
}
.ruled-table tbody tr:last-child td { border-bottom: 1px solid var(--rule-brass); }
.segment-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
}
.segment-dwt {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--white-muted);
  white-space: nowrap;
}

.coverage-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--rule-brass-soft);
}
.coverage-figure { min-height: 220px; }
.coverage-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverage-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.coverage-subhead {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 600;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--rule-brass);
  margin-bottom: 0.2rem;
}
.ruled-list li {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--navy-line);
  font-size: 0.92rem;
  color: var(--white-muted);
}
.ruled-list li:last-child { border-bottom: 1px solid var(--rule-brass); }

.coverage-exclusion {
  margin-top: clamp(2.5rem, 3vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule-brass);
  max-width: 52rem;
}
.coverage-exclusion-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.coverage-exclusion-body { color: var(--white-muted); font-size: 0.96rem; }

@media (max-width: 860px) {
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-figure { order: -1; }
}
@media (max-width: 560px) {
  .coverage-lists { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ==========================================================================
   Returns
   ========================================================================== */

.numbered-list {
  margin-top: 1rem;
  display: grid;
  gap: 0;
}
.numbered-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--paper-line);
  align-items: baseline;
}
.numbered-row:last-child { border-bottom: 1px solid var(--paper-line); }
.numbered-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.numbered-copy p { color: var(--ink-muted); max-width: 54ch; }

@media (max-width: 640px) {
  .numbered-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .numbered-no { font-size: 1.5rem; }
}

/* ==========================================================================
   Principles
   ========================================================================== */

.band--principles {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 4rem + 3vw, 7.5rem);
}
.principles-media { position: absolute; inset: 0; z-index: 0; }
.principles-media img { width: 100%; height: 100%; object-fit: cover; }
.principles-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(8, 29, 48, 0.93) 0%, rgba(11, 42, 68, 0.86) 55%, rgba(8, 29, 48, 0.94) 100%);
}
.band--principles > .container { position: relative; z-index: 2; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.6rem clamp(2rem, 4vw, 4rem);
}
.principle-item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-brass);
}
.principle-no {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--brass-light);
  margin-bottom: 0.6rem;
}
.principle-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.55rem;
}
.principle-item p { color: var(--white-muted); font-size: 0.94rem; }

.principles-footnote {
  margin-top: clamp(2.5rem, 3vw, 3.5rem);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--white-muted);
  font-size: 0.95rem;
  max-width: 42rem;
}

@media (max-width: 640px) {
  .principles-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Desk
   ========================================================================== */

.desk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.75rem, 2.5vw, 2.25rem);
}

.broker-card { display: flex; flex-direction: column; }

.broker-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.broker-portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.broker-portrait::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--rule-brass-soft);
  z-index: 2;
  pointer-events: none;
}

.broker-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}
.broker-role {
  font-size: 0.78rem;
  color: var(--brass-ink);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.broker-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
}
.broker-contact a { font-variant-numeric: tabular-nums; }
.broker-contact a:hover { color: var(--brass-ink); }
.broker-email { color: var(--ink-muted); font-size: 0.85rem; word-break: break-all; }

@media (max-width: 980px) {
  .desk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .desk-grid { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
}

/* ==========================================================================
   CTA
   ========================================================================== */

.band--cta {
  background: var(--navy-deep);
  text-align: center;
  overflow: hidden;
  padding-block: clamp(5rem, 5rem + 4vw, 8.5rem);
}

.cta-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}
.cta-rings svg {
  width: min(720px, 90vw);
  height: min(720px, 90vw);
}
.cta-rings circle {
  fill: none;
  stroke: rgba(192, 138, 46, 0.16);
  stroke-width: 1;
}

.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.cta-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.7rem + 2.2vw, 3.2rem);
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.cta-lead {
  color: var(--white-muted);
  max-width: 34rem;
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}
.cta-email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  color: var(--brass-light);
  border-bottom: 1px solid var(--rule-brass);
  padding-bottom: 0.5rem;
  margin-bottom: 2.4rem;
  word-break: break-word;
}
.cta-email:hover { color: var(--white); }

.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cta-alt { margin-top: 1.8rem; font-size: 0.9rem; color: var(--white-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-deep);
  color: var(--white-muted);
  padding-block: clamp(3rem, 3rem + 2vw, 4.5rem) 2rem;
  border-top: 1px solid var(--rule-brass-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; max-width: 22rem; }
.brand-mark--footer .mark--scale {
  width: 7rem;
  aspect-ratio: 112 / 56;
  height: auto;
}
.brand-name--footer {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer-note { font-size: 0.85rem; line-height: 1.5; }

.footer-col h3 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; font-size: 0.88rem; }
.footer-contact-list a:hover { color: var(--brass-light); }

.footer-bottom {
  padding-top: 1.6rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Header scroll state
   ========================================================================== */

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(4, 12, 20, 0.35);
}

/* ---- desk hours ---- */
.footer-hours-title {
  margin-top: 1.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.footer-hours { margin-top: 0.4rem; font-variant-numeric: tabular-nums; }
.footer-hours-note { margin-top: 0.35rem; font-size: 0.82rem; color: rgba(255,255,255,0.6); }

.footer-founded {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
}

/* ==========================================================================
   Pillars — Tonnage / Market / Network
   A slim navy strip straight under the hero. It states what the desk is before
   any argument starts, and gives the photographic hero a hard edge to end on.
   ========================================================================== */

.pillars-band {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(192, 138, 46, 0.28);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}
.pillar + .pillar { border-left: 1px solid var(--navy-line); padding-left: clamp(1.5rem, 4vw, 4rem); }
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--brass-light);
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}
.pillar-body {
  font-size: 0.92rem;
  color: var(--white-muted);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; gap: 1.25rem; }
  .pillar + .pillar {
    border-left: 0;
    padding-left: 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--navy-line);
  }
}
