/* ==========================================================================
   Pogue Digital Solutions — Design System v2
   Direction: modern maritime command deck. Deep ink base, gold used as glow
   and gradient rather than flat fill, glass panels, big confident type,
   asymmetric bento grids, motion on scroll. Brand colors (navy/gold) are
   client-mandated; everything else — scale, depth, layout, motion — is
   rebuilt to read as current rather than a heritage crest on a flat field.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #060B14;
  --ink-soft: #0B1626;
  --navy: #0F2544;
  --navy-panel: #142B4E;
  --gold: #D4AF37;
  --gold-bright: #F2D680;
  --gold-dim: #9C812A;
  --paper: #FAF8F2;
  --paper-dim: #F1ECDF;
  --charcoal: #23231F;
  --charcoal-soft: #58564D;
  --white: #FFFFFF;

  --line-light: rgba(11, 31, 58, 0.10);
  --line-glass: rgba(212, 175, 55, 0.18);
  --text-on-ink: rgba(255, 255, 255, 0.82);
  --text-on-ink-dim: rgba(255, 255, 255, 0.62);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Filmic grain overlay — cheap, current, adds depth without a single asset */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

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

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}
h1 { font-weight: 400; }
em, .accent-italic { font-style: italic; color: var(--gold-bright); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.on-ink .eyebrow { color: var(--gold-bright); }

p { margin: 0 0 1em; color: var(--charcoal-soft); }
p:last-child { margin-bottom: 0; }
.on-ink p { color: var(--text-on-ink-dim); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 65%);
  color: var(--ink);
  box-shadow: 0 8px 24px -6px rgba(212, 175, 55, 0.5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -6px rgba(212, 175, 55, 0.65); }

.btn-outline-navy {
  background: transparent;
  color: var(--ink);
  border-color: rgba(11, 31, 58, 0.28);
}
.btn-outline-navy:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.btn-outline-gold {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  border-color: rgba(212, 175, 55, 0.32);
  backdrop-filter: blur(8px);
}
.btn-outline-gold:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); transform: translateY(-2px); }

.btn-arrow { font-size: 15px; transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------------------------------- Floating glass nav ---------------------------------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 20px 0;
}

.nav-shell {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(6, 11, 20, 0.66);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 10px 34px -12px rgba(0, 0, 0, 0.45);
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img.brand-logo { height: 46px; width: auto; display: block; filter: brightness(1.18) drop-shadow(0 0 6px rgba(212,175,55,0.25)); }

nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--gold-bright); border-bottom-color: var(--gold); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px -6px rgba(212, 175, 55, 0.55);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(212, 175, 55, 0.7); }

/* ---------------------------------- Bearing line (signature element) -------- */
/* A plotted-course rule: fades in from nothing, converges on a single point,
   fades back out — a chart bearing, not a decorative <hr>. */

.bearing { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; }
.bearing-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  white-space: nowrap;
}
.on-ink .bearing-label { color: var(--gold-bright); }

.bearing-rule {
  flex: 1;
  height: 1px;
  position: relative;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
  opacity: 0.55;
}
.bearing-rule::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold-bright);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------------------------------- Sections & atmosphere ---------------------------------- */

section { padding: 110px 0; position: relative; overflow: clip; }
section.tight { padding: 72px 0; }
section.on-ink { background: var(--ink); color: var(--text-on-ink); }
section.on-ink h1, section.on-ink h2, section.on-ink h3 { color: var(--white); }
section.on-paper-dim { background: var(--paper-dim); }

.glow-blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }

.section-head { max-width: 640px; margin-bottom: 56px; position: relative; z-index: 1; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 17px; }

.wrap > *, section > .wrap { position: relative; z-index: 1; }

/* ---------------------------------- Cards ---------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 14px 30px -12px rgba(16,24,40,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -14px rgba(16,24,40,0.18); border-color: rgba(212,175,55,0.35); }

.card-glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--line-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--text-on-ink);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.card-glass:hover { border-color: rgba(212,175,55,0.45); background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)); transform: translateY(-4px); }
.card-glass h3 { color: var(--white); }

.card-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 12px;
}
.card-glass .card-eyebrow { color: var(--gold-bright); }

.card h3 { font-size: 21px; margin-bottom: 12px; }
.card ul { margin: 16px 0 0; padding-left: 18px; }
.card ul li { color: var(--charcoal-soft); font-size: 14.5px; margin-bottom: 6px; }
.card-glass ul li { color: var(--text-on-ink-dim); }

/* Bento grid utility — asymmetric spans, not a uniform grid of equal boxes */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.bento .span-2 { grid-column: span 2; }
.bento .span-2-row { grid-row: span 2; }

/* ---------------------------------- Journey / timeline nodes ---------------------------------- */

.journey-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 4px; }
.journey-track::before {
  content: '';
  position: absolute;
  top: 9px; left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,55,0.5), transparent);
}
.journey-node {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(212,175,55,0.12), 0 0 18px rgba(212,175,55,0.45);
  position: relative; z-index: 2;
  margin-bottom: 18px;
}

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

footer.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--text-on-ink-dim);
  padding: 68px 0 28px;
  border-top: 1px solid rgba(212,175,55,0.14);
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  color: var(--text-on-ink-dim);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-grid a:hover { color: var(--gold-bright); }

.footer-logo { width: 100%; max-width: 220px; height: auto; margin-bottom: 18px; }
.footer-motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
  max-width: 280px;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(212,175,55,0.14);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 12px;
}
.footer-seal { display: inline-flex; align-items: center; gap: 8px; }
.footer-seal img { width: 22px; height: 22px; opacity: 0.9; }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-bright); }

/* ---------------------------------- Utility ---------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: var(--charcoal-soft);
}
.on-ink .pill { border-color: rgba(212,175,55,0.3); color: var(--gold-bright); }

.stack-lg > * + * { margin-top: 20px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Scroll reveal — progressive enhancement only; content is visible by default */
.reveal.reveal-init { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.reveal-init.revealed { opacity: 1; transform: translateY(0); }

/* ---------------------------------- Responsive ---------------------------------- */

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .span-2 { grid-column: span 2; }
  .journey-track { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .journey-track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .bento, .journey-track { grid-template-columns: 1fr; }
  .bento .span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-shell { padding: 10px 10px 10px 18px; }
  .wrap { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .reveal.reveal-init { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ==========================================================================
   v3 layer (Oct 2026): mobile navigation, hero compass motion, photo cards,
   gradient-border hovers, FAQ accordion, footer extensions.
   ========================================================================== */

/* ---- Nav: full page list on desktop, hamburger drawer on mobile ---- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--gold-bright); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: rgba(6,11,20,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 110px 28px 40px;
  flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212,175,55,0.14);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-drawer a span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--gold); }
.nav-drawer a.active { color: var(--gold-bright); }
.nav-drawer .drawer-cta { margin-top: 22px; border: 0; justify-content: center; }
.nav-drawer .drawer-foot { margin-top: auto; padding-top: 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); }
body.nav-locked { overflow: hidden; }

nav.main-nav { gap: 22px; }
nav.main-nav a { font-size: 11.5px; letter-spacing: 0.06em; }

@media (max-width: 1080px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta.nav-cta-desktop { display: none; }
}

/* ---- Hero compass rose: slow-rotating ring behind hero content ---- */
.compass-bg {
  position: absolute;
  right: -8%; top: 50%;
  width: min(72vw, 760px); aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.compass-bg .ring-outer { animation: compass-spin 140s linear infinite; transform-origin: 50% 50%; }
.compass-bg .ring-inner { animation: compass-spin 90s linear infinite reverse; transform-origin: 50% 50%; }
.compass-bg .sweep { animation: compass-spin 12s linear infinite; transform-origin: 50% 50%; }
@keyframes compass-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .compass-bg .ring-outer, .compass-bg .ring-inner, .compass-bg .sweep { animation: none; }
}

/* ---- Photo cards: real imagery with a gold-rim glass frame ---- */
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.28);
  background: var(--ink-soft);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,11,20,0) 55%, rgba(6,11,20,0.55) 100%);
  pointer-events: none;
}
.photo-card.no-fade::after { display: none; }
.photo-card .photo-caption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-bright);
}
.photo-card.tilt { transform: rotate(-1.5deg); transition: transform 0.4s ease; }
.photo-card.tilt:hover { transform: rotate(0deg) scale(1.01); }

/* portrait lockup used in heroes */
.portrait-lockup { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
.portrait-lockup .photo-card { aspect-ratio: 260 / 458; }
.portrait-lockup .photo-card img { object-position: 50% 0%; }
.portrait-lockup .badge {
  position: absolute; left: -18px; bottom: 34px; z-index: 2;
  background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(212,175,55,0.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 16px 34px -14px rgba(0,0,0,0.6);
}
.portrait-lockup .badge strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--white); }
.portrait-lockup .badge span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); }
.portrait-lockup .seal { position: absolute; right: -14px; top: -14px; width: 74px; z-index: 2; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.5)); }

/* ---- Gradient border hover (cards on ink) ---- */
.card-glass { position: relative; }
.card-glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(212,175,55,0.7), rgba(212,175,55,0) 45%, rgba(212,175,55,0) 60%, rgba(242,214,128,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.card-glass:hover::before { opacity: 1; }

/* ---- Numbered feature rows (solutions capability lists) ---- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--charcoal-soft); }
.on-ink .feature-list li { color: var(--text-on-ink-dim); }
.feature-list li::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; margin-top: 8px; transform: rotate(45deg); background: var(--gold); }
.feature-list.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-list.cols-1 { grid-template-columns: 1fr; }

/* ---- Quote block ---- */
.quote-band {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(20px, 2.4vw, 27px); line-height: 1.35;
  color: var(--ink); max-width: 760px;
  padding-left: 22px; border-left: 2px solid var(--gold);
}
.on-ink .quote-band { color: var(--gold-bright); }

/* ---- FAQ accordion ---- */
.faq details { border-top: 1px solid var(--line-light); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0;
  font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-size: 20px; color: var(--gold-dim); flex: 0 0 auto; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15px; max-width: 700px; }

/* ---- Solution section layout ---- */
.solution-block { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.solution-block.flip > :first-child { order: 2; }
.solution-block .photo-card { aspect-ratio: 4 / 3; }

/* ---- Footer extras ---- */
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212,175,55,0.25); color: var(--gold-bright); margin: 0; transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: rgba(212,175,55,0.12); border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }

/* ---- Contact intent grid ---- */
.intent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.intent-grid .card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.intent-grid .card h3 { font-size: 18px; margin: 0; }
.intent-grid .card p { font-size: 14px; flex: 1; }
.intent-grid .card a.link { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dim); text-decoration: none; }
.intent-grid .card a.link:hover { color: var(--ink); }

/* ---- Start-here matcher (solutions) ---- */
.matcher { display: grid; gap: 12px; }
.matcher .row {
  display: grid; grid-template-columns: 1.4fr auto 1fr; align-items: center; gap: 20px;
  padding: 18px 22px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line-light);
  text-decoration: none; color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.matcher .row:hover { transform: translateX(6px); border-color: rgba(212,175,55,0.5); box-shadow: 0 14px 30px -16px rgba(16,24,40,0.25); }
.matcher .say { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--ink); }
.matcher .arrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--gold-dim); }
.matcher .to { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-align: right; }

@media (max-width: 900px) {
  .solution-block, .solution-block.flip { grid-template-columns: 1fr; }
  .solution-block.flip > :first-child { order: 0; }
  .feature-list, .feature-list.cols-3 { grid-template-columns: 1fr; }
  .intent-grid { grid-template-columns: 1fr; }
  .matcher .row { grid-template-columns: 1fr; gap: 8px; }
  .matcher .to { text-align: left; }
  .compass-bg { right: -30%; width: 120vw; opacity: 0.3; top: 40%; }
  .portrait-lockup .badge { left: 8px; }
  .portrait-lockup .seal { right: 8px; }
}
.feature-list.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card .btn, .card-glass .btn { white-space: normal; text-align: center; }

/* Inline two-column layouts collapse on small screens (overrides inline grid-template-columns) */
@media (max-width: 900px) {
  .wrap[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 36px !important; }
  .portrait-lockup { max-width: 300px; }
}

/* ---- Articles ---- */
.article-body { max-width: 720px; margin: 0 auto; font-size: 17.5px; line-height: 1.8; color: var(--charcoal); }
.article-body h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 48px 0 16px; color: var(--ink); }
.article-body h3 { font-size: 20px; margin: 32px 0 12px; color: var(--ink); }
.article-body p { color: var(--charcoal); margin-bottom: 1.2em; }
.article-body p.lede { font-size: 19px; padding: 22px 26px; background: var(--paper-dim); border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 1.4em; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--gold-dim); text-underline-offset: 3px; }
.article-body a:hover { color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-ink-dim); }
.article-meta img, .article-byline img { width: 36px !important; height: 36px !important; max-width: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 1px solid rgba(212,175,55,0.4); }
.article-byline { display: flex; align-items: center; gap: 10px; }
.article-byline strong { color: var(--white); font-family: var(--font-display); font-size: 15px; text-transform: none; letter-spacing: 0; }
.author-card { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; }
.author-card img { width: 96px !important; height: 96px !important; max-width: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid rgba(212,175,55,0.5); }
.article-list { display: grid; gap: 18px; }
.article-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 26px 30px; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.article-row:hover { transform: translateY(-3px); border-color: rgba(212,175,55,0.5); box-shadow: 0 18px 36px -18px rgba(16,24,40,0.22); }
.article-row h3 { font-size: 21px; margin: 6px 0 8px; }
.article-row p { font-size: 14.5px; margin: 0; }
.article-row .go { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--gold-dim); white-space: nowrap; }
@media (max-width: 700px) {
  .author-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .article-row { grid-template-columns: 1fr; }
}
