/* ==========================================================================
   Wheeler's PHCC — Editorial redesign
   Type: Fraunces (display) + Plus Jakarta Sans (UI/body)
   Palette: navy / teal / copper on warm sand
   Craft: Kinfolk · Studio Dado · Fluid Glass · Godly — quiet, spacious, photo-forward
   ========================================================================== */

:root {
  --navy-950: #06161d;
  --navy-900: #0a2530;
  --navy-800: #0e3544;
  --navy-700: #164556;
  --teal-600: #178f84;
  --teal-500: #1ea89c;
  --teal-400: #2ec4b6;
  --teal-100: #d6f3ef;
  --copper-600: #c45f28;
  --copper-500: #d9773a;
  --copper-400: #e8915a;
  --copper-100: #fce8d8;

  --sand-50: #f8f5f0;
  --sand-100: #efe9e0;
  --sand-200: #e0d6c8;
  --ink-900: #142028;
  --ink-700: #3a4a52;
  --ink-500: #5c6d76;
  --white: #ffffff;

  --bg: var(--sand-50);
  --bg-elevated: var(--white);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --border: rgba(20, 32, 40, 0.09);
  --border-strong: rgba(20, 32, 40, 0.14);
  --focus: var(--teal-500);
  --accent: var(--copper-500);
  --brand: var(--navy-900);
  --brand-mid: var(--teal-500);

  /* Soft elevation — hairline-first, no glow theater */
  --shadow-sm: 0 1px 2px rgba(6, 22, 29, 0.04);
  --shadow-md: 0 6px 20px rgba(6, 22, 29, 0.06);
  --shadow-lg: 0 18px 48px rgba(6, 22, 29, 0.08);

  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --text-xs: clamp(0.72rem, 0.68rem + 0.15vw, 0.78rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1.02rem, 0.98rem + 0.2vw, 1.075rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --text-xl: clamp(1.35rem, 1.15rem + 0.7vw, 1.65rem);
  --text-2xl: clamp(1.65rem, 1.35rem + 1.1vw, 2.15rem);
  --text-3xl: clamp(2.05rem, 1.55rem + 1.9vw, 3.1rem);
  --text-4xl: clamp(2.5rem, 1.75rem + 2.8vw, 3.85rem);
  --text-5xl: clamp(3rem, 2rem + 3.8vw, 5rem);

  --header-h: 4.25rem;
  --container: 74rem;
  --container-narrow: 40rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --section-y: clamp(4.5rem, 8vw, 8rem);
  --section-y-sm: clamp(3.5rem, 6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 0.55em;
  font-optical-sizing: auto;
}
h1 { font-size: var(--text-5xl); font-weight: 600; line-height: 1.05; }
h2 { font-size: var(--text-3xl); line-height: 1.1; }
h3 { font-size: var(--text-xl); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
code {
  font-size: 0.9em;
  background: var(--sand-100);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}
.container-narrow {
  width: min(100% - 3rem, var(--container-narrow));
  margin-inline: auto;
}

/* Eyebrow / micro-label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--copper-500);
  opacity: 0.85;
}
.eyebrow.light { color: var(--teal-400); }
.eyebrow.light::before { background: var(--copper-400); }

.lead {
  font-size: var(--text-lg);
  color: var(--ink-700);
  line-height: 1.65;
  max-width: 36rem;
  font-weight: 400;
}

/* Buttons — refined, not shouty */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg, .btn img { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }

.btn-primary {
  background: var(--copper-500);
  color: var(--white);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--copper-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--navy-900);
  background: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.btn-lg { padding: 1.05rem 1.85rem; font-size: var(--text-base); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: var(--text-xs); letter-spacing: 0.04em; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.78);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 245, 240, 0.94);
  border-bottom-color: var(--border-strong);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.logo img, .logo svg {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.35rem;
}
.logo .logo-wordmark {
  width: auto;
  height: 3.15rem;
  display: block;
}
.logo .logo-wordmark {
  width: auto;
  height: 3.75rem;
  display: block;
}
.site-footer .logo-wordmark {
  height: 3.15rem;
}


.logo-img {
  width: auto;
  height: 2.65rem;
  display: block;
}
.site-footer .logo-img {
  height: 2.85rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.logo-text span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-desktop a {
  padding: 0.45rem 0.65rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.nav-desktop a:hover {
  color: var(--navy-900);
  background: rgba(20, 32, 40, 0.04);
}
.nav-desktop a[aria-current="page"] {
  color: var(--teal-600);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
  font-size: 0.8rem;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}
.header-phone img { width: 0.95rem; height: 0.95rem; opacity: 0.85; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--navy-900);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.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-mobile {
  display: none;
  border-top: 1px solid var(--border);
  padding: 0.75rem 0 1.5rem;
  background: var(--sand-50);
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.95rem 0;
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--ink-700);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.01em;
}
.nav-mobile a[aria-current="page"] { color: var(--teal-600); font-weight: 600; }
.nav-mobile .btn { width: 100%; margin-top: 1.15rem; }

@media (max-width: 899px) {
  .header-phone {
    max-width: 9.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-actions .btn-sm { display: none; }
}
@media (min-width: 820px) {
  .nav-desktop { display: flex; }
  .header-phone { font-size: var(--text-sm); max-width: none; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .logo-text strong { font-size: 1.12rem; }
}

/* ========== HERO — magazine cover ========== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  isolation: isolate;
  min-height: clamp(32rem, 78vh, 46rem);
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 20% 25%, rgba(46, 196, 182, 0.14), transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 50%, #0c3340 100%);
}
.hero-bg.has-photo {
  background:
    linear-gradient(105deg, rgba(6, 22, 29, 0.94) 0%, rgba(10, 37, 48, 0.82) 38%, rgba(6, 22, 29, 0.55) 68%, rgba(6, 22, 29, 0.7) 100%),
    url("../assets/images/hero-home.jpg") center / cover no-repeat;
}
.hero-bg.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 22, 29, 0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: 2.75rem;
  padding: 5rem 0 4rem;
  align-items: end;
  /* keep .container side inset — do not force width: 100% */
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.35fr 0.75fr;
    gap: 4rem;
    padding: 7rem 0 5.5rem;
  }
}

.hero-content .eyebrow { color: var(--teal-400); }
.hero-content .eyebrow::before { background: var(--copper-400); }
.hero h1 {
  color: var(--white);
  margin-bottom: 1.15rem;
  max-width: 13ch;
}
.hero h1 .accent {
  color: var(--teal-400);
  font-style: italic;
  font-weight: 500;
}
.hero-lead {
  font-size: var(--text-lg);
  color: rgba(232, 244, 242, 0.78);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.65;
  font-weight: 400;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: var(--text-sm);
  color: rgba(232, 244, 242, 0.62);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin-top: 1.75rem;
}
.hero-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 244, 242, 0.72);
  padding: 0;
  background: none;
  border: none;
}
.hero-chip strong {
  color: var(--teal-400);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95em;
}

/* Quiet glass panel */
.hero-panel {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 0;
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.hero-panel-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.hero-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-panel-body {
  padding: 1.5rem 1.6rem 1.7rem;
}
.hero-panel h2 {
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: 0.45rem;
  line-height: 1.15;
}
.hero-panel p {
  color: rgba(232, 244, 242, 0.7);
  font-size: var(--text-sm);
  margin-bottom: 1.15rem;
  line-height: 1.55;
}
.hero-panel-list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}
.hero-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--text-sm);
  color: rgba(232, 244, 242, 0.85);
  line-height: 1.4;
}
.hero-panel-list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--teal-400);
}

.card-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
  background: none;
  color: var(--copper-400);
  margin-bottom: 0.65rem;
}

/* ========== TRUST STRIP ========== */
.trust-strip {
  background: var(--white);
  border-block: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.trust-item {
  padding: 1.75rem 1.25rem;
  text-align: left;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item:nth-child(2n) { border-right: none; }
.trust-item:nth-last-child(-n+2) { border-bottom: none; }
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item {
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 2.15rem 1.5rem;
  }
  .trust-item:last-child { border-right: none; }
}
.trust-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 560;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.4rem;
}
.trust-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--section-y) 0;
}
.section-header {
  max-width: 34rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-header.centered {
  text-align: center;
  margin-inline: auto;
  max-width: 38rem;
}
.section-header.centered .eyebrow {
  justify-content: center;
}
.section-header.centered .eyebrow::before { display: none; }
.section-header.centered .lead { margin-inline: auto; }
.section-muted { background: var(--sand-100); }
.section-navy {
  background: var(--navy-900);
  color: var(--white);
}
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-navy .lead,
.section-navy p { color: rgba(232, 244, 242, 0.78); }
.section-navy .eyebrow { color: var(--teal-400); }

/* Cards — quieter */
.card-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (min-width: 960px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: none;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 168, 156, 0.28);
  box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 2.65rem;
  height: 2.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--teal-100);
  color: var(--teal-600);
  margin-bottom: 1.25rem;
  box-shadow: none;
}
.card-icon svg, .card-icon img { width: 1.4rem; height: 1.4rem; }
.card-icon.copper {
  background: var(--copper-100);
  color: var(--copper-600);
}
.card h3 { margin-bottom: 0.55rem; }
.card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  flex-grow: 1;
  line-height: 1.65;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-600);
  transition: gap 0.25s var(--ease), color 0.2s;
}
.card-link::after { content: " \2192"; }
.card-link:hover { gap: 0.65rem; color: var(--navy-900); }

.card-featured {
  background: var(--navy-900);
  border-color: transparent;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.card-featured::after { display: none; }
.card-featured h3 { color: var(--white); }
.card-featured p { color: rgba(232, 244, 242, 0.72); }
.card-featured .card-icon {
  background: rgba(46, 196, 182, 0.15);
  color: var(--teal-400);
}
.card-featured .card-link { color: var(--teal-400); }
.card-featured .card-link:hover { color: var(--white); }
.card-featured .card-badge { color: var(--copper-400); }

.card.has-media {
  padding: 0;
  overflow: hidden;
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.03); }
.card-body {
  padding: 1.5rem 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-featured .card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 22, 29, 0.35));
  pointer-events: none;
}

/* Editorial service gallery — not equal card clutter */
.editorial-services {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .editorial-services {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.75rem;
  }
  .editorial-services > :first-child {
    grid-row: 1 / span 2;
  }
  .editorial-services > :first-child .card-media {
    aspect-ratio: 4 / 5;
    min-height: 100%;
  }
}

/* Split layouts */
.split {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .split.reverse > :first-child { order: 2; }
}
.split.asymmetric { gap: 2.5rem; }
@media (min-width: 860px) {
  .split.asymmetric {
    grid-template-columns: 0.9fr 1.2fr;
    gap: 5.5rem;
  }
  .split.asymmetric.reverse {
    grid-template-columns: 1.2fr 0.9fr;
  }
  .split.asymmetric.reverse > :first-child { order: 2; }
}

.visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-900);
  box-shadow: none;
  border: 1px solid var(--border);
}
.visual-frame.has-photo > img.visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.visual-frame-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.85rem;
  background: linear-gradient(transparent 35%, rgba(6, 22, 29, 0.88) 100%);
}
.visual-frame-inner h3 {
  color: var(--white);
  font-size: var(--text-xl);
  margin-bottom: 0.35rem;
}
.visual-frame-inner p {
  color: rgba(232, 244, 242, 0.72);
  font-size: var(--text-sm);
  max-width: 22rem;
  line-height: 1.55;
}
.visual-stat {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  background: rgba(248, 245, 240, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
}
.visual-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.02em;
}
.visual-stat span {
  font-size: 0.62rem;
  font-weight: 650;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}
.check-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 1px solid rgba(23, 143, 132, 0.45);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6' stroke='%23178f84' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.7rem no-repeat;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.chip {
  display: inline-flex;
  padding: 0.45rem 0.95rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--ink-700);
  border: 1px solid var(--border-strong);
}

/* CTA band — refined */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
}
.cta-band.has-photo {
  background:
    linear-gradient(180deg, rgba(6, 22, 29, 0.9), rgba(6, 22, 29, 0.94)),
    url("../assets/images/cta-bg.jpg") center / cover no-repeat;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.85rem;
  max-width: 16ch;
  margin-inline: auto;
}
.cta-band p {
  color: rgba(232, 244, 242, 0.72);
  max-width: 30rem;
  margin: 0 auto 2rem;
  font-size: var(--text-lg);
  line-height: 1.6;
}
.cta-band .btn-group { justify-content: center; }

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3.75rem, 7vw, 5.5rem);
}
.page-hero.has-photo {
  background:
    linear-gradient(115deg, rgba(6, 22, 29, 0.94) 0%, rgba(10, 37, 48, 0.84) 50%, rgba(6, 22, 29, 0.72) 100%),
    var(--page-hero-image, url("../assets/images/hero-home.jpg")) center / cover no-repeat;
}
.page-hero.has-photo .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--teal-400); }
.page-hero .eyebrow::before { background: var(--copper-400); }
.page-hero h1 {
  color: var(--white);
  font-size: var(--text-4xl);
  max-width: 16ch;
}
.page-hero .lead {
  color: rgba(232, 244, 242, 0.75);
  margin-top: 1rem;
}

/* Service feature — cinematic */
.service-feature {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .service-feature {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }
  .service-feature.reverse { direction: rtl; }
  .service-feature.reverse > * { direction: ltr; }
}
.service-feature-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--border);
  background: var(--navy-900);
}
.service-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Editorial repair rows — large crops, not tiny thumbs */
.service-row {
  display: grid;
  gap: 1.75rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.service-row:first-of-type { padding-top: 0; }
.service-row:last-child { border-bottom: none; padding-bottom: 0; }
@media (min-width: 768px) {
  .service-row {
    grid-template-columns: minmax(14rem, 0.85fr) 1.15fr;
    gap: 3rem;
    padding: 3.25rem 0;
  }
}
.service-row-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
  border: 1px solid var(--border);
}
.service-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-row h3 {
  margin-bottom: 0.55rem;
}
.service-row p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  max-width: 36rem;
  line-height: 1.65;
}

/* Legacy service-block support */
.service-block {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block .card-icon { margin-bottom: 0; }
.service-block .service-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.service-block .service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .service-block {
    grid-template-columns: 4rem 1fr;
    gap: 1.75rem;
    padding: 2.5rem 0;
  }
  .service-block.with-photo {
    grid-template-columns: 14rem 1fr;
    align-items: center;
  }
  .service-block.with-photo .service-thumb { aspect-ratio: 4 / 3; }
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 1.35rem;
  margin: 2.25rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--teal-500), var(--copper-500));
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.35rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.12rem;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sand-50);
  border: 1.5px solid var(--teal-500);
}
.timeline-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--navy-900);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.timeline-item p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.cred-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}
.cred-item {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  text-align: left;
}
.cred-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}
.cred-item span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Story / about photos */
.story-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-photo.tall { aspect-ratio: 3 / 4; max-height: 40rem; }
.photo-caption {
  margin-top: 0.75rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.01em;
}

.photo-break {
  position: relative;
  min-height: clamp(16rem, 36vw, 26rem);
  overflow: hidden;
  isolation: isolate;
}
.photo-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(6,22,29,0.82), rgba(6,22,29,0.35));
  z-index: 0;
}
.photo-break .container {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  color: var(--white);
}
.photo-break h2 { color: var(--white); max-width: 16ch; }
.photo-break p { color: rgba(232,244,242,0.8); max-width: 32rem; line-height: 1.65; }

/* Editorial principle list (about — replace equal 3-col marketing) */
.principle-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.principle-item {
  display: grid;
  gap: 1rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 720px) {
  .principle-item {
    grid-template-columns: 4.5rem 1fr;
    gap: 2rem;
    padding: 2.75rem 0;
  }
}
.principle-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--teal-600);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 500;
}
.principle-item h3 { margin-bottom: 0.45rem; }
.principle-item p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  max-width: 38rem;
  line-height: 1.65;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
  }
}
.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-info-card h2 {
  color: var(--white);
  font-size: var(--text-2xl);
  margin-bottom: 0.55rem;
}
.contact-info-card > p {
  color: rgba(232, 244, 242, 0.7);
  font-size: var(--text-sm);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.contact-rows { display: grid; gap: 1.5rem; }
.contact-row strong {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 0.4rem;
}
.contact-row a,
.contact-row span {
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-base);
}
.contact-row a:hover { color: var(--teal-400); }
.contact-row p {
  color: rgba(232, 244, 242, 0.78);
  font-size: var(--text-sm);
  margin: 0;
  line-height: 1.55;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: none;
}
.form-card h2 {
  font-size: var(--text-2xl);
  margin-bottom: 0.4rem;
}
.form-card > p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.form-grid { display: grid; gap: 1.15rem; }
@media (min-width: 560px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
.form-field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 0.45rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--sand-50);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(30, 168, 156, 0.35);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 168, 156, 0.12);
}
.form-field textarea { min-height: 8.5rem; resize: vertical; }
.form-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.55;
}
.form-note a {
  color: var(--teal-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-success {
  display: none;
  padding: 1rem 1.15rem;
  background: var(--teal-100);
  border: 1px solid rgba(30, 168, 156, 0.28);
  border-radius: var(--radius-md);
  color: var(--navy-900);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.15rem;
}
.form-success.is-visible { display: block; }

/* ========== PRODUCTS ========== */
.tier-intro {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 800px) {
  .tier-intro {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.tier-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
  background: var(--white);
}
.tier-card .tier-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.65rem;
}
.tier-card.best .tier-label { color: var(--copper-600); }
.tier-card h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.45rem;
}
.tier-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.product-hub-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .product-hub-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}
.product-hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 14rem;
  padding: 1.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-hub-card:hover {
  border-color: rgba(30, 168, 156, 0.35);
  transform: translateY(-2px);
}
.product-hub-card .brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 1.25rem;
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  color: var(--ink-700);
}
.product-hub-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.4rem;
}
.product-hub-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.product-line {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--border);
}
.product-line:last-of-type { border-bottom: none; }
.product-line-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
}
.product-line-header h2 {
  margin-bottom: 0;
}
.product-line-header .brand-label {
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.product-tiers {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .product-tiers { gap: 1.5rem; }
}
.product-tier {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.product-tier:first-child { border-top: none; padding-top: 0; }
@media (min-width: 720px) {
  .product-tier {
    grid-template-columns: 7.5rem 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
}
.product-tier .tier-pill {
  display: inline-flex;
  align-self: start;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  color: var(--ink-700);
  white-space: nowrap;
}
.product-tier.best .tier-pill {
  border-color: rgba(196, 95, 40, 0.35);
  color: var(--copper-600);
  background: rgba(252, 232, 216, 0.45);
}
.product-tier.better .tier-pill {
  border-color: rgba(23, 143, 132, 0.35);
  color: var(--teal-600);
  background: rgba(214, 243, 239, 0.4);
}
.product-tier h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.45rem;
}
.product-tier p {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: 1.65;
  max-width: 42rem;
  margin-bottom: 0.65rem;
}
.product-tier .warranty-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(232, 244, 242, 0.72);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  gap: 2.75rem;
  padding-bottom: 3rem;
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}
.footer-brand .logo { margin-bottom: 1.15rem; }
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text span { color: rgba(232, 244, 242, 0.5); }
.footer-brand p {
  font-size: var(--text-sm);
  max-width: 22rem;
  margin-bottom: 1.35rem;
  line-height: 1.6;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 560;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.footer-phone:hover { color: var(--teal-400); }
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 1.15rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(232, 244, 242, 0.68);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: var(--text-xs);
  color: rgba(232, 244, 242, 0.45);
  letter-spacing: 0.02em;
}

/* Mobile sticky call bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(10, 37, 48, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-call-bar .btn { flex: 1; }
@media (min-width: 900px) {
  .mobile-call-bar { display: none; }
}
body { padding-bottom: 4.75rem; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

/* Utilities */
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  }
  .reveal.is-in { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-call-bar, .nav-toggle { display: none !important; }
  body { padding: 0; background: white; color: black; }
}

.btn-primary img[src*="icon-phone"],
.btn-ghost img[src*="icon-phone"] {
  filter: brightness(0) invert(1);
}

.card-featured .check-list li { color: rgba(232, 244, 242, 0.88); }
.card-featured .check-list li::before {
  border-color: rgba(46, 196, 182, 0.45);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6' stroke='%232ec4b6' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.7rem no-repeat;
}

.hp-field{position:absolute;left:-9999px;height:0;width:0;opacity:0;pointer-events:none;}
