/* =========================================================
   William Tuttle Agency — Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..700,30..100;1,9..144,300..700,30..100&family=Geist:wght@300..700&display=swap');

:root {
  --bg: #F6F1E7;
  --bg-alt: #EFE9DB;
  --ink: #0B1F3F;
  --ink-soft: #1B2F50;
  --accent: #B7273C;
  --accent-soft: #8E1E2F;
  --gold: #B89859;
  --gold-soft: #9A7D3F;
  --muted: #6B6557;
  --line: #D8D0BF;
  --line-soft: #E8E2D1;
  --paper: #FBF8F1;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --container-narrow: 760px;
  --container-wide: 1400px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 1px 2px rgba(11, 31, 63, 0.04), 0 1px 3px rgba(11, 31, 63, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 31, 63, 0.08), 0 2px 4px rgba(11, 31, 63, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(11, 31, 63, 0.15), 0 8px 16px -8px rgba(11, 31, 63, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); font-weight: 350; }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 350; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.15; }
h4 { font-size: 1.25rem; line-height: 1.25; }
h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 350;
  max-width: 36em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.small { font-size: 14px; color: var(--muted); }
.accent { color: var(--accent); }
.gold { color: var(--gold); }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: var(--container-narrow); }
.wrap-wide { max-width: var(--container-wide); }

section { padding: 6rem 0; }
section.tight { padding: 4rem 0; }
section.loose { padding: 9rem 0; }
@media (max-width: 720px) {
  .wrap { padding: 0 1.25rem; }
  section { padding: 4rem 0; }
  section.loose { padding: 5rem 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--bg); }
.btn-accent:hover { background: var(--accent-soft); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { color: var(--ink); padding-left: 0; padding-right: 0; }
.btn-ghost::after { content: '→'; transition: transform 0.25s var(--ease); }
.btn-ghost:hover { color: var(--accent); }
.btn-ghost:hover::after { transform: translateX(4px); }

.site-header {
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--ink); }
.brand-mark-img { height: 42px; width: auto; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--gold);
  margin-top: 5px;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink);
  letter-spacing: 0.02em; position: relative; padding: 0.25rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-phone { font-family: var(--font-display); font-size: 16px; color: var(--ink); font-weight: 450; }
.nav-phone:hover { color: var(--accent); }
.menu-toggle { display: none; width: 32px; height: 32px; position: relative; }
.menu-toggle span {
  position: absolute; left: 6px; right: 6px; height: 1.5px;
  background: var(--ink); transition: all 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 11px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { top: 15px; transform: rotate(-45deg); }
@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .menu-toggle { display: block; }
  .nav-cta .btn { padding: 0.75rem 1.25rem; }
  .brand-mark-img { height: 38px; }
  .brand-text { font-size: 17px; }
  .brand-text small { font-size: 8px; letter-spacing: 0.28em; }
}
.mobile-menu {
  position: fixed; inset: 70px 0 0 0;
  background: var(--bg); z-index: 99; padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease); overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 350;
  padding: 0.5rem 0; display: block; border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:hover { color: var(--accent); }

/* ============= Hero — full-bleed editorial dark panel ============= */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-dark {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184, 152, 89, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0B1F3F 0%, #081834 100%);
  color: var(--bg);
}
.hero-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(246, 241, 231, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 231, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Cinematic cream curtain reveal */
.hero-curtain {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.hero-curtain .curtain-half {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  background: var(--paper);
  will-change: transform;
}
.hero-curtain .curtain-top { top: 0; }
.hero-curtain .curtain-bottom { bottom: 0; }
.hero-curtain .curtain-line {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(184, 152, 89, 0.55);
  will-change: width;
}

.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  font-weight: 350;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin-bottom: 0;
  color: var(--bg);
}
.hero h1 .hero-italic {
  font-style: italic;
  color: var(--gold);
  font-weight: 350;
}
.hero-eyebrow {
  color: var(--gold);
  letter-spacing: 0.32em;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: inline-block;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(184, 152, 89, 0.35);
}
.hero-lede {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: rgba(246, 241, 231, 0.82);
  font-weight: 350;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.btn-ghost-light {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(246, 241, 231, 0.35);
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s var(--ease);
  border-radius: 1px;
}
.btn-ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 152, 89, 0.08);
}
.hero-footer-stamp {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(184, 152, 89, 0.55);
  display: flex; gap: 1rem; align-items: center;
  white-space: nowrap;
  z-index: 1;
}
.hero-footer-stamp .dot { color: rgba(184, 152, 89, 0.35); }
@media (max-width: 760px) {
  .hero { padding: 5rem 0 5.5rem; }
  .hero-footer-stamp { font-size: 8px; letter-spacing: 0.25em; bottom: 1.5rem; gap: 0.5rem; padding: 0 1rem; }
  .hero-watermark { width: 90%; right: -25%; opacity: 0.05; }
}

/* ============= Portrait / Inside the Agency ============= */
.portrait-section {
  padding: 6rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.portrait-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 960px) {
  .portrait-section { padding: 4rem 0; }
  .portrait-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.portrait-frame {
  position: relative;
}
.portrait-frame::before {
  content: '';
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  right: -1.25rem; bottom: -1.25rem;
  border: 1px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .portrait-frame::before { top: 0.75rem; left: 0.75rem; right: -0.75rem; bottom: -0.75rem; }
}
.portrait-image {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink);
}
.portrait-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: contrast(1.02) saturate(0.7) sepia(0.08) brightness(0.97);
  transition: filter 0.6s var(--ease), transform 1.2s var(--ease);
}
.portrait-frame:hover .portrait-image img {
  filter: contrast(1.04) saturate(0.85) sepia(0.04) brightness(1);
  transform: scale(1.02);
}
.portrait-tint {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(11, 31, 63, 0.12) 0%, transparent 40%, rgba(184, 152, 89, 0.08) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.portrait-frame figcaption {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.portrait-cap-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.portrait-cap-text {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.portrait-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
}
.portrait-title em {
  font-style: italic;
  color: var(--accent);
}
.portrait-copy .lede { margin-bottom: 1.25rem; }
.portrait-copy p { color: var(--muted); line-height: 1.7; }
.portrait-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ============= Hero Cinematic Curtain Reveal ============= */
html.reveal-mode .hero-eyebrow,
html.reveal-mode .hero-word,
html.reveal-mode .hero-italic,
html.reveal-mode .hero-lede,
html.reveal-mode .hero-actions,
html.reveal-mode .hero-footer-stamp { opacity: 0; }

html.reveal-mode .hero-italic { transform: translateX(24px); position: relative; }
html.reveal-mode .hero-italic::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.05em;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}

/* Curtain line draws → pause → curtain splits open */
html.reveal-active .curtain-line {
  animation: curtainLineDraw 900ms cubic-bezier(0.7, 0, 0.3, 1) 200ms forwards,
             curtainLineFade 500ms ease 1300ms forwards;
}
html.reveal-active .curtain-top {
  animation: curtainTopUp 1100ms cubic-bezier(0.76, 0, 0.24, 1) 1300ms forwards;
}
html.reveal-active .curtain-bottom {
  animation: curtainBottomDown 1100ms cubic-bezier(0.76, 0, 0.24, 1) 1300ms forwards;
}

/* Hero content cascades in as curtain opens */
html.reveal-active .hero-eyebrow { animation: revealUp 700ms var(--ease) 1700ms forwards; }
html.reveal-active .hero-word { animation: revealUp 700ms var(--ease) forwards; }
html.reveal-active .hero-word:nth-child(1) { animation-delay: 1850ms; }
html.reveal-active .hero-word:nth-child(2) { animation-delay: 1970ms; }
html.reveal-active .hero-word:nth-child(3) { animation-delay: 2090ms; }
html.reveal-active .hero-italic {
  animation: revealItalic 800ms var(--ease) 2320ms forwards;
}
html.reveal-active .hero-italic::after {
  animation: revealUnderline 600ms var(--ease) 2800ms forwards;
}
html.reveal-active .hero-lede { animation: revealUp 700ms var(--ease) 2600ms forwards; }
html.reveal-active .hero-actions { animation: revealUp 700ms var(--ease) 2750ms forwards; }
html.reveal-active .hero-footer-stamp { animation: revealUp 800ms var(--ease) 3000ms forwards; }

@keyframes curtainLineDraw {
  from { width: 0; }
  to { width: min(70%, 720px); }
}
@keyframes curtainLineFade {
  to { opacity: 0; }
}
@keyframes curtainTopUp {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}
@keyframes curtainBottomDown {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}
@keyframes revealUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealItalic { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes revealUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-word, .hero-italic { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  html.reveal-mode .hero-eyebrow,
  html.reveal-mode .hero-word,
  html.reveal-mode .hero-italic,
  html.reveal-mode .hero-lede,
  html.reveal-mode .hero-actions,
  html.reveal-mode .hero-footer-stamp { opacity: 1; transform: none; }
  html.reveal-mode .hero-italic::after { transform: scaleX(1); }
  html.reveal-mode .hero-curtain { display: none; }
}

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0; background: var(--paper);
}
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 760px) { .trust-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 350; color: var(--ink); line-height: 1;
  margin-bottom: 0.25rem; display: block;
}
.trust-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.section-head {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem;
  align-items: end; margin-bottom: 4rem;
}
.section-head .meta { padding-top: 0.5rem; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
}

.coverage-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 900px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .coverage-grid { grid-template-columns: 1fr; } }
.coverage-card {
  background: var(--bg); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; min-height: 280px;
  transition: background 0.3s var(--ease); position: relative;
}
.coverage-card:hover { background: var(--paper); }
.coverage-card .num {
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.22em; color: var(--gold); margin-bottom: 1rem;
}
.coverage-card h3 { margin-bottom: 0.75rem; font-size: 1.625rem; }
.coverage-card .desc {
  color: var(--ink-soft); font-size: 15px;
  margin-bottom: 1.5rem; flex-grow: 1;
}
.coverage-card .link {
  font-size: 13px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.02em;
}
.coverage-card .link::after {
  content: ' →'; transition: margin-left 0.25s var(--ease); display: inline-block;
}
.coverage-card:hover .link::after { margin-left: 6px; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 800px) { .process { grid-template-columns: 1fr; gap: 2rem; } }
.process-step {
  padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line); position: relative;
}
.process-step:last-child { border-right: none; }
@media (max-width: 800px) {
  .process-step { border-right: none; border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
  .process-step:last-child { border-bottom: none; }
}
.process-step .num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  font-style: italic; color: var(--gold); line-height: 1;
  margin-bottom: 1.5rem; display: block;
}
.process-step h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.process-step p { color: var(--ink-soft); font-size: 15.5px; }

.team-group { margin-bottom: 4rem; }
.team-group:last-child { margin-bottom: 0; }
.team-group-head {
  margin-bottom: 2rem; display: flex; align-items: baseline;
  justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.team-group-head h3 {
  font-family: var(--font-display); font-size: 1.75rem;
  font-weight: 400; margin: 0;
}
.team-group-head .count {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem;
}
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; } }
@media (max-width: 460px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: 2px; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 1/1; background: var(--bg-alt);
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.team-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11, 31, 63, 0.04), rgba(184, 152, 89, 0.07));
}
.team-monogram {
  font-family: var(--font-display); font-size: 4rem;
  font-style: italic; font-weight: 300;
  color: var(--ink-soft); opacity: 0.55; position: relative;
}
.team-body { padding: 1.25rem 1.5rem 1.5rem; }
.team-name {
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 450; margin: 0 0 0.125rem; letter-spacing: -0.01em;
}
.team-role {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem; font-weight: 500;
}
.team-bio { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.carriers { background: var(--ink); color: var(--bg); padding: 5rem 0; }
.carriers .eyebrow { color: rgba(246, 241, 231, 0.6); }
.carriers .eyebrow::before { background: var(--gold); }
.carriers h2 { color: var(--bg); }
.carriers .lede { color: rgba(246, 241, 231, 0.8); }
.carrier-list { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.carrier-pill {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(184, 152, 89, 0.4);
  font-size: 13px; font-weight: 450;
  border-radius: 100px; transition: all 0.25s var(--ease);
  color: rgba(246, 241, 231, 0.92);
}
.carrier-pill:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.testimonials { background: var(--paper); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--bg); padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--line-soft); border-radius: 2px; position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 0.5rem; left: 1.5rem;
  font-family: var(--font-display); font-size: 5rem;
  font-style: italic; color: var(--gold);
  opacity: 0.35; line-height: 1;
}
.testimonial-quote {
  font-family: var(--font-display); font-size: 1.125rem;
  font-weight: 400; line-height: 1.45; color: var(--ink);
  margin-bottom: 1.5rem; position: relative;
}
.testimonial-attrib { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.testimonial-attrib strong { color: var(--ink); font-weight: 500; }

.cta-banner {
  background: var(--ink); color: var(--bg);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(184, 152, 89, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(183, 39, 60, 0.12), transparent 50%);
}
.cta-banner .wrap { position: relative; }
.cta-banner h2 { color: var(--bg); margin-bottom: 1rem; }
.cta-banner h2 em { color: var(--gold); }
.cta-banner .lede { color: rgba(246, 241, 231, 0.82); margin: 0 auto 2.5rem; }
.cta-banner .btn-outline { color: var(--bg); border-color: rgba(246, 241, 231, 0.4); }
.cta-banner .btn-outline:hover { background: var(--bg); color: var(--ink); }
.cta-banner .eyebrow { color: rgba(246, 241, 231, 0.6); justify-content: center; display: flex; }
.cta-banner .eyebrow::before { background: var(--gold); }

.site-footer {
  background: var(--ink); color: rgba(246, 241, 231, 0.8);
  padding: 4rem 0 2rem; font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: var(--bg); }
.footer-brand .brand-mark-img { height: 52px; }
.footer-brand .brand-text { color: var(--bg); }
.footer-brand .brand-text small { color: var(--gold); }
.footer-tagline {
  margin-top: 1.5rem; font-family: var(--font-display);
  font-size: 1.125rem; font-style: italic; font-weight: 350;
  color: rgba(246, 241, 231, 0.85); max-width: 280px; line-height: 1.4;
}
.footer-col h4 {
  font-family: var(--font-body); font-size: 11px;
  font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(246, 241, 231, 0.7); font-size: 14px; }
.footer-col a:hover { color: var(--bg); }
.footer-legal {
  border-top: 1px solid rgba(246, 241, 231, 0.1);
  padding-top: 1.5rem; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 1rem;
  font-size: 12px; color: rgba(246, 241, 231, 0.5);
}
.footer-legal a:hover { color: var(--bg); }

.page-head {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); margin-bottom: 1.25rem; }
.page-head .lede { font-size: 1.25rem; max-width: 38em; }

.story {
  font-size: 1.0625rem; line-height: 1.75;
  color: var(--ink-soft); max-width: 38em;
}
.story p { margin-bottom: 1.5em; }
.story p:first-of-type::first-letter {
  font-family: var(--font-display); font-style: italic;
  font-size: 4.5em; font-weight: 350; float: left;
  line-height: 0.9; margin: 0.05em 0.12em 0 -0.05em;
  color: var(--gold);
}
.story .sig {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.5rem; color: var(--ink);
  margin-top: 2rem; display: block;
}
.story .sig-meta {
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--muted); text-transform: uppercase; margin-top: 0.25rem;
}
.story-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 2rem; } }
.story-portrait {
  aspect-ratio: 4/5; background: var(--ink);
  color: var(--bg); position: sticky; top: 100px;
  display: grid; place-items: center;
  border-radius: 2px; overflow: hidden;
}
@media (max-width: 900px) { .story-portrait { position: static; max-width: 360px; } }
.story-portrait::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(184, 152, 89, 0.18), transparent 60%);
}
.story-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
}
.story-portrait .monogram {
  font-family: var(--font-display); font-style: italic;
  font-size: 8rem; font-weight: 300; position: relative; opacity: 0.95;
}

.coverage-line { padding: 4rem 0; border-bottom: 1px solid var(--line); }
.coverage-line:last-child { border-bottom: none; }
.coverage-line-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start;
}
@media (max-width: 800px) { .coverage-line-grid { grid-template-columns: 1fr; gap: 2rem; } }
.coverage-line h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.coverage-line .meta {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.feature-list {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; gap: 0.75rem;
}
.feature-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 0.75rem;
  font-size: 15px; color: var(--ink-soft);
  padding: 0.75rem 0; border-top: 1px solid var(--line-soft);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.feature-list li::before {
  content: '+'; font-family: var(--font-display);
  color: var(--gold); font-weight: 400;
}

.state-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 900px) { .state-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .state-grid { grid-template-columns: 1fr; } }
.state-card {
  background: var(--bg); padding: 2.5rem 2rem;
  position: relative; transition: background 0.25s var(--ease);
}
.state-card:hover { background: var(--paper); }
.state-card .state-code {
  font-family: var(--font-display); font-size: 5rem; font-weight: 350;
  line-height: 1; color: var(--gold); letter-spacing: -0.02em;
  margin-bottom: 0.5rem; display: block;
}
.state-card .state-name {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 400; margin-bottom: 1rem;
}
.state-card .desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.state-card .badge {
  display: inline-block; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bg); background: var(--ink);
  padding: 0.25rem 0.6rem; border-radius: 2px; margin-bottom: 1rem;
}

.area-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border-top: 1px solid var(--line);
}
@media (max-width: 720px) { .area-grid { grid-template-columns: 1fr; } }
.area-card {
  padding: 2rem; border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line); background: var(--bg);
  transition: background 0.25s var(--ease); display: block;
}
.area-card:hover { background: var(--paper); }
.area-card:nth-child(2n) { border-right: none; }
@media (max-width: 720px) { .area-card { border-right: none; } }
.area-card .city {
  font-family: var(--font-display); font-size: 1.75rem;
  font-weight: 400; margin-bottom: 0.25rem; letter-spacing: -0.015em;
}
.area-card .county {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.area-card .desc { font-size: 14.5px; color: var(--ink-soft); }

.quote-shell { min-height: 100vh; background: var(--bg); }
.quote-head { padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); }
.quote-progress { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; }
.quote-progress-bar {
  flex-grow: 1; height: 2px; background: var(--line);
  position: relative; overflow: hidden;
}
.quote-progress-fill {
  position: absolute; inset: 0; background: var(--accent);
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.6s var(--ease);
}
.quote-step-label {
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.quote-body { padding: 4rem 0 6rem; }
.quote-step { display: none; max-width: 720px; }
.quote-step.active { display: block; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.quote-step h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.5rem; }
.quote-step .step-sub { color: var(--ink-soft); margin-bottom: 2.5rem; font-size: 1.0625rem; }

.choice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem; margin-bottom: 2.5rem;
}
@media (max-width: 720px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  position: relative; padding: 1.5rem 1.25rem;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 3px; cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: left; font-family: var(--font-body);
}
.choice:hover { border-color: var(--ink-soft); transform: translateY(-1px); }
.choice.selected { border-color: var(--accent); background: rgba(183, 39, 60, 0.04); }
.choice.selected::after {
  content: '✓'; position: absolute; top: 0.75rem; right: 0.75rem;
  width: 22px; height: 22px; background: var(--accent); color: var(--bg);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 600;
}
.choice .choice-title {
  font-family: var(--font-display); font-size: 1.125rem;
  font-weight: 450; margin-bottom: 0.25rem; display: block;
}
.choice .choice-desc { font-size: 12.5px; color: var(--muted); }

.field-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem; margin-bottom: 2rem;
}
.field-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: block; }
.field label {
  display: block; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.5rem; font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 0.875rem 0;
  background: transparent; border: none; border-bottom: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  transition: border-color 0.25s var(--ease);
  outline: none; appearance: none; border-radius: 0;
}
.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='none' stroke='%230B1F3F' stroke-width='1.5' d='M1 1l5 5 5-5'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 0 center; padding-right: 24px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field textarea {
  min-height: 96px; resize: vertical;
  border: 1.5px solid var(--line); padding: 1rem; border-radius: 3px;
}
.field textarea:focus { border-color: var(--gold); }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 0.25rem; }
.field-error input, .field-error select { border-bottom-color: var(--accent); }
.field-error .field-msg { color: var(--accent); font-size: 12px; margin-top: 0.25rem; }

.quote-nav {
  margin-top: 2.5rem; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.quote-nav .btn-back { font-size: 14px; color: var(--muted); }
.quote-nav .btn-back:hover { color: var(--ink); }
.quote-nav .btn-back::before { content: '← '; }

.quote-success { text-align: center; padding: 4rem 0; }
.quote-success-mark {
  width: 64px; height: 64px; margin: 0 auto 2rem;
  border: 2px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center;
  font-size: 28px; color: var(--gold);
}
.quote-success h2 { margin-bottom: 1rem; }
.quote-success .lede { margin: 0 auto 2rem; }

.reveal { opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.tag {
  display: inline-block; padding: 0.3rem 0.7rem;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--bg-alt); color: var(--ink);
  border-radius: 2px; margin-right: 0.25rem; font-weight: 500;
}
.callout {
  background: var(--paper); border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem; margin: 2rem 0;
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.6;
}
.callout strong { color: var(--ink); }
