/* ==========================================================================
   LIGHT AND LIFE WAY LLC — First Light Folio
   Editorial luminous minimalism. Light mode only, by design.
   Two voices: serif = the human register (beliefs, promises);
   sans = the record register (scopes, terms, entity details).
   ========================================================================== */

:root {
  /* Palette */
  --paper: #FAF6EF;
  --cream: #F3ECDF;
  --ink: #262219;
  --sepia: #5C5648;
  --amber: #7A4A00;
  --amber-deep: #5E3900;
  --gold: #E9B44C;
  --hairline: #D9CFBC;
  --charcoal: #2E2A22;
  --charcoal-2: #262219;
  --paper-on-dark: #FAF6EF;
  --sepia-on-dark: #C8BFAC;
  --hairline-on-dark: rgba(250, 246, 239, 0.18);

  /* Type */
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Scale */
  --display: clamp(2.75rem, 6.5vw, 4.75rem);
  --h2: clamp(1.875rem, 3.5vw, 2.5rem);
  --h3: 1.375rem;
  --body: 1.125rem;
  --lede: 1.375rem;
  --small: 0.9375rem;
  --micro: 0.8125rem;

  /* Rhythm */
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --gutter: clamp(1.5rem, 6vw, 6rem);
  --container: 1140px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(122, 74, 0, 0.45);
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

a:hover {
  color: var(--amber-deep);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 0 0 4px var(--paper);
}

/* Dark contexts: gold reads at 7.55:1 on charcoal, amber would vanish */
.band :focus-visible,
.footer :focus-visible,
.skip-link:focus-visible {
  outline-color: var(--gold);
  box-shadow: 0 0 0 4px var(--charcoal);
}

::selection {
  background: rgba(233, 180, 76, 0.35);
  color: var(--ink);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: var(--paper-on-dark);
  font-family: var(--sans);
  font-size: var(--small);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  color: var(--paper-on-dark);
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section--cream { background: var(--cream); }

/* Section opener: folio number + eyebrow sitting on a full-width rule */
.section-head {
  border-top: 1px solid var(--hairline);
  padding-top: 1.125rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.folio {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  letter-spacing: 0.06em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: var(--micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.section-head .eyebrow::before {
  content: "—";
  margin-right: 1rem;
  color: var(--hairline);
}

/* Eyebrows promoted to real headings keep the label styling */
h2.eyebrow {
  line-height: inherit;
  max-width: none;
}

/* Serif section statements demoted from headings keep the h2 look */
.section-statement {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: var(--h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 24ch;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}

h2 {
  font-size: var(--h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 24ch;
}

/* Progressive enhancement: balanced multi-line headlines, no widows */
h1, h2, .section-statement { text-wrap: balance; }

h3 {
  font-size: var(--h3);
  font-style: italic;
  line-height: 1.3;
}

p { max-width: 68ch; }

.lede {
  font-size: var(--lede);
  line-height: 1.5;
  color: var(--sepia);
  max-width: 44ch;
}

.measure { max-width: 68ch; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--small);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.875rem 1.875rem;
  border: 1px solid transparent;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.btn--primary {
  background: var(--charcoal);
  color: var(--paper-on-dark);
}

.btn--primary:hover {
  background: var(--charcoal-2);
  color: var(--paper-on-dark);
  box-shadow: inset 0 -3px 0 var(--gold);
}

/* The one saturated-gold CTA allowed per page (dark text only, never white) */
.btn--gold {
  background: var(--gold);
  color: var(--charcoal-2);
  border-color: rgba(38, 34, 25, 0.12);
}

.btn--gold:hover {
  background: #E0A93B;
  color: var(--charcoal-2);
}

.btn--ghost {
  background: transparent;
  color: var(--paper-on-dark);
  border-color: var(--hairline-on-dark);
}

.btn--ghost:hover {
  color: var(--paper-on-dark);
  border-color: rgba(250, 246, 239, 0.5);
}

.link-quiet {
  font-family: var(--sans);
  font-size: var(--small);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.link-quiet::after {
  content: " \2192";
}

/* --------------------------------------------------------------------------
   Masthead header
   -------------------------------------------------------------------------- */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 20;
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.125rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand__mark { flex: none; }

.brand__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__name span { color: var(--amber); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.nav a {
  font-family: var(--sans);
  font-size: var(--small);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sepia);
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.nav a[aria-current="page"] {
  color: var(--amber);
  border-bottom-color: var(--gold);
}

.nav .btn {
  padding: 0.5rem 1.25rem;
  border-bottom: none;
  color: var(--paper-on-dark);
}

.nav a.btn[aria-current="page"] {
  color: var(--paper-on-dark);
  border-bottom: none;
  box-shadow: inset 0 0 0 2px var(--gold);
}

.nav-toggle {
  display: none;
  appearance: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  min-width: 6.5em;
  min-height: 44px;
  text-align: center;
  font-family: var(--sans);
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    box-shadow: 0 18px 30px -22px rgba(38, 34, 25, 0.35);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 1rem;
  }

  .nav .btn {
    margin-top: 1rem;
    text-align: center;
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(233, 180, 76, 0.20), transparent 60%),
    var(--paper);
  padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--display);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 1.25rem 0 1.75rem;
  max-width: 14ch;
}

.hero .lede { margin-bottom: 2.5rem; }

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero__art { justify-self: end; width: 100%; max-width: 420px; }

/* Sunrise arcs shimmer */
@keyframes arc-shimmer {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.sunrise .arc-anim {
  animation: arc-shimmer 8s ease-in-out infinite;
}

.sunrise .arc-anim:nth-of-type(odd) {
  animation-delay: 4s;
}

@media (prefers-reduced-motion: reduce) {
  .sunrise .arc-anim { animation: none; opacity: 0.8; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* Keep the art above the fold cost low: small enough that H1 + lede + CTA lead */
  .hero__art { justify-self: center; max-width: 220px; order: -1; }
}

/* Trust capsule row under hero */
.trust-rule {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}

.trust-rule__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.875rem;
}

.trust-rule li {
  list-style: none;
  font-family: var(--sans);
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sepia);
}

.trust-rule li strong {
  font-weight: 500;
  color: var(--amber);
}

/* --------------------------------------------------------------------------
   Editorial columns (services digest)
   -------------------------------------------------------------------------- */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.digest { display: flex; flex-direction: column; }

.digest .folio {
  display: block;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.625rem;
  margin-bottom: 1.25rem;
}

.digest h3 {
  font-style: normal;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.005em;
}

.digest p {
  color: var(--sepia);
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.digest .digest__note {
  margin-top: auto;
  font-family: var(--sans);
  font-size: var(--micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.digest .link-quiet {
  margin-top: 0.875rem;
  align-self: flex-start;
}

@media (max-width: 860px) {
  .cols-3 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Ledger list (how we work / principles)
   -------------------------------------------------------------------------- */
.ledger { list-style: none; }

.ledger > li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 20rem) 1fr;
  gap: 1rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}

.ledger > li:last-child { border-bottom: 1px solid var(--hairline); }

.ledger h3 { font-style: normal; font-size: 1.375rem; }

.ledger p { color: var(--sepia); font-size: 1.0625rem; }

@media (max-width: 760px) {
  .ledger > li { grid-template-columns: 3.5rem 1fr; }
  .ledger p { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Tag row (who we serve)
   -------------------------------------------------------------------------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin-top: 2rem;
}

.tag-row li {
  font-family: var(--sans);
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.5rem 1.125rem;
}

.tag-row li.tag--lead {
  border-color: var(--gold);
  background: rgba(233, 180, 76, 0.14);
}

/* --------------------------------------------------------------------------
   Two-voice pairs (why choose us)
   -------------------------------------------------------------------------- */
.pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4.5rem);
}

.pair { border-top: 1px solid var(--hairline); padding-top: 1.25rem; }

.pair h3 {
  font-size: 1.4375rem;
  margin-bottom: 0.625rem;
}

.pair p { color: var(--sepia); font-size: 1.0625rem; }

@media (max-width: 760px) {
  .pairs { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Charcoal signature band (compliance colophon)
   -------------------------------------------------------------------------- */
.band {
  background: var(--charcoal);
  color: var(--paper-on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.band a { color: var(--gold); text-decoration-color: rgba(233, 180, 76, 0.5); }
.band a:hover { color: #F0C46A; }

.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.band h2, .band h3 { color: var(--paper-on-dark); }

.band .eyebrow { color: var(--gold); }

.record {
  font-family: var(--sans);
  font-size: var(--small);
  line-height: 1.6;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.625rem 2rem;
}

.record dt {
  color: var(--sepia-on-dark);
  font-size: var(--micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 0.1em;
}

.record dd { color: var(--paper-on-dark); }

.band__sig {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-on-dark);
  font-family: var(--sans);
  font-size: var(--micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia-on-dark);
}

@media (max-width: 760px) {
  .band__grid { grid-template-columns: 1fr; }
  .record { grid-template-columns: 1fr; gap: 0.25rem; }
  .record dd { margin-bottom: 0.875rem; }
}

/* --------------------------------------------------------------------------
   Closing CTA panel — the second (and last) appearance of the dawn glow
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  background:
    radial-gradient(110% 90% at 50% 115%, rgba(233, 180, 76, 0.22), transparent 62%),
    var(--paper);
  text-align: center;
  padding-block: clamp(5rem, 11vw, 8.5rem);
}

.cta-panel h2 {
  margin-inline: auto;
  max-width: 20ch;
  font-size: clamp(2.125rem, 4.5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.cta-panel p {
  margin-inline: auto;
  color: var(--sepia);
  font-size: var(--lede);
  line-height: 1.5;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.cta-panel .divider-arc { margin: 0 auto 2rem; }

.cta-panel__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.cta-panel .cta-mail {
  display: block;
  margin-top: 1.75rem;
  font-family: var(--sans);
  font-size: var(--small);
  color: var(--sepia);
}

/* Small sunrise-arc divider */
.divider-arc {
  width: 48px;
  height: 24px;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Footer masthead
   -------------------------------------------------------------------------- */
.footer {
  background: var(--charcoal);
  color: var(--sepia-on-dark);
  font-family: var(--sans);
  font-size: var(--small);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer a {
  color: var(--paper-on-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 140ms ease, color 140ms ease;
}

.footer a:hover {
  color: var(--gold);
  border-bottom-color: rgba(233, 180, 76, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--hairline-on-dark);
}

.footer__brand .brand { color: var(--paper-on-dark); margin-bottom: 1rem; }
.footer__brand .brand__name span { color: var(--gold); }

.footer__brand p {
  font-size: var(--small);
  line-height: 1.6;
  max-width: 34ch;
}

.footer h2 {
  font-family: var(--sans);
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.125rem;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 0.625rem; line-height: 1.5; }

.footer address { font-style: normal; line-height: 1.6; }

.footer__legal {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.footer__legal .sig {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-on-dark);
  margin-top: 0.75rem;
}

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(233, 180, 76, 0.16), transparent 60%),
    var(--paper);
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
  font-size: clamp(2.375rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 1.25rem 0 1.5rem;
  max-width: 22ch;
}

.page-hero .lede { max-width: 52ch; }

/* --------------------------------------------------------------------------
   About specifics
   -------------------------------------------------------------------------- */
.page-hero h1.statement {
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  line-height: 1.3;
  font-style: italic;
  max-width: 26ch;
}

.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.story p { color: var(--ink); margin-bottom: 1.25rem; font-size: 1.0625rem; }

.story p:last-child { margin-bottom: 0; }

.dropcap::first-letter {
  float: left;
  font-size: 4.4em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--amber);
  font-style: normal;
}

@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; }
}

/* Record card — the warm official document */
.record-card {
  border: 1px solid var(--hairline);
  background: var(--paper);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  box-shadow: 0 1px 0 rgba(38, 34, 25, 0.04), 0 24px 48px -36px rgba(38, 34, 25, 0.3);
}

.record-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}

.record-card > * { position: relative; }

.record-card .eyebrow { display: block; margin-bottom: 1.5rem; }

.record-card .record {
  grid-template-columns: max-content 1fr;
}

.record-card .record dt { color: var(--sepia); }
.record-card .record dd { color: var(--ink); }

.record-card__foot {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: var(--micro);
  letter-spacing: 0.06em;
  color: var(--sepia);
  max-width: none;
}

@media (max-width: 600px) {
  .record-card .record { grid-template-columns: 1fr; gap: 0.25rem; }
  .record-card .record dd { margin-bottom: 0.875rem; }
}

/* --------------------------------------------------------------------------
   Services specifics
   -------------------------------------------------------------------------- */
.toc {
  list-style: none;
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline);
}

.toc li {
  break-inside: avoid;
  border-bottom: 1px solid var(--hairline);
}

.toc a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0.25rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.1875rem;
  transition: color 140ms ease, background-color 140ms ease;
}

.toc a:hover { color: var(--amber-deep); background: rgba(233, 180, 76, 0.08); }

.toc .folio { flex: none; }

@media (max-width: 700px) {
  .toc { columns: 1; }
}

.service {
  padding-block: var(--section-pad);
}

.service__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2.5rem clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.service h2 { max-width: 20ch; margin-bottom: 1.25rem; }

.service .service__kicker {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service p { color: var(--ink); margin-bottom: 1.25rem; }

.service .deliverables {
  margin-top: 1.75rem;
}

.deliverables h3 {
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.875rem;
}

.deliverables ul { list-style: none; }

.deliverables li {
  padding: 0.625rem 0;
  border-top: 1px solid var(--hairline);
  color: var(--sepia);
  font-size: 1.0625rem;
}

.deliverables li:last-child { border-bottom: 1px solid var(--hairline); }

.aside-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 1.75rem;
  position: sticky;
  top: 5.5rem;
}

.service--cream .aside-card { background: var(--paper); }

.aside-card h2,
.aside-card h3 {
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  line-height: 1.7;
  max-width: none;
}

.aside-card p {
  font-size: 1rem;
  color: var(--sepia);
  margin-bottom: 0;
}

.aside-card ul {
  list-style: none;
  font-size: 1rem;
  color: var(--sepia);
}

.aside-card li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 860px) {
  .service__grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

/* FAQ — native accordion */
.faq { border-top: 1px solid var(--hairline); }

.faq details { border-bottom: 1px solid var(--hairline); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.375rem 0.25rem;
  font-size: 1.1875rem;
  color: var(--ink);
  transition: color 140ms ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--amber-deep); }

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.25rem;
  color: var(--amber);
  flex: none;
  transition: transform 180ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq__body {
  padding: 0 0.25rem 1.5rem;
  color: var(--sepia);
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   Contact specifics
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  letter-spacing: -0.005em;
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  margin: 0.5rem 0 1.75rem;
  overflow-wrap: anywhere;
}

.contact-meta {
  list-style: none;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: var(--small);
  color: var(--sepia);
}

.contact-meta li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-meta .label {
  font-size: var(--micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 0.15em;
}

.contact-meta address { font-style: normal; color: var(--ink); }

.checklist-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.checklist-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.checklist-card > p {
  color: var(--sepia);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.checklist { list-style: none; counter-reset: item; }

.checklist li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.125rem 0;
  border-top: 1px solid var(--hairline);
}

.checklist li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  padding-top: 0.25em;
}

.checklist strong {
  display: block;
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--ink);
}

.checklist span {
  display: block;
  color: var(--sepia);
  font-size: 1rem;
}

.checklist-card__foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: var(--micro);
  letter-spacing: 0.04em;
  color: var(--sepia);
  max-width: none;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .contact-meta li { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* --------------------------------------------------------------------------
   Legal pages — the record register, long form
   -------------------------------------------------------------------------- */
.legal-effective {
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: var(--small);
  letter-spacing: 0.04em;
  color: var(--sepia);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: 3rem clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.legal-toc a {
  display: block;
  text-decoration: none;
  color: var(--sepia);
  transition: color 140ms ease;
}

.legal-toc a:hover { color: var(--amber-deep); }

.legal-doc { max-width: 72ch; }

.legal-summary {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2.75rem;
}

.legal-summary h2 {
  font-size: 1.375rem;
  max-width: none;
  margin-bottom: 0.75rem;
}

.legal-summary p { margin-bottom: 1rem; }
.legal-summary p:last-child { margin-bottom: 0; }

.legal-doc > section {
  border-top: 1px solid var(--hairline);
  padding-top: 1.375rem;
  margin-bottom: 2.75rem;
}

.legal-doc > section:last-child { margin-bottom: 0; }

.legal-doc h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  max-width: none;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.legal-doc h2 .folio { flex: none; }

.legal-doc h3 {
  font-size: 1.1875rem;
  margin: 1.625rem 0 0.625rem;
}

.legal-doc p { margin-bottom: 1.125rem; }
.legal-doc p:last-child { margin-bottom: 0; }

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1.25rem;
  padding-left: 1.375rem;
}

.legal-doc li { margin-bottom: 0.625rem; }
.legal-doc li::marker { color: var(--amber); }

.legal-doc .record-card { margin-top: 1.75rem; }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Not found — a quiet horizon
   -------------------------------------------------------------------------- */
.notfound {
  text-align: center;
  padding-block: clamp(5rem, 12vw, 9rem);
}

.notfound .divider-arc {
  margin: 0 auto 2rem;
  color: var(--amber);
}

.notfound h1 {
  font-size: clamp(2.375rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin: 1.25rem auto 1.5rem;
}

.notfound p {
  margin-inline: auto;
  color: var(--sepia);
  max-width: 52ch;
}

.notfound__actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }

.section-outro {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* --------------------------------------------------------------------------
   Print — legal pages get printed and saved to PDF by reviewers.
   Light ink, dark text, no decoration, visible link destinations.
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .skip-link,
  .nav-toggle,
  .nav,
  .hero__art,
  .divider-arc,
  .cta-panel { display: none !important; }

  .masthead,
  .hero,
  .page-hero,
  .section--cream,
  .trust-rule { background: #fff !important; }

  .band,
  .footer {
    background: #fff !important;
    color: #000 !important;
    border-top: 1px solid #999;
  }

  .band h2,
  .band h3,
  .band .eyebrow,
  .band a,
  .band__sig,
  .record dt,
  .record dd,
  .footer a,
  .footer h2,
  .footer__brand .brand,
  .footer__legal,
  .footer__legal .sig { color: #000 !important; }

  .aside-card { position: static; }

  a { color: #000; }

  /* Print destinations of external cross-references in the legal documents */
  .legal-doc a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
