/* ====================================================================
   ASTA — Augmented Advisory
   Design system stylesheet
   European pastel palette, classical serif display, modern grotesque body.
   ==================================================================== */

:root {
  /* Surfaces */
  --surface-paper:   #FAF7F2;
  --surface-cream:   #F2EBE0;
  --surface-stone:   #E9E2D5;
  --surface-shadow:  rgba(60, 40, 50, 0.06);

  /* Pastels */
  --pastel-blush:    #E8D2CF;
  --pastel-sage:     #C5D2BE;
  --pastel-stone:    #D6CCBE;
  --pastel-mist:     #D5DCE0;
  --pastel-butter:   #F1E4C0;

  /* Brand */
  --ink-aubergine:   #3D2B3D;
  --ink-deep:        #271C28;
  --ink-slate:       #2C2A33;
  --ink-mid:         #5A5460;
  --ink-soft:        #6F6873;             /* Darkened for WCAG AA — was #8A828F (3.47:1, failed). Now 5.03:1 on paper. */
  --gold:            #B89968;             /* Decorative gold — rules, dividers, large display ornaments */
  --gold-text:       #7E6438;             /* Text-safe gold — passes WCAG 2.1 AA at 4.5:1 on paper and cream */
  --gold-line:       #C9B58A;             /* Thin decorative lines only; non-text per WCAG 1.4.11 exemption */

  /* Type */
  --font-display: 'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Sizes */
  --max:           1240px;
  --gutter:        clamp(1.25rem, 3vw, 2.5rem);
  --section-pad:   clamp(4rem, 9vw, 8rem);

  /* Curves */
  --ease:          cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-paper);
  color: var(--ink-slate);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-aubergine); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-text); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* -------------------- Typography -------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-aubergine);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold-line);
  margin-right: 0.75rem;
  vertical-align: middle;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.02em; color: var(--ink-deep); }

p { margin: 0 0 1rem; }
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--ink-mid); max-width: 60ch; }

.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* -------------------- Header -------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink-aubergine);
  letter-spacing: 0.04em;
  display: inline-flex; align-items: baseline; gap: 0.55rem;
}
.brand::after {
  content: ''; display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-3px);
}
.brand-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 0.5rem;
}
.nav-list {
  list-style: none; display: flex; gap: 2.1rem; padding: 0; margin: 0;
}
.nav-list a {
  font-size: 0.92rem; font-weight: 500;
  color: var(--ink-deep);
  letter-spacing: 0.02em;
  position: relative;
}
.nav-list a::after {
  content:''; position:absolute; left:0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { width: 100%; }
.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--ink-aubergine);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--ink-aubergine);
  transition: all .3s var(--ease);
  letter-spacing: 0.02em;
}
.nav-cta:hover {
  background: var(--ink-aubergine); color: var(--surface-paper);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--ink-deep); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-list, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open .nav-list,
  .site-header.menu-open .nav-cta { display: flex; }
  .site-header.menu-open .nav-row {
    flex-wrap: wrap; gap: 1.25rem; padding-bottom: 1.6rem;
  }
  .site-header.menu-open .nav-list {
    flex-direction: column; width: 100%; gap: 1.1rem;
    border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1.25rem;
  }
}

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

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink-aubergine);
  color: var(--surface-paper);
}
.btn-primary:hover {
  background: var(--ink-deep);
  color: var(--surface-paper);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid rgba(60, 40, 60, 0.25);
  color: var(--ink-aubergine);
}
.btn-ghost:hover {
  border-color: var(--ink-aubergine);
  background: var(--surface-cream);
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* -------------------- Sections -------------------- */

section { padding: var(--section-pad) 0; }
.section-cream { background: var(--surface-cream); }
.section-stone { background: var(--surface-stone); }
.section-paper { background: var(--surface-paper); }
.section-ink   { background: var(--ink-aubergine); color: var(--surface-paper); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--surface-paper); }
.section-ink .lead, .section-ink p { color: rgba(250, 247, 242, 0.88); }
.section-ink .eyebrow { color: var(--gold-line); }
.section-ink .eyebrow::before { background: rgba(184, 153, 104, 0.6); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
.section-head .lede { max-width: 50ch; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
}

/* -------------------- Hero -------------------- */

.hero {
  position: relative;
  padding: clamp(5rem, 11vw, 10rem) 0 clamp(4rem, 9vw, 8rem);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -10%; right: -8%;
  width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 40% 40%, var(--pastel-blush) 0%, transparent 65%);
  opacity: 0.55;
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -5%;
  width: 45vw; height: 45vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle at 60% 40%, var(--pastel-sage) 0%, transparent 70%);
  opacity: 0.45;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.hero h1 {
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}
.hero h1 .accent { font-style: italic; color: var(--gold-text); }
.hero .lead { font-size: 1.25rem; max-width: 56ch; margin-top: 1.5rem; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.25rem; flex-wrap: wrap; }
.hero-aside {
  background: var(--surface-cream);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 6px;
  padding: 2rem 2rem 1.75rem;
  position: relative;
}
.hero-aside .badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--ink-aubergine); color: var(--surface-paper);
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 3px;
}
.hero-aside h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.hero-aside ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.hero-aside li {
  display: flex; align-items: baseline; gap: 0.7rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
}
.hero-aside li:first-child { border-top: 0; }
.hero-aside li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex: 0 0 4px; transform: translateY(-2px); }

/* -------------------- Stats / numbers -------------------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.stat .num {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--ink-aubergine);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .num small { font-size: 0.4em; vertical-align: top; margin-left: 0.15rem; color: var(--gold-text); }
.stat .label { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mid); margin-top: 0.6rem; }
@media (max-width: 800px) { .stat-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }

/* -------------------- Capability cards -------------------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1000px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .cap-grid { grid-template-columns: 1fr; } }

.cap-card {
  background: var(--surface-paper);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  padding: 2.25rem 2rem 2rem;
  transition: all .35s var(--ease);
  position: relative;
  display: flex; flex-direction: column;
}
.cap-card::before {
  content: ''; position: absolute; top: 0; left: 2rem; right: 2rem; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cap-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.cap-card:hover::before { opacity: 1; }
.cap-card .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-text);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.cap-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.cap-card p { color: var(--ink-mid); font-size: 0.96rem; margin-bottom: 1.25rem; flex: 1; }
.cap-card .arrow-link {
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* -------------------- Two-column features -------------------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
@media (max-width: 900px) { .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 2rem; direction: ltr; } }
.feature-art {
  aspect-ratio: 4 / 3;
  background: var(--surface-cream);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.feature-art img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------- Testimonial wall -------------------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1000px) { .quote-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-card {
  background: var(--surface-paper);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  padding: 2rem 1.85rem 1.75rem;
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4.5rem;
  color: var(--gold-text);
  position: absolute;
  top: 0.4rem; left: 1.5rem;
  line-height: 1;
  opacity: 0.65;
}
.quote-text { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1.45; color: var(--ink-deep); margin-top: 1.5rem; }
.quote-meta { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.07); font-size: 0.83rem; color: var(--ink-mid); letter-spacing: 0.04em; }
.quote-meta strong { color: var(--ink-deep); font-weight: 600; display: block; }
.stars { color: var(--gold-text); font-size: 0.85rem; letter-spacing: 0.15em; margin-top: 0.3rem; }

/* -------------------- Process / timeline -------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 22px; left: 5%; right: 5%;
  height: 1px; background: var(--gold-line);
  opacity: 0.5;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } .process-grid::before { display: none; } }
.process-step { text-align: left; position: relative; }
.process-step .dot {
  width: 44px; height: 44px;
  background: var(--surface-paper); border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; color: var(--ink-aubergine);
  font-size: 1.1rem; font-weight: 500;
  margin-bottom: 1.1rem; position: relative; z-index: 2;
}
.process-step h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-aubergine); margin-bottom: 0.4rem; font-weight: 500; }
.process-step p { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.5; }

/* -------------------- Industries chips -------------------- */

.chip-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--ink-deep);
  background: var(--surface-paper);
  letter-spacing: 0.02em;
}

/* -------------------- Lists -------------------- */

.fancy-list { list-style: none; padding: 0; margin: 0; }
.fancy-list li {
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
}
.fancy-list li:last-child { border-bottom: 0; }
.fancy-list li .label { font-family: var(--font-sans); font-weight: 500; color: var(--ink-deep); }
.fancy-list li .value { color: var(--ink-mid); font-size: 0.95rem; }

/* -------------------- Contact form -------------------- */

.form {
  display: grid; gap: 1.5rem;
}
.form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 700px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.95rem 1rem;
  background: var(--surface-paper);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 3px;
  color: var(--ink-deep);
  transition: border-color .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink-aubergine);
}
.field textarea { resize: vertical; min-height: 140px; }

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

.site-footer {
  background: var(--ink-deep);
  color: rgba(250, 247, 242, 0.78);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.site-footer a { color: rgba(250, 247, 242, 0.78); }
.site-footer a:hover { color: var(--gold-line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer-brand { font-family: var(--font-display); font-size: 1.85rem; color: var(--surface-paper); margin-bottom: 0.5rem; }
.footer-tag { font-style: italic; color: var(--gold-line); margin-bottom: 1.5rem; font-family: var(--font-display); }
.footer-col h5 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-line); margin: 0 0 1.1rem; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 242, 0.12);
  font-size: 0.82rem;
  color: rgba(250, 247, 242, 0.6);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

/* -------------------- Page hero -------------------- */
.page-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--surface-cream);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, var(--pastel-blush) 0%, transparent 65%);
  opacity: 0.45;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); font-weight: 400; margin-bottom: 1rem; }

/* -------------------- Article cards -------------------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }
.article-card {
  background: var(--surface-paper);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .35s var(--ease);
}
.article-card:hover { transform: translateY(-3px); border-color: var(--gold-line); }
.article-card .art { aspect-ratio: 16 / 10; background: var(--surface-cream); position: relative; overflow: hidden; }
.article-card .art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--pastel-blush) 0%, var(--pastel-sage) 100%);
  opacity: 0.55;
}
.article-card .art.alt2::after { background: linear-gradient(135deg, var(--pastel-stone), var(--pastel-mist)); }
.article-card .art.alt3::after { background: linear-gradient(135deg, var(--pastel-butter), var(--pastel-blush)); }
.article-card .art.alt4::after { background: linear-gradient(135deg, var(--pastel-mist), var(--pastel-sage)); }
.article-card .art.alt5::after { background: linear-gradient(135deg, var(--pastel-blush), var(--pastel-butter)); }
.article-card .art.alt6::after { background: linear-gradient(135deg, var(--pastel-sage), var(--pastel-stone)); }
.article-card .body { padding: 1.75rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-card .meta { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.75rem; }
.article-card h3 { font-size: 1.4rem; margin-bottom: 0.7rem; line-height: 1.2; }
.article-card p { color: var(--ink-mid); font-size: 0.95rem; flex: 1; }
.article-card .arrow-link { margin-top: 1rem; font-size: 0.85rem; font-weight: 500; }

/* -------------------- Bio block -------------------- */
.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .bio-grid { grid-template-columns: 1fr; gap: 2rem; } }
.bio-portrait {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--pastel-blush), var(--pastel-stone));
  border-radius: 4px;
  position: relative; overflow: hidden;
  display: flex; align-items: end; padding: 2rem;
}
.bio-portrait .name {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink-aubergine);
  font-weight: 500;
}

/* -------------------- Misc -------------------- */
.divider { border: 0; height: 1px; background: linear-gradient(to right, transparent, var(--gold-line), transparent); margin: 4rem 0; }
.label-line { display: flex; align-items: center; gap: 0.75rem; color: var(--ink-mid); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.label-line::before { content: ''; width: 18px; height: 1px; background: var(--gold-line); }
.cta-band {
  background: var(--ink-aubergine);
  color: var(--surface-paper);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--surface-paper); font-size: clamp(1.85rem, 4vw, 3rem); margin-bottom: 1rem; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(250, 247, 242, 0.82); max-width: 50ch; margin: 0 auto 2rem; }
.cta-band .btn-ghost { border-color: rgba(250, 247, 242, 0.5); color: var(--surface-paper); }
.cta-band .btn-ghost:hover { background: rgba(250, 247, 242, 0.08); border-color: var(--gold-line); }
.cta-band .btn-primary { background: var(--surface-paper); color: var(--ink-aubergine); }
.cta-band .btn-primary:hover { background: var(--surface-cream); }

/* -------------------- Two-up summary -------------------- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .two-up { grid-template-columns: 1fr; gap: 2rem; } }

/* -------------------- Misc inline -------------------- */
.fine-print { font-size: 0.8rem; color: var(--ink-soft); }
.kicker { font-family: var(--font-display); font-style: italic; color: var(--gold-text); font-size: 1.05rem; }



/* Header brand mark — Couture wordmark SVG */
.brand-logo { display: inline-flex; align-items: center; padding: 0.25rem 0; }
.brand-logo img { height: 64px; width: auto; display: block; }
.brand-logo::after { content: none; }
@media (max-width: 700px) { .brand-logo img { height: 52px; } }

/* ====================================================================
   Cross-device polish
   - Skip-to-content link for keyboard / screen-reader users
   - Print styles
   - Reduced-motion support
   - Improved focus-visible styles
   - Touch-target sizing on mobile
   - High-DPI image support
   ==================================================================== */

/* Skip link, hidden until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-aubergine);
  color: var(--surface-paper);
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Improved focus-visible. Keyboard users see clear focus indication;
   mouse users do not see a focus ring on click. */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.nav-list a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

/* Touch targets — ensure all interactive elements are at least 44x44 on touch */
@media (hover: none) and (pointer: coarse) {
  .btn, .nav-cta, .nav-list a, .arrow-link, .article-card, .quote-card, .cap-card {
    min-height: 44px;
  }
  .nav-list a {
    padding: 0.6rem 0;
  }
  .field input, .field select, .field textarea {
    min-height: 48px;
    font-size: 16px; /* prevents iOS auto-zoom on focus */
  }
}

/* Prevent iOS form-field zoom on focus across all sizes */
.field input, .field select, .field textarea {
  font-size: 16px;
}

/* Reduced motion — respect user preference */
@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;
  }
  html { scroll-behavior: auto; }
}

/* Better text rendering on high-DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body { -webkit-font-smoothing: antialiased; }
  .word { font-feature-settings: "kern" 1, "liga" 1; }
}

/* Improve readability on very wide screens — cap content max-width on hero text */
@media (min-width: 1600px) {
  body { font-size: 18px; }
}

/* Mobile refinements */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero-aside { padding: 1.5rem 1.25rem 1.25rem; }
  .hero-aside h3 { font-size: 1.2rem; }
  .stat .num { font-size: clamp(2.2rem, 10vw, 3rem); }
  .section-head { margin-bottom: 1.75rem; }
  h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-grid { gap: 2rem; }
  .feature-row { padding: 1.5rem 0; }
  .quote-text { font-size: 1rem; }
  .article-card .art { aspect-ratio: 16 / 9; }
}

/* iPad refinements */
@media (min-width: 768px) and (max-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Small phone refinements (e.g. iPhone SE width 375) */
@media (max-width: 380px) {
  .nav-cta { padding: 0.45rem 0.85rem; font-size: 0.78rem; }
  .brand-logo img { height: 40px; }
}

/* Notched devices — respect safe-area insets */
@supports (padding: env(safe-area-inset-left)) {
  .container {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .site-footer .footer-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Selection color — branded */
::selection { background: var(--pastel-blush); color: var(--ink-aubergine); }
::-moz-selection { background: var(--pastel-blush); color: var(--ink-aubergine); }

/* Smooth image loading */
img { 
  background-color: var(--surface-cream);
}
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-init]) {
  opacity: 1;
}
.brand-logo img { background-color: transparent; }

/* Respect Windows high-contrast mode */
@media (forced-colors: active) {
  .btn-primary, .nav-cta { border: 1px solid currentColor; }
  .gold-stroke, .ink-stroke { forced-color-adjust: none; }
}

/* ====================================================================
   Print stylesheet — produces a clean, branded PDF when a visitor
   exports any page. Monochrome by default for printer compatibility,
   but preserves the brand typography (Cormorant headings, Inter body)
   and the regulatory footer disclosure on every printed page.
   ==================================================================== */
@media print {
  /* Page setup — Letter with reasonable margins; counter-based footer */
  @page {
    size: Letter;
    margin: 0.7in 0.75in 0.85in 0.75in;
    @bottom-left {
      content: "asta1.us";
      font-family: Inter, sans-serif;
      font-size: 8pt;
      color: #555;
      letter-spacing: 0.12em;
    }
    @bottom-right {
      content: "Page " counter(page) " of " counter(pages);
      font-family: Inter, sans-serif;
      font-size: 8pt;
      color: #555;
    }
  }

  /* Document base */
  html, body {
    background: white !important;
    color: black !important;
    font-size: 10.5pt !important;
    line-height: 1.5 !important;
  }
  body { font-family: 'Cormorant Garamond', Georgia, serif !important; }

  /* Hide chrome that has no place in print */
  .site-header,
  .site-footer .footer-grid,
  .site-footer .footer-bottom,
  .nav-toggle,
  .nav-cta,
  .cta-band,
  .cookie-consent,
  .skip-link,
  .form-actions,
  button,
  .btn,
  form,
  .nav-list,
  .pagefind-search-wrapper,
  .search-fallback,
  #search,
  #search-fallback,
  noscript {
    display: none !important;
  }

  /* But the regulatory footer-disclosure must print on every page,
     because it contains the canonical broker-dealer / IA non-registration
     statement and the firm's posture. Keep it visible and readable. */
  .site-footer { display: block !important; background: white !important; padding: 0 !important; }
  .site-footer .container { padding: 0 !important; max-width: none !important; }
  .footer-disclosure {
    display: block !important;
    border-top: 0.5pt solid #999 !important;
    margin-top: 1.5em !important;
    padding-top: 0.8em !important;
    page-break-inside: avoid;
  }
  .footer-disclosure p {
    font-family: Inter, sans-serif !important;
    font-size: 7pt !important;
    line-height: 1.55 !important;
    color: #555 !important;
    max-width: none !important;
  }
  .footer-disclosure strong { color: black !important; }

  /* Sections — no fancy backgrounds, restrained padding */
  section {
    padding: 0.6em 0 !important;
    background: white !important;
    page-break-inside: auto;
  }
  .section-cream, .section-paper, .section-stone, .section-ink {
    background: white !important;
    color: black !important;
  }
  .section-ink h1, .section-ink h2, .section-ink h3 { color: black !important; }
  .section-ink p, .section-ink .lead { color: #222 !important; }
  .hero::before, .hero::after, .page-hero::after { display: none !important; }

  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  h1 { font-size: 22pt !important; line-height: 1.15 !important; margin-top: 0 !important; }
  h2 { font-size: 16pt !important; line-height: 1.2 !important; margin-top: 0.8em !important; }
  h3 { font-size: 12pt !important; line-height: 1.25 !important; }
  h4 { font-size: 10.5pt !important; font-family: Inter, sans-serif !important; }
  .eyebrow {
    font-family: Inter, sans-serif !important;
    font-size: 7pt !important;
    color: #555 !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 0.4em !important;
  }
  .eyebrow::before { display: none !important; }
  p, li { orphans: 3; widows: 3; }
  .lead { font-size: 11pt !important; color: #222 !important; max-width: none !important; }
  em.serif-italic, .serif-italic { font-style: italic; color: black !important; }

  /* Links — show URL after each link, but not for in-page anchors,
     mailtos that already say the address, or javascript handlers. */
  a {
    color: black !important;
    text-decoration: underline !important;
    text-decoration-thickness: 0.4pt;
    word-wrap: break-word;
  }
  a[href]:after {
    content: " <" attr(href) ">";
    font-size: 7.5pt;
    font-family: Inter, sans-serif;
    color: #666;
    word-wrap: break-word;
  }
  a[href^="#"]:after,
  a[href^="javascript"]:after,
  a[href^="mailto:info@asta1.us"]:after,
  .footer-disclosure a:after,
  .skip-link:after { content: "" !important; }

  /* Lists, cards, grids — collapse to print-friendly stacks */
  .cap-grid, .quote-grid, .article-grid, .stat-grid, .chip-cloud, .two-up, .footer-grid, .hero-grid, .section-head {
    display: block !important;
    grid-template-columns: none !important;
  }
  .cap-card, .quote-card, .article-card {
    border: 0.5pt solid #999 !important;
    background: white !important;
    padding: 0.5em 0.7em !important;
    margin-bottom: 0.5em !important;
    page-break-inside: avoid;
    box-shadow: none !important;
    transform: none !important;
  }
  .stat {
    border: 0.5pt solid #ccc !important;
    padding: 0.4em 0.6em !important;
    margin-bottom: 0.3em !important;
    page-break-inside: avoid;
  }
  .chip { border: 0.5pt solid #999 !important; padding: 0.15em 0.45em !important; margin: 0.15em !important; font-size: 9pt !important; display: inline-block !important; }

  /* Articles & long-form content */
  article.prose {
    max-width: none !important;
    font-size: 10.5pt !important;
  }
  article.prose h2 { margin-top: 1em !important; }
  article.prose h3 { margin-top: 0.8em !important; }

  /* FAQ details/summary print as expanded so the answer is visible */
  details.faq-item, details {
    page-break-inside: avoid;
    margin-bottom: 0.5em;
  }
  details.faq-item[open] > *,
  details:not([open]) > * {
    display: block !important;
  }
  summary {
    list-style: none !important;
    cursor: default !important;
  }
  summary::-webkit-details-marker { display: none !important; }
  summary::marker { content: "" !important; }
  summary h3 { display: inline !important; }

  /* Practice reservation block — print as a deferential block */
  .practice-reservation {
    border-left: 1pt solid #999 !important;
    background: white !important;
    padding: 0.5em 0.8em !important;
    margin: 1em 0 !important;
    page-break-inside: avoid;
  }
  .practice-reservation .practice-reservation-eyebrow {
    color: black !important;
    font-size: 8.5pt !important;
  }

  /* Images — brand logo prints small; abstract illustrations print at modest size */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  .brand-logo img { height: 0.5in !important; width: auto !important; }
  .feature-art img { max-height: 2.5in !important; }

  /* Subtle dividers */
  hr.divider {
    border: 0 !important;
    border-top: 0.5pt solid #999 !important;
    margin: 0.8em 0 !important;
    background: none !important;
  }

  /* Form-status messages, when present, print as plain text */
  .form-status { display: block !important; margin: 0.3em 0 !important; padding: 0 !important; background: none !important; color: black !important; }

  /* Page-break rules */
  .page-break-before { page-break-before: always; }
  .page-break-avoid  { page-break-inside: avoid; }

  /* Animations off in print */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* PWA: hide the chrome when launched from home screen */
@media all and (display-mode: standalone) {
  .site-header { padding-top: env(safe-area-inset-top); }
}

/* Footer regulatory disclosure block */
.footer-disclosure {
  padding: 1.5rem 0 1.25rem;
  border-top: 1px solid rgba(250, 247, 242, 0.10);
  margin-top: 1rem;
}
.footer-disclosure p {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.55);
  letter-spacing: 0.01em;
  max-width: 95ch;
  margin: 0;
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  background: var(--ink-deep);
  color: rgba(250, 247, 242, 0.92);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.30);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 880px;
  margin-inline: auto;
}
.cookie-consent.is-visible { opacity: 1; transform: translateY(0); }
.cookie-consent.is-dismissed { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cookie-consent-inner {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.cookie-consent-text { flex: 1 1 380px; }
.cookie-consent-text strong { color: var(--gold-line); font-weight: 600; }
.cookie-consent-text a { color: var(--gold-line); text-decoration: underline; }
.cookie-consent-text a:hover { color: var(--surface-paper); }
.cookie-consent-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-sans);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 242, 0.22);
  background: transparent;
  color: rgba(250, 247, 242, 0.88);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  min-height: 38px;
}
.cookie-btn:hover { background: rgba(250, 247, 242, 0.08); border-color: var(--gold-line); }
.cookie-btn.cookie-accept {
  background: var(--gold);
  color: var(--ink-deep);
  border-color: var(--gold);
}
.cookie-btn.cookie-accept:hover { background: var(--gold-line); border-color: var(--gold-line); }
@media (max-width: 600px) {
  .cookie-consent { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; padding: 0.85rem 1rem; }
  .cookie-consent-actions { width: 100%; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: opacity 0.01s; }
}

/* Form status — used by forms.js for inline success / error states */
.form-status {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.55;
  border: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}
.form-status.is-visible { opacity: 1; }
.form-status[data-kind="success"] {
  background: var(--surface-cream);
  border-color: var(--gold-line);
  color: var(--ink-aubergine);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  padding: 1.5rem 1.75rem;
}
.form-status[data-kind="success"]::before {
  content: '\2713';
  display: inline-block;
  margin-right: 0.6rem;
  color: var(--gold);
  font-style: norma
/* Visually hidden but available to screen readers (WCAG 1.3.1 hierarchy) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer column titles — promoted from h5 to h2 for WCAG 1.3.1 hierarchy.
   Visual styling preserved exactly. */
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-line);
  margin: 0 0 1.1rem;
  font-weight: 500;
}

/* Process-step titles — promoted from h4 to h3 for WCAG 1.3.1 hierarchy.
   Keeps the original sans-serif compact heading appearance. */
.process-step-title {
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-deep);
  margin: 0 0 0.5em;
  line-height: 1.25;
}

/* Per-page reservation-of-rights block on practice and AI pages.
   Renders as a small, deferential aside that does not compete visually
   with the practice content but is unmistakably part of the page. */
.practice-reservation {
  margin: 2.5rem 0 0;
  padding: 1.4rem 1.6rem;
  background: var(--surface-cream);
  border-left: 2px solid var(--gold);
  border-radius: 4px;
}
.practice-reservation .practice-reservation-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-aubergine);
  margin: 0 0 0.6rem;
  font-weight: 600;
}
.practice-reservation p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-slate);
  margin: 0;
  max-width: 80ch;
}

/* ====================================================================
   FAQ accordion — uses native <details>/<summary> for keyboard
   accessibility and progressive enhancement. Styled to match the
   Asta brand: subtle gold left border on hover, generous spacing,
   custom expand/collapse marker.
   ==================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-left: 2px solid var(--gold-line);
  padding: 1rem 1.25rem;
  background: var(--surface-paper);
  border-radius: 4px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.faq-item:hover { border-left-color: var(--gold); }
.faq-item[open] { border-left-color: var(--ink-aubergine); background: var(--surface-cream); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink-aubergine);
  margin: 0;
}
.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq-item p {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-slate);
  max-width: 80ch;
}
