/*
Theme Name: Panoramic Advice
Theme URI: https://www.panoramicadvice.com
Author: Panoramic Advice
Description: Custom theme for Panoramic Advice — Disciplined Execution Architecture (DEA). Built around the firm's wordmark (crimson serif, structural gray corner-bracket marks).
Version: 1.8.0
License: Proprietary
Text Domain: panoramic-advice
*/

/* ============================================================
   Panoramic Advice — Disciplined Execution Architecture
   Design tokens: derived from the PA wordmark (crimson serif
   on stone, gray corner brackets). The bracket motif from the
   logo is used throughout as the site's structural signature —
   framing sections the way a diagnostic report frames a finding.
   ============================================================ */

:root {
  /* Color */
  --ink: #201F1C;
  --ink-soft: #55524C;
  --ink-faint: #8A8680;
  --paper: #F7F6F3;
  --paper-raised: #FFFFFF;
  --panoramic-red: #B22B24;
  --panoramic-red-bright: #C6302B;
  --steel: #8C8C8C;
  --steel-light: #DBD8D3;
  --steel-hairline: #E4E2DD;

  /* Type */
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  --measure: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }
a { color: inherit; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panoramic-red);
  display: block;
  margin-bottom: 0.9em;
}

.measure { max-width: var(--measure); }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  body { font-size: 16px; }
}

/* ---------- Corner bracket motif ---------- */
/* Echoes the crop-mark brackets in the PA wordmark: a section
   is a "measured" region, like an exhibit in a diagnostic report. */
.bracketed {
  position: relative;
  padding: 46px 6px;
}
.bracketed::before,
.bracketed::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--steel);
  opacity: 0.55;
}
.bracketed::before {
  top: 0; left: 0;
  border-right: none;
  border-bottom: none;
}
.bracketed::after {
  bottom: 0; right: 0;
  border-left: none;
  border-top: none;
}

.corner-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--steel);
  flex: none;
}
.corner-mark.tl { border-right: none; border-bottom: none; }
.corner-mark.br { border-left: none; border-top: none; }

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--steel-hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--panoramic-red); border-color: var(--panoramic-red); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: var(--panoramic-red);
  padding: 10px 18px;
  border: 1px solid var(--panoramic-red);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); border-color: var(--ink); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--steel-light);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--ink);
  }
  .nav-inner { padding: 14px 22px; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: var(--paper);
    padding: 22px;
    border-bottom: 1px solid var(--steel-hairline);
    gap: 18px;
    z-index: 50;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 108px 0 96px;
  border-bottom: 1px solid var(--steel-hairline);
}
.hero-thesis {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.14;
  max-width: 15ch;
  margin: 0 0 0.55em;
}
.hero-thesis em {
  font-style: italic;
  color: var(--panoramic-red);
}
.hero-sub {
  font-size: 1.14rem;
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Hero: large-logo centered variant ---------- */
.hero.center-hero { text-align: center; }
.hero.center-hero .hero-logo {
  max-width: 460px;
  width: 70%;
  margin: 0 auto 44px;
}
.hero.center-hero .hero-thesis { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero.center-hero .hero-sub { margin-left: auto; margin-right: auto; }
.hero.center-hero .hero-actions { justify-content: center; }
@media (max-width: 640px) {
  .hero.center-hero .hero-logo { width: 88%; }
}

/* ---------- Term bridge (personal-voice terms -> DEA pillars) ---------- */
.term-bridge {
  border-top: 1px solid var(--steel-hairline);
  border-bottom: 1px solid var(--steel-hairline);
  padding: 40px 0;
  margin: 44px 0;
}
.term-bridge .bridge-note {
  font-size: 0.94rem;
  max-width: 62ch;
  margin-bottom: 28px;
}
.bridge-row {
  display: grid;
  grid-template-columns: 1fr 30px 1.6fr;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--steel-hairline);
}
.bridge-row:first-of-type { border-top: none; }
.bridge-term {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.bridge-arrow { color: var(--panoramic-red); text-align: center; font-size: 0.9rem; }
.bridge-pillar { font-size: 0.92rem; color: var(--ink-soft); }
.bridge-foot {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 18px;
  margin-bottom: 0;
  font-style: italic;
}
@media (max-width: 640px) {
  .bridge-row { grid-template-columns: 1fr; gap: 4px; text-align: left; }
  .bridge-arrow { display: none; }
}
.diagram-frame {
  border: 1px solid var(--steel-hairline);
  background: var(--paper-raised);
  padding: 36px;
  text-align: center;
  margin: 44px 0;
  position: relative;
}
.diagram-frame img { max-width: 480px; width: 100%; margin: 0 auto; }
.diagram-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 20px;
}

/* ---------- Coming soon overlay (translucent, reusable) ---------- */
.coming-soon { position: relative; }
.coming-soon .coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 246, 243, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}
.coming-soon .coming-soon-overlay span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--panoramic-red);
  border: 1px solid var(--panoramic-red);
  background: var(--paper-raised);
  padding: 9px 20px;
}

/* ---------- Feature image (wide illustrative/photo images) ---------- */
.feature-image { margin: 44px 0; }
.feature-image img {
  width: 100%;
  border: 1px solid var(--steel-hairline);
  display: block;
}
.feature-image .caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 16px;
}

/* ---------- Article row with thumbnail ---------- */
.article-row.has-thumb {
  grid-template-columns: 90px 120px 1fr auto;
}
.article-row .a-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--steel-hairline);
  filter: grayscale(35%);
}
@media (max-width: 700px) {
  .article-row.has-thumb { grid-template-columns: 90px 1fr; }
  .article-row .a-thumb { grid-row: 1 / 3; width: 90px; }
}

/* ---------- Process flow (custom diagram, Work With Us) ---------- */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 20px 0 10px;
  position: relative;
}
.process-flow::before {
  content: "";
  position: absolute;
  top: 21px; left: 6%; right: 6%;
  height: 1px;
  background: var(--steel-light);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; padding: 0 16px; text-align: left; }
.process-step .step-mark {
  width: 42px; height: 42px;
  border: 2px solid var(--panoramic-red);
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--panoramic-red);
  margin-bottom: 20px;
}
.process-step h4 { font-size: 1rem; margin: 0 0 8px; }
.process-step p { font-size: 0.87rem; margin: 0; }
@media (max-width: 860px) {
  .process-flow { grid-template-columns: 1fr; gap: 28px; }
  .process-flow::before { display: none; }
}
.bio-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 46px;
  align-items: start;
  margin-top: 20px;
}
.bio-block img {
  width: 100%;
  border: 1px solid var(--steel-hairline);
  filter: grayscale(100%);
}
.bio-block .bio-name { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 4px; }
.bio-block .bio-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--panoramic-red); display: block; margin-bottom: 20px; }
@media (max-width: 700px) {
  .bio-block { grid-template-columns: 140px 1fr; gap: 26px; }
}
@media (max-width: 540px) {
  .bio-block { grid-template-columns: 1fr; }
  .bio-block img { max-width: 160px; }
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  transition: all 0.15s ease;
}
.btn-primary { background: var(--panoramic-red); color: var(--paper); border-color: var(--panoramic-red); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Section rhythm ---------- */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.divider { border: none; border-top: 1px solid var(--steel-hairline); margin: 0; }
.section-head { max-width: 62ch; margin-bottom: 52px; }

/* ---------- Pillar schematic (signature diagram) ---------- */
.pillar-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 20px;
}
.pillar-rail::before {
  content: "";
  position: absolute;
  top: 17px; left: 4%; right: 4%;
  height: 1px;
  background: var(--steel-light);
  z-index: 0;
}
.pillar-node { position: relative; z-index: 1; padding: 0 12px; text-align: left; }
.pillar-node .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--panoramic-red);
  margin-bottom: 20px;
}
.pillar-node .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel);
  letter-spacing: 0.06em;
}
.pillar-node h4 { font-size: 0.98rem; margin: 6px 0 8px; font-family: var(--font-body); font-weight: 600; }
.pillar-node p { font-size: 0.86rem; margin: 0; }

@media (max-width: 900px) {
  .pillar-rail { grid-template-columns: 1fr; gap: 30px; }
  .pillar-rail::before { display: none; }
}

/* ---------- Pillar detail card (DEA page) ---------- */
.pillar-card {
  border-top: 1px solid var(--steel-hairline);
  padding: 56px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}
.pillar-card:last-child { border-bottom: 1px solid var(--steel-hairline); }
.pillar-card .p-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel);
  letter-spacing: 0.06em;
}
.pillar-card .p-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--steel-light);
  line-height: 1;
  margin-top: 6px;
}
.pillar-card .p-thesis {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--panoramic-red);
  margin-bottom: 26px;
  max-width: 34ch;
}
.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.p-grid h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 10px;
}
.p-grid p { font-size: 0.92rem; margin: 0; }

@media (max-width: 900px) {
  .pillar-card { grid-template-columns: 1fr; gap: 20px; }
  .p-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .p-grid { grid-template-columns: 1fr; }
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--steel-hairline);
  padding: 34px 30px;
}
.card h3 { margin-bottom: 12px; }

/* ---------- Tiered offer ladder (Work With Us) ---------- */
.tier {
  border: 1px solid var(--steel-hairline);
  background: var(--paper-raised);
  padding: 42px 38px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 44px;
  margin-bottom: 2px;
}
.tier + .tier { border-top: none; }
.tier .tier-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--panoramic-red);
}
.tier .tier-name { margin: 10px 0 12px; }
.tier ul { margin: 18px 0 0; padding-left: 18px; }
.tier li { margin-bottom: 8px; font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .tier { grid-template-columns: 1fr; }
}

/* ---------- Quote / thesis strip ---------- */
.thesis-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
}
.thesis-strip p { color: var(--steel-light); }
.thesis-strip .big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--paper);
  max-width: 30ch;
  line-height: 1.3;
}

/* ---------- Insights / article index ---------- */
.article-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--steel-hairline);
  text-decoration: none;
}
.article-row:last-child { border-bottom: 1px solid var(--steel-hairline); }
.article-row .a-num { font-family: var(--font-mono); color: var(--steel); font-size: 0.85rem; }
.article-row h3 { margin: 0 0 6px; font-size: 1.15rem; }
.article-row p { margin: 0; font-size: 0.92rem; }
.article-row .a-theme {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--panoramic-red);
  white-space: nowrap;
  align-self: start;
  padding-top: 4px;
}
@media (max-width: 700px) {
  .article-row { grid-template-columns: 1fr; gap: 8px; }
  .article-row .a-num { order: -1; }
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--steel-light);
  background: var(--paper-raised);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--panoramic-red);
  outline-offset: 1px;
}

/* ---------- WPForms override (Contact page live form) ----------
   WPForms ships its own default styling; these rules re-skin its
   generated markup to match the site's design tokens instead of
   the plugin's default look. Scoped under .wpforms-wrap so nothing
   here leaks into the rest of the site. */
.wpforms-wrap { font-family: var(--font-body); }
.wpforms-wrap .wpforms-form { margin: 0; }
.wpforms-wrap .wpforms-field { margin-bottom: 22px !important; padding: 0 !important; }
.wpforms-wrap .wpforms-field-label {
  display: block;
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint) !important;
  margin-bottom: 8px !important;
  font-weight: 400 !important;
}
.wpforms-wrap .wpforms-required-label { color: var(--panoramic-red) !important; }
.wpforms-wrap input[type="text"],
.wpforms-wrap input[type="email"],
.wpforms-wrap input[type="tel"],
.wpforms-wrap input[type="number"],
.wpforms-wrap select,
.wpforms-wrap textarea {
  width: 100% !important;
  border: 1px solid var(--steel-light) !important;
  background: var(--paper-raised) !important;
  padding: 13px 14px !important;
  font-family: var(--font-body) !important;
  font-size: 0.96rem !important;
  color: var(--ink) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wpforms-wrap textarea { resize: vertical; min-height: 120px !important; }
.wpforms-wrap input:focus,
.wpforms-wrap select:focus,
.wpforms-wrap textarea:focus {
  outline: 2px solid var(--panoramic-red) !important;
  outline-offset: 1px;
  border-color: var(--panoramic-red) !important;
}
.wpforms-wrap .wpforms-submit-container { margin-top: 6px; }
.wpforms-wrap button.wpforms-submit {
  font-family: var(--font-mono) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 26px !important;
  background: var(--panoramic-red) !important;
  color: var(--paper) !important;
  border: 1px solid var(--panoramic-red) !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wpforms-wrap button.wpforms-submit:hover { background: var(--ink) !important; border-color: var(--ink) !important; }
.wpforms-wrap .wpforms-error,
.wpforms-wrap .wpforms-field-description { font-size: 0.82rem !important; }
.wpforms-wrap .wpforms-error { color: var(--panoramic-red) !important; }
.wpforms-wrap .wpforms-confirmation-container-full {
  border: 1px solid var(--steel-hairline);
  background: var(--paper-raised);
  padding: 30px;
  font-size: 0.96rem;
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--steel-hairline);
  padding: 56px 0 40px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid img { height: 24px; margin-bottom: 14px; }
.footer-grid h6 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--panoramic-red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--steel-hairline);
  color: var(--ink-faint);
  font-size: 0.78rem;
}
.tagline-mark {
  font-family: var(--font-body);
  color: var(--steel);
  letter-spacing: 0.02em;
}

/* ---------- Full tagline treatment (flanking rules), per LI banner ---------- */
.tagline-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}
.tagline-full .rule-flank {
  height: 1px;
  width: 44px;
  background: var(--panoramic-red);
  opacity: 0.55;
  flex: none;
}
.tagline-full span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.thesis-strip .tagline-full span { color: var(--steel-light); }
.thesis-strip .tagline-full .rule-flank { background: var(--panoramic-red); opacity: 0.8; }
@media (max-width: 520px) {
  .tagline-full span { white-space: normal; text-align: center; }
  .tagline-full .rule-flank { width: 20px; }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ---------- Page header (interior pages) ---------- */
.page-head { padding: 64px 0 50px; border-bottom: 1px solid var(--steel-hairline); }
.page-head h1 { max-width: 20ch; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.small { font-size: 0.85rem; }
.rule { height: 1px; background: var(--steel-hairline); border: none; margin: 0; }
