/* Earned Latitude Capital: the one stylesheet. Colors and fonts live in :root. */

@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/LibreCaslonText-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/LibreCaslonText-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/LibreCaslonText-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1b2a41;          /* logo navy */
  --ink: #1b2a41;           /* body text: logo navy */
  --muted: #4d5866;         /* secondary text: ~6.6:1 */
  --paper: #f7f5f0;         /* ivory background */
  --paper-deep: #eeebe3;
  --rule: #d9d4c8;
  --brass: #b08d57;         /* logo brass: lines, rules, step numbers. Never body text. */
  --brass-light: #c9a66b;   /* logo brass on navy */
  --brass-dark: #7d6035;    /* hover color for links on light backgrounds: ~5.4:1 */

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  /* Layout: one container and one reading measure for every page */
  --container: 63rem;       /* 1008px: content width, same left edge on every page */
  --measure: 44rem;         /* 704px: max width of running text */
  --wrap: calc(var(--container) + 5rem);
  --narrow: var(--measure);

  /* Type scale: the only sizes used on the site (desktop values; the large ones shrink smoothly on phones) */
  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);          /* 49.6 / 62 */
  --fs-h2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);          /* 32 / 40 */
  --fs-h3: 1.35rem;                                      /* 21.6 / 27 */
  --fs-lead: 1.25rem;                                    /* 20 / 33 */
  --fs-body: 1.125rem;                                   /* 18 / 29.7 */
  --fs-tagline: 1.2rem;                                  /* 19.2 / 31.7, Caslon italic */
  --fs-quote: clamp(1.6rem, 1.3rem + 1.3vw, 2.25rem);    /* 36 / 46.8, Caslon italic */
  --fs-label: 0.8125rem;                                 /* 13, small caps */
  --fs-caption: 0.95rem;                                 /* 15.2 / 25.1 */
  --fs-closing: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem);  /* 33.6 / 45.4 */
}

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

html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }   /* same left edge on short pages without a scroll bar */

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;      /* 18px */
  line-height: 1.65;
}

main { flex: 1; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap.narrow { max-width: calc(var(--narrow) + 2.5rem); }   /* closing band only */

@media (min-width: 48rem) {
  .wrap { padding: 0 2.5rem; }
  .wrap.narrow { max-width: calc(var(--narrow) + 5rem); }
}

/* Inner pages: text blocks sit at the container's left edge, no wider than the measure.
   Components marked .wide (card grids, timelines, tinted bands, two-column rows) use the full container. */
.page .wrap > *, .chart-area > section .wrap > * { max-width: var(--measure); }
.page .wrap > .wide { max-width: none; }
main p { max-width: var(--measure); }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: var(--fs-h1); margin: 0 0 1.5rem; }
h2 { font-size: var(--fs-h2); margin: 3rem 0 1.25rem; }
h3 { font-size: var(--fs-h3); margin: 0 0 0.35rem; }

p { margin: 0 0 1.25rem; }
/* No single word alone on the last line of a paragraph or list item (headings and quotes keep "balance") */
p, li { text-wrap: pretty; }

.lead { font-size: var(--fs-lead); color: var(--ink); }

/* Italic tagline (bio tagline, value taglines) */
.tagline { font-family: var(--serif); font-style: italic; font-size: var(--fs-tagline); color: var(--muted); }

/* Small-caps label (card labels, "Our values", "Founder") */
.label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Caption (quote attribution, founder name line) */
.caption { font-size: var(--fs-caption); color: var(--muted); }

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

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

strong { font-weight: 600; color: var(--navy); }

/* Hidden on screen, still read by screen readers (pages whose title is already the menu item) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--paper);
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  color: var(--paper);
  border-bottom: 3px solid var(--brass);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.wordmark { display: block; line-height: 0; }
/* Logo SVG is 387x80 (with ™); at 72px tall the globe is ~59px and "Earned Latitude" ~28px */
.wordmark img { display: block; height: 4.5rem; width: auto; max-width: 100%; }

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: #e6e2d8;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--brass-light); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--brass-light); }

/* Menu button: used whenever the logo and the six links can't share one line. They need ~1,000px of header
   (logo 348 + gap 16 + menu ~635), so the full menu shows from 1,100px (still fits with a 17px Windows scrollbar). */
.nav-menu { display: none; }
.nav-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(201, 166, 107, 0.6);
  border-radius: 2px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::before {          /* three-line menu icon */
  content: "";
  width: 1.1rem;
  height: 0.75rem;
  background: linear-gradient(var(--brass-light) 0 0) top / 100% 2px no-repeat,
              linear-gradient(var(--brass-light) 0 0) center / 100% 2px no-repeat,
              linear-gradient(var(--brass-light) 0 0) bottom / 100% 2px no-repeat;
}
.nav-menu[open] summary { background: rgba(255, 255, 255, 0.08); }
.nav-menu .nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 1.25rem 1rem;
  background: var(--navy);
  border-bottom: 3px solid var(--brass);
}
.nav-menu .nav a { display: block; padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.nav-menu .nav li:last-child a { border-bottom: 0; }
.nav-menu .nav a[aria-current="page"] { color: var(--brass-light); }

/* Contact Us: small button with a thin brass outline, last in the menu. Same text size as the other items.
   Its current-page and hover underline is drawn under the text inside the outline. */
.nav a.nav-cta {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--brass);
  border-radius: 2px;
  color: #fff;
}
.nav a.nav-cta:hover,
.nav a.nav-cta[aria-current="page"] {
  border-color: var(--brass-light);
  background: linear-gradient(var(--brass-light), var(--brass-light)) no-repeat center bottom 0.2rem / calc(100% - 1.8rem) 2px;
}
/* Desktop menu: 15px links, ~14px apart; tighter Contact Us button. The phone menu keeps the sizes above. */
.nav-wide { gap: 0.25rem 0.875rem; flex-wrap: nowrap; }
@media (min-width: 68.75rem) { .header-inner { flex-wrap: nowrap; column-gap: 1rem; } }
.nav-wide a { font-size: 0.9375rem; white-space: nowrap; }
.nav-wide a.nav-cta { padding: 6px 12px; }
.nav-menu .nav a.nav-cta {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--brass);
}
.nav-menu .nav a.nav-cta:hover,
.nav-menu .nav a.nav-cta[aria-current="page"] { color: #fff; border-color: var(--brass-light); background-position: center bottom 0.35rem; background-size: calc(100% - 2rem) 2px; }

@media (max-width: 68.74rem) {
  .site-header { position: relative; }
  .header-inner { flex-wrap: nowrap; gap: 1rem; }
  .nav-wide { display: none; }
  .nav-menu { display: block; }
}
@media (min-width: 48rem) and (max-width: 68.74rem) {
  .nav-menu .nav { padding-left: 2.5rem; padding-right: 2.5rem; }   /* line up with the page edge */
}
@media (max-width: 39.99rem) {
  .wordmark img { height: 3rem; }    /* phones: smaller logo so it fits beside the Menu button */
}

/* ---------- Home ---------- */

.hero { padding: 4.5rem 0 5rem; }
.hero h1 { max-width: 14ch; font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.1rem); line-height: 1.15; }
/* Option A: the plaque is the page headline */
.hero h1.plaque { max-width: min(calc(100% - 10px), 46rem); width: fit-content; font-size: 1rem; line-height: normal; margin-top: 5px; }
.hero h1.plaque .plaque-text { font-size: 1.625rem; font-weight: 600; line-height: 1.25; }
.hero h1.plaque { border-width: 2px; outline-width: 2px; padding: 22px 32px; }
@media (min-width: 48rem) { .hero h1.plaque .plaque-text { font-size: 2.25rem; } }
.hero .lead { max-width: 44rem; }
/* Home: "What we do" brass plaque under the headline (an engraved plate on a quarterdeck).
   Thin double brass frame: a 1px border plus a 1px outline 4px outside it. Only as wide as its text. */
.plaque {
  width: fit-content;
  max-width: calc(100% - 10px);   /* room for the outer line on narrow screens */
  margin: calc(1.5rem + 5px) 0 calc(2.25rem + 5px);   /* 24px above and 36px below, measured from the outer line */
  padding: 18px 28px;
  border: 1px solid #b08d57;
  outline: 1px solid #b08d57;
  outline-offset: 4px;
  background: rgba(176, 141, 87, 0.08);
}
/* The plaque takes its width from the headline above it, so its right edge lines up with the end of "Latitude is earned." */
.hero-head { width: fit-content; max-width: 100%; }
.hero-head .plaque { width: auto; contain: inline-size; }
@media (min-width: 40rem) { .hero-head .plaque { max-width: none; } }
/* 768px and up: 24px, two lines, broken after "gears". Below that the break is hidden and the line wraps naturally.
   The plaque matches the headline's width, but widens past it where the two lines need more room (screens under ~1420px). */
.plaque-break { display: none; }
@media (min-width: 48rem) {
  .plaque .plaque-text { font-size: 1.5rem; }
  .hero-head .plaque { contain: none; }
  .plaque-break { display: inline; }
}   /* phones keep room for the outer line */
.plaque-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a6a3a;
  margin-bottom: 0.4rem;
}
.plaque-text {
  display: block;
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.35;
  color: #1b2a41;
  text-wrap: balance;
}

@media (min-width: 64rem) {
  .hero { padding: 6rem 0 5.5rem; }
}

/* Nautical chart behind the Home page (inline SVG in src/index.html).
   The text column runs from max(40px, centre - 504px), 704px wide. The faint grid covers the whole area; the map and
   instruments sit in the margins, at least 40px clear of the text. Only the thin brass course crosses behind the text. */
.chart-area { position: relative; overflow: hidden; isolation: isolate; }
.chart-area > section { position: relative; }
/* The chart comes last in the page source (so the page text reads first) but is drawn behind the sections */
.chart { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.chart svg { display: block; }
.chart > svg { position: absolute; top: 0; }
.chart-grid { left: 0; width: 100%; height: 100%; }
/* map drawn 2240px wide with the text column at x 640-1344, so it lines up with the text at every width */
.chart-map { left: calc(max(2.5rem, 50% - 31.5rem) - 40rem); width: 140rem; height: 100%; }
.chart .snd { fill: var(--navy); fill-opacity: 0.3; font-family: var(--sans); font-size: 11px; text-anchor: middle; }
.chart .lbl { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.chart .course { opacity: 0.35; }
.chart .lon { font-size: 9px; letter-spacing: 0.04em; }
/* longitude lines share the map position, so they line up with it */
.chart-lon { left: calc(max(2.5rem, 50% - 31.5rem) - 40rem); width: 140rem; height: 100%; }
/* the section dividers are the chart latitude lines, labelled at the left edge */
.chart-area > [data-lat]::before {
  content: attr(data-lat);
  position: absolute;
  left: 1.5rem;
  top: -1.15rem;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: rgba(27, 42, 65, 0.4);
}
/* coastline: up to 320px wide against the right edge, cut off before it reaches the text margin */
.chart-coast { --coast-left: max(49rem, calc(50% + 15rem), calc(100% - 20rem)); left: var(--coast-left); width: calc(100% - var(--coast-left)); height: 150rem; }
/* Under 1100px the founder quote reaches into the right margin, so the coastline goes */
@media (max-width: 68.74rem) { .chart .chart-coast { display: none; } }
/* Under 768px: only the faint grid */
@media (max-width: 47.99rem) {
  .chart .chart-map, .chart .chart-coast, .chart-ticks { display: none; }
}

.band { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
.band h2 { margin-top: 0; }
@media (min-width: 48rem) { .band { padding: 4.5rem 0; } }
/* Home: the same space above and below every divider (latitude line): 44px on phones, 56px from 768px.
   The last paragraph in a section adds no extra margin, so the space is even. */
.chart-area > .band { padding: 2.75rem 0; }
.chart-area > .hero { padding-bottom: 2.75rem; }
.chart-area > section .wrap > :last-child { margin-bottom: 0; }
@media (min-width: 48rem) {
  .chart-area > .band { padding: 3.5rem 0; }
  .chart-area > .hero { padding-bottom: 3.5rem; }
}

.more { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); }

/* ---------- Numbered timeline (Our Values, How We Work) ----------
   Phones: steps stacked on a thin vertical navy line with dot markers.
   Desktop: steps side by side on one horizontal line (4 or 5 columns). .timeline-end is a full-width last step under a brass line. */
.timeline {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
}
.timeline > li { position: relative; }
.step-num {
  display: block;
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1;
  color: var(--brass);
}
.timeline p:last-child { margin-bottom: 0; }
.timeline .tagline { margin-bottom: 0.75rem; }

.timeline > li:not(.timeline-end) {
  padding: 0 0 2.25rem 2rem;
  border-left: 1px solid var(--navy);
}
.timeline > li:not(.timeline-end):last-child { padding-bottom: 0; }
.timeline > li:not(.timeline-end)::before {   /* station dot on the line */
  content: "";
  position: absolute;
  left: -6px;
  top: 0.15rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--navy);
}
.timeline > li:not(.timeline-end) .step-num { margin-bottom: 0.75rem; }

.timeline-end {
  border-top: 3px solid var(--brass);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
}
.timeline-end .step-num { padding-top: 0.2rem; }
.timeline-end > div { max-width: var(--measure); }
/* Our Values: the intro and the Perseverance block run the full content width, to the same right edge as the grid. */
#values .lead,
#values .timeline-end > div,
#values .timeline-end p { max-width: none; }

@media (min-width: 60rem) {
  .timeline { grid-template-columns: repeat(4, 1fr); }
  /* five steps: each title stays on one line; a column widens to fit its title if needed */
  .timeline-5 { grid-template-columns: repeat(5, minmax(min-content, 1fr)); }
  .timeline-5 h3 { white-space: nowrap; }
  .timeline > li:not(.timeline-end) {
    padding: 0 2rem 0 0;
    border-left: 0;
  }
  .timeline > li:not(.timeline-end) .step-num {
    padding: 0 0 1.25rem 1.5rem;
    margin: 0 -2rem 1.5rem 0;      /* negative margin keeps the line continuous between steps */
    border-bottom: 1px solid var(--navy);
  }
  .timeline > li:not(.timeline-end)::before { left: 0; top: calc(var(--fs-h3) + 1.25rem - 6px); }
  .timeline-5 > li:not(.timeline-end) { padding-right: 2rem; }
  .timeline-5 > li:not(.timeline-end) .step-num { margin-right: -2rem; }
  /* Our Values: every tagline reserves two lines, so all four stories start on the same line */
  #values .timeline > li:not(.timeline-end) .tagline { min-height: 3.3em; min-height: 2lh; }
  .timeline-end {
    grid-column: 1 / -1;
    margin-top: 3.5rem;
    padding-top: 1.75rem;
  }
}

/* Founder block on Home: small round headshot, name, link to Who We Are */
.founder { display: flex; align-items: center; gap: 1.5rem; }
.founder-photo {
  width: 6rem;                 /* 96px */
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;            /* static/images/sean-bian-head.jpg: 192px square face crop of the portrait */
  background: var(--paper-deep);
  flex: none;
}
.founder p { margin: 0; }
.founder .founder-name { margin-bottom: 0.75rem; }
/* quote first, set large like the pull quotes; attribution smaller beneath */
.founder .founder-quote { font-family: var(--serif); font-style: italic; font-size: var(--fs-quote); line-height: 1.3; color: var(--navy); margin-bottom: 0.5rem; }
@media (max-width: 39.99rem) { .founder { flex-direction: column; gap: 1.25rem; } }

/* Closing band */
.closing {
  background: var(--navy);
  color: var(--paper);
  padding: 2.75rem 0;          /* 44px on phones, 56px from 768px */
  text-align: center;
}
@media (min-width: 48rem) { .closing { padding: 3.5rem 0; } }
.closing p { margin-left: auto; margin-right: auto; }
.closing-line {
  font-family: var(--serif);
  font-size: var(--fs-closing);
  line-height: 1.35;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.closing p:last-child { margin-bottom: 0; }

/* ---------- Inner pages ---------- */

/* Same top spacing on every inner page: visible H1, then the lead */
.page { padding: 5.25rem 0 0; }
@media (min-width: 48rem) { .page { padding: 7.5rem 0 0; } }
/* Every page: the same space between the last line of content and the navy closing band (or, on Contact, the footer).
   44px on phones, 72px from 768px. The last section's last element adds no margin of its own. */
:root { --end-space: 2.75rem; }
@media (min-width: 48rem) { :root { --end-space: 4.5rem; } }
.page,
.chart-area > section:last-of-type { padding-bottom: var(--end-space); }
.page .wrap > :last-child,
.chart-area > section:last-of-type .wrap > :last-child { margin-bottom: 0; }
.page h2 { margin-top: 4.5rem; }

/* Pull quotes: large Caslon italic with a short brass rule above */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-quote);
  line-height: 1.3;
  color: var(--navy);
  margin: 3rem 0;
  max-width: var(--measure);
  text-wrap: balance;       /* where it must wrap, split it evenly */
}
.pull-quote::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-bottom: 1.25rem;
  background: var(--brass);
}
.page h2 + .pull-quote { margin-top: 0; }
.timeline-end .pull-quote { margin: 1.75rem 0; }
.pull-quote:has(+ .quote-source) { margin-bottom: 0.6rem; }
.quote-source { margin: 0 0 1.75rem; }

/* ---------- Card: tinted box, brass top rule, small-caps label, body text ---------- */
.card-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.card {
  padding: 1.25rem 1.5rem 1.4rem;
  background: var(--paper-deep);
  border-top: 3px solid var(--brass);
}
.card .label { display: block; margin: 0 0 0.45rem; }
.card-link { display: inline-block; margin-top: 0.35rem; font-size: var(--fs-caption); }
.card p { margin: 0; }
.card-figure { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.25; color: var(--navy); margin: 0 0 0.35rem !important; }
@media (min-width: 40rem) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Section divider on inner pages: Home's latitude line without the label ----------
   Full content width (63rem), 44px above and below on phones, 56px from 768px. */
.divider { height: 0; border: 0; border-top: 1px solid var(--rule); margin: 2.75rem 0; }
.page .divider + h2 { margin-top: 0; }
@media (min-width: 48rem) { .divider { margin: 3.5rem 0; } }

/* ---------- Tinted band: the "Our mark" card style ---------- */
.tint-band { background: var(--paper-deep); padding: 1.5rem; }
@media (min-width: 48rem) { .tint-band { padding: 2rem 2.25rem; } }

/* Industries: Caslon items in one column, a hairline rule between items, brass dot before each */
.industries {
  list-style: none;
  margin: 1.5rem 0 0;
}
.industries li {
  --pad: 0.85rem;
  position: relative;
  padding: var(--pad) 0 var(--pad) 1.5rem;
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.25;
  color: var(--navy);
}
.industries li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: calc(var(--pad) + 0.47em);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}
.industries li + li { border-top: 1px solid var(--rule); }
.industries li:first-child { padding-top: 0; }
.industries li:first-child::before { top: 0.47em; }
.industries li:last-child { padding-bottom: 0; }
/* What We Look For, "Our focus": a Caslon title with a one-sentence description under it */
.focus .focus-title { display: block; }
.focus .focus-desc {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Two columns side by side (stacked on phones) ---------- */
.split { display: grid; gap: 0 3rem; }
.split h2 { margin-top: 4.5rem; }
@media (min-width: 48rem) { .split { grid-template-columns: 1fr 1fr; } }

/* Lists with a thin rule between items and a brass dash marker; .muted for grey markers and text */
.dash-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.dash-list li {
  position: relative;
  padding: 1rem 0 1rem 1.75rem;
  border-bottom: 1px solid var(--rule);
}
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.85rem;
  width: 0.7rem;
  height: 1px;
  background: var(--brass);
}
.dash-list.muted li { color: var(--muted); }
.dash-list.muted li::before { background: var(--muted); }

/* ---------- Numbered list: brass Caslon numerals in the left gutter, Caslon title, hairline rule between rows ---------- */
.numbered {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.numbered li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.numbered .num { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1; color: var(--brass); }
.numbered h3 { margin-bottom: 0.35rem; }

/* What you can expect: pull quote on the left (about 40%), numbered promises on the right; stacked on phones */
/* The heading sits in the left column with the quote, so the list's item 01 starts level with the heading */
.expect { margin-top: 4.5rem; }
.page .expect h2 { margin-top: 0; }
.expect .pull-quote { margin: 0 0 2rem; }
@media (min-width: 60rem) {
  .expect { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: start; }
  .expect .pull-quote { margin: 0; }
  .expect .numbered { border-top: 0; }
  .expect .numbered li:first-child { padding-top: 0; }
}
.numbered p { margin: 0; }
/* What you can expect: promises carry the brass dash of .dash-list in place of numerals, centred on the title's first line */
.promises li { grid-template-columns: 1.75rem 1fr; }
.promises .dash { display: block; height: calc(var(--fs-h3) * 1.25); background: linear-gradient(var(--brass), var(--brass)) no-repeat 0.2rem 50% / 0.7rem 1px; }

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  border-bottom: 3px solid var(--brass);
}
.button:hover { background: #2a3c57; color: #fff; }
.button-light { background: var(--paper); color: var(--navy); }
.button-light:hover { background: #fff; color: var(--navy); }
.closing :focus-visible { outline-color: var(--brass-light); }

/* ---------- Home: Our mark ---------- */

.mark-note {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  max-width: var(--measure);
  margin: 3.75rem 0 0;
  padding: 1.5rem;
  background: var(--paper-deep);
}
.mark-note img { width: 3.5rem; height: auto; display: block; }
.mark-note h2 { font-size: var(--fs-h3); margin: 0 0 0.4rem; }
.mark-note p { margin: 0; }
.band .mark-note { margin-top: 0; }

/* ---------- Who We Are ---------- */

/* Photo beside the name, label, tagline and first paragraph, ending on that paragraph's last line;
   the remaining paragraphs run full measure below, starting at the photo's left edge */
.bio { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
.bio h1 { margin: 0 0 0.35rem; }
.bio .label { margin-bottom: 0.6rem; }
.bio .tagline { margin-bottom: 1.25rem; }
.bio p:last-child { margin-bottom: 0; }
.bio-photo { width: 12rem; height: auto; background: var(--paper-deep); aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (min-width: 40rem) {
  .bio { grid-template-columns: var(--bio-photo, 17.8rem) 1fr; gap: 1.5rem; }
  .bio .bio-photo { width: var(--bio-photo, 17.8rem); }
}

.values-link-label { margin: 3rem 0 0.4rem; }
.values-link { font-family: var(--serif); }
.values-link a { text-decoration: none; }
.values-link a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.values-link .dot { color: var(--brass); }

/* ---------- Contact: text left, card right (stacked on phones) ---------- */

.contact-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60rem) { .contact-layout { grid-template-columns: minmax(0, var(--measure)) 23rem; justify-content: space-between; } }
.contact-layout > div > :last-child { margin-bottom: 0; }
.contact-card { font-style: normal; }
@media (min-width: 48rem) { .contact-card.tint-band { padding: 2rem 1.75rem; } }
.contact-card .founder-photo { margin-bottom: 1.25rem; }
.contact-card p { margin: 0 0 0.35rem; }
.contact-card .contact-name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; color: var(--navy); margin-bottom: 0.3rem; }
.contact-card .label { margin-bottom: 1rem; }
.contact-card a { overflow-wrap: anywhere; }
.contact-card .button { margin-top: 1.25rem; }

/* ---------- Footer ---------- */

/* Navy stripe at the bottom, mirroring the header (brass line on the inside edge) */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--brass);
  color: #e6e2d8;
  font-size: 1rem;
  padding: 1.75rem 0;
}
.site-footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  a, .button { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
}

/* Keeps a short phrase on one line (e.g. "30-minute" on Contact Us) */
.nowrap { white-space: nowrap; }
.hero h1.plaque .plaque-text { text-wrap: wrap; }
.hero-head h1.plaque { contain: none; }

/* Plaque font option: caslon-regular */
.hero h1.plaque .plaque-text { font-weight: 400; letter-spacing: -0.005em; }
@media (min-width: 48rem) { .hero h1.plaque .plaque-text { font-size: 2.5rem; } }

/* Plaque size step 2 */
.hero h1.plaque .plaque-text { font-size: 1.375rem; }
@media (min-width: 48rem) { .hero h1.plaque .plaque-text { font-size: 1.875rem; } }
@media (min-width: 48rem) { .hero h1.plaque { max-width: 46rem; } .hero h1.plaque .plaque-text { text-wrap: balance; } }
