/* Seneca Partners: site-wide parts added on top of the design system (seneca.css).
   The gate, the audience switch, the footer's legal row, placeholder pages, and the contact card's variants. */

.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--chalk); color: var(--navy); padding: .625rem 1rem; font-weight: 600; }
.skip:focus { top: 12px; }
.risk a { color: inherit; }
.risk a:hover u { color: var(--brick-word); }

/* ---------- the audience switch: a pill like the Investor's Portal, in the header, the phone menu and the footer ---------- */
.audsw { display: inline-flex; align-items: center; gap: .5rem; font: 600 .875rem var(--sans); color: var(--chalk); border: 1px solid var(--navy-line); border-radius: 0; padding: .5rem .8125rem .5rem .9375rem; white-space: nowrap; transition: border-color .25s, background .25s; }
.audsw svg { width: 14px; height: 14px; color: var(--brick-accent); flex: none; }
.audsw:hover { border-color: var(--brick-accent); background: var(--navy-deep); }
.head .msheet a.audsw { display: inline-flex; margin-top: 0; padding: .8125rem 1.125rem; font-size: 1rem; }
.sfoot .audsw { font-size: .875rem; padding: .375rem .6875rem .375rem .8125rem; color: var(--sand); }
.sfoot .audsw:hover { color: var(--chalk); }
@media (max-width: 900px) { .head .wrap > .audsw { display: none; } }

/* ---------- the gate: a small dialog over the page. Choose one, then Confirm ---------- */
/* Sits under the pinned risk line, so the risk warning stays in view while the visitor chooses. */
.gate { position: fixed; inset: var(--rh, 34px) 0 0 0; z-index: 21; display: flex; padding: 1.5rem 1rem; overflow-y: auto; background: var(--navy); }
.aud-set .gate { display: none; }
html:not(.aud-set):has(.gate) body { overflow: hidden; }
.gate:focus { outline: none; }
.gate-box { margin: auto; width: min(560px, 100%); background: var(--chalk); color: var(--ink); padding: 2.125rem 2.125rem 1.75rem; display: grid; gap: 1.25rem; animation: gatein .45s var(--ease) both; }
@keyframes gatein { from { opacity: 0; transform: translateY(12px); } }
@keyframes gatefade { from { opacity: 0; } }
.gate-mark { color: var(--navy); display: grid; justify-self: start; }
.gate-mark svg { width: 34px; height: 34px; display: block; }
.gate-head { display: grid; gap: .5rem; }
.gate h2 { white-space: nowrap; font-family: var(--serif); --serif-size: clamp(2.375rem, calc(5vw * var(--ts)), 3.25rem); --serif-ls: -.012em; --serif-ws: -.02em; font-size: var(--serif-fit); line-height: 1.04; color: var(--navy); letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); }
/* the smallest phones (320 wide, the first iPhone SE): "Welcome to Seneca." is kept on one line, so it steps down a size
   rather than running out of the panel (mobile review, 27 November 2026) */
@media (max-width: 359.9px) { .gate h2 { --serif-size: 1.875rem; } }
.gate-q { font: 600 1.25rem / 1.4 var(--sans); color: var(--navy); max-width: 34ch; }
.gate h2 em { color: var(--brick-word); }
/* the two choices: whole cards are the radio buttons */
.gate-opts { display: grid; gap: .625rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.gopt { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: .875rem; align-items: center; padding: .875rem 1rem; background: #fff; border: 1px solid var(--rule); cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.gopt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.gopt:hover { border-color: var(--taupe); }
.gopt:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.gopt:has(input:focus-visible) { outline: 2px solid var(--trim-focus); outline-offset: 3px; }
.gopt .ico { width: 40px; height: 40px; border-radius: 0; transition: background .25s; }
.gopt .ico svg { width: 20px; height: 20px; fill: none; }
.gopt:has(input:checked) .ico { background: var(--brick); }
.gopt .gt { display: grid; gap: .1875rem; }
.gopt b { font: 600 1.25rem var(--sans); color: var(--navy); }
.gopt small { font-size: .875rem; line-height: 1.45; color: var(--ink-soft); }
.gopt .rad { width: 20px; height: 20px; border-radius: 0; border: 1.5px solid var(--taupe); display: grid; place-items: center; transition: border-color .25s; }
.gopt .rad::after { content: ""; width: 10px; height: 10px; border-radius: 0; background: var(--navy); transform: scale(0); transition: transform .25s var(--ease); }
.gopt:has(input:checked) .rad { border-color: var(--navy); }
.gopt:has(input:checked) .rad::after { transform: scale(1); }
.gate-warn { font-size: .875rem; line-height: 1.55; color: var(--ink-soft); padding-left: .75rem; border-left: 2px solid var(--brick); }
.gate-go { justify-self: stretch; justify-content: center; }
.gate-go:disabled { background: var(--stone); border-color: var(--stone); color: var(--taupe); cursor: default; }
.gate-foot { font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
.gate-foot a { color: var(--brick-word); font-weight: 600; white-space: nowrap; }
.gate-foot a:hover { color: var(--navy); }
/* extras for the full-screen tiles (layouts d and e): the wordmark, the S in line, a tag, and a line on which version of the site they will see */
.gate-logo, .gtag, .gview { display: none; }
/* ---------- three desktop layouts for the gate, set in src/data/gate.mjs (layout) ---------- */
@media (min-width: 901px) {
  .gate-mark { grid-area: mark; } .gate-head { grid-area: head; } .gate-opts { grid-area: opts; } .gate-warn { grid-area: warn; } .gate-ask { grid-area: warn; } .gate-go { grid-area: go; } .gate-foot { grid-area: foot; }
  /* B: wide, the two choices side by side as tall tiles, the warning and Confirm on one line */
  .gate[data-gv="b"] .gate-box { width: min(1120px, 100%); padding: 3.25rem 3.75rem 2.75rem; column-gap: 3rem; row-gap: 1.75rem;
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mark mark" "head head" "opts opts" "warn go" "foot foot"; }
  .gate[data-gv="b"] .gate-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 2.5rem; }
  .gate[data-gv="b"] h2 { font-size: clamp(3rem, calc(4.6vw * var(--ts)), 4.125rem); }
  .gate[data-gv="b"] .gate-q { font-size: 1.25rem; max-width: 30ch; padding-bottom: .375rem; }
  .gate[data-gv="b"] .gate-opts { grid-template-columns: 1fr 1fr; gap: 1.125rem; }
  .gate[data-gv="b"] .gopt { grid-template-columns: 56px minmax(0, 1fr) 24px; align-items: start; padding: 1.75rem 1.75rem 1.875rem; min-height: 168px; }
  .gate[data-gv="b"] .gopt .ico { width: 56px; height: 56px; border-radius: 0; }
  .gate[data-gv="b"] .gopt .ico svg { width: 26px; height: 26px; }
  .gate[data-gv="b"] .gopt b { font-size: 1.25rem; }
  .gate[data-gv="b"] .gopt small { font-size: .875rem; margin-top: .25rem; }
  .gate[data-gv="b"] .gopt .rad { width: 24px; height: 24px; }
  .gate[data-gv="b"] .gate-warn { align-self: center; font-size: var(--t-body); }
  .gate[data-gv="b"] .gate-go { align-self: center; justify-self: end; min-width: 260px; padding: 1.125rem 2.5rem; font-size: 1rem; }

  /* A: a split panel, the welcome on navy at the left, the choices on chalk at the right */
  .gate[data-gv="a"] .gate-box { width: min(1160px, 100%); padding: 0; gap: 0; background: var(--chalk); background-image: none;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "mark opts" "head opts" "warn go" "warn foot"; }
  .gate[data-gv="a"] .gate-mark, .gate[data-gv="a"] .gate-head, .gate[data-gv="a"] .gate-warn { padding-inline: 3.5rem; }
  .gate[data-gv="a"] .gate-mark { color: var(--chalk); padding-top: 3.5rem; justify-self: stretch; }
  .gate[data-gv="a"] .gate-head { padding-block: 1.75rem 2rem; align-content: start; }
  .gate[data-gv="a"] h2 { color: var(--chalk); font-size: clamp(3.25rem, calc(5vw * var(--ts)), 4.5rem); }
  .gate[data-gv="a"] h2 em { color: var(--brick-accent); }
  .gate[data-gv="a"] .gate-q { color: var(--stone); font-size: var(--t-body); }
  .gate[data-gv="a"] .gate-warn { color: var(--sand); border-color: var(--brick-accent); margin: 0 3.5rem 3.5rem; padding: 0 0 0 .875rem; align-self: start; font-size: var(--t-body); }
  .gate[data-gv="a"] .gate-opts { padding: 3.5rem 3.5rem 0; align-content: center; gap: .875rem; }
  .gate[data-gv="a"] .gopt { padding: 1.375rem 1.375rem; grid-template-columns: 52px minmax(0, 1fr) 22px; }
  .gate[data-gv="a"] .gopt .ico { width: 52px; height: 52px; border-radius: 0; }
  .gate[data-gv="a"] .gopt b { font-size: 1.25rem; }
  .gate[data-gv="a"] .gopt small { font-size: .875rem; }
  .gate[data-gv="a"] .gate-go { margin: 1.5rem 3.5rem 0; padding: 1.125rem 2rem; font-size: 1rem; }
  .gate[data-gv="a"] .gate-foot { padding: 1.125rem 3.5rem 3rem; }

  /* C: full screen in navy, a large welcome at the left and the choices at the right, as PXN frames its home page */
  .gate[data-gv="c"] { background: var(--navy); padding: 3rem var(--gutter); }
  .gate[data-gv="c"] .gate-box { width: min(var(--wrap-max), 100%); background: transparent; box-shadow: none; padding: 0; color: var(--chalk); column-gap: clamp(3rem, 7vw, 7.5rem); row-gap: 1.75rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; align-items: start;
    grid-template-areas: "mark opts" "head opts" "warn opts" "foot go"; }
  .gate[data-gv="c"] .gate-mark { color: var(--chalk); }
  .gate[data-gv="c"] .gate-mark svg { width: 48px; height: 48px; }
  .gate[data-gv="c"] h2 { color: var(--chalk); font-size: clamp(4.5rem, calc(7.2vw * var(--ts)), 7.5rem); line-height: .94; }
  .gate[data-gv="c"] h2 em { color: var(--brick-accent); }
  .gate[data-gv="c"] .gate-head { gap: 1.375rem; }
  .gate[data-gv="c"] .gate-q { color: var(--stone); font-size: 1.25rem; max-width: 26ch; font-weight: 500; }
  .gate[data-gv="c"] .gate-warn { color: var(--sand); border-color: var(--brick-accent); font-size: var(--t-body); max-width: 52ch; align-self: end; }
  .gate[data-gv="c"] .gate-foot { color: var(--taupe); font-size: .875rem; max-width: 60ch; }
  .gate[data-gv="c"] .gate-foot a { color: var(--brick-accent); }
  .gate[data-gv="c"] .gate-opts { gap: 1rem; align-self: center; }
  .gate[data-gv="c"] .gopt { background: var(--navy-deep); border-color: var(--navy-line); padding: 1.875rem 1.875rem; grid-template-columns: 60px minmax(0, 1fr) 26px; }
  .gate[data-gv="c"] .gopt:hover { border-color: var(--taupe); }
  .gate[data-gv="c"] .gopt:has(input:checked) { border-color: var(--brick-accent); box-shadow: inset 0 0 0 1px var(--brick-accent); }
  .gate[data-gv="c"] .gopt .ico { width: 60px; height: 60px; border-radius: 0; background: var(--navy-line); }
  .gate[data-gv="c"] .gopt .ico svg { width: 28px; height: 28px; }
  .gate[data-gv="c"] .gopt b { color: var(--chalk); font-size: 1.25rem; }
  .gate[data-gv="c"] .gopt small { color: var(--sand); font-size: .875rem; margin-top: .25rem; }
  .gate[data-gv="c"] .gopt .rad { border-color: var(--sand); width: 26px; height: 26px; }
  .gate[data-gv="c"] .gopt .rad::after { background: var(--brick-accent); }
  .gate[data-gv="c"] .gopt:has(input:checked) .rad { border-color: var(--brick-accent); }
  .gate[data-gv="c"] .gate-go { --bg: var(--chalk); --fg: var(--navy); padding: 1.25rem 2.5rem; font-size: 1rem; }

  /* D and E fit the screen: type, padding and gaps follow the window's height as well as its width, so the whole gate shows without scrolling */
  /* D and E: full screen, the welcome at the left and two tall tiles at the right, each ending with a line on which version of the site they will see */
  .gate[data-gv="d"], .gate[data-gv="e"] { padding: calc(var(--hh, 80px) + clamp(1.25rem, 5vh, 4.5rem)) var(--gutter) clamp(1.25rem, 4vh, 3rem); }
  .gate[data-gv="d"] { background: var(--chalk); }
  .gate[data-gv="e"] { background: var(--navy); overflow-x: hidden; }
  .gate[data-gv="d"] .gate-box, .gate[data-gv="e"] .gate-box { width: min(var(--wrap-max), 100%); background: transparent; box-shadow: none; padding: 0; animation: gatefade .5s var(--ease) both;
    column-gap: clamp(3rem, 6vw, 7rem); row-gap: clamp(1rem, 2.6vh, 1.75rem); align-items: start;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "head opts" "warn opts" "foot opts" ". go"; }
  .gate[data-gv="d"] .gate-mark, .gate[data-gv="e"] .gate-mark { display: none; }
  /* the header strip: the site's own navy bar and wordmark, so the gate reads as the front of the site */
  .gate[data-gv="d"] .gate-logo, .gate[data-gv="e"] .gate-logo { display: flex; align-items: center; position: absolute; top: 0; left: 0; right: 0; height: var(--hh, 80px);
    padding-inline: max(var(--gutter), calc((100% - var(--wrap-max)) / 2)); background: var(--navy); border-bottom: 1px solid var(--navy-line); z-index: 1; }
  .gate-logo svg { width: 150px; height: auto; display: block; }
  .gate[data-gv="d"] .gate-head, .gate[data-gv="e"] .gate-head { gap: clamp(.75rem, 2.2vh, 1.5rem); padding-top: .25rem; }
  .gate[data-gv="d"] h2, .gate[data-gv="e"] h2 { --serif-size: clamp(3rem, min(calc(6.4vw * var(--ts)), 12vh), 7.5rem); font-size: var(--serif-fit); line-height: .94; }
  /* "Welcome to Seneca." on one line (Kyle, 13 October 2026), sized to the column it sits in */
  .gate[data-gv="d"] .gate-head, .gate[data-gv="e"] .gate-head { container-type: inline-size; }
  .gate[data-gv="d"] h2, .gate[data-gv="e"] h2 { --serif-size: min(clamp(3rem, min(calc(6.4vw * var(--ts)), 12vh), 7.5rem), 13.5cqi); font-size: var(--serif-fit); white-space: nowrap; }
  .gate[data-gv="d"] .gate-q, .gate[data-gv="e"] .gate-q { font-size: var(--t-body); max-width: 26ch; font-weight: 500; }
  .gate[data-gv="d"] .gate-warn, .gate[data-gv="e"] .gate-warn { font-size: var(--t-body); max-width: 46ch; }
  .gate[data-gv="d"] .gate-foot, .gate[data-gv="e"] .gate-foot { font-size: .875rem; max-width: 56ch; align-self: start; }
  .gate[data-gv="d"] .gate-opts, .gate[data-gv="e"] .gate-opts { grid-template-columns: 1fr 1fr; gap: 1.25rem; align-self: stretch; }
  .gate[data-gv="d"] .gopt, .gate[data-gv="e"] .gopt { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ico . rad" "gt gt gt"; grid-template-rows: auto 1fr; align-items: start; row-gap: clamp(1rem, 4vh, 3rem); padding: clamp(1.25rem, 3.6vh, 2.25rem) clamp(1.5rem, 2.4vw, 2.25rem) clamp(1.25rem, 4vh, 2.5rem); }
  .gate[data-gv="d"] .gopt .ico, .gate[data-gv="e"] .gopt .ico { grid-area: ico; width: clamp(44px, 6.5vh, 60px); height: clamp(44px, 6.5vh, 60px); border-radius: 0; }
  .gate[data-gv="d"] .gopt .ico svg, .gate[data-gv="e"] .gopt .ico svg { width: 28px; height: 28px; }
  .gate[data-gv="d"] .gopt .rad, .gate[data-gv="e"] .gopt .rad { grid-area: rad; width: 28px; height: 28px; }
  .gate[data-gv="d"] .gopt .rad::after, .gate[data-gv="e"] .gopt .rad::after { width: 13px; height: 13px; }
  .gate[data-gv="d"] .gopt .gt, .gate[data-gv="e"] .gopt .gt { grid-area: gt; gap: clamp(.5rem, 1.4vh, .875rem); align-self: stretch; grid-template-rows: auto auto auto 1fr; }
  .gate[data-gv="d"] .gtag, .gate[data-gv="e"] .gtag { display: block; font: 600 .75rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
  .gate[data-gv="d"] .gopt b, .gate[data-gv="e"] .gopt b { font-family: var(--serif); font-weight: 400; --serif-size: clamp(2rem, min(calc(3.2vw * var(--ts)), 5.6vh), 3.25rem); font-size: var(--serif-fit); line-height: 1; letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); }
  .gate[data-gv="d"] .gopt small, .gate[data-gv="e"] .gopt small { font-size: .875rem; line-height: 1.5; max-width: 40ch; }
  /* the foot of each tile: which version of the site they will see */
  .gate[data-gv="d"] .gview, .gate[data-gv="e"] .gview { display: block; align-self: end; margin-top: clamp(.75rem, 2.5vh, 1.5rem); padding-top: clamp(.75rem, 2vh, 1.25rem); font-size: var(--t-body); line-height: 1.5; max-width: 38ch; text-wrap: pretty; }
  .gate[data-gv="d"] .gate-go, .gate[data-gv="e"] .gate-go { justify-self: end; min-width: 18rem; padding: clamp(.875rem, 2vh, 1.25rem) 2.5rem; font-size: 1rem; }

  /* D in chalk: both tiles white, the chosen one ringed in navy */
  .gate[data-gv="d"] .gopt { background: #fff; }
  .gate[data-gv="d"] .gopt:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
  .gate[data-gv="d"] .gtag { color: var(--brick-word); }
  .gate[data-gv="d"] .gview { border-top: 1px solid var(--rule); color: var(--navy); }

  /* E in navy, with the S drawn in a fine line behind the welcome, as PXN draws its map */
  .gate[data-gv="e"] .gate-box { color: var(--chalk); }
  .gate[data-gv="e"] .gate-head, .gate[data-gv="e"] .gate-warn, .gate[data-gv="e"] .gate-foot, .gate[data-gv="e"] .gate-opts, .gate[data-gv="e"] .gate-go { position: relative; z-index: 1; }
  .gate[data-gv="e"] h2 { color: var(--chalk); }
  .gate[data-gv="e"] h2 em { color: var(--brick-accent); }
  .gate[data-gv="e"] .gate-q { color: var(--stone); }
  .gate[data-gv="e"] .gate-warn { color: var(--sand); border-color: var(--brick-accent); }
  .gate[data-gv="e"] .gate-foot { color: var(--taupe); }
  .gate[data-gv="e"] .gate-foot a { color: var(--brick-accent); }
  .gate[data-gv="e"] .gopt { background: var(--navy-deep); border-color: var(--navy-line); }
  .gate[data-gv="e"] .gopt:hover { border-color: var(--taupe); }
  .gate[data-gv="e"] .gopt:has(input:checked) { border-color: var(--brick-accent); box-shadow: inset 0 0 0 2px var(--brick-accent); }
  .gate[data-gv="e"] .gopt .ico { background: var(--navy-line); }
  .gate[data-gv="e"] .gopt b { color: var(--chalk); }
  .gate[data-gv="e"] .gopt small { color: var(--sand); }
  .gate[data-gv="e"] .gtag { color: var(--brick-accent); }
  .gate[data-gv="e"] .gview { border-top: 1px solid var(--navy-line); color: var(--stone); }
  .gate[data-gv="e"] .gopt .rad { border-color: var(--sand); }
  .gate[data-gv="e"] .gopt .rad::after { background: var(--brick-accent); }
  .gate[data-gv="e"] .gopt:has(input:checked) .rad { border-color: var(--brick-accent); }
  .gate[data-gv="e"] .gate-go { --bg: var(--chalk); --fg: var(--navy); }
  .gate[data-gv="e"] .gate-go:hover { background: var(--brick-accent); border-color: var(--brick-accent); color: var(--navy); }
}
/* on a phone it rises from the foot of the screen */
@media (max-width: 560px) {
  .gate { padding: 0; }
  .gate-box { margin: auto 0 0; width: 100%; padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0rem)); gap: 1rem; }
  @keyframes gatein { from { opacity: 0; transform: translateY(40px); } }
}

/* ---------- footer: four columns, then the legal row, then the base line ---------- */
.sf-cols.sf-cols4 { grid-template-columns: repeat(4, 1fr); }
.sf-legal-row { display: flex; flex-wrap: wrap; gap: .5rem 1.375rem; padding-block: 1.125rem; border-top: 1px solid var(--navy-line); font-size: .875rem; }
.sf-legal-row a { color: var(--sand); }
.sf-legal-row a:hover { color: var(--chalk); }
.sf-base { align-items: center; }
.sf-base > span { max-width: 92ch; }
.sfoot .audsw { font-size: .875rem; }
@media (max-width: 900px) { .sf-cols.sf-cols4 { grid-template-columns: 1fr 1fr; } }

/* ---------- speak with us: the investor's Client Team card ---------- */
.contact .who .ico { width: 72px; height: 72px; border-radius: 0; }
.contact .who .ico svg { width: 28px; height: 28px; }
.contact a.msg-open { justify-self: start; }
.close-lede { color: var(--sand); font-size: var(--t-body); margin-top: 1.25rem; max-width: 40ch; }

/* ---------- placeholders: the dashed brick outline with a TO COME label ---------- */
.tc-l { display: inline-block; font: 600 .75rem var(--sans); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: var(--brick-word); background: var(--chalk); padding: 0 .5rem; }
/* a page still to build lists the parts already there (Seneca Policy) */
.tocome { position: relative; border: 1.5px dashed var(--brick); padding: 2.125rem 2rem 1.875rem; max-width: 760px; }
.tocome .tc-l { position: absolute; top: -9px; left: 22px; }
.tocome p { color: var(--ink-soft); font-size: var(--t-body); }
.tbc { color: var(--brick-word); font-weight: 600; white-space: nowrap; }
.contact .tbc, .a-close .tbc { color: var(--brick-accent); }

/* ---------- inner pages ---------- */
.pg-hero { background: var(--navy); color: var(--chalk); }
.pg-hero .wrap { padding-block: 2.75rem 3.25rem; }   /* the header is navy too, so the gap above reads larger than it is: matched to the IHT and home heroes */
.pg-hero .eye { color: var(--brick-accent); }
.pg-hero h1 { font-family: var(--serif); --serif-size: clamp(3.0625rem, calc(6vw * var(--ts)), 5.25rem); --serif-ls: -.025em; --serif-ws: -.05em; font-size: var(--serif-fit); line-height: .96; margin-top: 1.125rem; letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); }
.pg-body { padding-block: 4.5rem 6rem; }
@media (max-width: 900px) { .pg-hero .wrap { padding-block: 2.25rem 2.5rem; } .pg-body { padding-block: 3rem 4rem; } }

/* ---------- resized images: the <picture> wrapper takes no part in layout, so the mock-up's img rules apply as before ---------- */
picture { display: contents; }

/* ---------- cookie banner: bottom left on desktop, a sheet on phones; equal weight for accept and reject ---------- */
.ck { position: fixed; z-index: 70; left: 24px; bottom: 24px; width: min(440px, calc(100% - 48px)); opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ck.on { opacity: 1; transform: none; }
.ck-box { background: var(--chalk); color: var(--ink); border: 1px solid var(--rule); border-radius: 0; padding: 1.375rem 1.375rem 1.25rem; }
.ck-t { font-family: var(--serif); --serif-size: 1.75rem; --serif-ls: 0em; --serif-ws: 0em; font-size: var(--serif-fit); line-height: 1.1; color: var(--navy); letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); }
.ck-p { font-size: .875rem; line-height: 1.55; margin-top: .625rem; color: var(--ink-soft); }
.ck-opts { border: 0; margin: .875rem 0 0; padding: 0; display: grid; gap: .5rem; }
.ck-o { display: grid; grid-template-columns: 18px 1fr; gap: .75rem; align-items: start; padding: .75rem .875rem; border: 1px solid var(--rule); border-radius: 0; background: #fff; cursor: pointer; }
.ck-o input { width: 18px; height: 18px; margin-top: .125rem; accent-color: var(--navy); }
.ck-o b { display: block; font-size: .875rem; color: var(--navy); }
.ck-o small { display: block; font-size: .875rem; line-height: 1.45; color: var(--ink-soft); margin-top: .1875rem; }
.ck-on { cursor: default; }
.ck-btns { display: flex; flex-wrap: wrap; gap: .625rem; align-items: center; margin-top: 1rem; }
.ck-b { padding: .75rem 1.25rem; font-size: 1rem; flex: 1 1 0; justify-content: center; }   /* a button: 16px, and at least 44px tall to tap (type scale, 5 November 2026: at 16px with the old padding it came to 43px) */
.ck-b[data-ck="save"] { flex-basis: 100%; }
.ck-l { background: none; border: 0; padding: .375rem .25rem; font: 600 .875rem var(--sans); color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .2s, text-decoration-thickness .2s; }
.ck-l:hover, .ck-l:focus-visible { color: var(--brick-word); text-decoration-thickness: 2px; }
.sf-ck { background: none; border: 0; padding: 0; font: inherit; color: var(--sand); cursor: pointer; }   /* sand, as the links beside it (Kyle, 17 November 2026) */
.sf-ck:hover { color: var(--chalk); }
@media (max-width: 600px) {
  .ck { left: 0; right: 0; bottom: 0; width: auto; }
  .ck-box { border-radius: 0; border-inline: 0; border-bottom: 0; padding: 1.25rem 1rem calc(1.125rem + env(safe-area-inset-bottom)); }
  .ck-l { flex-basis: 100%; text-align: center; }
}

/* the logo in the gate's header strip and the gate mark: sized by height (logo 6, 7 October 2026) */
.gate-logo svg { width: auto; height: 50px; }
.gate-mark svg { width: auto; height: 28px; }

/* ---------- the pull quote: one style everywhere (Kyle, 9 October 2026). src/components/PullQuote.astro ----------
   A white card on the chalk page, the line set large in navy serif, a brick-accent quote mark, the citation in Archivo
   after a short brick rule. The same in Insights articles and on Our story; the design system's PullQuote matches it. */
.pq { position: relative; margin: 4rem 0; padding: 3rem 3.5rem 2.75rem 8.25rem; background: #fff; border: 1px solid var(--rule); color: var(--navy); }
.pq-mark { position: absolute; top: 1.875rem; left: 2.75rem; font-family: var(--serif); --serif-size: 10rem; font-size: var(--serif-fit); line-height: 1; color: var(--brick-accent); pointer-events: none; letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); }
figure.pq > blockquote { margin: 0; padding: 0; border: 0; font-family: var(--serif); --serif-size: 1.75rem; font-size: var(--serif-fit); line-height: 1.16; color: var(--navy); text-wrap: pretty; letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); --serif-ls: .01em; --serif-ws: 0em; }
.pq figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .875rem; margin-top: 1.75rem; font-family: var(--sans); }
.pq figcaption::before { content: ""; width: 32px; height: 2px; background: var(--brick); }
.pq-ph { width: 44px; height: 44px; border-radius: 0; object-fit: cover; object-position: 50% 20%; }
.pq-n { font-size: .875rem; font-weight: 600; color: var(--navy); }
.pq-r { font: 600 .75rem var(--sans); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: var(--brick-word); }
@media (max-width: 900px) {
  .pq { padding: 4.75rem 1.375rem 1.875rem; margin-inline: -1rem; }
  .pq-mark { --serif-size: 7.5rem; font-size: var(--serif-fit); top: 6px; left: 18px; }
}

/* ---------- a photo still to come: src/components/PhotoToCome.astro ---------- */
.ptc { position: relative; margin: 0; aspect-ratio: var(--r, 4 / 3); max-width: 100%; border: 1.5px dashed var(--brick); display: flex; flex-direction: column; justify-content: flex-end; gap: .875rem; padding: clamp(1.25rem, 2.5vw, 2rem); }
.ptc .tc-l { position: absolute; top: -9px; left: 18px; }
.ptc svg { width: 28px; height: 28px; fill: none; stroke: var(--brick-word); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ptc figcaption { font-size: .875rem; line-height: 1.5; color: var(--ink-soft); max-width: 38ch; text-wrap: pretty; }
.ptc-dark { border-color: var(--brick-accent); }
.ptc-dark .tc-l { background: var(--navy-deep); color: var(--brick-accent); }
.ptc-dark svg { stroke: var(--brick-accent); }
.ptc-dark figcaption { color: var(--sand); }

/* ---------- the square brand (site review B3, 12 October 2026) ---------- */
/* The stop belongs to the logo alone (Kyle and the Seneca design system, 13 October 2026): headlines end in an ordinary
   full stop in their own colour, and a button is its label with an optional line icon, with nothing drawn after it. */
/* lists in running text: square bullets in the trim */
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.125rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--brick); }
/* on a navy ground the stop takes the accent */

/* the gate's two tiles line up row by row (site review B12, "the card rules do not line up"): each tile shares the same
   rows, so the tag, the title, the line under it and the rule above "what you will see" sit level across both, whichever
   title runs to two lines. And it opens faster. */
@media (min-width: 901px) {
  .gate[data-gv="d"] .gate-opts, .gate[data-gv="e"] .gate-opts { grid-template-rows: auto auto auto auto 1fr; }
  .gate[data-gv="d"] .gopt, .gate[data-gv="e"] .gopt { grid-row: span 5; grid-template-rows: subgrid; grid-template-areas: "ico . rad" "tag tag tag" "ttl ttl ttl" "txt txt txt" "view view view"; row-gap: 0; }
  .gate[data-gv="d"] .gopt .gt, .gate[data-gv="e"] .gopt .gt { display: contents; }
  .gate[data-gv="d"] .gopt .gtag, .gate[data-gv="e"] .gopt .gtag { grid-area: tag; margin-top: clamp(1rem, 4vh, 3rem); }
  .gate[data-gv="d"] .gopt b, .gate[data-gv="e"] .gopt b { grid-area: ttl; margin-top: clamp(.5rem, 1.4vh, .875rem); }
  .gate[data-gv="d"] .gopt small, .gate[data-gv="e"] .gopt small { grid-area: txt; margin-top: clamp(.5rem, 1.4vh, .875rem); }
  .gate[data-gv="d"] .gview, .gate[data-gv="e"] .gview { grid-area: view; align-self: start; }
  .gate[data-gv="d"] .gate-box, .gate[data-gv="e"] .gate-box { animation-duration: .2s; }
}
.gate-box { animation-duration: .2s; }
/* the hero line under a page title, on every page (it was only in the Insights and Contact styles) */
.pg-hero .pg-lede { color: var(--chalk); font-size: var(--t-body); max-width: 52ch; margin-top: 1.375rem; }

/* Wider text (Kyle, 13 October 2026: "this block of text can also be wider... same rule for across other sections"): a
   section's opening paragraph runs to about 68 characters a line, the comfortable limit for reading, rather than stopping
   short beside empty space; a hero's line to about 62. A paragraph in a narrower column still wraps to its column.
   "body" lifts these over the page styles that load after this file. */
body :is(.pf .h p, .detail .h p, .cases .h p, .lib .h p, .b-msgs .h p, .hz-head p, .nv-intro, .nv-close, .plan .copy > p, .a-illus .copy > p, .a-try .copy > p:first-of-type, .inv-copy > p, .rec-lede, .xp-head p, .xp-line, .fs-flede, .fs-pcopy p, .fs-row .d, .st-intro, .close-lede, .close-head .close-lede, .docs.dnone .dnone-t) { max-width: 68ch; }
body :is(.pg-lede, .pg-hero .pg-lede, .ct-pg .pg-lede, .nf-hero .pg-lede, .fs-low .lede, .a-hero .lede, .b-hero .lede) { max-width: 62ch; }

/* the footer (Kyle, 15 October 2026: "very dead space heavy"): less height; the brand column carries the strapline in the
   serif, its turn in brick for navy; the Client Team's number, email and the office in a row under
   the link columns, where the columns ran short */
.sf-top { padding-block: 3.5rem 2.5rem; align-items: start; }
/* the strapline at footer scale (Kyle, 16 October 2026: "quite a bit smaller ... for a footer"). The serif is never
   below 28px, so at this size it is Archivo, as the links beside it are, with the turn in brick */
.sf-brand .sf-say { margin: 1.125rem 0 0; max-width: 24ch; font: 500 1rem/1.5 var(--sans); color: var(--chalk); }
.sf-brand .sf-say em { font-style: normal; color: var(--brick-accent); }
.sf-cols .sf-reach { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .25rem 2.25rem; margin-top: .5rem; padding-top: 1.125rem; border-top: 1px solid var(--navy-line); }
.sf-cols .sf-reach > a, .sf-cols .sf-reach > span { display: inline-flex; align-items: center; gap: .625rem; padding: .25rem 0; color: var(--sand); font-size: .875rem; }
.sf-reach a:hover { color: var(--chalk); }
.sf-reach svg { width: 15px; height: 15px; flex: none; stroke: var(--brick-accent); }
.sf-cols { padding-top: .5rem; }
@media (max-width: 760px) { .sf-cols .sf-reach a { min-height: 44px; align-items: center; } }

/* ---------- the adviser's declaration (Kyle, 9 November 2026, in place of the FRN check): the gate's second step ----------
   "I am a financial adviser", then Continue: the choice gives way to four statements, each ticked on its own card, with a
   count and a short bar that fill as they are ticked. Enter the adviser site wakes once all four are. Without the script
   the statements show under the choice instead. Wording: src/data/gate.mjs. */
.gate-decl { display: none; }
.gate-box:not(.js-steps):has(input[name="set"][value="adviser"]:checked) .gate-decl { display: grid; grid-column: 1 / -1; }
/* without the script there is no step to go back from, and the declaration's own button sends the form */
.gate-box:not(.js-steps) .gd-back, .gate-box:not(.js-steps):has(input[name="set"][value="adviser"]:checked) .gate-go { display: none; }
html .gate .gate-box.step2 > :not(.gate-decl):not(.gate-logo) { display: none; }
html .gate .gate-box.step2 > .gate-decl { display: grid; grid-column: 1 / -1; grid-row: 1 / -1; }
html .gate .gate-box.step2 { grid-template-areas: none; grid-template-rows: auto; }
.gate-decl { gap: 1.75rem; align-items: start; }
.gd-l { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
html .gate .gd-back { justify-self: start; gap: .375rem; padding: .5rem .875rem .5rem .625rem; font: 500 .9375rem/1.2 var(--sans); border-radius: var(--r-button); }
html .gate .gd-back svg { width: 16px; height: 16px; stroke: currentColor; }
html .gate .gate-decl h2 { white-space: normal; text-wrap: balance; --serif-size: clamp(2.5rem, 7vw, 3.25rem); font-size: var(--serif-fit); line-height: .98; outline: none; }
.gd-note { font-size: 1rem; line-height: 1.6; color: var(--ink); padding-left: .875rem; border-left: 2px solid var(--brick-word); max-width: 34em; }
.gd-foot { font-size: .875rem; line-height: 1.55; color: var(--ink); max-width: 36em; }
.gd-foot a { color: var(--brick-word); font-weight: 600; white-space: nowrap; }
.gd-foot a:hover { color: var(--navy); }
.gd-foot a svg { width: 11px; height: 11px; margin-left: .25rem; vertical-align: .05em; }
.gd-card { display: grid; gap: 1.125rem; min-width: 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-card); padding: clamp(1.25rem, 3vw, 2.5rem); }
.gd-ask { font: 600 1.125rem/1.35 var(--sans); color: var(--navy); }
.gd-list { display: grid; gap: .75rem; }
/* each statement is a card to tick: chalk until it is ticked, then white with a navy edge, as the gate's choices */
.gd-item { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1rem 1.125rem; font-size: 1rem; line-height: 1.5; color: var(--ink);
  background: var(--chalk); border: 1px solid var(--rule); border-radius: var(--r-button); cursor: pointer; transition: border-color var(--fill, .5s), background-color var(--fill, .5s), box-shadow var(--fill, .5s); }
.gd-item:hover { border-color: var(--taupe); }
.gd-item.on, .gd-item:has(input:checked) { background: #fff; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.gd-item input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.gd-item:has(input:focus-visible) { outline: 2px solid var(--trim-focus); outline-offset: 3px; }
/* the tick square stays square, like the logo's stop; the tick draws itself in */
.gd-box { width: 22px; height: 22px; margin-top: .0625rem; box-sizing: border-box; display: grid; place-items: center; border: 1.5px solid var(--navy); background: #fff; color: var(--chalk); transition: background-color .3s var(--ease); }
.gd-box svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .35s var(--ease) .05s; }
.gd-item:has(input:checked) .gd-box { background: var(--navy); }
.gd-item:has(input:checked) .gd-box svg { stroke-dashoffset: 0; }
.gd-false { font-size: .9375rem; line-height: 1.55; color: var(--ink); }
.gd-false b { color: var(--navy); font-weight: 600; }
.gd-msg:empty { display: none; }
.gd-msg { font: 600 .9375rem/1.5 var(--sans); color: var(--brick-word); }
.gd-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: .25rem; }
html .gate .gd-enter { padding: 1rem 2rem; font: 500 1rem/1.2 var(--sans); border-radius: var(--r-button); }
html .gate .gd-enter:disabled { background: var(--stone); border-color: var(--stone); color: var(--taupe); cursor: default; }
/* the count: four short bars that fill brick as the statements are ticked, and the words beside them */
.gd-count { display: inline-flex; align-items: center; gap: .75rem; font: 600 .8125rem var(--sans); letter-spacing: .04em; color: var(--brick-word); font-variant-numeric: tabular-nums; }
.gd-bar { display: inline-grid; grid-template-columns: repeat(4, 14px); gap: 3px; }
.gd-bar i { height: 4px; background: var(--rule); transition: background-color .35s var(--ease); }
.gate-decl[style*="--n: 1"] .gd-bar i:nth-child(-n+1), .gate-decl[style*="--n: 2"] .gd-bar i:nth-child(-n+2), .gate-decl[style*="--n: 3"] .gd-bar i:nth-child(-n+3), .gate-decl.all .gd-bar i { background: var(--brick-accent); }
.gate-decl.all .gd-count { color: var(--navy); }
/* once all four are ticked the words go (Kyle, 10 November 2026), and the full bars stay */
.gd-n:empty { display: none; }
@media (min-width: 901px) {
  /* sized to the window's height as well as its width, as the gate's first step is, so the button shows on a laptop */
  .gd-item { padding: clamp(.625rem, 1.7vh, 1rem) 1.125rem; }
  .gd-list { gap: clamp(.5rem, 1.2vh, .75rem); }
  html .gate .gd-enter { padding-block: clamp(.75rem, 1.9vh, 1rem); }
  html .gate .gate-decl { grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); column-gap: clamp(3rem, 6vw, 7rem); }
  html .gate .gate-decl h2 { --serif-size: clamp(3rem, min(calc(5.6vw * var(--ts)), 10vh), 5.5rem); font-size: var(--serif-fit); line-height: .94; }
  .gd-l { gap: clamp(1rem, 2.6vh, 1.75rem); }
  .gd-note { font-size: var(--t-body); }
  .gd-card { padding: clamp(1.25rem, 3.4vh, 2.75rem) clamp(1.75rem, 3vw, 2.75rem); gap: clamp(.75rem, 1.9vh, 1.375rem); }
  .gd-ask { font-size: 1.25rem; }
  .gd-acts .gd-count { margin-left: auto; }
}
@media (max-width: 900px) {
  html .gate .gd-enter { flex: 1 1 100%; justify-content: center; }
  .gd-foot { display: none; }
}
/* the step arrives as the gate's words do: out of a soft blur, a beat apart */
@media (prefers-reduced-motion: no-preference) {
  html .gate .gate-box.step2 > .gate-decl { animation: none; }
  html .gate .gate-box.step2 .gd-l > *, html .gate .gate-box.step2 .gd-card { animation: gate-in .75s cubic-bezier(.215,.61,.355,1) var(--gd, 0s) both; }
  html .gate .gate-box.step2 .gd-l > :nth-child(2) { --gd: .06s; } html .gate .gate-box.step2 .gd-l > :nth-child(3) { --gd: .12s; } html .gate .gate-box.step2 .gd-l > :nth-child(4) { --gd: .18s; }
  html .gate .gate-box.step2 .gd-card { --gd: .14s; }
  html .gate.leaving .gate-box.step2 .gd-l > *, html .gate.leaving .gate-box.step2 .gd-card { animation: gate-out .42s cubic-bezier(.55,.06,.68,.19) calc(var(--gd, 0s) * .4) both; }
}

/* The sticky button on a phone (Kyle, 17 October 2026): src/components/AskBar.astro. A navy band on the foot of the
   screen, square and solid, one full-width button, a 44px target. Off the screen until site.js adds .on. */
.ask-bar { display: none; }
@media (max-width: 760px) {
  .ask-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy); border-top: 1px solid var(--navy-line); padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .3s var(--ease); }
  .ask-bar.on { transform: none; }
  .ask-bar .btn { display: flex; width: 100%; justify-content: center; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .ask-bar { transition: none; } }

/* Seneca in the Community (17 October 2026): one row a charity, the name and a line, the link to the right */
.cm-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: 60rem; }
.cm-list li { display: flex; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.cm-list li > div { min-width: 0; }
.cm-list b { display: block; font-weight: 600; font-size: 1.25rem; color: var(--navy); }
.cm-list p { margin: .25rem 0 0; color: var(--ink-soft); }
.cm-list a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; flex: none; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--brick-word); text-underline-offset: 4px; }
.cm-list a svg { width: 14px; height: 14px; }
@media (max-width: 600px) { .cm-list li { flex-direction: column; align-items: flex-start; } }
/* the italic turn in a page's navy opening is the one brick on navy (brand rules section 3, 30 October 2026) */
.pg-hero h1 em { font-style: italic; color: var(--brick-accent); }

/* the IHT strapline by audience (2 November 2026, src/components/IhtStrap.astro): in the investor version, the adviser line
   until a choice is made at the gate, the investor line once it is */
html:not([data-chose="investor"]) .aud-inv, html[data-chose="investor"] .aud-unk { display: none !important; }
