﻿/* ─────────────────────────────────────────────────────────────
   VALERON GROUP — production stylesheet
   Implementation of Direction B (Digital-Forward, light & airy)
   Source of truth: _design/valeron-group/project/Valeron Group.html
   ───────────────────────────────────────────────────────────── */

:root {
  --sans: "Archivo", -apple-system, system-ui, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --display: "Archivo", -apple-system, system-ui, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --paper: #fbfaf6;
  --paper-warm: #f4f0e7;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #5c5853;
  --muted-soft: #8a857d;
  --hairline: #e2dccf;
  --accent: #ff6b2c;
  /* Darker accent for small text: #ff6b2c is only ~2.7:1 on the cream
     background. --accent-ink hits ~4.6:1 (WCAG AA for small text) while
     staying recognisably the brand orange. Use on small labels, pills and
     links; the bright --accent is reserved for large display numbers. */
  --accent-ink: #c24d12;
  --accent-soft: #ffe4d322;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Default to 90% visual zoom. Matches what the design was tuned at; saves
   the user from manually zooming out in the browser. */
html { zoom: 0.9; }

/* Full-viewport hero photograph with overlaid headline. Sits below the
   sticky header and fills the remaining viewport height. A subtle dark
   scrim at the bottom-left keeps the headline legible against the photo. */
.hero-cover {
  position: relative;
  width: 100%;
  height: calc(100vh - 121px);
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}
.hero-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Scrim: vertical+diagonal gradient. Stronger at the bottom now that the
   full hero block (headline + lede + CTAs + trust) lives over the photo. */
.hero-cover-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.5) 66%, rgba(0,0,0,0.82) 100%),
    linear-gradient(95deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.22) 42%, rgba(0,0,0,0) 78%);
  pointer-events: none;
}
.hero-cover-content {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  color: var(--paper);
}
.hero-cover-left,
.hero-cover-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-cover-right { padding-bottom: 8px; }
.hero-cover-headline {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 1.0;
  letter-spacing: -1.8px;
  font-weight: 600;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-cover-lede {
  margin: 0;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(251, 250, 246, 0.9);
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-cover-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-cover-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  padding: 4px 0;
  border-bottom: 1px solid rgba(251, 250, 246, 0.5);
  transition: border-color 0.15s ease;
  line-height: 1.2;
}
.hero-cover-textlink:hover { border-bottom-color: var(--paper); }
.hero-cover-textlink svg { color: var(--accent); flex-shrink: 0; }
.hero-cover-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: rgba(251, 250, 246, 0.8);
  margin-top: 8px;
}
.hero-cover-trust .trust-sep {
  width: 1px; height: 14px;
  background: rgba(251, 250, 246, 0.25);
}
.hero-cover-trust .stars { color: var(--accent); font-size: 14px; }

/* Hero message: lede + CTAs + trust live in a tight single-column block
   under the photo. The grid drops to one column now the headline is gone. */
.hero-msg {
  padding: 72px 56px 48px;
  background: var(--paper);
  position: relative;
}
.hero-msg-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto 56px;
}
.hero-msg-side { padding-bottom: 0; }
.hero-lede-text {
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 60ch;
  margin: 0 0 32px;
}
.hero-msg .hero-ctas {
  display: flex; gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-msg .hero-trust {
  margin-top: 36px;
  display: flex; gap: 24px;
  font-size: 13px; color: var(--muted);
  align-items: center;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-weight: 600; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--paper); }

/* Focus (keyboard).
   Strip the UA outline; show a designed accent ring on keyboard focus.
   On the orange accent button the ring switches to paper so contrast holds. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.nav-link:focus-visible,
.tag:focus-visible { outline-offset: 4px; }
.btn-accent:focus-visible { outline-color: var(--paper); }
.btn-ghost-inverse:focus-visible,
.qnav:focus-visible { outline-color: var(--paper); }

/* Reduced motion. Future-proofs any hover transitions or scroll work added
   later. PRODUCT.md requires this. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.vg-shell {
  max-width: 1920px;
  margin: 0 auto;
}

/* v3 typography rule: no serif italic emphasis phrases in headings.
   That pattern is the 2025–2026 AI-startup signature and fights the
   chartered positioning. Headings stay uniform weight; emphasis comes from
   size, weight contrast (500 vs 400), or the accent colour, used sparingly.
   Serif is reserved for testimonial blockquotes and article pull-quotes. */
.weight-light { font-weight: 400 !important; }
.weight-medium { font-weight: 500 !important; }
.accent-text { color: var(--accent); }

/* Pull-quote used inside insight articles. Serif, NOT italic. */
.pullquote {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 32px 0;
  padding-left: 24px;
  border-left: 1px solid var(--accent);
}

/* ───── Reusable: tag, button, eyebrow, icon ───── */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 9px;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.4px;
  line-height: 1;
  font-feature-settings: "tnum" 1;
  border: 1px solid var(--hairline);
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
}
.tag-dark {
  border-color: rgba(255,255,255,0.2);
  color: var(--paper);
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: -0.1px;
  border-radius: 100px;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-sm { padding: 8px 14px;  font-size: 13px; }
.btn-md { padding: 12px 20px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 15px; }

.btn-primary       { background: var(--ink);    color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-soft); }
.btn-accent        { background: var(--accent); color: var(--ink);   border-color: var(--accent); }
.btn-accent:hover  { filter: brightness(0.96); }
.btn-ghost         { background: transparent;   color: var(--ink);   border-color: var(--ink); }
.btn-ghost:hover   { background: var(--ink);    color: var(--paper); }
.btn-ghost-inverse { background: transparent;   color: var(--paper); border-color: rgba(255,255,255,0.4); }
.btn-ghost-inverse:hover { background: rgba(255,255,255,0.08); }
.btn-light         { background: var(--paper);  color: var(--ink);   border-color: var(--paper); }

.btn-arrow .btn-arrow-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: -4px;
}
/* Text link variant (used for hero "Watch our 2-minute brief"). Demoted
   from a ghost button to remove competing CTA weight in the hero. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.2;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.text-link:hover {
  border-bottom-color: var(--ink);
}
.text-link-icon svg { flex-shrink: 0; color: var(--accent); }

/* Whole-card link wrapper. Replaces inline "Explore practice" / "Read"
   CTAs that previously lived inside service / case / insight cards. */
.card-link {
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.18s ease;
}
.card-link:hover { background: var(--paper-warm); }
.card-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.15s ease, transform 0.2s ease;
}
.card-link:hover .card-link-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.btn-primary .btn-arrow-circle       { background: var(--paper);  color: var(--ink); }
.btn-accent  .btn-arrow-circle       { background: var(--ink);    color: var(--accent); }
.btn-ghost   .btn-arrow-circle       { background: var(--ink);    color: var(--paper); }
.btn-ghost-inverse .btn-arrow-circle { background: var(--paper);  color: var(--ink); }
.btn-ghost:hover .btn-arrow-circle   { background: var(--paper);  color: var(--ink); }

.btn-inline-icon {
  display: inline-flex; align-items: center; gap: 8px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-ink);
  font-weight: 600;
  font-feature-settings: "tnum" 1;
}
.eyebrow-num {
  color: var(--ink);
  font-weight: 600;
}
.eyebrow-num.accent { color: var(--accent-ink); }
/* Brand accent tick before an eyebrow label (replaces the old hairline rule). */
.eyebrow-rule {
  flex: 0 0 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 1;
}
.eyebrow-dark { color: var(--accent); }
.eyebrow-dark .eyebrow-num { color: rgba(255,255,255,0.85); }
.eyebrow-dark .eyebrow-rule { background: var(--accent); }

/* ───── Header ───── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--hairline);
}

/* Mobile menu: toggle button hidden by default (visible only at ≤1024px).
   Drawer is full-width, slides down from below the header. */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--paper-warm); }

.mobile-menu {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: var(--mobile-header-h, 64px);
  bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  padding: 32px 20px;
  overflow-y: auto;
  z-index: 90;
  flex-direction: column;
  gap: 0;
  animation: mobileMenuIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu[data-open="true"] { display: flex; }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu-link {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: var(--ink);
  padding: 18px 4px;
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu-link:first-child { padding-top: 4px; }
.mobile-menu-divider { height: 24px; }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu-phone {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 0;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu-cta { justify-content: center; }
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.mobile-menu-footer a {
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  align-self: flex-start;
}

body.menu-open {
  overflow: hidden;
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 56px;
  border-bottom: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.util-group { display: flex; gap: 18px; align-items: center; }
.util-item  { display: inline-flex; align-items: center; gap: 6px; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  line-height: 1;
}
.logo-inverse { color: var(--paper); }
.logo-mark { flex-shrink: 0; }
.logo-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.logo-sub {
  font-weight: 400;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--muted);
  margin-left: 2px;
}
.logo-inverse .logo-sub { color: rgba(255,255,255,0.55); }
.footer-brand .logo-mark { width: 40px; height: 40px; }
.footer-brand .logo-word { font-size: 17px; }
.footer-brand .logo-sub { font-size: 13px; }

.primary-nav {
  display: flex; gap: 32px;
  font-size: 14px;
  align-items: center;
  color: var(--ink);
}
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav-link:hover { border-bottom-color: var(--ink); }
.nav-link.active { border-bottom-color: var(--accent); }

.nav-actions { display: flex; gap: 12px; align-items: center; }

/* Phone in the header is a plain text link, not a third pill — keeps a single
   filled CTA ("Book a consultation") as the clear primary action. */
.nav-phone {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--muted);
  padding: 4px 2px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-phone:hover { color: var(--ink); }

/* ───── Hero ───── */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.hero-pattern {
  position: absolute;
  top: -200px;
  right: -180px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-eyebrow-row {
  padding: 32px 56px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.hero-meta {
  display: flex; gap: 18px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.meta-item { display: inline-flex; align-items: center; gap: 6px; }

.hero-headline-wrap {
  padding: 72px 56px 48px;
  position: relative;
}
.hero-headline {
  font-family: var(--display);
  /* Capped so the third line ("ambitious middle market.") fits the inner
     content width at viewport widths 1280–1920 with the shell's 56px gutter. */
  font-size: clamp(72px, 8vw, 118px);
  line-height: 0.92;
  letter-spacing: -3.5px;
  font-weight: 500;
  margin: 0;
}

.hero-body {
  padding: 0 56px 64px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
}

.hero-lede p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 560px;
  margin: 0;
}
.hero-ctas {
  margin-top: 32px;
  display: flex; gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 36px;
  display: flex; gap: 24px;
  font-size: 13px; color: var(--muted);
  align-items: center;
}
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.stars { color: var(--accent); font-size: 14px; }
.trust-sep { width: 1px; height: 14px; background: var(--hairline); }

.hero-photo { position: relative; }
/* Industry-card backgrounds: faint sector photo positioned bottom-right
   on each .service-card.industry-bg.* — sits at ~14% opacity, desaturated,
   so card text reads cleanly while imagery hints at the sector. */
.service-card.industry-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card.industry-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.14;
  filter: grayscale(0.4) contrast(1.05);
  z-index: -1;
  pointer-events: none;
}
.service-card.industry-bg > * { position: relative; z-index: 1; }
.industry-bg.ind-logistics::after    { background-image: url('images/ind-logistics.webp'); }
.industry-bg.ind-manufacturing::after{ background-image: url('images/ind-manufacturing.webp'); }
.industry-bg.ind-hospitality::after  { background-image: url('images/ind-hospitality.webp'); }
.industry-bg.ind-professional::after { background-image: url('images/ind-professional.webp'); }
.industry-bg.ind-retail::after       { background-image: url('images/ind-retail.webp'); }
.industry-bg.ind-property::after     { background-image: url('images/ind-property.webp'); }
.industry-bg.ind-healthtech::after   { background-image: url('images/ind-healthtech.webp'); }

/* Real-photo support: an <img class="photo-fill-img"> placed inside any
   photo-block, case-photo, or insight-photo will fill the container and
   sit above the gradient/glow fallback. Tags, counters, captions stay on
   top because they're absolutely-positioned siblings. */
.photo-fill-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.photo-block:has(.photo-fill-img) .photo-fill,
.case-photo:has(.photo-fill-img) .case-photo-glow,
.insight-photo:has(.photo-fill-img) .insight-photo-glow {
  display: none;
}
.photo-block:has(.photo-fill-img) .photo-tag,
.photo-block:has(.photo-fill-img) .photo-credit,
.case-photo:has(.photo-fill-img) .case-photo-tag,
.case-photo:has(.photo-fill-img) .case-photo-counter,
.insight-photo:has(.photo-fill-img) .insight-tag { z-index: 1; }

.photo-block {
  width: 100%;
  aspect-ratio: 5/4;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2522 0%, #4a3f38 100%);
}
.photo-fill {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,107,44,0.15), transparent 50%),
    linear-gradient(135deg, #1a1612 0%, #3a3028 60%, #5a4a3e 100%);
}
.photo-caption {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
}
.photo-tag {
  position: absolute;
  top: 20px;
  left: 20px;
}
/* Real-photo caption that reads as art direction, not a placeholder. */
.photo-credit {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: rgba(251, 250, 246, 0.5);
  font-feature-settings: "tnum" 1;
}

.featured-card {
  position: absolute;
  bottom: -32px;
  left: -40px;
  width: 320px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 20px 22px;
}
.featured-kicker {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-ink);
  font-weight: 600;
}
.featured-headline {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 10px 0 12px;
}
.featured-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--muted);
}
.read-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink);
  font-weight: 500;
}

.logo-rail {
  border-top: 1px solid var(--hairline);
  padding: 24px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.rail-label {
  font-size: 15px;
  letter-spacing: -0.2px;
  text-transform: none;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.rail-sub {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 400;
  margin-top: 4px;
}
.rail-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}
.rail-logo { text-align: left; color: var(--muted); opacity: 1; }
.rl-name { font-size: 14px; letter-spacing: 0; font-weight: 600; color: var(--ink); }
.rl-sub  { font-size: 12px; letter-spacing: 0; margin-top: 3px; }

/* ───── Section heads (shared) ───── */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.0;
  letter-spacing: -1.8px;
  font-weight: 600;
  margin: 20px 0 0;
}
.section-head-side { padding-bottom: 16px; }
.section-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 480px;
  margin: 0;
}
.pillar-legend {
  margin-top: 24px;
  display: flex; gap: 24px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.pillar-legend > span {
  display: inline-flex; align-items: center; gap: 8px;
}
.swatch { width: 8px; height: 8px; display: inline-block; }
.swatch-accent { background: var(--accent); }
.swatch-ink    { background: var(--ink); }

/* ───── Services ───── */

.services {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  padding: 120px 56px 96px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.service-card {
  background: var(--paper);
  padding: 40px 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 520px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 600;
}
.pillar-digital  { color: var(--accent-ink); }
.pillar-business { color: var(--ink); }
.card-num { display: none; }
/* Hairline line-art practice glyphs removed sitewide for a cleaner look. */
.card-glyph { display: none; }
/* Where a card-head held only a now-hidden "01/04"-style number (and no
   pillar label), collapse it so the card title isn't left with dead space. */
.card-head:has(> .card-kicker > .card-num):not(:has(.pillar)) { display: none; }

.card-name-block {}
.card-name {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.0;
  letter-spacing: -1.2px;
  font-weight: 600;
  margin: 0;
}
.card-blurb {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 460px;
  margin-top: 16px;
}

.card-caps { margin-top: auto; }
.caps-label {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.caps-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--ink);
}
.caps-list li { display: flex; align-items: center; gap: 8px; }
.caps-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.card-stat-n {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
}
.card-stat-l {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
}

.bundle-note {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.bundle-note strong { font-weight: 600; }
.bundle-muted { color: var(--muted); }
.bundle-note a { text-decoration: none; }

/* ───── AI Band ───── */

.ai-band {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 56px;
  position: relative;
  overflow: hidden;
}
/* Decorative orbital dot-matrix removed: the brand mark is reserved for the
   logo only, not repeated as a background motif. */
.ai-pattern { display: none; }

.ai-band-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.ai-copy .section-title { margin: 24px 0 28px; line-height: 0.92; }
.ai-lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0;
}
.ai-ctas {
  margin-top: 32px;
  display: flex; gap: 12px;
  flex-wrap: wrap;
}

.ai-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.ai-stat {
  padding: 32px 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ai-stat:nth-child(1) { border-right: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
.ai-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.15); }
.ai-stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.15); }
.ai-stat-n {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--paper);
}
.ai-stat-n.accent { color: var(--accent); }
.ai-stat-l {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.65);
  margin-top: 16px;
}

/* ───── Process ───── */

.process {
  background: var(--paper);
  padding: 120px 56px 96px;
  border-top: 1px solid var(--hairline);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.process-step {
  padding: 32px 32px 40px 32px;
  border-right: 1px solid var(--hairline);
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child  { padding-right: 0; border-right: none; }

.step-head {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.step-num { display: none; }
.step-time {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-ink);
  font-weight: 600;
}
.step-title {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 0;
}
.step-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 16px 0 0;
}

/* ───── Cases ───── */

.cases {
  background: var(--paper);
  padding: 120px 56px 96px;
  border-top: 1px solid var(--hairline);
}
.cases-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
}
.cases-head-actions {
  display: flex; gap: 12px;
  padding-bottom: 12px;
}

.case-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
}
.case-row {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr 1fr;
  min-height: 320px;
  border-bottom: 1px solid var(--hairline);
}
.case-row:last-child { border-bottom: none; }

.case-photo {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--hairline);
}
.case-row-0 .case-photo { background: linear-gradient(135deg, #1f1c19 0%, #3a3028 100%); }
.case-row-1 .case-photo { background: linear-gradient(135deg, #2a241e 0%, #4a3a30 100%); }
.case-row-2 .case-photo { background: linear-gradient(135deg, #1a1815 0%, #2a2620 100%); }

.case-photo-glow { position: absolute; inset: 0; }
.case-row-0 .case-photo-glow { background: radial-gradient(ellipse at 70% 30%, rgba(255,107,44,0.18), transparent 55%); }
.case-row-1 .case-photo-glow { background: radial-gradient(ellipse at 30% 60%, rgba(255,107,44,0.18), transparent 55%); }
.case-row-2 .case-photo-glow { background: radial-gradient(ellipse at 50% 50%, rgba(255,107,44,0.18), transparent 55%); }

.case-photo-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  letter-spacing: 2px;
}
.case-photo-tag {
  position: absolute; top: 20px; left: 20px;
  color: var(--paper);
}
.case-photo-counter {
  position: absolute; bottom: 16px; left: 16px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  background: rgba(10,10,10,0.55);
  padding: 5px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.case-body {
  padding: 36px 40px;
  border-right: 1px solid var(--hairline);
}
.case-tags {
  display: flex; gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.case-pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--hairline);
}
.case-pill.pill-digital  { color: var(--accent-ink); }
.case-pill.pill-business { color: var(--ink); }
.case-pill-muted {
  font-size: 12px;
  letter-spacing: 0;
  padding: 4px 10px;
  color: var(--muted);
}
.case-headline {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0 0 16px;
}
.case-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.case-meta {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink);
  gap: 16px;
  flex-wrap: wrap;
}
.case-meta strong { font-weight: 600; }
.case-meta .muted { color: var(--muted); }
.case-readlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.case-metrics {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.case-metrics-label {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}
.case-metric {
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.case-metric.last { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.metric-n {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--ink);
}
.metric-n.accent { color: var(--accent); }
.metric-l {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ───── Work grid (honest "kind of work we do", not client case studies) ───── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .work-grid, .work-grid-2 { grid-template-columns: 1fr; } }
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
}
.work-card:hover { background: var(--paper); border-color: var(--muted-soft); }
.work-photo {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-warm);
}
.work-photo .photo-fill-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-sector {
  position: absolute; left: 16px; bottom: 16px;
  color: var(--paper);
  font-size: 13px; font-weight: 600;
  background: rgba(10,10,10,0.55);
  padding: 5px 10px; border-radius: 4px;
  backdrop-filter: blur(4px);
}
.work-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work-title {
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 0;
}
.work-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.work-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.work-card:hover .work-foot .card-link-arrow { color: var(--accent); transform: translate(2px, -2px); }

/* ───── Testimonial ───── */

.testimonial {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 56px;
}
.testimonial-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: center;
}
.quote-mark { display: none; }
.quote-body {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px);
  font-style: normal;
  line-height: 1.3;
  letter-spacing: -0.8px;
  font-weight: 500;
  color: var(--paper);
}
.quote-attribution {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a3f38 0%, #6a5a4e 100%);
  flex-shrink: 0;
}
.cite-name { font-size: 16px; font-weight: 500; }
.cite-role { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }

.quote-nav {
  margin-left: auto;
  display: flex; gap: 8px;
}
.qnav {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  background: transparent;
}
.qnav-ghost  { border: 1px solid rgba(255,255,255,0.3); color: var(--paper); }
.qnav-accent { border: 1px solid var(--accent); background: var(--accent); color: var(--ink); }

.proof-stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.proof-row {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.proof-n {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--paper);
}
.proof-n.accent { color: var(--accent); }
.proof-l {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-align: right;
  max-width: 200px;
  line-height: 1.4;
}

/* ───── Insights ───── */

.insights {
  background: var(--paper);
  padding: 120px 56px 96px;
  border-top: 1px solid var(--hairline);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.insight-card {
  padding: 32px;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
}
.insight-card:first-child { padding-left: 0; }
.insight-card:last-child  { padding-right: 0; border-right: none; }

.insight-photo {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.insight-0 .insight-photo { background: linear-gradient(135deg, #2a2620 0%, #3a3028 100%); }
.insight-1 .insight-photo { background: linear-gradient(135deg, #2a2620 0%, #403830 100%); }
.insight-2 .insight-photo { background: linear-gradient(135deg, #2a2620 0%, #332e28 100%); }

.insight-photo-glow { position: absolute; inset: 0; }
.insight-0 .insight-photo-glow { background: radial-gradient(ellipse at 50% 40%, rgba(255,107,44,0.12), transparent 60%); }
.insight-1 .insight-photo-glow { background: radial-gradient(ellipse at 70% 40%, rgba(255,107,44,0.12), transparent 60%); }
.insight-2 .insight-photo-glow { background: radial-gradient(ellipse at 90% 40%, rgba(255,107,44,0.12), transparent 60%); }

.insight-tag {
  position: absolute; top: 16px; left: 16px;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.insight-title {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  font-weight: 500;
  margin: 0;
}
.insight-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.insight-author { font-size: 13px; color: var(--muted); }
.insight-readlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
}

/* ───── Footer ───── */

.site-footer {
  background: var(--ink);
  color: var(--paper);
}
.footer-cta {
  padding: 80px 56px 64px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
}
.footer-headline {
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -1.6px;
  font-weight: 600;
  margin: 20px 0 0;
}
/* Footer headline: no serif italic. Weight contrast handled inline. */
.footer-cta-side { padding-bottom: 8px; }
.footer-cta-lede {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0 0 24px;
  max-width: 380px;
}
.footer-cta-buttons {
  display: flex; gap: 12px;
  flex-wrap: wrap;
}

.footer-cols { padding: 56px 56px 40px; }
.footer-cols-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer-brand .logo-inverse { font-size: 17.4px; }
.footer-blurb {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 280px;
}
.footer-address {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-style: normal;
  line-height: 1.6;
}
.address-spacer { margin-top: 8px; }

.footer-col-title {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  padding: 20px 56px 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.bottom-left  { display: flex; gap: 24px; }
.bottom-right { display: flex; gap: 20px; }

/* ─────────────────────────────────────────────────────────────
   Responsive collapse
   Breakpoints: tablet ≤ 1024px, mobile ≤ 640px.
   The desktop design assumes a 1280px shell with 56px gutters.
   Tablet reduces gutter to 32px; mobile to 20px.
   ───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {

  /* Shell / common gutters */
  .utility-bar,
  .main-nav,
  .hero-eyebrow-row,
  .hero-headline-wrap,
  .hero-body,
  .logo-rail,
  .services,
  .ai-band,
  .process,
  .cases,
  .testimonial,
  .insights,
  .footer-cta,
  .footer-cols,
  .footer-bottom {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Hide utility bar's secondary group and desktop primary-nav. The
     hamburger button replaces both. */
  .utility-bar .util-group:nth-child(2) > :not(:last-child) { display: none; }
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Hero */
  .hero-headline { font-size: clamp(48px, 8.8vw, 88px); letter-spacing: -2px; }
  .hero-body {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-photo .featured-card {
    position: static;
    width: auto;
    max-width: 480px;
    margin: -32px 0 0 24px;
  }
  .logo-rail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rail-logos { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .rail-logo:nth-child(n+5) { display: none; }

  /* Section heads */
  .section-head,
  .cases-head {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .cases-head { display: flex; flex-direction: column; }
  .cases-head-actions { padding-bottom: 0; }
  .section-title { font-size: clamp(40px, 6vw, 64px); letter-spacing: -1.5px; }

  /* Services 2x2 still works at tablet; tighten padding */
  .service-card { padding: 32px; min-height: 0; }
  .card-name { font-size: 40px; letter-spacing: -1px; }

  /* AI band */
  .ai-band-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ai-stat-n { font-size: 44px; letter-spacing: -1.5px; }

  /* Process: 4 → 2 columns */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--ink);
  }
  .process-step {
    padding: 28px 24px !important;
    border-right: 1px solid var(--hairline) !important;
    border-bottom: 1px solid var(--hairline);
  }
  .process-step:nth-child(2n) { border-right: none !important; }
  .process-step:nth-last-child(-n+2) { border-bottom: none; }

  /* Cases: 3-col → photo on top, body + metrics below */
  .case-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .case-photo {
    aspect-ratio: 5/2;
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .case-body { border-right: none; border-bottom: 1px solid var(--hairline); }

  /* Testimonial */
  .testimonial-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .quote-mark { font-size: 140px; }
  .quote-body { font-size: clamp(24px, 3.2vw, 32px); }

  /* Insights: 3 → 1 column */
  .insights-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--ink);
  }
  .insight-card {
    border-right: none !important;
    border-bottom: 1px solid var(--hairline);
    padding: 32px 0 !important;
    min-height: 0;
  }
  .insight-card:last-child { border-bottom: none; }

  /* Footer */
  .footer-cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }
  .footer-headline { font-size: clamp(48px, 7vw, 72px); letter-spacing: -1.5px; }
  .footer-cols-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .bottom-right { flex-wrap: wrap; }
}

@media (max-width: 640px) {

  /* Shell */
  .utility-bar,
  .main-nav,
  .hero-eyebrow-row,
  .hero-headline-wrap,
  .hero-body,
  .logo-rail,
  .services,
  .ai-band,
  .process,
  .cases,
  .testimonial,
  .insights,
  .footer-cta,
  .footer-cols,
  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Padding-y also tightens on mobile sections */
  .services,
  .process,
  .cases,
  .insights { padding-top: 72px; padding-bottom: 56px; }
  .ai-band,
  .testimonial { padding-top: 72px; padding-bottom: 72px; }
  .footer-cta { padding-top: 56px; padding-bottom: 40px; }
  .hero-headline-wrap { padding-top: 40px; padding-bottom: 32px; }
  .hero-body { padding-bottom: 40px; }

  /* Utility bar collapses — hide entirely on mobile to reclaim viewport.
     Region info already in the mobile menu drawer. */
  .utility-bar { display: none; }

  /* Main nav: logo + hamburger + Book CTA only */
  .main-nav { padding-top: 14px; padding-bottom: 14px; }
  .nav-actions .btn-ghost,
  .nav-actions .nav-phone { display: none; }
  .nav-actions .btn-sm { padding: 7px 12px; font-size: 12px; }
  .nav-actions { gap: 8px; }
  .nav-toggle { width: 36px; height: 36px; }

  /* Hero */
  .hero-eyebrow-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 24px;
  }
  .hero-headline {
    font-size: clamp(36px, 10vw, 56px);
    letter-spacing: -1.2px;
    line-height: 0.96;
  }
  /* (no .serif-italic in v3) */
  .hero-lede p { font-size: 17px; }
  .hero-ctas { gap: 16px; }
  .btn-lg { padding: 14px 22px; font-size: 14px; }
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .trust-sep { display: none; }
  .hero-photo .featured-card {
    margin: -24px 0 0 12px;
    padding: 16px 18px;
  }
  .featured-headline { font-size: 18px; }
  .logo-rail { padding-top: 20px; padding-bottom: 20px; }
  .rail-logos { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .rail-logo:nth-child(n+5) { display: none; }

  /* Section heads */
  .section-title {
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: -1px;
  }
  .section-lede { font-size: 16px; }

  /* Services 2x2 → 1-col */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card { padding: 24px 20px; }
  .card-name { font-size: 32px; letter-spacing: -0.8px; }
  .card-head { gap: 12px; }
  .card-glyph { width: 56px; height: 56px; }
  .caps-list { grid-template-columns: 1fr; gap: 8px; font-size: 13px; }
  .card-stat-n { font-size: 26px; }
  .bundle-note { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* AI band */
  .ai-stats { grid-template-columns: 1fr; }
  .ai-stat:nth-child(1) { border-right: none; }
  .ai-stat:nth-child(3) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .ai-stat { padding: 24px 20px; min-height: 0; }
  .ai-stat-n { font-size: 36px; }
  .ai-lede { font-size: 16px; }
  .ai-ctas { flex-direction: column; align-items: stretch; }
  .ai-ctas .btn { justify-content: center; }

  /* Process: 2 → 1 column */
  .process-grid { grid-template-columns: 1fr; }
  .process-step {
    padding: 24px 0 28px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--hairline) !important;
  }
  .process-step:last-child { border-bottom: none !important; }
  .step-title { font-size: 22px; }

  /* Cases */
  .case-photo { aspect-ratio: 16/9; }
  .case-body { padding: 24px 20px; }
  .case-headline { font-size: 22px; line-height: 1.15; letter-spacing: -0.5px; }
  .case-summary { font-size: 14px; }
  .case-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .case-metrics { padding: 20px; }
  .metric-n { font-size: 28px; }

  /* Testimonial */
  .quote-mark { font-size: 96px; }
  .quote-body { font-size: 22px; line-height: 1.3; }
  .quote-attribution {
    flex-wrap: wrap;
    margin-top: 28px;
    gap: 14px;
  }
  .quote-nav { margin-left: 0; }
  .proof-row { padding: 16px 0; gap: 20px; }
  .proof-n { font-size: 26px; }
  .proof-l { font-size: 12px; max-width: 160px; }

  /* Insights */
  .insight-card { padding: 24px 0 !important; }
  .insight-title { font-size: 21px; }

  /* Footer */
  .footer-headline { font-size: clamp(36px, 9vw, 48px); letter-spacing: -1px; }
  .footer-cta-buttons { flex-direction: column; align-items: stretch; }
  .footer-cta-buttons .btn { justify-content: center; }
  .footer-cols-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { font-size: 11px; }

  /* Hero on mobile: photo + overlay stacked.
     With utility-bar hidden, the sticky header is ~68px on mobile. */
  .hero-cover {
    height: auto;
    min-height: calc(100vh - 68px);
  }
  .hero-cover-scrim {
    background:
      linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85) 100%);
  }
  .hero-cover-content {
    left: 20px;
    right: 20px;
    bottom: 28px;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-cover-left,
  .hero-cover-right { gap: 14px; }
  .hero-cover-right { padding-bottom: 0; }
  .hero-cover-headline {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.8px;
  }
  .hero-cover-lede { font-size: 14px; line-height: 1.5; }
  .hero-cover-ctas { gap: 12px; }
  .hero-cover-ctas .btn { padding: 12px 18px; font-size: 13px; }
  .hero-cover-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    font-size: 11px;
  }
  .hero-cover-trust .trust-sep { display: none; }
  .hero-msg { padding-left: 20px; padding-right: 20px; padding-top: 28px; padding-bottom: 20px; }
}

/* ─────────────────────────────────────────────────────────────
   Inner-page patterns (v3)
   Reusable blocks for the 16 sub-pages: compact page hero, prose,
   compare table, FAQ, contact form, filter bar, team grid, timeline.
   ───────────────────────────────────────────────────────────── */

/* Compact page hero used by every page except the home. */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 56px 72px;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
/* Orbital watermark removed for a cleaner, less decorative page-hero. */
.page-hero::after {
  display: none;
  content: "";
  position: absolute;
  top: -120px;
  right: -160px;
  width: 600px;
  height: 600px;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%230a0a0a'%3E%3Ccircle cx='50' cy='50' r='4.4'/%3E%3Ccircle cx='62' cy='38' r='3.6'/%3E%3Ccircle cx='38' cy='38' r='3.6'/%3E%3Ccircle cx='62' cy='62' r='3.6'/%3E%3Ccircle cx='38' cy='62' r='3.6'/%3E%3Ccircle cx='56' cy='44' r='1.8'/%3E%3Ccircle cx='44' cy='44' r='1.8'/%3E%3Ccircle cx='56' cy='56' r='1.8'/%3E%3Ccircle cx='44' cy='56' r='1.8'/%3E%3Ccircle cx='74' cy='26' r='3'/%3E%3Ccircle cx='26' cy='26' r='3'/%3E%3Ccircle cx='74' cy='74' r='3'/%3E%3Ccircle cx='26' cy='74' r='3'/%3E%3Ccircle cx='68' cy='32' r='1.5'/%3E%3Ccircle cx='32' cy='32' r='1.5'/%3E%3Ccircle cx='68' cy='68' r='1.5'/%3E%3Ccircle cx='32' cy='68' r='1.5'/%3E%3Ccircle cx='86' cy='14' r='2.2'/%3E%3Ccircle cx='14' cy='14' r='2.2'/%3E%3Ccircle cx='86' cy='86' r='2.2'/%3E%3Ccircle cx='14' cy='86' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.page-hero-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 24px;
}
.page-hero-kicker .crumb {
  color: var(--accent-ink);
  font-weight: 600;
}
.page-hero-kicker .crumb-rule {
  width: 18px; height: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 1;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero-headline {
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -1.6px;
  font-weight: 600;
  margin: 0;
  max-width: 18ch;
}
.page-hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
  padding-bottom: 8px;
}

/* Photographic inner-page header: a shorter cousin of the homepage hero.
   Each page sets its image via the --hero-img custom property. A dark
   gradient scrim (heaviest where the text sits) keeps copy legible. */
.page-hero.has-photo {
  background: var(--ink);
  border-bottom: none;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 80px;
  padding-bottom: 48px;
}
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.28) 0%, rgba(10,10,10,0.50) 48%, rgba(10,10,10,0.82) 100%),
    var(--hero-img) center / cover no-repeat;
}
.page-hero.has-photo > * { position: relative; z-index: 1; }
.page-hero.has-photo .page-hero-kicker { color: rgba(255,255,255,0.72); }
.page-hero.has-photo .page-hero-kicker .crumb { color: #fff; }
.page-hero.has-photo .page-hero-headline { color: #fff; }
.page-hero.has-photo .page-hero-sub { color: rgba(255,255,255,0.88); }

/* Prose body for insight articles and long-form sections. */
.prose {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin-top: 2.4em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.prose h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.4em;
}
.prose strong { font-weight: 600; }
.prose a { color: var(--ink); border-bottom: 1px solid var(--accent); }
.prose a:hover { border-bottom-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-top: 0.4em; }
.prose hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 3em 0;
}

/* Compare table (Big Four vs us vs boutique). */
.compare {
  border: 1px solid var(--hairline);
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 14px;
}
.compare th,
.compare td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}
.compare thead th {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 600;
  background: var(--paper-warm);
}
.compare thead th.us { color: var(--accent); }
.compare th:not(:last-child),
.compare td:not(:last-child) { border-right: 1px solid var(--hairline); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody th {
  font-weight: 500;
  width: 28%;
  color: var(--ink);
  background: var(--paper);
}
.compare .col-us { background: var(--paper-warm); }

/* FAQ via <details>/<summary>. */
.faq-list {
  border-top: 1px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 0;
}
.faq-item > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.15s ease;
  width: 24px;
  text-align: center;
}
.faq-item[open] > summary::after { content: "−"; }
.faq-body {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 68ch;
}

/* Contact form. */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-hint { font-size: 12px; color: var(--muted); }

/* Filter bar — used on cases and insights index. */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 48px;
  font-size: 13px;
}
.filter-bar .filter-label {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 600;
  margin-right: 8px;
}
.filter-chip {
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  color: var(--ink);
  cursor: pointer;
  background: var(--paper);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Team grid (about page). */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
}
.team-member {
  display: flex; flex-direction: column; gap: 16px;
}
.team-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2a2620 0%, #3a3028 100%);
  position: relative;
  overflow: hidden;
}
.team-photo .glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(255,107,44,0.12), transparent 60%);
}
.team-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.team-role {
  font-size: 13px;
  color: var(--muted);
}

/* Office locations (about, contact). */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
}
.office-card {
  padding: 32px;
  border-right: 1px solid var(--hairline);
}
.office-card:last-child { border-right: none; }
.office-city {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}
.office-address {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-style: normal;
}
.office-hours {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink);
}

/* Timeline (approach, case studies). */
.timeline {
  border-left: 1px solid var(--hairline);
  padding-left: 32px;
  margin-left: 8px;
}
.timeline-step {
  position: relative;
  padding-bottom: 32px;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--hairline);
}
.timeline-time {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-ink);
  font-weight: 600;
}
.timeline-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 6px 0 8px;
}
.timeline-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}

/* Generic section helpers used across inner pages. */
.section {
  padding: 96px 56px;
  border-top: 1px solid var(--hairline);
  background: var(--paper);
}
.section.dark {
  background: var(--ink);
  color: var(--paper);
  border-top: none;
}
.section.warm {
  background: var(--paper-warm);
}
.section-inner-narrow { max-width: 880px; margin: 0 auto; }

/* Two-column block (text + supporting list / data) used across many pages. */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

/* Article hero (insight pages). */
.article-hero {
  padding: 80px 56px 48px;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.article-hero .article-tag { margin-bottom: 28px; }
.article-hero .article-title {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.6px;
  font-weight: 500;
  margin: 0 auto;
  max-width: 22ch;
}
.article-meta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}

/* Article body wrapper (insight pages). */
.article-body {
  padding: 64px 56px 96px;
  background: var(--paper);
}

/* Author block. */
.author-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--hairline);
  max-width: 720px;
  margin: 64px auto 0;
}
.author-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a3f38 0%, #6a5a4e 100%);
  flex-shrink: 0;
}
.author-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}
.author-role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.author-bio {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Related cards strip. */
.related-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.related-card {
  padding: 32px 32px 36px;
  border-right: 1px solid var(--hairline);
}
.related-card:last-child { border-right: none; }
.related-kicker {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-ink);
  font-weight: 600;
  margin-bottom: 12px;
}
.related-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0;
}

/* Mobile collapses */
@media (max-width: 1024px) {
  .page-hero { padding-left: 32px; padding-right: 32px; padding-bottom: 56px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .page-hero-headline { font-size: clamp(40px, 6vw, 64px); letter-spacing: -1.4px; }
  .section { padding-left: 32px; padding-right: 32px; padding-top: 72px; padding-bottom: 72px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 12px 14px; }
  .contact-form { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .office-grid { grid-template-columns: 1fr; }
  .office-card { border-right: none; border-bottom: 1px solid var(--hairline); }
  .office-card:last-child { border-bottom: none; }
  .article-hero { padding-left: 32px; padding-right: 32px; padding-top: 56px; padding-bottom: 40px; }
  .article-body { padding-left: 32px; padding-right: 32px; padding-bottom: 72px; }
  .related-strip { grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
  .related-card { border-right: none; border-bottom: 1px solid var(--hairline); }
  .related-card:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .page-hero { padding-left: 20px; padding-right: 20px; padding-top: 24px; padding-bottom: 40px; }
  .page-hero-headline { font-size: clamp(32px, 8vw, 44px); letter-spacing: -1px; }
  .page-hero-sub { font-size: 16px; }
  .section { padding-left: 20px; padding-right: 20px; padding-top: 56px; padding-bottom: 56px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { padding: 16px 0; }
  .article-hero { padding-left: 20px; padding-right: 20px; }
  .article-body { padding-left: 20px; padding-right: 20px; }
  .article-hero .article-title { font-size: clamp(28px, 8vw, 40px); }
  .author-block { flex-direction: column; padding: 24px; }
  .compare { font-size: 12px; }
  .compare th, .compare td { padding: 10px 12px; }
}


/* ============================================================
   ADDITIONS — portal, properties, admin, form chips, legal links
   ============================================================ */

/* Utility bar + footer links (previously dead spans) */
.util-link { color: inherit; text-decoration: none; cursor: pointer; }
.util-link:hover { color: var(--accent); }
.bottom-right a { color: inherit; text-decoration: none; }
.bottom-right a:hover { color: var(--paper); border-bottom: 1px solid var(--accent); }

/* Checkbox chips inside the contact form */
.chip-check { display: inline-flex; align-items: center; gap: 0; user-select: none; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.field-label {
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Properties (public) ---------- */
.prop-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prop-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--hairline); background: var(--paper);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.prop-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.prop-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-warm); }
.prop-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-photo .prop-badge { position: absolute; top: 12px; left: 12px; }
.prop-badge {
  display: inline-block; padding: 5px 10px; font-size: 11px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
}
.prop-badge.available   { background: var(--ink); color: var(--paper); }
.prop-badge.under-offer { background: var(--accent); color: var(--ink); }
.prop-badge.sold        { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.prop-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prop-type { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--muted); }
.prop-title { font-family: var(--display); font-size: 20px; font-weight: 500; line-height: 1.2; margin: 0; }
.prop-suburb { font-size: 14px; color: var(--muted); }
.prop-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
}
.prop-price { font-family: var(--mono); font-size: 14px; }
.prop-meta-line { font-size: 12px; color: var(--muted); }
.prop-empty { padding: 64px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--hairline); grid-column: 1 / -1; }

/* Property detail */
.prop-gallery { display: grid; grid-template-columns: 3fr 1fr; gap: 12px; }
.prop-gallery-main { aspect-ratio: 16 / 10; background: var(--paper-warm); overflow: hidden; }
.prop-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-gallery-thumbs { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.prop-gallery-thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.prop-gallery-thumbs button.active { border-color: var(--accent); }
.prop-gallery-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.facts-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.facts-table th, .facts-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.facts-table th { color: var(--muted); font-weight: 500; width: 40%; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feature-list li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.feature-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; border-radius: 50%; transform: translateY(-1px); }

/* ---------- Portal / Admin shared ---------- */
.app-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 40px 96px; min-height: 60vh; }
.auth-card {
  max-width: 420px; margin: 64px auto; padding: 40px;
  border: 1px solid var(--hairline); background: var(--paper);
}
.auth-card h1 { font-family: var(--display); font-size: 28px; margin: 0 0 8px; }
.auth-card .auth-sub { font-size: 14px; color: var(--muted); margin: 0 0 28px; line-height: 1.6; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-error { color: #b3261e; font-size: 13px; min-height: 18px; }
.app-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hairline); margin-bottom: 36px; flex-wrap: wrap; }
.app-tab {
  padding: 12px 20px; border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.app-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.app-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.app-bar h1 { font-family: var(--display); font-size: 32px; margin: 0; }
.app-user { font-size: 13px; color: var(--muted); display: flex; gap: 16px; align-items: center; }
.panel { border: 1px solid var(--hairline); background: var(--paper); padding: 28px; margin-bottom: 24px; }
.panel h2 { font-family: var(--display); font-size: 20px; margin: 0 0 16px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ink);
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
}
.data-table td { padding: 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.data-table tr:hover td { background: var(--paper-warm); }
.status-pill {
  display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px;
  font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; border: 1px solid var(--hairline);
}
.status-pill.open, .status-pill.available, .status-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.status-pill.under-offer, .status-pill.in-progress { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.status-pill.resolved, .status-pill.sold, .status-pill.draft, .status-pill.complete { color: var(--muted); }
.thread { display: flex; flex-direction: column; gap: 12px; max-height: 480px; overflow-y: auto; padding-right: 4px; }
.msg { padding: 14px 16px; border: 1px solid var(--hairline); background: var(--paper); max-width: 85%; }
.msg.mine { align-self: flex-end; background: var(--paper-warm); }
.msg .msg-meta { font-size: 11px; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.5px; }
.msg .msg-body { font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.update-item { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.update-item:last-child { border-bottom: none; }
.update-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; display: flex; gap: 12px; }
.update-title { font-family: var(--display); font-size: 17px; font-weight: 500; margin: 0 0 4px; }
.update-body { font-size: 14px; color: var(--muted); line-height: 1.6; white-space: pre-wrap; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { border: 1px solid var(--hairline); background: var(--paper); padding: 20px; }
.kpi .kpi-n { font-family: var(--display); font-size: 30px; font-weight: 500; }
.kpi .kpi-n.accent { color: var(--accent); }
.kpi .kpi-l { font-size: 12px; color: var(--muted); margin-top: 4px; }
.photo-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.photo-strip .ph {
  position: relative; width: 96px; height: 72px; border: 1px solid var(--hairline); overflow: hidden;
}
.photo-strip .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-strip .ph button {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; line-height: 1;
  border: none; background: rgba(10,10,10,0.75); color: #fff; cursor: pointer; font-size: 12px;
}
.muted-note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-danger { border: 1px solid #b3261e; color: #b3261e; background: none; }
.btn-danger:hover { background: #b3261e; color: #fff; }
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 200; padding: 14px 20px;
  background: var(--ink); color: var(--paper); font-size: 14px; opacity: 0;
  transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }

/* ---- Tax refund estimator ---- */
.estimator-wrap { max-width: 620px; margin: 0 auto; }
.estimator-card h2 { font-family: var(--display); font-size: 24px; margin: 0 0 18px; }
.est-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.est-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.est-consent input { margin-top: 3px; accent-color: var(--accent); }
.est-result-label { font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.est-result-n { font-family: var(--display); font-size: clamp(48px, 9vw, 72px); font-weight: 500; letter-spacing: -2px; color: var(--ink); margin: 4px 0 20px; }
.est-result-n.owing { color: #b3261e; }
.est-breakdown td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-breakdown tr:last-child td { border-bottom: none; }
.est-disclaimer { margin-top: 20px; }

@media (max-width: 1024px) {
  .prop-grid { grid-template-columns: 1fr 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prop-grid { grid-template-columns: 1fr; }
  .prop-gallery { grid-template-columns: 1fr; }
  .prop-gallery-thumbs { flex-direction: row; }
  .prop-gallery-thumbs button { width: 90px; flex-shrink: 0; }
  .app-wrap { padding: 32px 20px 64px; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   Homepage polish & scroll motion
   ═══════════════════════════════════════════════════════════════ */

/* Photos fill their frames consistently (cover) rather than relying on the
   element's intrinsic size. Applies to case rows and insight cards. */
.case-photo .photo-fill-img,
.insight-photo .photo-fill-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* The warm radial glow now sits over real photography — multiply keeps the
   image visible while preserving the accent wash. */
.case-photo-glow,
.insight-photo-glow { mix-blend-mode: multiply; opacity: 0.55; z-index: 1; }
.case-photo-tag, .case-photo-counter, .insight-tag { z-index: 2; }

/* Card hover lift — the last 5% of polish. Link-cards rise, deepen their
   shadow and zoom their photo on hover. */
.card-link {
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease, background 0.25s ease;
}
.service-card.card-link:hover,
.insight-card.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(10,10,10,0.45);
}
.card-link:hover .photo-fill-img { transform: scale(1.05); }
.card-link-arrow { transition: color 0.2s ease, transform 0.2s ease; }
.card-link:hover .card-link-arrow { color: var(--accent-ink); transform: translate(2px,-2px); }

/* Case rows are full-width — a warm wash reads better than a lift. */
.case-row.card-link:hover { background: var(--paper-warm); }

/* Representative-scenario disclosure under the cases title. */
.cases-note {
  margin: 16px 0 0;
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Testimonial reframed as the firm's own commitment: the mark replaces the
   missing client avatar. */
.avatar.avatar-mark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}
.avatar.avatar-mark svg { width: 26px; height: 26px; }

/* ── Reveal on scroll ──────────────────────────────────────────
   Active only when JS is present (html.js) so no-JS users see everything.
   Disabled under prefers-reduced-motion. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero photo: settled scale + subtle scroll parallax (--hero-shift in JS). */
.js .hero-cover-img {
  transform: translateY(var(--hero-shift, 0px)) scale(1.06);
  will-change: transform;
}

/* Process: an accent line under the steps fills as the section scrolls
   through the viewport (--process-progress 0→1, set in JS). Scroll-linked,
   not scroll-locked — the page never hijacks the user's scroll. */
.process-grid { position: relative; }
.process-progress-track {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--hairline);
  overflow: hidden;
}
.process-progress-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(var(--process-progress, 0));
  transform-origin: left;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero-cover-img { transform: scale(1.02) !important; }
  .process-progress-track::after { transform: scaleX(1) !important; }
}
