/* Luma Mentis — v3 "Olive" design, modelled on nicolehartvig.com:
   one light cream ground, olive serif headings, warm taupe body text, white hairline cards with soft
   rounded corners, rounded photo frames, pill buttons, sections divided by thin sand lines. Tokens only. */
:root {
  /* Colour */
  --lm-ground: #F0EFEE;     /* page: Pantone 11-3900 TCX Wispy Clouds (was cream #F5F0E6, too yellow for Orly) */
  --lm-card: #FFFFFF;       /* cards, tiles */
  --lm-ink: #5B6F4B;        /* headings */
  --lm-ink-deep: #425036;   /* labels, hover, strong accents */
  --lm-ink-soft: #6B6354;   /* body text */
  --lm-ink-faint: #8B8372;  /* captions, fine print */
  --lm-accent: #5B6F4B;     /* buttons, links */
  --lm-accent-soft: #E4E2D3;/* soft olive-stone fills */
  --lm-sand: #E6E3DE;       /* couples fill: warm stone (was sand #EDE5D5) */
  --lm-line: #D9D5CE;       /* hairlines: warm grey (was sand #DED2BC) */

  /* Type */
  --lm-font-display: 'Noto Serif', Georgia, serif;
  --lm-font-body: 'Noto Sans', -apple-system, 'Segoe UI', sans-serif;
  --lm-text-display: clamp(36px, 4.4vw, 54px);
  --lm-text-h1: clamp(32px, 3.8vw, 46px);
  --lm-text-h2: clamp(26px, 2.6vw, 34px);
  --lm-text-h3: 21px;
  --lm-text-body: 18px;
  --lm-text-small: 15px;
  --lm-text-label: 12.5px;

  /* Space & shape */
  --lm-page-max: 1080px;
  --lm-read-max: 64ch;
  --lm-section-pad: 72px;
  --lm-radius-card: 14px;
  --lm-radius-photo: 20px;
  --lm-hair: 1px solid var(--lm-line);
  --lm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --lm-dur: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--lm-ground); color: var(--lm-ink-soft);
  font-family: var(--lm-font-body); font-weight: 400; font-size: var(--lm-text-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--lm-ink-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--lm-dur) var(--lm-ease); }
a:hover { color: var(--lm-ink); }
:focus-visible { outline: 2px solid var(--lm-accent); outline-offset: 3px; }

.wrap { width: min(var(--lm-page-max), 100% - 48px); margin-inline: auto; }
.narrow { max-width: var(--lm-read-max); }

h1, h2, h3 { font-family: var(--lm-font-display); font-weight: 600; color: var(--lm-ink); line-height: 1.18; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font-size: var(--lm-text-h1); }
h2 { font-size: var(--lm-text-h2); }
h3 { font-size: var(--lm-text-h3); }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; color: var(--lm-ink-deep); }
.lead { font-size: 20px; color: var(--lm-ink-soft); max-width: var(--lm-read-max); }
em.glow { font-style: normal; font-weight: 700; color: var(--lm-ink-deep); }

/* Eyebrow label: small tracked caps in deep olive */
.label {
  font-family: var(--lm-font-body); font-weight: 600; font-size: var(--lm-text-label);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--lm-ink-deep);
  margin-bottom: 18px;
}

/* ---------- Header: sticky, translucent cream with a hairline ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--lm-ground) 92%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: var(--lm-hair);
}
.site-header .wrap { width: min(1240px, 100% - 48px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.logo-link { display: block; flex: none; }
.header-logo { width: 128px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { font-size: 15px; color: var(--lm-ink-soft); text-decoration: none; white-space: nowrap; padding-block: 6px; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: var(--lm-ink); }
.main-nav a[aria-current="page"] { color: var(--lm-ink); border-bottom-color: var(--lm-ink); }
.main-nav a.nav-cta {
  margin-left: 6px; padding: 9px 20px; border: 1px solid var(--lm-accent); border-radius: 999px;
  background: var(--lm-accent); color: var(--lm-ground); font-weight: 600; font-size: 14.5px;
  transition: background var(--lm-dur) var(--lm-ease), border-color var(--lm-dur) var(--lm-ease);
}
.main-nav a.nav-cta:hover { background: var(--lm-ink-deep); border-color: var(--lm-ink-deep); color: var(--lm-ground); }
.menu-toggle { display: none; }

/* ---------- Buttons: pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 26px;
  border: 1px solid var(--lm-accent); border-radius: 999px;
  font-family: var(--lm-font-body); font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  transition: background var(--lm-dur) var(--lm-ease), color var(--lm-dur) var(--lm-ease), border-color var(--lm-dur) var(--lm-ease);
}
.btn .arrow { transition: transform var(--lm-dur) var(--lm-ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--lm-accent); color: var(--lm-ground); }
.btn-primary:hover { background: var(--lm-ink-deep); border-color: var(--lm-ink-deep); color: var(--lm-ground); }
.btn-secondary { background: transparent; color: var(--lm-ink); }
.btn-secondary:hover { background: var(--lm-accent-soft); color: var(--lm-ink-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Heroes: light, left-aligned ---------- */
.dark { position: relative; }
.home-hero .wrap { padding-block: 72px 80px; }
.home-hero h1 { font-size: var(--lm-text-display); line-height: 1.12; max-width: 24ch; }
.home-hero .lead { max-width: 46ch; }

.page-hero .wrap { padding-block: 64px 56px; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: 8px; }

/* ---------- Sections: one ground, divided by hairlines ---------- */
main > section + section { border-top: var(--lm-hair); }
.section { padding-block: var(--lm-section-pad); }
.section.tint, .section.warm { background: transparent; }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.split.even { grid-template-columns: 0.85fr 1.15fr; }
.split > div { max-width: var(--lm-read-max); }

/* Statements and quotes: italic serif with an olive bar */
.statement, .big-quote {
  font-family: var(--lm-font-display); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 2.7vw, 32px); line-height: 1.38; color: var(--lm-ink);
  border-left: 3px solid var(--lm-accent); padding-left: 26px; margin: 0; max-width: 30ch;
}
.statement { max-width: 34ch; }
.statement em, .big-quote em { font-style: italic; font-weight: 600; color: var(--lm-ink-deep); }
.scene-text .big-quote { margin-top: 32px; }
/* About: the "Guiding belief" is a longer passage, so it reads wider and a little smaller */
.section.warm .big-quote { max-width: 52ch; font-size: clamp(20px, 2vw, 24px); line-height: 1.5; }

/* Photos in rounded frames beside the text (whole photo, own proportions) */
.scene-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.scene-right .scene-grid { grid-template-columns: 1.15fr 0.85fr; }
.scene-right .art { order: 2; }
.scene-center .scene-grid { align-items: center; }
.art { border-radius: var(--lm-radius-photo); overflow: hidden; background: var(--lm-card); position: sticky; top: 120px; }
.art img { width: 100%; height: auto; }
.scene-text { max-width: var(--lm-read-max); }
.scene-text .check-list, .scene-text .chips { margin-bottom: 8px; }
.scene-text .check-list + .label, .scene-text p + .label { margin-top: 36px; }

/* Name meaning */
.meaning {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center;
  background: var(--lm-card); border: var(--lm-hair); border-radius: var(--lm-radius-card); padding: 48px;
}
.meaning .logo-panel img { width: 100%; max-width: 300px; margin-inline: auto; }
.meaning .latin { font-family: var(--lm-font-display); font-weight: 600; font-size: 26px; line-height: 1.25; color: var(--lm-ink); margin-bottom: 16px; }

/* Cards, tiles and other white panels */
.tile, .card, .contact-card, .quote, .fee-table, .details, .check-list li {
  background: var(--lm-card); border: var(--lm-hair); border-radius: var(--lm-radius-card);
}
.explore { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 36px; }
.explore .tile { grid-column: span 2; }
.explore .tile.wide { grid-column: span 3; min-height: 190px; }
.tile {
  display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 28px;
  text-decoration: none; color: inherit; transition: border-color var(--lm-dur) var(--lm-ease), transform var(--lm-dur) var(--lm-ease);
}
.tile:hover { border-color: var(--lm-ink-faint); transform: translateY(-2px); }
.tile .num, .card .tag { font-weight: 600; font-size: var(--lm-text-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lm-ink-faint); }
.tile h3, .card h3 { font-size: 22px; margin: 0; }
.tile p { margin: 0; font-size: var(--lm-text-small); color: var(--lm-ink-soft); }
.tile .go { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--lm-ink-deep); }
.tile:hover .go { color: var(--lm-ink); }

/* Couples = soft sand, founders = soft olive-stone (still light, as on the reference) */
.special { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.tile-couples { background: var(--lm-sand); }
.tile-founders, .card-founders { background: var(--lm-accent-soft); }
.tile-founders .num, .tile-couples .num, .card-founders .tag { color: var(--lm-ink-deep); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.cards.three { display: flex; flex-wrap: wrap; justify-content: center; }
.cards.three > * { flex: 0 1 calc((100% - 40px) / 3); }
.card { padding: 28px; }
.card .tag { display: block; margin-bottom: 8px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; counter-reset: step; }
.step { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--lm-accent); }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px;
  font-weight: 600; font-size: var(--lm-text-label); letter-spacing: 0.14em; color: var(--lm-ink-faint);
}
.step p { margin: 0; font-size: 16px; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { padding: 14px 20px 14px 44px; position: relative; font-size: 16px; }
.check-list li::before { content: ""; position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 8px; height: 8px; border-radius: 50%; background: var(--lm-accent); }

/* About details */
.details { margin: 28px 0 0; }
.details div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 20px; border-bottom: var(--lm-hair); font-size: 16px; }
.details div:last-child { border-bottom: 0; }
.details dt { font-weight: 600; font-size: var(--lm-text-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lm-ink-deep); padding-top: 3px; }
.details dd { margin: 0; }

.portrait { aspect-ratio: 4 / 5; border-radius: var(--lm-radius-photo); overflow: hidden; background: var(--lm-card); position: sticky; top: 120px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* Colleague endorsements */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.quote { margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote p { margin: 0; flex: 1; font-size: 16px; color: var(--lm-ink-soft); }
.quote footer { border-top: var(--lm-hair); padding-top: 14px; font-size: 14px; color: var(--lm-ink-faint); }
.quote footer strong { display: block; font-family: var(--lm-font-display); font-size: 16px; color: var(--lm-ink); }

/* Fees */
.fee { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 26px; border-bottom: var(--lm-hair); }
.fee:last-child { border-bottom: 0; }
.fee span { font-weight: 500; color: var(--lm-ink); }
.fee small { display: block; font-weight: 400; color: var(--lm-ink-faint); font-size: 14px; }
.fee strong { font-family: var(--lm-font-display); font-size: 30px; font-weight: 600; color: var(--lm-ink); white-space: nowrap; }
.fee strong.word { font-size: 21px; font-style: italic; font-weight: 500; }
.fee strong.two-line { text-align: right; line-height: 1.25; }
.note { background: var(--lm-accent-soft); border-radius: var(--lm-radius-card); padding: 28px; }
.note p:last-child { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.contact-card .label { margin-bottom: 4px; color: var(--lm-ink-faint); }
.contact-card h3 { margin: 0; }
.contact-card a.big { font-family: var(--lm-font-display); font-weight: 500; font-size: 21px; line-height: 1.35; word-break: break-word; }
.contact-card p { margin: 0; color: var(--lm-ink-soft); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { padding: 6px 16px; border: var(--lm-hair); border-radius: 999px; background: var(--lm-card); font-size: 15px; color: var(--lm-ink-soft); }
/* Contact: small office photos, shown whole, spread across the full content width
   (left edge = Phone card, right edge = Visit card and the Peninsula photo below) */
.office-label { margin-top: 40px; color: var(--lm-ink-faint); }
.office-photos { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.office-photos a { display: block; border-radius: 10px; overflow: hidden; background: var(--lm-card); }
.office-photos img { height: 150px; width: auto; display: block; transition: opacity .2s; }
.office-photos a:hover img { opacity: .88; }
/* Narrower screens: columns sized by each photo's proportions, so the row still fills the width edge to edge */
@media (max-width: 1040px) {
  .office-photos { display: grid; grid-template-columns: 0.787fr 1.333fr 1.333fr 1.333fr 1.333fr; gap: 12px; }
  .office-photos img { width: 100%; height: auto; }
}
@media (max-width: 560px) { .office-photos { gap: 6px; } .office-photos a { border-radius: 6px; } }
.crisis { margin-top: 28px; font-size: 15.5px; border-left: 3px solid var(--lm-accent); padding: 2px 0 2px 18px; max-width: 70ch; }

/* Next-page band */
.next { padding-block: 48px; }
.next .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.next .label { margin: 0 0 6px; color: var(--lm-ink-faint); }
.next h2 { margin: 0; }

/* Final call to action: centred, as on the reference */
.cta-band { text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; padding-block: 80px; }
.cta-band h2 { font-size: var(--lm-text-h1); max-width: 22ch; }
.cta-band em.glow { white-space: nowrap; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer: same ground, quiet small text ---------- */
.site-footer { border-top: var(--lm-hair); padding: 56px 0 32px; font-size: 15px; color: var(--lm-ink-soft); }
.site-footer p { color: var(--lm-ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 150px; height: auto; margin-bottom: 18px; }
.site-footer h4 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: var(--lm-text-label); color: var(--lm-ink-deep); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--lm-ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--lm-ink); }
.board-notice { max-width: 720px; margin-bottom: 12px; font-size: 9px; line-height: 1.5; }
.board-notice p { margin: 0 0 4px; font-size: 9px; color: var(--lm-ink-faint); }
.board-notice address { font-style: normal; }
.board-notice a { text-decoration: underline; text-underline-offset: 3px; }
.fineprint { margin-top: 40px; padding-top: 16px; border-top: var(--lm-hair); font-size: 9px; line-height: 1.5; color: var(--lm-ink-faint); }
.fineprint .legal { margin: 0; font-size: 9px; color: var(--lm-ink-faint); }
.fineprint .legal strong { font-weight: 700; color: var(--lm-ink-soft); }
.fineprint .admin-link { display: inline-block; margin-top: 6px; color: var(--lm-ink-faint); }

/* ---------- Gentle reveal on scroll ---------- */
.reveal-on main .section .wrap > *, .reveal-on main .next .wrap, .reveal-on main .cta-band .wrap {
  opacity: 0; transform: translateY(10px);
  transition: opacity 600ms var(--lm-ease), transform 600ms var(--lm-ease);
}
.reveal-on main .in { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
/* the menu collapses earlier than the page grid, since its labels need ~1200px on one bar */
@media (max-width: 1200px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--lm-ground); padding: 8px 24px 24px; border-bottom: var(--lm-hair);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 0; border-bottom: var(--lm-hair);
    font-family: var(--lm-font-display); font-size: 21px; color: var(--lm-ink);
  }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--lm-line); color: var(--lm-ink-deep); font-weight: 600; }
  .main-nav a.nav-cta { margin: 18px 0 0; justify-content: center; font-family: var(--lm-font-body); font-size: 15.5px; color: var(--lm-ground); }
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px;
    background: transparent; color: var(--lm-ink); border: var(--lm-hair); border-radius: 999px;
    font: 600 14.5px var(--lm-font-body); cursor: pointer;
  }
}
@media (max-width: 1080px) {
  .explore { grid-template-columns: repeat(2, 1fr); }
  .explore .tile, .explore .tile.wide { grid-column: span 1; }
  .cards.three > * { flex-basis: calc((100% - 20px) / 2); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .split, .split.even, .scene-grid, .scene-right .scene-grid, .meaning { grid-template-columns: 1fr; gap: 32px; }
  .scene-right .art { order: -1; }
  .art, .portrait { position: static; max-width: 420px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  :root { --lm-section-pad: 56px; }
  body { font-size: 17px; }
  .wrap, .site-header .wrap { width: calc(100% - 32px); }
  .header-logo { width: 104px; }
  .home-hero .wrap { padding-block: 24px 48px; }
  .page-hero .wrap { padding-block: 44px 40px; }
  .meaning { padding: 28px; }
  .explore, .cards, .cards.three, .steps, .quotes, .contact-grid, .footer-grid, .special { grid-template-columns: 1fr; }
  .cards.three > * { flex-basis: 100%; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .fee { flex-direction: column; gap: 4px; padding: 18px 22px; }
  .fee strong.two-line { text-align: left; }
  .fee strong.two-line br { display: none; }
  .statement, .big-quote { padding-left: 18px; }
  .cta-band .wrap { padding-block: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- SEO layer (2026-11-02): topic H1 in eyebrow style, poetic line keeps the old H1 look ---------- */
h1.label { font-family: var(--lm-font-body); font-weight: 600; font-size: var(--lm-text-label); line-height: 1.5;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--lm-ink-deep); margin: 0 0 18px; max-width: none; text-wrap: wrap; }
.display { font-family: var(--lm-font-display); font-weight: 600; color: var(--lm-ink); line-height: 1.18; text-wrap: balance;
  font-size: var(--lm-text-h1); margin: 0 0 0.5em; max-width: 22ch; }
.home-hero .display { font-size: var(--lm-text-display); line-height: 1.12; max-width: 24ch; }

/* At a glance: quotable facts */
.glance { margin: 28px 0 0; border: var(--lm-hair); border-radius: var(--lm-radius-card); background: var(--lm-card); }
.glance div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 22px; border-bottom: var(--lm-hair); font-size: 16px; }
.glance div:last-child { border-bottom: 0; }
.glance dt { font-weight: 600; font-size: var(--lm-text-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lm-ink-deep); padding-top: 3px; }
.glance dd { margin: 0; }

/* Card link to a dedicated page */
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--lm-ink-deep); text-decoration: none; }
.card .more:hover { color: var(--lm-ink); text-decoration: underline; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq-item { background: var(--lm-card); border: var(--lm-hair); border-radius: var(--lm-radius-card); padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-family: var(--lm-font-display); font-weight: 600; font-size: 18px; color: var(--lm-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-family: var(--lm-font-body); font-size: 22px; color: var(--lm-ink-deep); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 18px; font-size: 16px; }

/* Related pages */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.related .tile { min-height: 130px; }
.narrow .check-list { margin-top: 8px; }

@media (max-width: 760px) {
  .glance div { grid-template-columns: 1fr; gap: 4px; }
  .related { grid-template-columns: 1fr; }
}

/* ---------- Areas of Focus submenu (2026-11-04) ---------- */
.main-nav .has-sub { position: relative; display: flex; align-items: center; }
.main-nav a.here { color: var(--lm-ink); border-bottom-color: var(--lm-ink); }
.main-nav .subnav {
  display: none; position: absolute; top: 100%; left: -18px; z-index: 20; min-width: 270px;
  flex-direction: column; padding: 10px 0; margin-top: 4px;
  background: var(--lm-ground); border: var(--lm-hair); border-radius: 14px; box-shadow: 0 12px 30px rgba(40, 40, 30, .10);
}
.main-nav .has-sub:hover .subnav, .main-nav .has-sub:focus-within .subnav { display: flex; }
.main-nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; } /* hover bridge */
.main-nav .subnav a { padding: 8px 20px; border-bottom: 0; font-size: 14.5px; }
.main-nav .subnav a:hover { background: var(--lm-accent-soft); }
.main-nav .subnav a[aria-current="page"] { font-weight: 600; border-bottom: 0; }
.main-nav .subnav-group { padding: 8px 20px 2px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--lm-ink-soft); }
@media (max-width: 1200px) {
  .main-nav .has-sub { flex-direction: column; align-items: stretch; }
  .main-nav .has-sub::after { display: none; }
  .main-nav .subnav { display: flex; position: static; min-width: 0; margin: 0; padding: 4px 0 10px 16px; border: 0; border-bottom: var(--lm-hair); border-radius: 0; box-shadow: none; background: transparent; }
  .main-nav .subnav a { padding: 7px 0; font-family: var(--lm-font-body); font-size: 15.5px; color: var(--lm-ink-soft); }
  .main-nav .subnav-group { padding: 8px 0 2px; }
}
