/* ==========================================================================
   Dolphin Advertising — Home
   Editorial broadsheet layout. Newsreader for display, Spectral for reading
   copy, Inter for slugs, labels and controls.
   ========================================================================== */

:root {
  --ink: #171717;
  --paper: #F7F5F1;
  --charcoal: #3A3A3A;
  --muted: #6E6E6E;
  --rule: #D5D0C7;
  --dolphin-accent: #14549F;
  --accent-deep: #0E3E77;

  --display: 'Newsreader', serif;
  --reading: 'Spectral', serif;
  --ui: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(.2, 0, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

body {
  font-family: var(--ui);
  color: var(--ink);
  /* clip, not hidden — `hidden` would make body a scroll container and stop
     the nav bar from sticking. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--dolphin-accent); }

img { max-width: 100%; }

h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--dolphin-accent); outline-offset: 3px; }

/* --- Shared -------------------------------------------------------------- */

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 7vw, 104px); }

.band { border-top: 1px solid var(--ink); background: #fff; }
.band.network { border-bottom: 1px solid var(--ink); }

.rule-ink  { height: 1px; background: var(--ink); }
.rule-hair { height: 1px; background: var(--rule); }

.eyebrow {
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dolphin-accent);
}

.link-underline {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--dolphin-accent);
  padding-bottom: 3px;
}

.spacer { flex: 1; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui);
  text-transform: uppercase;
  transition: background 140ms var(--ease), color 140ms var(--ease),
              border-color 140ms var(--ease);
}

.btn-dark {
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  min-height: 44px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.btn-dark:hover { background: var(--dolphin-accent); color: #fff; }

.btn-accent {
  background: var(--dolphin-accent);
  color: #fff;
  padding: 15px 24px;
  min-height: 48px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.btn-accent:hover { background: var(--accent-deep); color: #fff; }

.btn-accent.btn-lg {
  padding: 17px 28px;
  min-height: 52px;
  font-size: 12.5px;
  letter-spacing: 0.2em;
}

.btn-outline {
  border: 1px solid var(--ink);
  padding: 14px 24px;
  min-height: 48px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.btn-outline:hover { border-color: var(--dolphin-accent); color: var(--dolphin-accent); }

.btn-ghost-light {
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 13px 20px;
  min-height: 46px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.btn-ghost-light:hover {
  background: var(--dolphin-accent);
  border-color: var(--dolphin-accent);
  color: #fff;
}

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

/* The nav sits outside .site-header so that its sticky containing block is the
   body rather than the header box — inside it, it would unstick immediately. */

/* Top bar — one line at every width. The items are nowrap and the middle note
   is dropped before it can ever push the phone number onto a second row. */
.topbar {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 8px var(--gutter);
  border-bottom: 1px solid var(--rule);
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.topbar > * { white-space: nowrap; }
.topbar-place { overflow: hidden; text-overflow: ellipsis; }
.topbar-tel { color: var(--ink); letter-spacing: 0.12em; }

@media (max-width: 1080px) { .topbar-note { display: none; } }
@media (max-width: 400px)  { .topbar { letter-spacing: 0.1em; gap: 12px; } }

/* Masthead — mark and wordmark set as one centred lockup. The wordmark is
   sized to stay on a single line: its width is ~13.8em, so 5.4vw keeps it
   inside the 92vw content column all the way down to the stacked breakpoint. */
.masthead {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(14px, 2.2vw, 26px) var(--gutter) clamp(12px, 1.6vw, 18px);
  text-align: center;
}

.masthead-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 20px);
  font-size: clamp(34px, 5.4vw, 70px); /* drives both mark and wordmark */
}
.masthead-mark {
  display: block;
  width: auto;
  height: 1.15em;
  flex-shrink: 0;
}
.masthead-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.masthead-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 24px);
  margin-top: clamp(10px, 1.4vw, 16px);
}
.masthead-hair {
  flex: 1 1 0;
  height: 1px;
  background: var(--rule);
  max-width: 200px;
}
.masthead-line-label {
  font-family: var(--ui);
  font-size: clamp(9px, 1vw, 10.5px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}

/* Below 640px the lockup stacks — a side-by-side mark would starve the
   wordmark of width and shrink it below a legible size. */
@media (max-width: 639px) {
  .masthead-lockup {
    flex-direction: column;
    gap: 10px;
    font-size: clamp(21px, 6.2vw, 40px);
  }
  .masthead-mark { height: 2.1em; }
  .masthead-line-label { letter-spacing: 0.2em; white-space: normal; }
  .masthead-hair { max-width: 40px; }
}
/* Too narrow for the label to sit on one line — the flanking rules would just
   float beside a two-line block, so drop them. */
@media (max-width: 419px) {
  .masthead-hair { display: none; }
}

/* Nav — sticks to the top once the masthead scrolls away. */
.nav-sentinel { height: 1px; margin-bottom: -1px; }

.mainnav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px double var(--ink);
}
.mainnav-inner {
  --nav-gap: clamp(16px, 2vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px var(--nav-gap);
  align-items: center;
  min-height: 50px;
}
/* The CTA is pushed right rather than using space-between, so the collapsed
   .nav-brand does not leave a gap that drifts the links off the gutter. */
.mainnav-inner > .btn-dark { margin-left: auto; }

.mainnav-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.6vw, 34px);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mainnav-links .is-current {
  padding-bottom: 2px;
  border-bottom: 2px solid var(--dolphin-accent);
}

/* Wings mark that fades in beside the links once the bar is stuck. While
   collapsed it is zero-width AND cancels its own flex gap with a negative
   margin, so the links stay flush to the gutter until the mark appears. */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: calc(-1 * var(--nav-gap));
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 260ms var(--ease), opacity 200ms var(--ease),
              margin-right 260ms var(--ease);
}
.nav-brand img {
  display: block;
  height: 28px;
  width: auto;
  max-width: none; /* the global img rule would squash it as max-width animates */
}
.mainnav.is-stuck .nav-brand {
  max-width: 48px;
  opacity: 1;
  margin-right: 0; /* the flex gap alone now spaces mark from links */
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background 160ms var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms var(--ease);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Below 720px the five links plus the CTA can no longer share a row without
   colliding, so they collapse into a disclosure panel. */
@media (max-width: 719px) {
  .nav-toggle { display: inline-flex; }
  .nav-brand { display: none; }

  .mainnav-links {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--rule);
    padding-bottom: 8px;
  }
  .mainnav-links.is-open { display: flex; }
  .mainnav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--rule);
  }
  .mainnav-links a:last-child { border-bottom: 0; }
  .mainnav-links .is-current {
    padding-bottom: 13px;
    border-bottom: 1px solid var(--rule);
    color: var(--dolphin-accent);
  }
}

/* ==========================================================================
   The Front Page
   ========================================================================== */

.hero { padding-top: clamp(28px, 4vw, 52px); }

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
}

.hero-lead { flex: 1 1 560px; min-width: 0; }

.hero-slug {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.slug-rule { flex: 1; height: 1px; background: var(--rule); }
.slug-note {
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 7.6vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-title em { font-style: italic; }

.hero-rule { margin: clamp(20px, 2.6vw, 32px) 0 20px; }

.hero-body {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
}
.hero-dek {
  flex: 1 1 300px;
  font-family: var(--reading);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--charcoal);
}
.hero-actions {
  flex: 0 1 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.numbers {
  flex: 1 1 260px;
  min-width: 0;
  border-left: 1px solid var(--rule);
  padding-left: clamp(16px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.numbers-label {
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.numbers-list { display: flex; flex-direction: column; gap: 16px; }
.stat { border-top: 1px solid var(--rule); padding-top: 14px; }
.stat-value {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 6px;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-figure { margin: clamp(28px, 3.5vw, 48px) 0 0; }
.hero-figure-frame {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero-figure-frame img {
  display: block;
  width: 100%;
  height: clamp(220px, 38vw, 460px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transform: scale(1.02);
  transition: transform 600ms var(--ease), filter 400ms;
}
.hero-figure-frame:hover img {
  transform: scale(1);
  filter: grayscale(0.15) contrast(1);
}
.hero-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 10px;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   The Feature
   ========================================================================== */

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 56px);
}

.feature-side { flex: 0 1 300px; min-width: 0; }
.feature-side .eyebrow { display: block; margin-bottom: 20px; }

/* line-height 0.82 crops the em box, so the digits' ink overhangs the top by
   ~0.08em while ~0.16em of empty space is left under it. Equal and opposite
   margins even out the optical gaps above and below; em keeps it correct as
   the figure scales. */
.feature-figure {
  font-family: var(--display);
  font-size: clamp(90px, 15vw, 190px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin-top: 0.163em;
  margin-bottom: -0.163em;
}
.feature-figure-label {
  margin-top: 16px;
  font-family: var(--ui);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.feature-rule { margin: 22px 0 16px; }
.feature-quote {
  font-family: var(--reading);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.45;
}

.feature-main { flex: 1 1 520px; min-width: 0; }
.feature-heading {
  margin-bottom: 20px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.feature-heading-rule { margin-bottom: 20px; }

.feature-columns {
  columns: 290px 2;
  column-gap: clamp(24px, 2.6vw, 40px);
  column-rule: 1px solid var(--rule);
  font-family: var(--reading);
  font-size: 16px;
  line-height: 1.68;
  color: var(--charcoal);
}
.feature-columns p { margin-bottom: 14px; }
.feature-columns p.is-last { margin-bottom: 0; }
/* The float must be shorter than a whole number of body lines, or an extra
   line indents against nothing. Body is 16px x 1.68 = 26.88px, so two lines
   are 53.76px: 64 x 0.8 = 51.2px plus 2px of margin clears it with room. */
.dropcap {
  float: left;
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.8;
  margin-top: 2px;
  padding-right: 10px;
  color: var(--ink);
}

.feature-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}
.feature-foot-note {
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   The Network
   ========================================================================== */

.network-inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}
.network .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.section-head .eyebrow { display: block; margin-bottom: 12px; }

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.08;
}
.section-title.narrow-24 { max-width: 24ch; }
.section-title.narrow-26 { max-width: 26ch; }

.section-note {
  font-family: var(--reading);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--charcoal);
}
.section-note.bordered {
  flex: 0 1 320px;
  border-left: 1px solid var(--rule);
  padding-left: 16px;
}
.section-note.wide-380 { flex: 0 1 380px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.partner-cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 180ms var(--ease);
}
.partner-cell:hover { background: var(--paper); }
.partner-cell img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.partner-meta { margin-top: auto; }
.partner-name {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.partner-kind {
  margin-top: 5px;
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.network-foot {
  margin-top: 14px;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   The Index — advertising solutions
   ========================================================================== */

.services-list {
  margin-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--ink);
}

.svc {
  display: grid;
  grid-template-columns: minmax(52px, 72px) minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(12px, 2.4vw, 32px);
  align-items: baseline;
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--rule);
  transition: background 180ms var(--ease), padding-left 180ms var(--ease);
}
.svc.is-last { border-bottom: 1px solid var(--ink); }
.svc:hover { background: #fff; padding-left: 14px; }
.svc:hover .svc-name { color: var(--ink); }

.svc-no {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--dolphin-accent);
  font-variant-numeric: tabular-nums;
}
.svc-name {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.1;
}
.svc-desc {
  font-family: var(--reading);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--charcoal);
}

@media (max-width: 640px) {
  .svc { grid-template-columns: 36px minmax(0, 1fr); }
  .svc-desc { grid-column: 2; }
}

/* ==========================================================================
   Full-page advertisement (dark CTA)
   ========================================================================== */

.cta { background: var(--ink); color: #fff; }
.cta a { color: #fff; }
.cta-inner { padding-top: clamp(44px, 6vw, 96px); padding-bottom: clamp(44px, 6vw, 96px); }

.cta-slug {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  align-items: flex-end;
  padding-top: clamp(24px, 3vw, 44px);
}
.cta-title {
  flex: 1 1 480px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6.6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.cta-side {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cta-dek {
  font-family: var(--reading);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}
.cta-alt {
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Our Clientele
   ========================================================================== */

.clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 56px);
}
.clients-lead { flex: 1 1 340px; min-width: 0; }
.clients-lead .eyebrow { display: block; margin-bottom: 12px; }
.clients-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.clients-dek {
  margin-top: 18px;
  font-family: var(--reading);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 44ch;
}

.clients-grid {
  flex: 1 1 420px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.client-cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-cell img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.client-cell-stat {
  background: transparent;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  min-height: 110px;
}

/* ==========================================================================
   The Newsstand
   ========================================================================== */

.newsstand-inner { padding-top: clamp(44px, 6vw, 96px); padding-bottom: clamp(44px, 6vw, 96px); }

.newsstand-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px double var(--ink);
}
.newsstand-head .eyebrow { display: block; margin-bottom: 12px; }

.newsstand-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 48px);
  padding-top: clamp(24px, 3vw, 40px);
}

.lead-story { flex: 1 1 460px; min-width: 0; display: block; }
.lead-story-frame { overflow: hidden; border-bottom: 1px solid var(--rule); }
.lead-story-frame img {
  display: block;
  width: 100%;
  height: clamp(200px, 26vw, 320px);
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.lead-story:hover .lead-story-frame img { transform: scale(1.03); }
.lead-story-meta {
  display: flex;
  gap: 14px;
  padding-top: 14px;
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead-story-meta .is-accent { color: var(--dolphin-accent); }
.lead-story-title {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}
.lead-story-dek {
  margin-top: 12px;
  font-family: var(--reading);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 52ch;
}
.lead-story-more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.briefs {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}
.brief {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}
.brief img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  flex-shrink: 0;
}
.brief-text { min-width: 0; }
.brief-meta {
  display: block;
  font-family: var(--ui);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.brief-title {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.2;
}

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

.site-footer { background: var(--ink); color: #fff; }
.footer-inner { padding-top: clamp(40px, 5vw, 72px); }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 56px);
  padding-bottom: clamp(28px, 3vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-brand { flex: 1 1 320px; min-width: 0; }

/* Built the same way as the masthead — wings plus a Newsreader wordmark —
   rather than the bitmap lockup, whose type is Arial and stacked a third
   typeface on top of the two lines of caption below it. */
.footer-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
}
.footer-lockup img {
  display: block;
  width: auto;
  height: clamp(44px, 5vw, 58px);
}
.footer-wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer-lockup:hover { color: #fff; }
.footer-lockup:hover .footer-wordmark { color: var(--dolphin-accent); }

.footer-tag {
  margin-top: 16px;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.footer-blurb {
  margin-top: 20px;
  font-family: var(--reading);
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38ch;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-sections  { flex: 0 1 170px; }
.footer-col-enquiries { flex: 0 1 200px; }
.footer-col-follow    { flex: 0 1 160px; }

.footer-col-label {
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
/* :not(.btn) so these never reach the Place an Ad button — this selector
   outranks .btn-ghost-light, and on hover it turned the label the same blue
   as the button's own hover background, making the text disappear. */
.footer-col a:not(.btn) {
  color: #fff;
  font-family: var(--ui);
  font-size: 13px;
}
.footer-col a:not(.btn):hover { color: var(--dolphin-accent); }

.footer-tel {
  font-family: var(--display) !important;
  font-size: 24px !important;
  font-variant-numeric: tabular-nums;
}
.footer-address {
  font-family: var(--reading);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.footer-hours {
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 18px 0 22px;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.8); }
.footer-bottom a:hover { color: var(--dolphin-accent); }

/* ==========================================================================
   The Terms — trust strip
   ========================================================================== */

.terms-inner { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.terms-eyebrow { display: block; margin-bottom: clamp(18px, 2.4vw, 28px); }

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.term {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(18px, 2vw, 26px);
}
.term-figure {
  font-family: var(--display);
  font-size: clamp(46px, 5vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.term-unit {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dolphin-accent);
  margin-left: 4px;
  vertical-align: 0.55em;
}
.term-title {
  margin-top: 12px;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.term-copy {
  margin-top: 10px;
  font-family: var(--reading);
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
}

/* ==========================================================================
   Going to Press — three steps
   ========================================================================== */

.press { border-top: 1px solid var(--rule); }

.steps {
  list-style: none;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--ink);
  padding-top: clamp(20px, 2.4vw, 30px);
}
.step-no {
  display: block;
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1;
  color: var(--dolphin-accent);
  font-variant-numeric: tabular-nums;
}
.step-title {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.15;
}
.step-copy {
  margin-top: 10px;
  font-family: var(--reading);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--charcoal);
}

/* ==========================================================================
   The Titles — 186 mastheads, tabbed by language
   ========================================================================== */

.titles-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(14px, 1.8vw, 26px);
  margin-top: clamp(22px, 2.6vw, 34px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 4px 0;
}
.titles-tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 8px 0;
  min-height: 40px;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 140ms var(--ease), border-color 140ms var(--ease);
}
.titles-tab:hover { color: var(--ink); }
.titles-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--dolphin-accent);
}
.titles-tab-n {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--dolphin-accent);
  vertical-align: 0.4em;
  margin-left: 3px;
}

.titles-panel[hidden] { display: none; }
.titles-blurb {
  padding: 16px 0 14px;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.titles-list,
.cat-list,
.cities-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--reading);
  font-size: 15.5px;
  line-height: 1.5;
}
.titles-list {
  columns: 200px auto;
  column-gap: clamp(20px, 2.6vw, 40px);
}
.titles-list li,
.cat-list li,
.cities-list li {
  break-inside: avoid;
  border-bottom: 1px solid var(--rule);
}
.titles-list a,
.cat-list a,
.cities-list a {
  display: block;
  padding: 9px 0;
  transition: color 140ms var(--ease), padding-left 140ms var(--ease);
}
.titles-list a:hover,
.cat-list a:hover,
.cities-list a:hover {
  color: var(--dolphin-accent);
  padding-left: 6px;
}

/* ==========================================================================
   The Directory — one index box, three closed drawers
   ========================================================================== */

.directory-inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }

.drawers {
  margin-top: clamp(22px, 2.6vw, 34px);
  border-top: 1px solid var(--ink);
}
.drawer { border-bottom: 1px solid var(--rule); }

.drawer-head {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 26px);
  padding: clamp(16px, 2vw, 22px) 0;
  cursor: pointer;
  list-style: none;
}
.drawer-head::-webkit-details-marker { display: none; }
.drawer-head:hover .drawer-title { color: var(--dolphin-accent); }
.drawer-head::after {
  content: '+';
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
  font-family: var(--ui);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: var(--dolphin-accent);
}
.drawer[open] .drawer-head::after { content: '\2212'; }

.drawer-n {
  flex: 0 0 auto;
  min-width: 3.1ch;
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
  color: var(--dolphin-accent);
  font-variant-numeric: tabular-nums;
}
.drawer-text { min-width: 0; }
.drawer-title {
  display: block;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  transition: color 140ms var(--ease);
}
.drawer-note {
  display: block;
  margin-top: 5px;
  font-family: var(--reading);
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal);
}

.drawer-body { padding-bottom: clamp(18px, 2.4vw, 28px); }
/* The lists were built as standalone sections; inside a drawer they lose
   their own top rules and spacing. */
.drawer-body .titles-tabs { margin-top: 0; border-top: 0; }
.drawer-body .cat-grid,
.drawer-body .cities-grid { margin-top: 0; }

@media (max-width: 520px) {
  .drawer-head { gap: 12px; }
  .drawer-n { font-size: 24px; min-width: 2.8ch; }
}

/* ==========================================================================
   Category and city lists (rendered inside the drawers)
   ========================================================================== */

.cat-grid {
  margin-top: clamp(20px, 2.6vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.cat-group-title,
.cities-group-title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cat-group-n {
  color: var(--dolphin-accent);
  font-size: 9.5px;
  vertical-align: 0.4em;
  margin-left: 3px;
}
.cat-list, .cities-list { font-size: 15px; }

/* ==========================================================================
   Letters to the Editor — Google reviews
   ========================================================================== */

.letters-inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }

.letters-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px double var(--ink);
}
.letters-head .eyebrow { display: block; margin-bottom: 12px; }

.rating {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.rating-score {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rating-stars {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--dolphin-accent);
}
.rating-meta {
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.rating:hover .rating-meta { color: var(--dolphin-accent); }

.letters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-left: 1px solid var(--rule);
  margin-top: clamp(22px, 2.6vw, 32px);
}
.letter {
  margin: 0;
  padding: clamp(20px, 2.4vw, 30px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.letter-quote {
  margin: 0;
  font-family: var(--reading);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--charcoal);
}
.letter-quote::before { content: '\201C'; }
.letter-quote::after  { content: '\201D'; }
.letter-by {
  margin-top: auto;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.letter-src {
  display: block;
  margin-top: 5px;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.letters-foot { margin-top: clamp(18px, 2.2vw, 26px); }

/* ==========================================================================
   Editions & Bureaus
   ========================================================================== */

.cities-grid {
  margin-top: clamp(22px, 2.6vw, 34px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.cities-list { columns: 150px auto; column-gap: 28px; }
.cities-foot { margin-top: clamp(20px, 2.4vw, 30px); }

/* ==========================================================================
   Queries — FAQ
   ========================================================================== */

.faq { border-top: 1px solid var(--rule); }
.faq-list {
  margin-top: clamp(22px, 2.6vw, 34px);
  border-top: 1px solid var(--ink);
}
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(16px, 2vw, 22px) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.2;
  transition: color 140ms var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--dolphin-accent); }
.faq-q::after {
  content: '+';
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--ui);
  font-size: 20px;
  font-weight: 300;
  color: var(--dolphin-accent);
  line-height: 1;
}
.faq-item[open] .faq-q::after { content: '\2212'; }
.faq-a {
  padding: 0 0 clamp(18px, 2vw, 24px);
  max-width: 68ch;
}
.faq-a p {
  font-family: var(--reading);
  font-size: 16px;
  line-height: 1.68;
  color: var(--charcoal);
}

/* ==========================================================================
   Place Your Ad — enquiry
   ========================================================================== */

.enquiry { border-top: 1px solid var(--ink); }
.enquiry-inner { padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(44px, 6vw, 88px); }
.enquiry-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 64px);
}
.enquiry-lead { flex: 1 1 340px; min-width: 0; }
.enquiry-lead .eyebrow { display: block; margin-bottom: 12px; }
.enquiry-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.enquiry-dek {
  margin-top: 16px;
  max-width: 44ch;
  font-family: var(--reading);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
}
.enquiry-contact {
  margin: clamp(22px, 2.6vw, 32px) 0 0;
  border-top: 1px solid var(--ink);
}
.enquiry-contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}
.enquiry-contact dt {
  flex: 0 0 90px;
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.enquiry-contact dd {
  margin: 0;
  font-family: var(--reading);
  font-size: 16px;
}

.enquiry-form { flex: 1 1 420px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 clamp(16px, 2vw, 28px);
}
.field label {
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--reading);
  font-size: 16px;
  transition: border-color 140ms var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.field select { cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--dolphin-accent);
  border-bottom-width: 2px;
  padding-bottom: 9px;
}
.field input:user-invalid,
.field textarea:user-invalid { border-bottom-color: #A3231F; }

.enquiry-submit { width: 100%; margin-top: 6px; }
.enquiry-note {
  margin-top: 14px;
  font-family: var(--ui);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.enquiry-note a { border-bottom: 1px solid var(--rule); }

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

.footer-browse {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px clamp(18px, 2.4vw, 32px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.footer-browse a {
  color: #fff;
  font-family: var(--ui);
  font-size: 12.5px;
}
.footer-browse a:hover { color: var(--dolphin-accent); }

/* ==========================================================================
   About page
   ========================================================================== */

/* "2002" is four digits: at the home page's 190px it is ~420px wide and
   overruns the 300px side column into the article. */
.origin .feature-figure {
  font-size: clamp(52px, 8vw, 104px);
  letter-spacing: -0.02em;
}

.stat-plus { font-size: 0.6em; vertical-align: 0.2em; }

/* Photography ------------------------------------------------------------- */

/* A shallower band than the hero figure, for images that sit inside a
   section rather than opening one. */
.hero-figure.figure-short .hero-figure-frame img { height: clamp(180px, 26vw, 320px); }

/* Photographs of people run in colour; document and texture shots stay
   monochrome, which is what the default figure treatment gives them. */
.hero-figure.figure-colour .hero-figure-frame img,
.side-figure.figure-colour img {
  filter: none;
}
.hero-figure.figure-colour .hero-figure-frame:hover img,
.side-figure.figure-colour:hover img {
  filter: saturate(1.05);
  transform: scale(1);
}

/* Founder column ---------------------------------------------------------- */

.origin-aside {
  flex: 0 1 320px;
  min-width: 0;
}
.portrait { margin: 0; }
.portrait img {
  display: block;
  width: 100%;
  height: auto;      /* without this the height="1000" attribute beats aspect-ratio */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.portrait figcaption {
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  margin-top: 12px;
}
.portrait-name {
  display: block;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.15;
}
.portrait-role {
  display: block;
  margin-top: 6px;
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.origin-stat {
  margin-top: clamp(22px, 2.6vw, 32px);
  padding-top: clamp(14px, 1.8vw, 20px);
  border-top: 1px solid var(--ink);
}
.origin-stat .feature-figure { font-size: clamp(48px, 6vw, 76px); }

.origin-eyebrow { display: block; margin-bottom: 14px; }

.origin-quote {
  margin: clamp(22px, 2.6vw, 32px) 0 0;
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--ink);
  font-family: var(--reading);
  font-style: italic;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.45;
  max-width: 40ch;
}

/* Portrait image tucked into a .feature-side column. */
.side-figure {
  margin: clamp(20px, 2.4vw, 30px) 0 0;
}
.side-figure img {
  display: block;
  width: 100%;
  height: clamp(180px, 20vw, 260px);
  object-fit: cover;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  filter: grayscale(1) contrast(1.06);
  transform: scale(1.02);
  transition: transform 600ms var(--ease), filter 400ms;
}
.side-figure:hover img {
  transform: scale(1);
  filter: grayscale(0.15) contrast(1);
}
.side-figure figcaption {
  padding-top: 9px;
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-lede {
  margin-top: clamp(28px, 3.4vw, 48px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--ink);
  columns: 320px 2;
  column-gap: clamp(24px, 3vw, 48px);
  column-rule: 1px solid var(--rule);
  font-family: var(--reading);
  font-size: clamp(16px, 1.4vw, 17.5px);
  line-height: 1.68;
  color: var(--charcoal);
}
.about-lede p { break-inside: avoid; margin-bottom: 14px; }
.about-lede p:last-child { margin-bottom: 0; }

.origin-inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }

/* More than a booking */
.more-body {
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 48px);
  align-items: baseline;
}
.more-lead {
  flex: 1 1 420px;
  font-family: var(--reading);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--charcoal);
}
.more-kicker {
  flex: 1 1 260px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  text-wrap: balance;
}

.network-strip .term-copy { font-size: 14.5px; }

/* Ad-type index. Items without a page are plain text, not dead links. */
.needs-grid { margin-top: clamp(24px, 3vw, 40px); }
.cat-list span {
  display: block;
  padding: 9px 0;
  color: var(--charcoal);
}

/* Why clients choose Dolphin */
.reasons-inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.reasons {
  list-style: none;
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 0 clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--ink);
  counter-reset: reason;
}
/* Hairline under each entry and nothing else — the boxed grid this replaced
   also repeated the 270+ and 0% figures from the strip directly above it. */
.reason {
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--rule);
}
.reason-no {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--dolphin-accent);
  font-variant-numeric: tabular-nums;
}
.reason-title {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.18;
  text-wrap: balance;   /* evens the two-line titles instead of orphaning a word */
}
.reason-copy {
  margin-top: 10px;
  font-family: var(--reading);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 42ch;
}

/* Philosophy */
.creed {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px double var(--ink);
}
.creed-label {
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dolphin-accent);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.creed-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}
.creed-item { min-width: 0; }
.creed-item dt {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.1;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.creed-item dd {
  margin: 10px 0 0;
  font-family: var(--reading);
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
}

/* ==========================================================================
   Blog index
   ========================================================================== */

.newsstand-hero {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(36px, 4.5vw, 64px);
}
.newsstand-hero .hero-slug { margin-bottom: clamp(20px, 2.6vw, 30px); }

.lead-story-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: flex-start;
  padding-top: clamp(20px, 2.6vw, 32px);
  border-top: 1px solid var(--ink);
}
.lead-story-lg { flex: 1 1 520px; min-width: 0; }
.lead-story-lg .lead-story-frame img { height: clamp(240px, 32vw, 420px); }

.lead-story-text { flex: 1 1 330px; min-width: 0; }
.lead-story-headline {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead-story-headline a { color: inherit; }
.lead-story-headline a:hover { color: var(--dolphin-accent); }
.lead-story-text .lead-story-dek { margin-top: 14px; max-width: 46ch; }
.lead-story-text .link-underline { display: inline-block; margin-top: 20px; }

.briefs-inner {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

/* Two columns of briefs, hairline-separated. No cards — 40 entries in boxes
   would be a wall. */
.briefs-grid {
  margin-top: clamp(22px, 2.6vw, 34px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 0 clamp(28px, 4vw, 60px);
  border-top: 1px solid var(--ink);
}
.briefs-grid .brief { align-items: flex-start; }
.brief:hover .brief-title { color: var(--dolphin-accent); }
.brief-title { transition: color 140ms var(--ease); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-hero {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(36px, 4.5vw, 64px);
}
.contact-hero .hero-slug { margin-bottom: clamp(20px, 2.6vw, 30px); }

.contact-top {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 56px);
  align-items: flex-end;
  padding-bottom: clamp(24px, 3vw, 38px);
  border-bottom: 1px solid var(--ink);
}
.contact-title {
  flex: 1 1 420px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.contact-dek {
  flex: 1 1 340px;
  max-width: 46ch;
  font-family: var(--reading);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--charcoal);
}

/* Three ways to reach the desk, ruled rather than boxed. */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 clamp(28px, 4vw, 60px);
}
.contact-action {
  display: block;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--rule);
}
.contact-action-label {
  display: block;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dolphin-accent);
}
.contact-action-value {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  transition: color 140ms var(--ease);
}
.contact-action:hover .contact-action-value { color: var(--dolphin-accent); }
.contact-action-note {
  display: block;
  margin-top: 8px;
  font-family: var(--reading);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* What to send — numbered, not bulleted */
.checklist {
  list-style: none;
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.checklist li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--reading);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--charcoal);
}
.checklist strong { color: var(--ink); font-weight: 600; }
.checklist-n {
  flex: 0 0 auto;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--dolphin-accent);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

/* The office */
.office-inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.office-row {
  margin-top: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: flex-start;
}
.office-details { flex: 1 1 340px; min-width: 0; }
.office-details .enquiry-contact { margin-top: 0; }
.office-address { font-style: normal; line-height: 1.55; }
.office-closed {
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.office-directions { margin-top: clamp(20px, 2.4vw, 28px); }

.office-map { flex: 1 1 420px; min-width: 0; }
.office-map iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 38vw, 460px);
  border: 1px solid var(--ink);
  /* damped to sit with the monochrome figures rather than shout in Google's palette */
  filter: grayscale(0.85) contrast(1.05);
  transition: filter 400ms var(--ease);
}
.office-map:hover iframe { filter: grayscale(0) contrast(1); }

/* ==========================================================================
   Single blog post
   ========================================================================== */

.post-head {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(20px, 2.6vw, 32px);
}
.post-head .hero-slug { margin-bottom: clamp(18px, 2.4vw, 26px); }

.post-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 5.2vw, 66px);
  line-height: 1.01;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 19ch;
}
.post-standfirst {
  margin-top: clamp(16px, 2vw, 24px);
  max-width: 54ch;
  font-family: var(--reading);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--charcoal);
}

.post-figure { margin: 0 auto; }
.post-figure-frame {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.post-figure-frame img {
  display: block;
  width: 100%;
  height: clamp(220px, 34vw, 440px);
  object-fit: cover;
}

/* --- The margin rail ------------------------------------------------------ */

.post-layout {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  align-items: flex-start;
  padding-top: clamp(28px, 3.4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 88px);
  border-top: 1px solid var(--ink);
  margin-top: clamp(24px, 3vw, 40px);
}

.post-rail {
  flex: 0 1 190px;
  min-width: 0;
  font-family: var(--ui);
}
.rail-block {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.rail-block:last-child { border-bottom: 0; }

.rail-label {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail-value {
  display: block;
  margin-top: 7px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.2;
}

.rail-toc-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  counter-reset: toc;
}
.rail-toc-list li {
  counter-increment: toc;
  margin-bottom: 9px;
  padding-left: 26px;
  position: relative;
}
.rail-toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--dolphin-accent);
  font-variant-numeric: tabular-nums;
}
.rail-toc-list a {
  font-family: var(--reading);
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--charcoal);
}
.rail-toc-list a:hover { color: var(--dolphin-accent); }

.rail-share a,
.rail-copy {
  display: block;
  margin-top: 9px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
}
.rail-share a:hover,
.rail-copy:hover { color: var(--dolphin-accent); }
.rail-copy.is-copied { color: var(--dolphin-accent); }

/* --- The article ---------------------------------------------------------- */

.post-body {
  flex: 1 1 560px;
  min-width: 0;
  font-family: var(--reading);
  font-size: 19px;
  line-height: 1.78;
  color: var(--charcoal);
  counter-reset: section;
}
.post-body > * { max-width: 66ch; }

.post-body p { margin-bottom: 1.1em; }

/* Drop cap on the opening paragraph, matching the home page's Feature column. */
.post-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 76px;
  line-height: 0.78;
  padding-right: 11px;
  margin-top: 3px;
  color: var(--ink);
}

.post-body h2,
.post-body h3,
.post-body h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  text-wrap: balance;
}

/* Numbered sections — the counter means WordPress needs no special markup. */
.post-body h2 {
  position: relative;
  margin: clamp(42px, 4.4vw, 66px) 0 18px;
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--rule);
  font-size: clamp(26px, 3.1vw, 38px);
}
.post-body h2::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--dolphin-accent);
  font-variant-numeric: tabular-nums;
}
.post-body h2:target { scroll-margin-top: 74px; }

.post-body h3 {
  margin: clamp(30px, 3vw, 42px) 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
}
.post-body h4 {
  margin: clamp(24px, 2.6vw, 32px) 0 10px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.post-body strong, .post-body b { color: var(--ink); font-weight: 600; }
.post-body em, .post-body i { font-style: italic; }

.post-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--dolphin-accent);
}
.post-body a:hover { color: var(--dolphin-accent); }

.post-body ul, .post-body ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.post-body li { margin-bottom: 0.45em; }
.post-body ul { list-style: none; padding-left: 0; }
.post-body ul > li { position: relative; padding-left: 1.4em; }
/* An en-dash reads more like a newspaper list than a bullet. */
.post-body ul > li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--dolphin-accent);
}

/* --- Pull quote ----------------------------------------------------------- */

.pullquote {
  max-width: 66ch;
  margin: clamp(34px, 4vw, 54px) 0;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.pullquote::before { content: '\201C'; }
.pullquote::after  { content: '\201D'; }

.post-body blockquote {
  margin: clamp(28px, 3vw, 40px) 0;
  padding-left: clamp(18px, 2vw, 26px);
  border-left: 2px solid var(--dolphin-accent);
  font-size: clamp(19px, 2vw, 24px);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.post-body img, .post-body figure { max-width: 100%; height: auto; }
.post-body figure { margin: clamp(28px, 3vw, 40px) 0; }
.post-body figure img { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.post-body figcaption {
  padding-top: 9px;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: clamp(24px, 3vw, 36px) 0;
  font-size: 16px;
}
.post-body th, .post-body td {
  text-align: left;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.post-body th {
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.related { border-top: 1px solid var(--ink); }

/* --- Article pages (the 744 ACF reference pages) -------------------------- */

.article-faq { margin-top: clamp(42px, 4.4vw, 66px); }

/* Sits inside .post-body but is not one of the numbered sections, so the
   counter is switched off for it. */
.post-body .article-faq-title {
  margin: 0 0 clamp(16px, 2vw, 24px);
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--ink);
  font-size: clamp(24px, 2.8vw, 34px);
}
.post-body .article-faq-title::before {
  content: none;
  counter-increment: none;
}
.article-faq .faq-list { margin-top: 0; border-top: 0; }
.article-faq .faq-a p { font-size: 16.5px; }

.cta-alt-link {
  align-self: flex-start;
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 3px;
}
.cta-alt-link:hover {
  color: var(--dolphin-accent);
  border-bottom-color: var(--dolphin-accent);
}

/* The rail sits above the article once there is no room beside it. */
@media (max-width: 899px) {
  .post-rail {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0 clamp(24px, 5vw, 48px);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
  }
  .rail-block { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
  .rail-toc { flex-basis: 100%; }
  .rail-share { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; }
  .rail-share .rail-label { flex-basis: 100%; }
  .post-body { font-size: 18px; }
  .post-body > p:first-of-type::first-letter { font-size: 66px; }
}

/* Belt and braces against the Elementor addons, which enqueue late enough to
   slip past the dequeue and paint a progress bar over the sticky nav. */
.eael-reading-progress-wrap,
.eael-reading-progress,
#eael-reading-progress,
.eael-toc { display: none !important; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.is-hidden {
  opacity: 0;
  transform: translateY(14px);
}
[data-reveal] {
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .is-hidden { opacity: 1; transform: none; }
}
