/* Riverline Strategy Group - shared stylesheet
   Black and white only. Layout: announcement bar, black header with full-screen
   menu, dark photo hero, big serif statements, illustrated service areas,
   comparison grid, article-style service list, call-to-action band, black footer.
   White theme by default, black theme via the menu switch or device setting. */

/* White theme */
:root {
  color-scheme: light;
  --ink: #141414;      /* body text */
  --black: #000;       /* headings, links, strongest text */
  --muted: #5f5f5f;    /* secondary text */
  --faint: #8a8a8a;    /* tertiary text */
  --paper: #ffffff;    /* page background */
  --hair: #ececec;
  --field: #cfcfcf;    /* form lines, table rules */
  --ph: #7a7a7a;       /* placeholder text */
  --tint: #ececec;     /* illustration circles */
  --band: #f2f2f2;     /* call-to-action band */
  --maxread: 40rem;
  --maxwide: 58rem;
  --wide: 84rem;
}

/* Black theme */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6e6e6; --black: #ffffff; --muted: #a6a6a6; --faint: #767676;
  --paper: #000000; --hair: #262626; --field: #3d3d3d; --ph: #8f8f8f;
  --tint: #222222; --band: #141414;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #e6e6e6; --black: #ffffff; --muted: #a6a6a6; --faint: #767676;
    --paper: #000000; --hair: #262626; --field: #3d3d3d; --ph: #8f8f8f;
    --tint: #222222; --band: #141414;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--black); line-height: 1.15; font-weight: 700;
  letter-spacing: -0.015em; margin: 0 0 0.5em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; margin-top: 0; }
h3 { font-size: 1.15rem; margin-bottom: 0.25em; }
@media (min-width: 40rem) { h1 { font-size: 3rem; } h2 { font-size: 1.8rem; } }

p { margin: 0 0 1.1rem; max-width: var(--maxread); }
ul, ol { max-width: var(--maxread); padding-left: 1.15rem; }
li { margin-bottom: 0.45rem; }
a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--muted); }
strong { font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--maxwide); margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 2.5rem; }
@media (max-width: 40rem) { .wrap-wide { padding: 0 1.25rem; } }
main { display: block; padding: 3.5rem 0 5rem; }
main.home { padding: 0; }
.measure { max-width: var(--maxread); }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--paper); padding: 0.6rem 1rem; z-index: 60; text-decoration: none; }
.skip:focus { left: 0; color: var(--paper); }

/* ---------------------------------------------------------------- Announcement */
.announce { background: #fff; color: #000; border-bottom: 1px solid #000; text-align: center; padding: 0.85rem 1.25rem; font-size: 1rem; line-height: 1.4; }
.announce a { color: #000; text-decoration: none; }
.announce a:hover { color: #000; text-decoration: underline; }

/* ---------------------------------------------------------------------- Header */
.site-header { background: #000; color: #fff; border-bottom: 1px solid #000; }
:root[data-theme="dark"] .site-header { border-bottom-color: #262626; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.9rem; padding-bottom: 1.9rem; }
.brand { display: flex; align-items: center; gap: 0.9rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 2.9rem; height: 2.9rem; flex: none; }
.brand-name { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; }
.brand-sub { display: block; margin-top: 0.4rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* Menu: a plain link row without JavaScript; a full-screen menu with it */
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 0.6rem; }
.js .menu-btn { display: inline-flex; }
.bars { display: grid; gap: 10px; width: 58px; }
.bars i { display: block; height: 3px; background: currentColor; }
.bars i:nth-child(2) { width: 68%; justify-self: end; }
.menu-btn:hover .bars i { background: #a6a6a6; }

.site-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; max-width: none; }
.site-menu li { margin: 0; }
.site-menu a { color: #fff; text-decoration: none; }
.site-menu a:hover { color: #a6a6a6; }
.site-menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.14em; }
.menu-close { display: none; }

.js .site-menu { position: fixed; inset: 0; z-index: 50; display: none; flex-direction: column; justify-content: center; background: #000; padding: 6rem 2.5rem 3rem; overflow-y: auto; }
.js .site-menu.open { display: flex; }
.js .site-menu ul { flex-direction: column; gap: 0.25rem; }
.js .site-menu a { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(2.3rem, 7vw, 4.5rem); line-height: 1.12; letter-spacing: -0.02em; }
.js .menu-close { display: block; position: absolute; top: 1.6rem; right: 2rem; background: none; border: 0; color: #fff; font-size: 3.2rem; line-height: 1; cursor: pointer; padding: 0.4rem 0.8rem; }
.js .menu-close:hover { color: #a6a6a6; }
.theme-toggle { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-top: 2.5rem; align-self: flex-start; text-decoration: underline; text-underline-offset: 3px; }
.theme-toggle:hover { color: #a6a6a6; }
.theme-toggle[hidden] { display: none; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------------ Hero */
.hero-photo { position: relative; display: flex; align-items: flex-end; min-height: max(640px, calc(100vh - 11rem)); overflow: hidden; background: #111; color: #fff; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(1.3) contrast(1.1) brightness(0.72); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.82) 100%); }
.hero-photo .wrap-wide { position: relative; z-index: 1; padding-top: 7rem; padding-bottom: 4rem; }
.hero-photo h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 5.6rem); line-height: 1.07; letter-spacing: -0.02em; max-width: 21ch; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-photo h1 em { font-style: italic; }

/* "I want to:" pickers */
.picks { display: grid; gap: 1.4rem; margin-top: 3rem; }
.pick { border: 2px solid #fff; border-radius: 8px; background: #000; color: #fff; }
.pick summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.55rem 2rem; font-size: clamp(1.15rem, 2vw, 1.55rem); cursor: pointer; }
.pick summary::-webkit-details-marker { display: none; }
.pick summary svg { width: 1.9rem; height: 1.9rem; flex: none; transition: transform 0.2s ease; }
.pick[open] summary svg { transform: rotate(180deg); }
.pick summary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
.pick ul { list-style: none; margin: 0; padding: 0 2rem 1.3rem; max-width: none; }
.pick li { margin: 0; }
.pick li a { display: block; padding: 0.7rem 0; color: #fff; text-decoration: none; font-size: 1.2rem; border-top: 1px solid rgba(255,255,255,0.18); }
.pick li a:hover { color: #bdbdbd; }
.pick li a::after { content: "  \2192"; }

/* ------------------------------------------------------ "Consultants at" bar */
/* White on black. The track holds four identical lists and slides left by one
   list (25%) per loop, so the names repeat without a seam. */
.schools { background: #000; color: #fff; padding: 4.2rem 0 4.6rem; border-bottom: 1px solid #1f1f1f; overflow: hidden; }
.schools-label { max-width: none; margin: 0 0 2.2rem; padding: 0 1.25rem; text-align: center; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker ul { display: flex; flex: none; list-style: none; margin: 0; padding: 0; max-width: none; }
.ticker li { display: flex; align-items: center; gap: 0.38em; margin: 0; padding: 0 clamp(2.2rem, 5vw, 5rem); font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.15; letter-spacing: -0.01em; white-space: nowrap; color: #fff; }
/* School logos: one-color white versions, sized to the names */
.ticker .logo { display: block; flex: none; width: auto; height: 1.15em; }
@keyframes ticker { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { animation: none; width: auto; justify-content: center; }
  .ticker ul { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 1.2rem; }
  .ticker ul + ul { display: none; }
}

/* ------------------------------------------------------- Floating cards band */
/* Black band below the hero: a line and a button in the middle, tilted cards
   floating around them. The cards drift in when the band scrolls into view
   (theme.js adds .in) and are decorative (aria-hidden). Each card has three layers: .fl places it (and
   takes the scroll/pointer drift from theme.js), .fl-tilt angles it in 3D, and
   .fl-bob makes it bob gently. Card text is sized from the card width (--w). */
.float-band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: max(780px, 100vh); background: radial-gradient(120% 85% at 50% 50%, #1a1a1a 0%, #000 60%); color: #fff; }
.float-copy { position: relative; z-index: 2; text-align: center; padding-top: 12.5rem; padding-bottom: 12.5rem; }
.float-copy::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(70rem, 120%); height: 80%; translate: -50% -50%; background: radial-gradient(closest-side, rgba(0,0,0,0.85), rgba(0,0,0,0)); pointer-events: none; }
.float-band h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.9rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 21ch; margin: 0 auto; }
.float-btn { display: inline-block; margin-top: 2.6rem; padding: 1.15rem 2.6rem; border: 2px solid rgba(255,255,255,0.35); border-radius: 6px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; transition: border-color 0.2s ease, background 0.2s ease; }
.float-btn:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.08); }
.float-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.float-stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fl { position: absolute; width: var(--w, 240px); font-size: calc(var(--w, 240px) * 0.056); line-height: 1.35; perspective: 1100px; }
.fl-tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(var(--rz, 0deg)); }
@media (prefers-reduced-motion: no-preference) {
  .fl-bob { animation: fl-bob var(--dur, 9s) ease-in-out var(--delay, 0s) infinite alternate; will-change: transform; }
}
@keyframes fl-bob { from { translate: 0 -0.9em; rotate: -1.2deg; } to { translate: 0 0.9em; rotate: 1.2deg; } }

.card { border-radius: 1.1em; overflow: hidden; box-shadow: 0 2.2em 4em -1em rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.07); }
.card p { margin: 0; max-width: none; }
.card-glass { background: linear-gradient(150deg, rgba(255,255,255,0.17), rgba(255,255,255,0.04) 65%); border: 1px solid rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; padding: 1.1em 1.25em 1.2em; }
.card-paper { background: #ece6db; color: #141414; padding: 1.2em 1.35em 1.25em; }
.card .k { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; font-size: 0.7em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; margin-bottom: 0.4em; }
.card .t { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.55em; line-height: 1.1; margin-bottom: 0.55em; }
.chip { flex: none; font-size: 0.85em; letter-spacing: 0.1em; padding: 0.2em 0.6em; border: 1px solid currentColor; border-radius: 99px; opacity: 0.85; }
.meter { display: grid; grid-template-columns: 5.4em 1fr; align-items: center; gap: 0.6em; font-size: 0.82em; margin: 0.5em 0; }
.meter b { position: relative; display: block; height: 0.75em; border-radius: 99px; background: rgba(0,0,0,0.08); }
.meter b::after { content: ""; position: absolute; left: 40%; top: -0.4em; bottom: -0.4em; border-left: 2px dashed #b4532a; }
.meter i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 99px; background: #141414; }
.legend { display: flex; align-items: center; gap: 0.5em; font-size: 0.72em; margin-top: 0.8em !important; color: #5f5f5f; }
.legend .dash { width: 1.6em; border-top: 2px dashed #b4532a; }
.ptable { display: grid; grid-template-columns: 1fr auto auto; gap: 0.45em 0.9em; font-size: 0.85em; margin-top: 0.5em; }
.ptable .h { font-size: 0.75em; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.ptable .up { color: #f2b48a; font-weight: 600; }
.listing { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.8em; }
.listing svg { width: 3.4em; height: 3.4em; color: #fff; --blob: rgba(255,255,255,0.14); --paper: #121212; }
.listing .t { margin-bottom: 0.15em; }
.stars { color: #f3c969; letter-spacing: 0.12em; font-size: 0.95em; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4em; margin: 0.9em 0 0; padding: 0; max-width: none; font-size: 0.75em; }
.checks li { margin: 0; padding: 0.3em 0.7em; border-radius: 99px; background: rgba(255,255,255,0.12); }
.checks li::before { content: "\2713  "; }
.todo { list-style: none; margin: 0.3em 0 0; padding: 0; max-width: none; font-size: 0.85em; }
.todo li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.65em; margin: 0; padding: 0.5em 0; border-top: 1px solid rgba(255,255,255,0.12); }
.todo li:first-child { border-top: 0; }
.todo .box { display: grid; place-items: center; width: 1.15em; height: 1.15em; border: 1.5px solid rgba(255,255,255,0.6); border-radius: 0.3em; }
.todo .box.on { background: #fff; border-color: #fff; }
.todo .box.on::after { content: ""; width: 0.55em; height: 0.28em; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: translateY(-0.06em) rotate(-45deg); }
.todo .when { font-size: 0.8em; opacity: 0.6; }
.spark { display: block; width: 100%; height: auto; margin-top: 0.4em; fill: none; stroke: #f2b48a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pill { display: inline-block; white-space: nowrap; padding: 0.65em 1.3em; border-radius: 999px; background: linear-gradient(150deg, rgba(255,255,255,0.17), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1.6em 3em -1em rgba(0,0,0,0.85); color: rgba(255,255,255,0.88); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.6em; }

/* Where each card sits: wide screens */
.fl-todo    { --w: clamp(210px, 22vw, 330px); left: 2.5%; top: 7%;    --rx: 14deg;  --ry: 30deg;  --rz: -9deg; --dur: 10s; }
.fl-memo    { --w: clamp(200px, 19vw, 285px); right: 3%;  top: 6%;    --rx: 12deg;  --ry: -28deg; --rz: 8deg;  --dur: 12s; --delay: -4s; }
.fl-price   { --w: clamp(210px, 20vw, 300px); left: 4%;   bottom: 6%; --rx: -14deg; --ry: 26deg;  --rz: 5deg;  --dur: 11s; --delay: -7s; }
.fl-listing { --w: clamp(200px, 18vw, 270px); right: 4%;  bottom: 7%; --rx: -12deg; --ry: -26deg; --rz: -6deg; --dur: 9s;  --delay: -2s; }
.fl-trend   { --w: 190px; right: 27%; top: 5%;    --rx: 20deg;  --ry: -16deg; --rz: 4deg;  --dur: 13s; --delay: -5s; }
.fl-pill1   { --w: 200px; left: 27%;  top: 7%;    --rx: 18deg;  --ry: 22deg;  --rz: -12deg; --dur: 8s; --delay: -3s; }
.fl-pill2   { --w: 190px; left: 29%;  bottom: 9%; --rx: -16deg; --ry: 24deg;  --rz: 10deg; --dur: 9s;  --delay: -1s; }
.fl-pill3   { --w: 200px; right: 27%; bottom: 5%; --rx: -18deg; --ry: -24deg; --rz: -14deg; --dur: 10s; --delay: -6s; }
.fl-pill4   { --w: 190px; right: 2%;  top: 47%;  --rx: 10deg;  --ry: -30deg; --rz: 16deg; --dur: 11s; --delay: -8s; }
[class*="fl-pill"] { width: max-content; }
@media (max-width: 80rem) { .fl-trend { display: none; } }
@media (max-width: 64rem) {
  .float-band { min-height: 0; }
  .float-copy { padding-top: 17rem; padding-bottom: 17rem; }
  .fl-todo    { --w: 34vw; top: 2.5rem; }
  .fl-memo    { --w: 30vw; top: 3rem; }
  .fl-price   { --w: 32vw; bottom: 2.5rem; }
  .fl-listing { --w: 30vw; bottom: 3.5rem; }
  .fl-pill4 { display: none; }
  .fl-pill1 { left: 33%; top: 4%; }
  .fl-pill3 { right: 30%; bottom: 3%; }
  .fl-pill2 { display: none; }
}
@media (max-width: 46rem) {
  .float-band { min-height: 0; }
  .float-copy { padding-top: 16rem; padding-bottom: 14rem; }
  .fl-todo    { --w: 46vw; left: 3%;  top: 2.4rem; }
  .fl-memo    { --w: 43vw; right: 3%; top: 3rem; }
  .fl-price   { --w: 50vw; left: 2%;  bottom: 2rem; }
  .fl-listing { --w: 42vw; right: 3%; bottom: 3rem; }
  .fl-pill1   { --w: 165px; left: 50%; top: 12.4rem; margin-left: -3.2rem; }
  .fl-pill3   { display: none; }
}

/* ------------------------------------------------------- Statement + 3 areas */
.statement { padding: 6.5rem 0 2rem; }
.big-statement { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: var(--black); font-size: clamp(1.75rem, 3.1vw, 2.7rem); line-height: 1.25; letter-spacing: -0.01em; max-width: 25ch; margin: 0; }
.areas { display: grid; gap: 3.5rem; margin-top: 4.5rem; padding-bottom: 6rem; }
@media (min-width: 52rem) { .areas { grid-template-columns: repeat(3, 1fr); } }
.area .art { width: 210px; height: 210px; display: block; margin: 0 0 1.6rem -23px; color: var(--black); --blob: var(--tint); } /* -23px lines the circle up with the text */
.area h3 { font-size: clamp(1.8rem, 2.7vw, 2.4rem); line-height: 1.1; margin: 0 0 1rem; }
.area p { font-size: 1.18rem; line-height: 1.65; max-width: none; margin: 0; }

/* ---------------------------------------------------------- Compare services */
.compare { padding: 6rem 0; border-top: 1px solid var(--field); }
.compare h2 { text-align: center; font-size: clamp(2.3rem, 4.6vw, 4rem); margin: 0 0 2.2rem; }
.included { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem 2.4rem; background: var(--band); border-radius: 6px; padding: 1.3rem 1.6rem; margin: 0 0 3.5rem; }
.included p { margin: 0; max-width: none; font-weight: 700; font-size: 1.1rem; color: var(--black); }
.included ul { list-style: none; margin: 0; padding: 0; max-width: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 2rem; }
.included li { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 1.1rem; color: var(--ink); }
.mark { width: 24px; height: 24px; flex: none; color: var(--black); }
.svc-table { width: 100%; border-collapse: collapse; }
.svc-table thead th { text-align: left; vertical-align: bottom; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0 2rem 1rem 0; }
.svc-table tbody tr { border-top: 1px solid var(--field); }
.svc-table tbody tr:last-child { border-bottom: 1px solid var(--field); }
.svc-table tbody th, .svc-table td { text-align: left; vertical-align: middle; padding: 1.8rem 2rem 1.8rem 0; }
.svc-table tbody th { font-weight: 400; width: 36%; }
.svc-table td { font-size: 1.15rem; line-height: 1.55; color: var(--ink); }
.svc-table td:last-child, .svc-table thead th:last-child { padding-right: 0; }
.svc { display: flex; align-items: center; gap: 1.2rem; }
.svc-icon { width: 84px; height: 84px; flex: none; display: block; color: var(--black); --blob: var(--tint); }
.svc-name { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--black); margin-bottom: 0.35rem; }
@media (max-width: 46rem) {
  .compare { padding: 4rem 0; }
  .included { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .included ul { flex-direction: column; gap: 0.6rem; }
  .svc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .svc-table, .svc-table tbody, .svc-table tr, .svc-table tbody th, .svc-table td { display: block; width: auto; }
  .svc-table tbody th { padding: 1.6rem 0 1rem; }
  .svc-table td { padding: 0 0 1rem; font-size: 1.08rem; }
  .svc-table td:last-child { padding-bottom: 1.6rem; }
  .svc-table td::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
  .svc-icon { width: 64px; height: 64px; }
  .svc-name { font-size: 1.3rem; }
}

/* -------------------------------------------------- Article-style service list */
.articles { padding: 6rem 0 4rem; border-top: 1px solid var(--field); }
.articles-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.articles-head h2 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); margin: 0; }
.articles-head a { font-size: 1.15rem; }
.article { display: grid; gap: 2rem; align-items: center; padding: 3rem 0; }
@media (min-width: 52rem) { .article { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.article-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.article .cat { color: var(--muted); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.8rem; }
.article h3 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.08; margin: 0 0 1.3rem; }
.article .excerpt { font-size: 1.2rem; line-height: 1.75; max-width: 34rem; }
.article .read { font-weight: 600; font-size: 1.15rem; }

/* --------------------------------------------------------- Call-to-action band */
.cta-band { background: var(--band); color: var(--ink); padding: 6rem 0; border-top: 1px solid var(--field); }
.cta-band h2 { color: var(--black); font-size: clamp(2.1rem, 4.4vw, 3.7rem); margin: 0 0 0.8rem; }
.cta-band p { color: var(--ink); font-size: 1.18rem; max-width: 46rem; }
.quick { display: grid; gap: 1.2rem; margin-top: 2.4rem; max-width: none; }
@media (min-width: 52rem) { .quick { grid-template-columns: 1fr 1fr 1fr; gap: 2.2rem; } }
.quick input { width: 100%; background: var(--paper); color: var(--ink); border: 2px solid var(--black); border-radius: 4px; padding: 1.35rem 1.5rem; font-size: 1.2rem; }
.quick input::placeholder { color: var(--muted); }
.quick input:focus { outline: 3px solid var(--black); outline-offset: 3px; border: 2px solid var(--black); }
.quick button { background: var(--black); color: var(--paper); border: 0; border-radius: 6px; font: inherit; font-size: 1.2rem; padding: 1.35rem; cursor: pointer; }
.quick button:hover { opacity: 0.82; }
.quick button:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.cta-band .small { font-size: 0.98rem; margin-top: 1.4rem; }
.cta-band a { color: var(--black); }

/* ---------------------------------------------------------- Inner page pieces */
.intro { padding: 1rem 0 0.5rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: var(--maxread); }
.services { display: grid; gap: 2.5rem; margin: 2.5rem 0; }
@media (min-width: 46rem) { .services { grid-template-columns: repeat(3, 1fr); gap: 2.75rem; } }
.service h3 { margin-top: 0; }
.service p { font-size: 1rem; }
.more { font-size: 0.95rem; }
.section { margin-top: 3rem; }
.section:first-of-type { margin-top: 1.5rem; }
.detail { margin-bottom: 0.9rem; }
.detail .label { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: 1.75rem 0 0.5rem; align-items: baseline; }
.btn {
  display: inline-block; font-size: 1.02rem; font-weight: 600; font-family: inherit;
  color: var(--black); text-decoration: none; cursor: pointer;
  background: none; border: none; border-bottom: 2px solid var(--black); padding: 0 0 1px; border-radius: 0;
}
.btn:hover { color: var(--muted); border-bottom-color: var(--muted); }
.btn-secondary { font-weight: 400; }
.note { color: var(--muted); font-size: 0.98rem; }
.callout { color: var(--ink); max-width: var(--maxread); margin: 1.4rem 0; }
.ph { color: var(--ph); }
.prose p, .prose li { max-width: var(--maxread); }
.prose h2 { margin-top: 2.5rem; }

/* Forms (contact page) */
form { max-width: var(--maxread); margin-top: 1.4rem; }
.field { margin-bottom: 1.3rem; }
label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border-radius: 0; }
select option { background: var(--paper); color: var(--ink); }
input, select { border: none; border-bottom: 1px solid var(--field); padding: 0.5rem 0.1rem; }
textarea { border: 1px solid var(--field); padding: 0.6rem 0.7rem; min-height: 7rem; resize: vertical; }
input:focus, select:focus { outline: none; border-bottom: 1px solid var(--black); }
textarea:focus { outline: none; border-color: var(--black); }
a:focus-visible, .btn:focus-visible, .theme-toggle:focus-visible, .menu-btn:focus-visible, .menu-close:focus-visible, input:focus-visible {
  outline: 2px solid var(--black); outline-offset: 3px;
}
.site-header a:focus-visible, .site-menu a:focus-visible, .menu-btn:focus-visible, .menu-close:focus-visible, .theme-toggle:focus-visible,
.site-footer a:focus-visible, .hero-photo a:focus-visible { outline-color: #fff; }
fieldset.plain { border: none; padding: 0; margin: 0 0 1.3rem; }
fieldset.plain legend { font-weight: 600; padding: 0; margin-bottom: 0.4rem; }
.check { font-weight: 400; display: flex; gap: 0.55rem; align-items: center; margin-bottom: 0.3rem; }
.check input { width: auto; border: none; padding: 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------------- Footer */
.site-footer { background: #000; color: rgba(255,255,255,0.72); padding: 4rem 0 3rem; font-size: 0.98rem; border-top: 1px solid #000; }
:root[data-theme="dark"] .site-footer { border-top-color: #262626; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.foot-brand { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.9rem; color: #fff; line-height: 1.1; margin: 0 0 0.6rem; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 0.55rem 2.5rem; max-width: none; }
.foot-nav li { margin: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #a6a6a6; }
.site-footer p { max-width: 60rem; }
.site-footer .ph { color: #9a9a9a; }
.noaffil { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-top: 2.5rem; }
.copyright { color: rgba(255,255,255,0.45); font-size: 0.92rem; margin: 0; }

/* ------------------------------------------------- Home page motion (on load + on scroll)
   Only runs when theme.js has added .motion to <html> (JavaScript on, and the
   visitor's device does not ask for reduced motion). Otherwise nothing is hidden. */
@keyframes rl-float-in {
  0%   { opacity: 0; transform: translateY(0.6em); filter: blur(6px); }
  60%  { opacity: 1; transform: translateY(-0.08em); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes rl-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.motion .home .hero-photo img { animation: rl-hero-zoom 2.4s cubic-bezier(.2,.7,.2,1) both; }
.motion .home .hero-photo h1:not(.split) { opacity: 0; }
.motion .home .hero-photo h1 .w { display: inline-block; opacity: 0; animation: rl-float-in 0.9s cubic-bezier(.2,.8,.3,1) both; animation-delay: calc(0.15s + var(--i, 0) * 0.08s); }
.motion .home .hero-photo .picks { opacity: 0; animation: rl-float-in 0.9s cubic-bezier(.2,.8,.3,1) both; animation-delay: var(--after, 1s); }

/* Floating cards band: cards drift in from the distance when it scrolls into view */
.motion .float-band .fl { opacity: 0; scale: 0.6; filter: blur(8px); transition: opacity 1s ease, scale 1.6s cubic-bezier(.2,.8,.2,1), filter 1s ease; transition-delay: calc(var(--i, 0) * 0.12s); }
.motion .float-band.in .fl { opacity: 1; scale: 1; filter: none; }

.motion .home .reveal {
  opacity: 0; transform: translateY(42px) scale(0.98);
  transition: opacity 0.8s ease-out, transform 1s cubic-bezier(.34,1.56,.64,1);
  transition-delay: calc(var(--d, 0) * 0.12s);
}
.motion .home .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- Plan calculator (services) */
.calc { max-width: 34rem; margin: 1.4rem 0 0.6rem; }
.calc output { display: block; }
.calc-table { width: 100%; border-collapse: collapse; margin: 0.4rem 0 1rem; font-size: 1.05rem; }
.calc-table th, .calc-table td { text-align: left; padding: 0.6rem 0.5rem 0.6rem 0; border-bottom: 1px solid var(--field); }
.calc-table th { font-weight: 700; color: var(--black); }
.hero-photo .hero-note { color: rgba(255,255,255,0.85); font-size: clamp(0.95rem, 1.4vw, 1.1rem); margin: 1.2rem 0 0; max-width: 40rem; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 1.8rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1rem; height: 1rem; border: 2px solid currentColor; border-radius: 3px; }
.prose h3 { margin-top: 1.6rem; }
