/* ==========================================================================
   Curless Psychology of Maine
   Art direction: "Coastal Maine editorial"
   Deep spruce + warm oat paper + rust · Libre Caslon Display / Newsreader / Hanken Grotesk
   ========================================================================== */

:root {
  /* Ground & ink */
  --paper:      #F3EDE1;   /* warm oat paper */
  --paper-2:    #EDE5D4;   /* softer panel */
  --sand:       #E4D8C0;   /* sand surface for alternating sections */
  --ink:        #23241D;   /* warm near-black */
  --muted:      #56503F;   /* warm taupe secondary text (>=5:1 on paper) */
  --line:       #D6CBB2;   /* hairline on paper */

  /* Evergreen */
  --spruce:      #1D3A31;
  --spruce-2:    #2C5646;
  --spruce-deep: #12271F;
  --on-dark:     #EFE8D6;  /* text on spruce */
  --on-dark-mut: #A9BBAC;  /* secondary text on spruce (green-tinted) */
  --line-dark:   rgba(239,232,214,.18);

  /* Accent */
  --rust:      #B0532B;
  --rust-deep: #8E3F1E;    /* text-link rust (>=4.5:1 on paper) */

  /* Type */
  --serif-display: "Libre Caslon Display", "Times New Roman", serif;
  --serif-text:    "Newsreader", Georgia, "Times New Roman", serif;
  --sans:          "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape & depth */
  --radius:    5px;
  --radius-lg: 10px;
  --shadow:    0 22px 48px -30px rgba(18,39,31,.55);
  --shadow-sm: 0 10px 26px -20px rgba(18,39,31,.45);

  --maxw: 1180px;
  --maxw-wide: 1320px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
}

/* ------- Reset-ish ------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--rust-deep); text-decoration: none; }
a:hover { color: var(--ink); }
strong { font-weight: 700; }
::selection { background: var(--spruce); color: var(--paper); }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; color: var(--ink); }
h1, h2 { font-family: var(--serif-display); }
h3, h4 { font-family: var(--serif-text); font-weight: 500; line-height: 1.18; letter-spacing: 0; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2.5px solid var(--rust); outline-offset: 3px; border-radius: 2px; }

/* ------- Layout helpers ------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: var(--maxw-wide); }
.section { padding-block: clamp(3.75rem, 8.5vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--sand { background: var(--sand); }
.section--paper2 { background: var(--paper-2); }
.section--spruce { background: var(--spruce); color: var(--on-dark); }
.section--spruce h1, .section--spruce h2, .section--spruce h3 { color: var(--on-dark); }

.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.center { text-align: center; }
.measure { max-width: 40rem; }

/* ------- Type roles ------- */
.kicker {
  font-family: var(--sans);
  font-weight: 700; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .19em;
  color: var(--rust-deep);
  margin: 0 0 1.1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.kicker::before { content: ""; width: 1.8rem; height: 1px; background: var(--rust); display: inline-block; }
.kicker.on-dark { color: #E4B48F; }
.kicker.on-dark::before { background: #E4B48F; }
.kicker.bare::before { display: none; }

.overline {
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .2em; color: var(--muted);
}

.display { font-family: var(--serif-display); }
.lead {
  font-family: var(--serif-text); font-weight: 400;
  font-size: clamp(1.18rem, 2.3vw, 1.5rem); line-height: 1.45; color: var(--muted);
  letter-spacing: 0;
}
.section-title { font-size: clamp(2rem, 4.6vw, 3.15rem); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4.5vw, 3.25rem); }
.section-head.center { margin-inline: auto; }

/* ------- Buttons ------- */
.btn {
  --bg: var(--spruce); --fg: var(--paper); --bd: var(--spruce);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .82rem 1.4rem; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: var(--spruce-2); border-color: var(--spruce-2); color: var(--paper); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--rust { --bg: var(--rust); --bd: var(--rust); --fg: #FCF7EE; }
.btn--rust:hover { --bg: var(--rust-deep); --bd: var(--rust-deep); color: #FCF7EE; }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: #C3B79C; }
.btn--line:hover { --bg: transparent; --bd: var(--spruce); color: var(--spruce); box-shadow: none; transform: translateY(-2px); }
.btn--on-dark { --bg: var(--paper); --fg: var(--spruce-deep); --bd: var(--paper); }
.btn--on-dark:hover { --bg: #fff; --bd: #fff; color: var(--spruce-deep); }
.btn--ghost-dark { --bg: transparent; --fg: var(--on-dark); --bd: var(--line-dark); }
.btn--ghost-dark:hover { --bg: rgba(239,232,214,.08); --fg: var(--on-dark); --bd: rgba(239,232,214,.5); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.textlink { font-family: var(--sans); font-weight: 600; color: var(--rust-deep); display: inline-flex; align-items: center; gap: .4rem; border-bottom: 1px solid transparent; padding-bottom: 1px; }
.textlink:hover { color: var(--ink); border-color: var(--ink); }
.textlink .arw { transition: transform .2s ease; }
.textlink:hover .arw { transform: translateX(3px); }

/* ------- Masthead ------- */
.topline { height: 3px; background: var(--rust); }
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 78px; }
.brand { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--serif-display); font-size: 1.42rem; letter-spacing: -.01em; }
.brand__sub { font-family: var(--sans); font-weight: 600; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rust-deep); margin-top: .38rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .11em; color: var(--ink);
  padding: .35rem 0; position: relative;
}
.nav__link:hover { color: var(--rust-deep); }
.nav__link.active { color: var(--rust-deep); }
.nav__link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--rust); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--sans); font-weight: 700; font-size: .92rem; color: var(--spruce); white-space: nowrap; }
.nav__phone:hover { color: var(--rust-deep); }
.nav__phone svg { width: 1rem; height: 1rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

@media (max-width: 940px) {
  .nav { gap: 1rem; }
  .nav__list, .nav__phone .lbl, .nav__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile {
    position: fixed; inset: 81px 0 auto 0; z-index: 55;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 1.1rem var(--gutter) 1.6rem;
    transform: translateY(-135%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
  }
  body.nav-open .nav-mobile { transform: translateY(0); }
  .nav-mobile ul { list-style: none; margin: 0 0 1rem; padding: 0; }
  .nav-mobile a.m-link { display: block; font-family: var(--sans); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; padding: .8rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-mobile a.m-link:last-child { border-bottom: 0; }
  body.nav-open .nav-toggle span { background: transparent; }
  body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }
}
.nav-mobile { display: none; }
@media (max-width: 940px) { .nav-mobile { display: block; } }

/* ------- Hero ------- */
.hero { background: var(--paper); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 5.25rem); }
.hero__over { display: flex; align-items: center; gap: .8rem; font-family: var(--sans); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .2em; color: var(--rust-deep); margin-bottom: 1.4rem; }
.hero__over::before { content: ""; width: 2.2rem; height: 1px; background: var(--rust); }
.hero h1 { font-size: clamp(2.55rem, 6.1vw, 4.7rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 1.1rem; }
.hero h1 em { font-style: italic; font-family: var(--serif-text); color: var(--spruce); }
.hero__lead { font-family: var(--serif-text); font-size: clamp(1.14rem, 2.2vw, 1.4rem); line-height: 1.5; color: var(--muted); max-width: 34rem; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: .15rem; }
.fact__k { font-family: var(--sans); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--spruce); }
.fact__v { font-family: var(--serif-text); font-size: 1rem; color: var(--muted); }

.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--sand); }
.hero__credit { margin-top: .75rem; font-family: var(--sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); display: flex; align-items: center; gap: .6rem; }
.hero__credit::before { content: ""; width: 1.4rem; height: 1px; background: var(--line); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 3/2; max-height: 46vh; }
}

/* ------- Statement ------- */
.statement { max-width: 54rem; }
.statement p { font-family: var(--serif-text); font-size: clamp(1.4rem, 3vw, 2.05rem); line-height: 1.38; color: var(--ink); letter-spacing: -0.005em; margin-bottom: 1.2rem; }
.statement .sig { font-family: var(--sans); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.statement .sig em { font-style: normal; color: var(--rust-deep); }

/* ------- Editorial index (services / listing) ------- */
.index { border-top: 1px solid var(--line); }
.index__item { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 3.5rem); padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); align-items: start; }
.index__num { font-family: var(--serif-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--rust); line-height: 1; }
.index__title { font-family: var(--serif-display); font-size: clamp(1.7rem, 3.3vw, 2.4rem); letter-spacing: -.01em; margin-bottom: .5rem; }
.index__body p { color: var(--muted); max-width: 42rem; }
.index__meta { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin: 1.1rem 0 1.25rem; }
.index__detail { font-family: var(--serif-text); color: var(--muted); font-style: italic; }
@media (max-width: 640px) { .index__item { grid-template-columns: 1fr; gap: .5rem; } .index__num { font-size: 1.5rem; } }

/* small-caps tag list (replaces pills) */
.taglist { display: flex; flex-wrap: wrap; gap: .5rem .55rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.taglist li {
  font-family: var(--sans); font-weight: 600; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--spruce);
  padding: .32rem .7rem; border: 1px solid var(--line); border-radius: 3px; background: var(--paper);
}
.section--sand .taglist li { background: transparent; border-color: #CBBD9F; }

/* ------- Steps (numbered process) ------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); counter-reset: step; }
.step { border-top: 2px solid var(--spruce); padding-top: 1rem; }
.step__num { font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .14em; color: var(--rust-deep); text-transform: uppercase; margin-bottom: .55rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ------- Value points (why choose) ------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.point { padding: clamp(1.25rem,3vw,2rem) clamp(1.25rem,2.5vw,2rem); border-left: 1px solid var(--line); }
.point:first-child { border-left: 0; padding-left: 0; }
.point__k { font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-deep); margin-bottom: .8rem; display: block; }
.point h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.point p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .points { grid-template-columns: 1fr; } .point { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-right: 0; } .point:first-child { border-top: 0; } }

/* ------- Gallery ------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.gallery figure { margin: 0; }
.gallery .ph { border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-sm); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { display: flex; align-items: baseline; gap: .6rem; margin-top: .8rem; font-family: var(--sans); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.gallery figcaption .n { color: var(--rust-deep); }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .gallery { grid-template-columns: 1fr; } }

/* ------- Bio (Dr Curless / feature) ------- */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.bio__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--sand); }
.bio__media .cap { margin-top: .7rem; font-family: var(--sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.bio__body h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: .15rem; }
.bio__role { font-family: var(--sans); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--rust-deep); margin-bottom: 1.1rem; }
.bio__body p { color: var(--muted); max-width: 42rem; }
.pullquote { font-family: var(--serif-text); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.4; color: var(--spruce); border-left: 2px solid var(--rust); padding-left: 1.2rem; margin: 1.5rem 0; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio__media { max-width: 320px; } }

/* ------- Facts / logistics band ------- */
.facts3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.facts3 .f { padding: 0 clamp(1.25rem,2.5vw,2.25rem); border-left: 1px solid var(--line-dark); }
.facts3 .f:first-child { border-left: 0; padding-left: 0; }
.facts3 .fk { font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #E4B48F; margin-bottom: .6rem; }
.facts3 .f h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.facts3 .f p { color: var(--on-dark-mut); margin: 0; }
.facts3 .f a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.facts3 .f a:hover { color: #fff; border-color: currentColor; }
@media (max-width: 820px) { .facts3 { grid-template-columns: 1fr; gap: 1.75rem; } .facts3 .f { border-left: 0; padding-left: 0; padding-right: 0; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); } .facts3 .f:first-child { padding-top: 0; border-top: 0; } }

/* ------- CTA band ------- */
.cta__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
.cta__inner h2 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--on-dark); margin-bottom: .5rem; }
.cta__inner p { color: var(--on-dark-mut); margin: 0; max-width: 32rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: flex-start; }
.tag-open { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--sans); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #E4B48F; margin-bottom: 1rem; }
.tag-open .dot { width: 8px; height: 8px; border-radius: 50%; background: #7FB08A; box-shadow: 0 0 0 4px rgba(127,176,138,.22); }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } }

/* ------- Interior page head ------- */
.pagehead { background: var(--sand); border-bottom: 1px solid var(--line); }
.pagehead .inner { padding-block: clamp(2.5rem, 6vw, 4.25rem); max-width: 50rem; }
.pagehead h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); letter-spacing: -.02em; }
.breadcrumb { font-family: var(--sans); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--rust-deep); }
.breadcrumb a:hover { color: var(--ink); }

/* ------- Prose / two-col info ------- */
.split2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 820px) { .split2 { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); }
.section--sand .panel { background: var(--paper); }
.panel h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding-left: 1.85rem; margin-bottom: .7rem; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .85rem; height: .85rem; border-radius: 50%; border: 1.5px solid var(--rust); background:
  radial-gradient(circle at center, var(--rust) 0 3px, transparent 3.5px); }

/* ------- Team (about) ------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.25rem,3vw,2.25rem); }
.member__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-sm); }
.member img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.member h3 { font-size: 1.28rem; margin: 1rem 0 .05rem; }
.member__role { font-family: var(--sans); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rust-deep); margin-bottom: .7rem; }
.member p { color: var(--muted); font-size: .96rem; margin: 0 0 .7rem; }
.member__cred { font-family: var(--serif-text); font-style: italic; font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* ------- FAQ ------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.3rem .2rem; font-family: var(--serif-text); font-weight: 500; font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rust-deep); }
.faq__mark { flex: none; width: 24px; height: 24px; position: relative; }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--rust); border-radius: 2px; }
.faq__mark::before { width: 14px; height: 2px; }
.faq__mark::after  { width: 2px; height: 14px; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.faq details[open] .faq__mark::after { transform: rotate(90deg); opacity: 0; }
.faq .answer { padding: 0 .2rem 1.4rem; color: var(--muted); max-width: 52rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ------- Contact ------- */
.infolist { list-style: none; margin: 0; padding: 0; }
.infolist li { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.infolist li:first-child { padding-top: 0; }
.infolist .k { font-family: var(--sans); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: var(--rust-deep); margin-bottom: .3rem; }
.infolist .v { font-family: var(--serif-text); font-size: 1.12rem; color: var(--ink); }
.infolist .v a { color: var(--ink); border-bottom: 1px solid var(--line); }
.infolist .v a:hover { color: var(--rust-deep); border-color: currentColor; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; min-height: 360px; border: 0; }
.stack > * + * { margin-top: 1rem; }
.callout-card { background: var(--spruce); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,1.9rem); }
.callout-card h3 { color: var(--on-dark); font-size: 1.3rem; margin-bottom: .4rem; }
.callout-card p { color: var(--on-dark-mut); }

/* ------- Footer ------- */
.foot { background: var(--spruce-deep); color: var(--on-dark-mut); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.foot__top { border-top: 3px solid var(--rust); padding-top: clamp(2.25rem,5vw,3rem); }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 2.5rem; }
.foot__brandname { font-family: var(--serif-display); font-size: 1.5rem; color: var(--on-dark); }
.foot__brandsub { font-family: var(--sans); font-weight: 600; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: #E4B48F; margin: .4rem 0 1rem; }
.foot p { max-width: 24rem; margin: 0 0 1rem; }
.foot__note { font-size: .84rem; color: #7E9080; line-height: 1.55; }
.foot h4 { font-family: var(--sans); font-weight: 700; color: var(--on-dark); font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 1.1rem; }
.foot__links, .foot__contact { list-style: none; margin: 0; padding: 0; }
.foot__links li { margin-bottom: .6rem; }
.foot__links a, .foot__contact a { color: var(--on-dark-mut); }
.foot__links a:hover, .foot__contact a:hover { color: #E4B48F; }
.foot__contact li { margin-bottom: .8rem; line-height: 1.5; }
.foot__contact .lbl { display: block; font-family: var(--sans); font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #7E9080; margin-bottom: .1rem; }
.foot__bottom { border-top: 1px solid var(--line-dark); margin-top: 2.75rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: .82rem; color: #7E9080; }
.foot__bottom .crisis { color: #E4B48F; }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* ------- Skip link ------- */
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--spruce); color: var(--paper); padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) 0; font-family: var(--sans); font-weight: 700; }
.skip:focus { left: 0; }

/* ------- One authored entrance (hero only) -------
   Pure CSS: runs on load, staggered, always ends visible. No JS dependency,
   so content can never be stranded even if the script fails to load. */
[data-enter] { opacity: 1; }
html.js [data-enter] { opacity: 0; animation: enter .8s cubic-bezier(.16,.8,.24,1) both; }
html.js [data-enter].d1 { animation-delay: .09s; }
html.js [data-enter].d2 { animation-delay: .18s; }
html.js [data-enter].d3 { animation-delay: .27s; }
html.js [data-enter].d4 { animation-delay: .36s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.js [data-enter] { opacity: 1; animation: none; }
}
