/* New Ability Associates — redesign draft (unpublished)
   Palette from owner brief. WCAG AA contrast targets. */
:root {
  --navy: #17283D;
  --navy-deep: #0F1B2B;
  --ivory: #F6F3ED;
  --gold: #B69A67;
  --gold-soft: #C9B189;
  --sage: #E6E9E4;
  --white: #FFFFFF;
  --text: #1A2A3A;
  --muted: #4A5A6A;
  --border: rgba(23, 40, 61, 0.12);
  --shadow: 0 12px 40px rgba(23, 40, 61, 0.08);
  --radius: 20px;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --max: 1120px;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--gold);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--white); padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 0.95rem; letter-spacing: 0.04em; }
.brand-text span { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--white); cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-bottom: 1px solid var(--border); padding: 12px 20px 20px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-nav a {
  display: block; padding: 12px 14px; text-decoration: none; color: var(--navy);
  border-radius: 10px; font-size: 0.95rem; font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--sage); }
.nav-cta {
  background: var(--navy) !important; color: var(--white) !important;
  text-align: center; margin-top: 8px;
}
.nav-cta:hover { background: var(--navy-deep) !important; color: var(--gold-soft) !important; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; border: 0; padding: 0; background: transparent; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 2px; }
  .site-nav a { padding: 10px 12px; font-size: 0.88rem; }
  .nav-cta { margin-top: 0; margin-left: 8px; padding: 10px 18px !important; border-radius: 999px !important; }
  .brand img { height: 54px; }
}

/* Typography helpers */
.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 12px;
}
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; color: var(--navy); margin: 0 0 0.6em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--gold-soft); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, #243A56 100%);
  color: var(--white); padding: 72px 0 80px; position: relative; overflow: hidden;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .subhead {
  font-family: var(--font-serif); font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: rgba(246,243,237,0.92); margin: 0 0 16px; font-weight: 400;
}
.hero .lead { color: rgba(230,233,228,0.88); }
.hero-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: grid; gap: 40px; align-items: center;
}
.hero-visual {
  border-radius: 999px 999px 24px 24px;
  overflow: hidden; border: 1px solid rgba(182,154,103,0.55);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); aspect-ratio: 4/5; max-width: 420px; margin: 0 auto;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (min-width: 900px) {
  .hero { padding: 96px 0 110px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .hero-visual { margin: 0; justify-self: end; width: 100%; }
}

/* Cards */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px; height: 100%;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--sage); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin: 4px 0; }
.card p { margin: 0; color: var(--muted); flex: 1; }
.card .meta { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.card .link { margin-top: 12px; font-weight: 600; text-decoration: none; color: var(--navy); }
.card .link:hover { color: var(--gold); }
.card:hover { transform: translateY(-3px); transition: transform .2s; }

/* Why / values */
.values { background: var(--sage); }
.value-list { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 800px) { .value-list { grid-template-columns: 1fr 1fr 1fr; } }
.value-item {
  background: var(--white); border-radius: 16px; padding: 22px 20px;
  border: 1px solid var(--border);
}
.value-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.value-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Approach steps */
.steps { display: grid; gap: 18px; margin-top: 36px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--border); position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold);
  display: block; margin-bottom: 8px;
}

/* Band / CTA */
.band {
  background: var(--navy); color: var(--white); padding: 72px 0; text-align: center;
}
.band h2 { color: var(--white); }
.band p { color: rgba(246,243,237,0.85); max-width: 36rem; margin: 0 auto 28px; }
.band-ivory { background: var(--ivory); }
.split {
  display: grid; gap: 32px; align-items: center;
}
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.split img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 420px; object-fit: cover; box-shadow: var(--shadow); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: center; }
.chip {
  border: 1px solid rgba(182,154,103,0.6); color: var(--navy);
  border-radius: 999px; padding: 10px 18px; font-size: 0.9rem; background: var(--white);
}
.chip::before { content: "✦ "; color: var(--gold); }

/* Page hero (inner) */
.page-hero {
  background: var(--navy); color: var(--white); padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(230,233,228,0.9); }
.page-hero .eyebrow { color: var(--gold-soft); }

/* Prose */
.prose { max-width: 42rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.fine-print { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.callout {
  background: var(--sage); border-left: 4px solid var(--gold);
  padding: 16px 18px; border-radius: 0 12px 12px 0; margin: 24px 0;
}

/* Contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-card a { font-weight: 600; text-decoration: none; }
.form-frame {
  width: 100%; min-height: 720px; border: 0; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow);
}
.form-fallback { margin-top: 12px; }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-weight: 400; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: rgba(246,243,237,0.8); padding: 48px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 20px 28px;
  display: grid; gap: 28px;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer a { color: rgba(246,243,237,0.9); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand img { height: 52px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: var(--max); margin: 0 auto; padding: 18px 20px 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.8rem; color: rgba(246,243,237,0.65);
}
.badge-soon {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
}
.draft-banner {
  background: #5c3d1e; color: #fff8e8; text-align: center;
  padding: 8px 12px; font-size: 0.8rem; font-weight: 600;
}
