/* ============================================================
   Gerlach Legal — shared stylesheet (Black + White + Silver)
   Updated 2026-04-27: pivoted from Silver Counsel (cream/charcoal/blush)
   per Angela's partner 4/26 21:30-21:37 iMessage: "It's still cream and
   brown? And also dark blocks of color…don't want that" → Evans response
   "Going black and white with touches of silver for the lettering."
   v3 retains the previous palette as a fallback. Variable names
   (--charcoal, --cream, --gold, --espresso, --blush) are kept as
   aliases for backward-compat — existing class rules across the HTML
   still reference them but resolve to the new B&W+silver values.
   ============================================================ */

:root {
  /* Black + White + Silver — primary tokens (replaces Silver Counsel) */
  --charcoal: #000000;             /* was #2C2D33 — pivoted 2026-04-27 */
  --charcoal-soft: #141414;        /* was #353940 — pivoted 2026-04-27 */
  --cream: #FFFFFF;                /* was #F5F0E6 — pivoted 2026-04-27 */
  --bone: #F5F5F5;                 /* was #FAF5EB — light gray for inset cards */

  /* Cool silver — replaces warm cream-silver for buttons, dividers, badges. */
  --silver: #B8BCC2;               /* was #B8B4AC — pivoted to cool silver */
  --silver-grad: linear-gradient(135deg, #D4D8DC 0%, #9098A0 50%, #C0C4CA 100%);
  --silver-deep: #5A5E66;          /* was #9A968E — darker cool slate, AA-passing for text */

  /* Cool silver — italic display heading accent ("Legal", "come first.") */
  --silver-cool: #5A5E66;          /* was #8A8E96 — AA-passing on white for accent text */
  --silver-cool-grad: linear-gradient(135deg, #D4D8DC 0%, #9098A0 50%, #C0C4CA 100%);

  /* Backward-compat: --gold / --gold-dark resolve to cool silver tones.
     All existing var(--gold) references across the codebase pick up the new palette. */
  --gold: var(--silver);
  --gold-dark: var(--silver-deep);

  /* Blush eliminated per palette pivot — kept as alias to neutral cool tones
     so any lingering var(--blush) references resolve safely. */
  --blush: #C0C4CA;                /* was #E8C5B8 — repurposed to lighter cool silver */
  --blush-soft: #F5F5F5;           /* was #F4DFD6 */

  /* Text */
  --text: #0A0A0A;                 /* was #1A1A1A — softened near-black for less harsh */
  --text-soft: #3F4348;            /* was #5C4E42 — neutral dark gray for muted body */
  --taupe: #5A5E66;                /* was #8B7D6B — cool slate replaces warm taupe */
  --taupe-light: #B8BCC2;          /* was #C7BDB0 — cool silver for muted text on dark */
  --border: #E0E0E0;               /* was #E4DBCA — neutral light border */

  /* Backward-compat aliases (existing classes still reference --espresso) */
  --espresso: var(--charcoal);
  --espresso-soft: var(--charcoal-soft);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--cream); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
.serif { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 500; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 22px; } }

/* Skip link for accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--espresso); color: var(--cream); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

/* Silver-cool gradient — italic display words ("Legal", "come first.").
   This is the brighter "metallic silver" pop tone Angela called out. */
.silver-accent,
.nav-brand em,
.hero h1 em,
.section-title em,
.about-body h2 em,
.contact h2 em,
.foot-brand em,
.coming-soon h1 em,
.notfound h1 em,
.how .section-title em {
  background: var(--silver-cool-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .silver-accent,
  .nav-brand em,
  .hero h1 em,
  .section-title em,
  .about-body h2 em,
  .contact h2 em,
  .foot-brand em,
  .coming-soon h1 em,
  .notfound h1 em,
  .how .section-title em {
    background: none;
    color: var(--silver-cool);
    -webkit-text-fill-color: initial;
  }
}

/* Silver-grad CTA — replaces warm-gold buttons.
   Use on .btn-primary inside .contact and on .float-cta. */
.btn-silver,
.contact .btn-primary,
.float-cta {
  background: var(--silver-grad) !important;
  color: #0A0A0A !important;
  border: 1px solid var(--silver-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-silver:hover,
.contact .btn-primary:hover,
.float-cta:hover {
  background: var(--silver-cool-grad) !important;
  color: #0A0A0A !important;
}

/* Silver hairline rule — replaces gold rule dividers under section eyebrows. */
.section-eyebrow::before,
.hero-eyebrow::before {
  background-color: var(--silver) !important;
  background-image: none !important;
  opacity: 0.6;
}

/* Focus ring — silver-cool */
a:focus-visible,
button:focus-visible,
.dropdown-trigger:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--silver-cool);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Nav */
nav.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: 1240px; margin: 0 auto; gap: 16px; }
.nav-brand { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; letter-spacing: 0.5px; color: var(--espresso); flex-shrink: 0; }
.nav-brand em { font-style: italic; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links > a, .nav-links .dropdown-trigger { font-size: 13px; letter-spacing: 0.4px; color: var(--text-soft); transition: color 0.2s; cursor: pointer; }
.nav-links > a:hover, .nav-links .dropdown-trigger:hover { color: var(--espresso); }
.nav-links > a.is-active, .nav-links .dropdown-trigger.is-active { color: var(--espresso); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.nav-cta { padding: 10px 20px; background: var(--espresso); color: var(--cream) !important; border-radius: 2px; font-size: 12px; letter-spacing: 0.8px; text-transform: uppercase; font-weight: 500; transition: background 0.2s; }
.nav-cta:hover { background: var(--espresso-soft); color: var(--gold) !important; }
.nav-cta.is-active { color: var(--gold) !important; border-bottom: none; padding-bottom: 10px; }

/* Practice Areas dropdown — pure CSS hover/focus on desktop */
.has-dropdown { position: relative; }
.has-dropdown .dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font-family: inherit; font-size: 13px; letter-spacing: 0.4px; color: var(--text-soft); }
.has-dropdown .caret { font-size: 10px; line-height: 1; transition: transform 0.2s; color: var(--gold-dark); }
.dropdown { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 220px; background: #000000; border-radius: 4px; padding: 8px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.28); opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s, visibility 0.18s; z-index: 110; }
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 14px; background: transparent; }
.dropdown a { display: block; padding: 10px 22px; font-size: 13px; color: #FFFFFF; letter-spacing: 0.3px; border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
.dropdown a:hover, .dropdown a:focus-visible { color: #FFFFFF; border-bottom-color: var(--silver); }
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }

/* Hamburger toggle — hidden on desktop */
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--espresso); margin: 4px 0; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile: hamburger + accordion */
@media (max-width: 768px) {
  .nav-inner { padding: 14px 22px; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 14px 0 8px; border-top: 1px solid var(--border); margin-top: 12px; }
  .nav-links.is-open { display: flex; }
  .nav-links > a, .nav-links .dropdown-trigger { padding: 12px 4px; width: 100%; }
  .nav-cta { padding: 12px 18px; text-align: center; margin-top: 10px; }
  .has-dropdown { width: 100%; }
  .has-dropdown .dropdown-trigger { width: 100%; justify-content: space-between; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: hidden; min-width: 0; max-height: 0; overflow: hidden; box-shadow: none; padding: 0; transition: max-height 0.25s, visibility 0.25s; background: var(--bone); border-radius: 2px; margin: 4px 0 8px; }
  .has-dropdown.is-expanded .dropdown { visibility: visible; max-height: 400px; padding: 6px 0; }
  .has-dropdown.is-expanded .caret { transform: rotate(180deg); }
  .dropdown a { color: var(--text-soft); padding: 10px 18px; }
  .dropdown a:hover, .dropdown a:focus-visible { color: var(--espresso); border-bottom-color: var(--gold); }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: hidden; transform: none; }
  .has-dropdown.is-expanded:hover > .dropdown,
  .has-dropdown.is-expanded:focus-within > .dropdown { visibility: visible; }
}

/* Phase B teaser banner (dismissable) */
.phase-banner { background: var(--bone); border-bottom: 1px solid var(--border); padding: 14px 0; position: relative; z-index: 80; margin-top: 67px; }
.phase-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 32px; max-width: 1240px; margin: 0 auto; }
.phase-banner-msg { font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }
.phase-banner-msg strong { color: var(--espresso); }
.phase-banner-close { background: transparent; border: 1px solid var(--border); color: var(--text-soft); padding: 6px 12px; font-size: 11px; letter-spacing: 0.6px; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background 0.15s, color 0.15s; }
.phase-banner-close:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.phase-banner.is-hidden { display: none; }
@media (max-width: 640px) { .phase-banner-msg { font-size: 12.5px; } .phase-banner-inner { padding: 0 22px; } }

/* Page-top spacing when no banner is present */
body.no-banner main { margin-top: 67px; }

/* Hero */
.hero { padding: 110px 0 110px; position: relative; overflow: hidden; }
.hero.hero-home { padding: 80px 0 110px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 32px; }
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: 64px; line-height: 1.05; font-weight: 500; color: var(--espresso); letter-spacing: -1px; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--gold-dark); font-weight: 400; }
.hero p.lede { font-size: 17px; line-height: 1.7; color: var(--text-soft); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn-primary { padding: 16px 32px; background: var(--espresso); color: var(--cream); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; border-radius: 2px; transition: background 0.2s; border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: var(--espresso-soft); }
.btn-text { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; color: var(--espresso); border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: color 0.2s; display: inline-block; }
.btn-text:hover { color: var(--gold-dark); }
.hero-trust { font-size: 12px; letter-spacing: 0.4px; color: var(--text-soft); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-trust span::before { content: "· "; color: var(--gold); margin-right: 8px; }
.hero-trust span:first-child::before { content: ""; margin-right: 0; }

.hero-visual { position: relative; }
.hero-photo { aspect-ratio: 4/5; width: 100%; border-radius: 2px; overflow: hidden; background: linear-gradient(135deg, #1A1A1A 0%, #3F4348 40%, #6E747C 100%); position: relative; } /* warm placeholder gradient pivoted to cool grayscale 2026-04-27 */
.hero-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(216,220,224,0.25) 0%, transparent 50%), radial-gradient(ellipse at 70% 70%, rgba(144,152,160,0.2) 0%, transparent 45%); }
.hero-photo-label { position: absolute; bottom: 20px; left: 20px; background: rgba(0,0,0,0.75); color: var(--cream); padding: 8px 14px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 2px; }
.hero-photo-caption { position: absolute; bottom: -28px; left: -28px; background: var(--cream); padding: 22px 28px; max-width: 280px; border-left: 2px solid var(--gold); }
.hero-photo-caption .kicker { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.hero-photo-caption p { font-family: 'Cormorant Garamond', serif; font-size: 18px; line-height: 1.35; color: var(--espresso); font-style: italic; }
@media (max-width: 900px) { .hero { padding: 80px 0 70px; } .hero.hero-home { padding: 56px 0 70px; } .hero-grid { grid-template-columns: 1fr; gap: 56px; } .hero h1 { font-size: 42px; } .hero-visual { max-width: 420px; } .hero-trust { font-size: 11px; } }

/* Page hero (smaller, used on inner pages) */
.page-hero { padding: 90px 0 60px; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: 52px; line-height: 1.05; font-weight: 500; color: var(--espresso); letter-spacing: -0.6px; margin-bottom: 22px; max-width: 820px; }
.page-hero h1 em { font-style: italic; color: var(--gold-dark); font-weight: 400; }
.page-hero p.lede { font-size: 17px; line-height: 1.7; color: var(--text-soft); max-width: 720px; }
.page-hero .breadcrumbs { font-size: 12px; letter-spacing: 0.4px; color: var(--taupe); margin-bottom: 18px; }
.page-hero .breadcrumbs a { border-bottom: 1px solid transparent; }
.page-hero .breadcrumbs a:hover { border-color: var(--gold); }
.page-hero .breadcrumbs .sep { margin: 0 8px; color: var(--taupe-light); }
@media (max-width: 780px) { .page-hero { padding: 50px 0 40px; } .page-hero h1 { font-size: 36px; } }

/* Promise strip */
.promise { background: var(--espresso); color: var(--cream); padding: 56px 0; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.promise-item .num { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 14px; font-style: italic; }
.promise-item h3 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 500; }
.promise-item p { font-size: 15px; line-height: 1.65; color: var(--taupe-light); }
@media (max-width: 780px) { .promise-grid { grid-template-columns: 1fr; gap: 36px; } .promise { padding: 44px 0; } }

/* Section base */
section.content { padding: 110px 0; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 20px; }
.section-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 48px; line-height: 1.1; font-weight: 500; color: var(--espresso); letter-spacing: -0.5px; margin-bottom: 24px; max-width: 780px; }
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-lede { font-size: 17px; line-height: 1.7; color: var(--text-soft); max-width: 700px; }

.quick-answer { background: var(--bone); border-left: 3px solid var(--gold); padding: 22px 26px; margin: 28px 0; max-width: 720px; }
.quick-answer .kicker { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; font-weight: 600; }
.quick-answer p { font-size: 15px; line-height: 1.7; color: var(--text); }

/* Placeholder block */
.placeholder-block { background: rgba(184,188,194,0.08); border: 1px dashed var(--gold-dark); border-radius: 2px; padding: 28px 30px; margin: 24px 0; max-width: 760px; }
.placeholder-block .tag { display: inline-block; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); background: var(--cream); padding: 4px 10px; margin-bottom: 14px; font-weight: 600; border-radius: 2px; }
.placeholder-block p { color: var(--taupe); font-size: 15px; line-height: 1.7; font-style: italic; margin-bottom: 12px; }
.placeholder-block p:last-child { margin-bottom: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-photo { aspect-ratio: 3/4; border-radius: 2px; overflow: hidden; background: linear-gradient(160deg, #141414 0%, #3F4348 50%, #6E747C 100%); position: relative; } /* warm placeholder gradient pivoted to cool grayscale 2026-04-27 */
.about-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 40% 30%, rgba(255,255,255,0.15) 0%, transparent 60%); }
.about-photo-label { position: absolute; bottom: 20px; left: 20px; background: rgba(0,0,0,0.75); color: var(--cream); padding: 8px 14px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 2px; }
.about-photo-frame { position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px; border: 1px solid var(--gold); z-index: -1; border-radius: 2px; }
.about-wrap { position: relative; }
.about-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 42px; line-height: 1.1; font-weight: 500; color: var(--espresso); margin-bottom: 28px; letter-spacing: -0.5px; }
.about-body h2 em { font-style: italic; color: var(--gold-dark); }
.about-body p { font-size: 16px; line-height: 1.75; color: var(--text-soft); margin-bottom: 22px; }
.about-credentials { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-credentials .big { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--espresso); line-height: 1.1; font-weight: 500; margin-bottom: 6px; }
.about-credentials .lbl { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } .about-wrap { max-width: 400px; } .section-title, .about-body h2 { font-size: 34px; } }

/* Why Choose */
.whychoose { background: var(--bone); padding: 110px 0; }
.whychoose-head { max-width: 780px; margin-bottom: 56px; }
.whychoose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.whychoose-item { padding-top: 22px; border-top: 1px solid var(--border); position: relative; }
.whychoose-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 36px; height: 1px; background: var(--gold); }
.whychoose-item h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--espresso); margin-bottom: 10px; line-height: 1.25; }
.whychoose-item p { font-size: 14.5px; line-height: 1.7; color: var(--text-soft); }
@media (max-width: 780px) { .whychoose { padding: 80px 0; } .whychoose-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Practice areas */
.practice { background: var(--cream); padding: 110px 0; }
.practice-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; gap: 60px; flex-wrap: wrap; }
.practice-head .section-lede { margin-top: 24px; }
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
.practice-card { position: relative; padding-top: 28px; border-top: 1px solid var(--border); }
.practice-card::before { content: ""; position: absolute; top: -1px; left: 0; width: 42px; height: 1px; background: var(--gold); }
.practice-num { font-family: 'Cormorant Garamond', serif; font-size: 13px; letter-spacing: 3px; color: var(--gold-dark); margin-bottom: 14px; }
.practice-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; line-height: 1.2; font-weight: 500; color: var(--espresso); margin-bottom: 12px; letter-spacing: -0.3px; }
.practice-card p.tagline { font-size: 14.5px; line-height: 1.65; color: var(--text-soft); margin-bottom: 18px; }
.practice-card ul.subs { list-style: none; padding: 0; margin: 0 0 22px 0; display: flex; flex-direction: column; gap: 6px; }
.practice-card ul.subs li { font-size: 13.5px; color: var(--text); padding-left: 18px; position: relative; line-height: 1.5; }
.practice-card ul.subs li::before { content: "›"; color: var(--gold-dark); position: absolute; left: 0; top: -1px; font-weight: 600; }
.practice-card a.learn { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--espresso); font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color 0.2s; }
.practice-card a.learn:hover { color: var(--gold-dark); }
@media (max-width: 900px) { .practice-head { flex-direction: column; align-items: flex-start; gap: 18px; } .practice-grid { grid-template-columns: 1fr; gap: 40px; } .practice { padding: 80px 0; } }

/* Other practice areas (cross-link strip on detail pages) */
.cross-areas { background: var(--bone); padding: 70px 0; border-top: 1px solid var(--border); }
.cross-areas h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--espresso); margin-bottom: 28px; }
.cross-areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cross-areas-card { padding: 22px 24px; background: var(--cream); border: 1px solid var(--border); border-radius: 2px; transition: border-color 0.2s, transform 0.15s; display: block; }
.cross-areas-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.cross-areas-card .lbl { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.cross-areas-card .name { font-family: 'Cormorant Garamond', serif; font-size: 19px; color: var(--espresso); }
@media (max-width: 780px) { .cross-areas-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Service detail (long-form practice area page) */
.service-detail { padding: 80px 0 110px; }
.service-detail h2 { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--espresso); margin: 48px 0 18px; line-height: 1.15; font-weight: 500; }
.service-detail h2:first-child { margin-top: 0; }
.service-detail h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--espresso); margin: 32px 0 12px; font-weight: 500; }
.service-detail p { font-size: 16px; line-height: 1.75; color: var(--text-soft); margin-bottom: 18px; max-width: 760px; }
.service-detail ul { margin: 12px 0 24px 22px; max-width: 760px; }
.service-detail li { font-size: 15.5px; line-height: 1.7; color: var(--text); margin-bottom: 8px; }
.service-detail .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 36px 0 12px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.service-detail .stat-row .stat .big { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--espresso); line-height: 1.1; margin-bottom: 4px; }
.service-detail .stat-row .stat .lbl { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-dark); }
@media (max-width: 780px) { .service-detail .stat-row { grid-template-columns: 1fr; gap: 18px; } }

/* How it works */
.how { background: var(--espresso); color: var(--cream); padding: 110px 0; position: relative; overflow: hidden; }
.how::before { content: ""; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: linear-gradient(225deg, rgba(184,188,194,0.08) 0%, transparent 60%); pointer-events: none; }
.how .section-eyebrow { color: var(--gold); }
.how .section-eyebrow::before { background: var(--gold); }
.how .section-title { color: var(--cream); }
.how .section-title em { color: var(--gold); }
.how .section-lede { color: var(--taupe-light); }
.how-head { max-width: 780px; margin-bottom: 60px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
.how-step { padding-top: 28px; border-top: 1px solid rgba(184,188,194,0.3); position: relative; }
.how-step::before { content: ""; position: absolute; top: -1px; left: 0; width: 42px; height: 1px; background: var(--gold); }
.how-step .n { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14px; color: var(--gold); letter-spacing: 2px; margin-bottom: 18px; }
.how-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; line-height: 1.2; font-weight: 500; color: var(--cream); margin-bottom: 14px; }
.how-step p { font-size: 14px; line-height: 1.7; color: var(--taupe-light); }
@media (max-width: 900px) { .how-steps { grid-template-columns: 1fr; gap: 36px; } .how { padding: 80px 0; } }

/* FAQ */
.faq { padding: 110px 0; }
.faq-head { max-width: 800px; margin-bottom: 50px; }
.faq-pa { margin-bottom: 60px; }
.faq-pa-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--espresso); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); position: relative; }
.faq-pa-title::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 60px; height: 1px; background: var(--gold); }
.faq-list { display: flex; flex-direction: column; gap: 2px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
details.faq-item { background: var(--cream); padding: 22px 26px; cursor: pointer; transition: background 0.2s; }
details.faq-item[open] { background: var(--bone); }
details.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary h4 { font-family: 'Cormorant Garamond', serif; font-size: 19px; line-height: 1.3; font-weight: 500; color: var(--espresso); flex: 1; }
details.faq-item summary .toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--espresso); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; flex-shrink: 0; transition: transform 0.3s; }
details.faq-item[open] summary .toggle { transform: rotate(45deg); }
details.faq-item .answer { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14.5px; line-height: 1.7; color: var(--text-soft); }
details.faq-item .answer strong { color: var(--espresso); }
@media (max-width: 900px) { .faq { padding: 80px 0; } details.faq-item { padding: 18px 20px; } details.faq-item summary h4 { font-size: 17px; } }

/* Contact CTA */
.contact { padding: 130px 0; background: var(--espresso); color: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact h2 { font-family: 'Cormorant Garamond', serif; font-size: 52px; line-height: 1.08; font-weight: 500; color: var(--cream); letter-spacing: -0.5px; margin-bottom: 24px; }
.contact h2 em { font-style: italic; color: var(--gold); }
.contact p.lede { font-size: 16.5px; line-height: 1.7; color: var(--taupe-light); max-width: 460px; margin-bottom: 40px; }
.contact-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(184,188,194,0.3); padding: 40px 36px; border-radius: 2px; }
.contact-card .row { padding: 16px 0; border-bottom: 1px solid rgba(184,188,194,0.2); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.contact-card .row:last-child { border-bottom: none; }
.contact-card .lbl { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); }
.contact-card .val { font-size: 14px; color: var(--cream); font-weight: 500; text-align: right; }
.contact-card .val a { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.contact-cta-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.contact .btn-primary { background: var(--gold); color: var(--espresso); }
.contact .btn-primary:hover { background: var(--blush); }
.contact .btn-text { color: var(--cream); border-color: var(--gold); }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; gap: 48px; } .contact h2 { font-size: 38px; } .contact { padding: 90px 0; } .contact-card .val { text-align: left; } }

/* Footer */
footer { background: var(--bone); padding: 56px 0 36px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.foot-grid h5 { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; font-weight: 600; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid li { font-size: 14px; color: var(--text-soft); }
.foot-grid li a:hover { color: var(--gold-dark); }
.foot-brand { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--espresso); margin-bottom: 14px; font-weight: 500; }
.foot-brand em { font-style: italic; color: var(--gold-dark); }
.foot-brand-tag { font-size: 14px; color: var(--text-soft); line-height: 1.55; max-width: 320px; }
.foot-legal { font-size: 11px; color: var(--taupe); line-height: 1.6; margin-top: 14px; max-width: 380px; }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--taupe); }
.foot-bottom a { color: var(--text-soft); margin-left: 22px; }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; } .foot-bottom { flex-direction: column; gap: 14px; align-items: flex-start; } .foot-bottom a { margin-left: 0; margin-right: 22px; } }

/* Cal.com inline embed */
.cal-embed-wrap { margin-top: 56px; padding: 28px; background: var(--bone); border: 1px solid var(--border); border-radius: 2px; }
.cal-embed-eyebrow { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.cal-embed-note { font-size: 12.5px; color: var(--taupe); margin-top: 14px; line-height: 1.55; }
#cal-inline { min-height: 640px; width: 100%; background: var(--cream); border-radius: 2px; overflow: hidden; }
@media (max-width: 900px) { #cal-inline { min-height: 720px; } }

/* Floating sticky "Schedule" CTA */
.float-cta { position: fixed; right: 22px; bottom: 22px; z-index: 90; background: var(--gold); color: var(--espresso); padding: 14px 22px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; border-radius: 2px; box-shadow: 0 8px 24px rgba(0,0,0,0.22); transition: background 0.2s, transform 0.15s; display: inline-flex; align-items: center; gap: 10px; }
.float-cta:hover { background: var(--blush); transform: translateY(-1px); }
.float-cta .dot { width: 8px; height: 8px; background: var(--espresso); border-radius: 50%; display: inline-block; }
@media (max-width: 600px) { .float-cta { right: 14px; bottom: 14px; padding: 12px 16px; font-size: 11px; } }
@media print { .float-cta { display: none; } }

/* Real headshot images, layered over the gradient fallback so the
   site still looks intentional if the JPG 404s. */
.hero-photo img,
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.hero-photo, .about-photo { isolation: isolate; }

/* Silver gradient rule — for hairline accents on cream sections only.
   Falls back to flat #B8BCC2 if the gradient doesn't render (older
   iOS Safari, etc.) — covered by background-color below. */
.rule-silver { display: block; width: 100%; height: 1px; background-color: var(--silver); background-image: var(--silver-grad); border: 0; }
hr.rule-silver { margin: 36px 0; }

/* Page-level subnav for practice areas (cross-link strip) */
.subnav-areas { background: var(--bone); border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 12.5px; }
.subnav-areas-inner { display: flex; gap: 22px; flex-wrap: wrap; max-width: 1240px; margin: 0 auto; padding: 0 32px; align-items: center; }
.subnav-areas .lbl { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); margin-right: 4px; }
.subnav-areas a { color: var(--text-soft); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color 0.15s, border-color 0.15s; }
.subnav-areas a:hover, .subnav-areas a.is-active { color: var(--charcoal); border-color: var(--gold); }
@media (max-width: 640px) { .subnav-areas-inner { padding: 0 22px; } }

/* Coming-soon panel for the portal page */
.coming-soon { padding: 110px 0; text-align: center; }
.coming-soon .badge { display: inline-block; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); border: 1px solid var(--gold); padding: 6px 14px; border-radius: 2px; margin-bottom: 28px; }
.coming-soon h1 { font-family: 'Cormorant Garamond', serif; font-size: 48px; line-height: 1.1; color: var(--charcoal); margin-bottom: 22px; font-weight: 500; }
.coming-soon h1 em { font-style: italic; color: var(--gold-dark); }
.coming-soon p { font-size: 17px; color: var(--text-soft); max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }
@media (max-width: 640px) { .coming-soon h1 { font-size: 34px; } .coming-soon { padding: 70px 0; } }

/* Resources index */
.resources-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; max-width: 1100px; }
.resource-card { padding: 28px 30px; background: var(--bone); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 2px; transition: transform 0.15s, border-color 0.15s; }
.resource-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.resource-card .lbl { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.resource-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--charcoal); margin-bottom: 10px; line-height: 1.3; font-weight: 500; }
.resource-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-soft); margin-bottom: 14px; }
.resource-card a.read { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--charcoal); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
@media (max-width: 780px) { .resources-grid { grid-template-columns: 1fr; gap: 22px; } }

/* 404 */
.notfound { padding: 140px 0 110px; text-align: center; }
.notfound .code { font-family: 'Cormorant Garamond', serif; font-size: 120px; color: var(--gold-dark); line-height: 1; font-style: italic; margin-bottom: 24px; }
.notfound h1 { font-family: 'Cormorant Garamond', serif; font-size: 42px; color: var(--espresso); margin-bottom: 18px; font-weight: 500; }
.notfound p { font-size: 16px; color: var(--text-soft); max-width: 520px; margin: 0 auto 32px; }
.notfound .links { display: inline-flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 600px) { .notfound .code { font-size: 80px; } .notfound h1 { font-size: 30px; } }
