/* Load after the variant stylesheet and splash-lockup.css. All component
   overrides stay on the public page. FF geometry and carousel state belong
   to their renderers; !important is used against their inline/generated CSS. */
html[data-skin] body.fci-public-site {
  --display: 'Roboto', system-ui, sans-serif;
  --display-weight: 700;
  --tracking: -.045em;
  --label: 'Roboto', system-ui, sans-serif;
  --radius: 8px;
  --hair: color-mix(in srgb, var(--skin-accent) 17%, transparent);
  --shine: color-mix(in srgb, var(--skin-text) 7%, transparent);
  --quiet: color-mix(in srgb, var(--skin-accent) 8%, var(--skin-surface));
  --shadow: color-mix(in srgb, var(--skin-nav) 13%, transparent);
  --finish: linear-gradient(122deg, var(--shine), transparent 36% 70%, var(--shine));
  --face: linear-gradient(160deg, var(--skin-surface), var(--skin-surface-2));
  --splash-ink: var(--skin-text);
  --splash-secondary: var(--skin-accent);
  --splash-accent: var(--skin-ring);
  --splash-halo: var(--skin-field);
  --hero-title-size: clamp(1.5rem, min(6.4vw, 4.8svh), 2.75rem);
  --hero-tag-size: clamp(.875rem, min(3.5vw, 2svh), 1.0625rem);
  color-scheme: var(--skin-scheme);
  background: var(--skin-bg) !important;
  color: var(--skin-text);

  /* Remove the editorial blend layers and industrial full-canvas tint.
     The field has its own paint even when scene.js hasn't been connected. */
  &::before, &::after, & #content::before { content: none; }
  & #anim-layers { background: var(--skin-field); }
  & #ring-canvas { filter: none; opacity: .86; }
  & #hero { height: 80svh; isolation: isolate; }
  & #hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--finish);
    mask-image: linear-gradient(to bottom, black 82%, transparent);
  }
  & .hero-emblem {
    background: radial-gradient(ellipse closest-side,
      color-mix(in srgb, var(--skin-field) 74%, transparent) 35%, transparent);
  }
  & .hero-lockup::before {
    inset: auto 0 -3%; height: 22%;
    background: radial-gradient(ellipse closest-side, color-mix(in srgb, var(--skin-field) 64%, transparent), transparent);
  }
  & .hero-wordmark {
    font-family: var(--display); font-weight: var(--display-weight);
    letter-spacing: var(--tracking); line-height: 1.08;
    font-size: var(--hero-title-size);
  }
  & .hero-tagline {
    font-family: var(--label); font-size: var(--hero-tag-size);
    color: var(--skin-text); letter-spacing: .025em; text-transform: none;
  }

  /* Green-on-green loses the FF's lower stroke on the five dark fields.
     Glaze just the original SVG silhouette, on the same box and timeline
     as the image. The frame itself never moves: the canvases measure it. */
  & #hero-mark-frame { position: relative; }
  & #hero-mark-frame::after {
    content: var(--skin-mark-overlay, none); position: absolute; inset: 0; pointer-events: none;
    background: var(--skin-mark-finish, transparent);
    mask: url('../svg/logo_main.svg') center / 100% 100% no-repeat;
  }

  & #site-nav {
    color: var(--skin-nav-text); background: var(--skin-nav) !important;
    border: 0; border-bottom: 1px solid color-mix(in srgb, var(--skin-nav-accent) 43%, var(--skin-nav));
    box-shadow: none; transition-property: transform, opacity;
  }
  & #site-nav .nav-link, & #nav-toggle { color: var(--skin-nav-text); }
  & #site-nav .nav-link {
    font: 500 .9rem/1.35 var(--label); letter-spacing: .025em;
    text-shadow: none; animation: none; padding-block: .45rem;
  }
  & #site-nav .nav-link:hover { color: var(--skin-nav-accent); }
  & #site-nav .nav-link::after {
    inset: auto 0 .22rem; width: auto; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .16s ease;
    box-shadow: none; animation: none;
  }
  & #site-nav .nav-link:is(:focus-visible,:hover)::after { transform: scaleX(1); }
  & #site-nav a[href*="intranet"] {
    padding: .24em .78em; border: 1px solid color-mix(in srgb, currentColor 52%, transparent);
    border-radius: var(--radius);
  }
  & #site-nav a[href*="intranet"]::after { content: none; }
  & :is(.public-skip,.fc-skip,.editorial-skip) {
    background: var(--skin-nav); color: var(--skin-nav-text); border-color: var(--skin-nav-accent);
  }
  & :is(a,button,[role="button"],[tabindex]):focus-visible {
    outline: 2px solid var(--skin-accent) !important; outline-offset: 3px;
  }
  & :is(#site-nav,footer) :focus-visible { outline-color: var(--skin-nav-accent) !important; }
  & ::selection { background: var(--skin-nav); color: var(--skin-nav-text); }

  & #scroll-hint {
    min-height: max(20svh, 5rem) !important; padding: 0 1rem max(1rem,env(safe-area-inset-bottom)) !important;
    background: linear-gradient(transparent, var(--skin-bg) 82%) !important;
  }
  & #scroll-hint > div:first-child { display: none; }
  & #scroll-hint > div:last-child { background: none !important; }
  & #scroll-hint > span {
    font: 700 .71rem/1.5 var(--label); letter-spacing: .16em;
    color: var(--skin-muted); margin-bottom: .45rem;
  }
  & #scroll-hint .scroll-chevron { width: 15px; height: 15px; stroke-width: 1.6; color: var(--skin-accent); }

  /* Let the depth field show at the margins while protecting the reading column. */
  & .fci-section {
    margin: 0 auto; padding: clamp(3rem,6.5vw,6rem) max(1rem,calc((100% - 69rem)/2));
    width: 100%; max-width: none; scroll-margin-top: 42px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--skin-bg) 76%, transparent) 30% 70%, transparent);
  }
  & #tile-team, & #tile-portfolio, & #tile-contact {
    margin-top: 0; padding-block: clamp(3rem,6.5vw,6rem);
  }
  & .fci-section__backdrop { inset: 0; border-radius: 0; border-top: 1px solid var(--skin-border); }
  & .fci-section__grid {
    background: var(--finish); opacity: .65; mask-image: linear-gradient(100deg,transparent 20%,black);
  }
  & .fci-section__header { margin-bottom: clamp(1.4rem,3vw,2.4rem); }
  & .fci-section__kicker, & .fci-site-index__label, & .fci-contact-card__label {
    opacity: 1; color: var(--skin-accent); font: 700 .73rem/1.45 var(--label); letter-spacing: .13em;
  }
  & .fci-section__kicker::before { width: 2.2rem; height: 2px; background: var(--skin-accent); }
  & .fci-section__header .group-title {
    font-family: var(--display); font-size: clamp(2.15rem,4.7vw,4.15rem) !important;
    font-weight: var(--display-weight) !important; letter-spacing: var(--tracking) !important;
    text-transform: none; color: var(--skin-text) !important; text-shadow: none; line-height: 1.1;
  }
  & .fci-section__lead { color: var(--skin-muted); max-width: 63ch; line-height: 1.65; }
  & .fci-section__panel {
    background: var(--face); border: 1px solid var(--skin-border); border-radius: var(--radius);
    box-shadow: inset 0 1px var(--skin-surface), 0 7px 21px -12px var(--shadow);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: clamp(1rem,3vw,2rem) clamp(.5rem,3vw,2rem);
  }
  & .fci-section__panel::before {
    inset: 0 auto auto 0; width: clamp(3rem,12%,9rem); height: 2px;
    background: var(--skin-accent); border-radius: 0;
  }
  & .fci-meta-chip, & .fci-section--contact .fci-meta-chip {
    color: var(--skin-muted); background: var(--skin-surface); border: 1px solid var(--skin-border);
    border-radius: var(--radius); backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: none; transform: none; font-family: var(--label); letter-spacing: .035em;
  }
  & .fci-meta-chip__dot { background: var(--skin-accent); box-shadow: none; }
  & .fci-site-index { gap: .55rem; }
  & .fci-site-index__item {
    background: var(--skin-surface); border: 1px solid var(--skin-border); border-radius: var(--radius);
    padding: .88rem 1rem; transition: none; transform: none;
  }
  & .fci-site-index__item:is(:hover,:focus-visible) { border-color: var(--skin-accent); }
  & .fci-site-index__item--active {
    background: var(--quiet); border-color: var(--skin-accent); box-shadow: inset 3px 0 var(--skin-accent);
  }
  & .fci-site-index__name { color: var(--skin-text); font-size: .97rem; }
  & .fci-site-index__status {
    color: var(--skin-accent); background: var(--skin-surface); border: 1px solid var(--skin-border);
    font: 700 .66rem/1.4 var(--label); letter-spacing: .05em; padding: .16rem .4rem;
  }
  & .fci-site-index__status--future { color: var(--skin-muted); border-style: dashed; }
  & .editorial-photo-note, & .fc-photo-note, & .tile-highlights {
    color: var(--skin-muted); background: var(--skin-surface-2); border-color: var(--skin-border) !important;
    box-shadow: none;
  }
  & .editorial-photo-note a { color: var(--skin-accent); }

  /* The generated -88px lift cuts off the SVG title cap inside the panel.
     Leave the stack, pagination and per-card state under the tile renderer. */
  & .tg-viewport { transform: none !important; }
  /* The 864-unit tile artwork has 249 empty units above the drawing and
     145 below. Crop that space at the slice boundary, keeping seams and
     slopes at their native scale. The stack still measures its own height. */
  & .tg-slice-top { aspect-ratio: 864 / 118 !important; min-height: 2.75rem; }
  & .tg-slice-top > svg {
    inset: auto 0 0 !important; height: 303.42% !important; /* 358.03 / 118 */
  }
  & .tg-slice-bot { aspect-ratio: 864 / 94 !important; }
  & .tg-slice-bot > svg { height: 247.51% !important; /* (864 - 631.34) / 94 */ }
  & .tg-slice-top .tg-section-title {
    bottom: 15%; padding-inline-end: 14%; white-space: normal; text-wrap: balance;
  }
  & .tg-slice svg > g > * { fill: var(--skin-surface-2) !important; }
  /* The next page's tile waits behind the front one. A see-through face let
     its outline run across the text; a solid face keeps the stack tidy. */
  & .tg-slice svg > g { opacity: 1 !important; }
  & .tg-slice svg > :is(path,polygon,polyline,line,rect) { stroke: var(--skin-border) !important; }
  & .tg-slice svg > .tg-rim-pulse { stroke: var(--skin-accent) !important; filter: none !important; }
  & .tg-section-title, & .tg-tile-title {
    font-family: var(--display); font-style: normal; letter-spacing: -.018em;
    color: var(--skin-text) !important;
  }
  & .tg-tile-body, & .tg-tile-custom { color: var(--skin-text) !important; }
  & .tg-tile-custom a { color: var(--skin-accent); }
  & .tg-continued { color: var(--skin-accent) !important; }
  & .tg-page-nav-div { background: var(--skin-accent) !important; }
  & .tg-dot {
    flex: 0 0 auto; border: 2px solid var(--skin-muted) !important; box-shadow: none;
    position: relative;
  }
  & .tg-dot::before { content: ""; position: absolute; inset: -8px -4px; }
  & .tg-dot.active { background: var(--skin-accent) !important; border-color: var(--skin-accent) !important; }
  & .fci-visual-frame__badge {
    color: var(--skin-nav-text); background: var(--skin-nav); border: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    white-space: nowrap; max-width: calc(100% - 1rem); overflow: hidden; text-overflow: ellipsis;
    /* The photo is about 120px wide on a phone; tighter tracking keeps the whole label. */
    @media (max-width: 768px) {
      left: 6px; bottom: 6px; padding: .26rem .42rem; letter-spacing: .04em;
      max-width: calc(100% - 12px);
    }
    @media (max-width: 360px) {
      left: 5px; bottom: 5px; padding: .22rem .34rem; font-size: .5rem; letter-spacing: .02em;
      max-width: calc(100% - 10px);
    }
  }
  & .fci-visual-frame, & .tg-tile-custom .tg-media-slot, & .tg-float-img img {
    box-shadow: 0 2px 8px var(--shadow); border-radius: min(8px, 2vw);
  }
  & .fci-contact-card {
    color: var(--skin-text); background: var(--skin-surface); border-color: var(--skin-border);
    border-radius: var(--radius); min-width: 0; transform: none;
  }
  & .fci-contact-card:focus-within { border-color: var(--skin-accent); }
  & .fci-contact-intro { color: var(--skin-text); opacity: 1; }
  & .fci-contact-card a {
    color: var(--skin-accent) !important; white-space: normal; overflow-wrap: anywhere;
    border: 0 !important; text-decoration: underline !important; text-underline-offset: .19em; transition: none;
  }
  & footer {
    color: var(--skin-nav-text); background: var(--skin-nav); border-top: 2px solid var(--skin-nav-accent);
    padding-block: clamp(2.4rem,5vw,4rem);
  }
  & footer p:first-child { font: 500 1.02rem/1.5 var(--display); }
  & footer p + p { opacity: 1; margin-top: .4rem; font-size: .85rem; }
}

html[data-skin].hero-fx-paused .fci-public-site #ring-canvas { visibility: hidden; }
html[data-skin]:not([data-scene-skin]) .fci-public-site #hex-canvas { opacity: .2; }

@media (prefers-reduced-motion: no-preference) {
  html[data-skin]:not(.hero-ready) .fci-public-site #hero-mark-frame::after { transform: scale(.86); opacity: .72; }
  html[data-skin].hero-ready .fci-public-site #hero-mark-frame::after {
    animation: emblem-arrive 860ms cubic-bezier(.18,.66,.3,1) backwards;
  }
}

.hero-rule {
  width: clamp(90px, min(18vw, 26svh), 215px);
  height: 2px;
  margin-top: clamp(5px, 1.15svh, 12px);
  background: linear-gradient(90deg, transparent, var(--skin-accent) 32% 68%, transparent);
}
html[data-skin="original"] .hero-rule {
  background: linear-gradient(90deg, transparent, var(--skin-detail) 32% 68%, transparent);
}
.hero-still-wings { display: none; }
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .hero-rule {
    animation: solar-rule-in 1.15s cubic-bezier(.16,.84,.28,1) 1.1s backwards;
  }
  html.hero-ready .hero-tagline .solar-heat {
    animation: solar-breath 13s linear 2.6s infinite both;
  }
  html.hero-fx-paused .hero-tagline .solar-heat { animation-play-state: paused; }
  @keyframes solar-rule-in {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
  }
  /* The original splash warms slowly through orange, peaks at amber, then cools. */
  @keyframes solar-breath {
    0%, 8% {
      color: var(--skin-text);
      animation-timing-function: cubic-bezier(.45,0,.3,1);
    }
    46% { color: #de680c; animation-timing-function: ease-in-out; }
    56% { color: #f3891a; animation-timing-function: cubic-bezier(.55,0,.4,1); }
    90%, 100% { color: var(--skin-text); }
  }
}
@media (forced-colors: active) {
  html[data-skin] .hero-rule { background: CanvasText; forced-color-adjust: none; }
}

/* Surface finishes are static. Keep fine patterns away from running text. */
html[data-skin="silver-emerald"] body.fci-public-site {
  --radius: 5px;
  --finish: linear-gradient(110deg, transparent 18%, var(--shine) 35%, transparent 49%, var(--shine) 78%, transparent);
  & .fci-section__panel { border-top: 3px solid var(--skin-ring); }
  & .fci-section__panel::before { width: 100%; height: 1px; background: var(--skin-surface); }
}

html[data-skin="solar-gold"] body.fci-public-site {
  --display: Georgia, 'Times New Roman', serif; --display-weight: 500; --tracking: -.052em; --radius: 2px;
  --finish: radial-gradient(ellipse 75% 110% at 90% 110%, var(--hair), transparent 73%);
  & #hero::after {
    content: ""; position: absolute; right: 0; bottom: 0; width: min(58%,44rem); height: 70%; z-index: -1;
    background: repeating-radial-gradient(circle at 100% 100%, transparent 0 53px, var(--hair) 53px 54px, transparent 54px 61px);
    mask-image: linear-gradient(125deg,transparent 22%,black 85%);
  }
  & .fci-section__header { border-left: 3px double var(--skin-accent); padding-left: clamp(.9rem,2vw,1.7rem); }
  & .fci-section__panel::before { width: 100%; height: 5px; background: repeating-linear-gradient(90deg,var(--skin-ring) 0 1px,transparent 1px 12px); }
}
html[data-skin="graphite-copper"] body.fci-public-site {
  --label: Consolas, 'Liberation Mono', monospace; --radius: 3px;
  --finish: linear-gradient(108deg, var(--shine), transparent 42%), repeating-linear-gradient(0deg,transparent 0 4px,var(--shine) 4px 5px);
  & #hero::before { opacity: .48; }
  & .fci-section__panel {
    --pin: radial-gradient(circle at center, var(--skin-ring) 0 1px,var(--skin-border) 1px 3px,transparent 3.5px);
    background: var(--pin) 6px 6px / 10px 10px, var(--pin) right 6px top 6px / 10px 10px,
      var(--pin) 6px calc(100% - 6px) / 10px 10px, var(--pin) right 6px bottom 6px / 10px 10px, var(--face);
    background-repeat: no-repeat;
  }
  & .fci-section__panel::before { display: none; }
  & .hero-tagline, & .fci-section__kicker { letter-spacing: .07em; }
  & .fci-meta-chip__dot { border-radius: 1px; }
}
html[data-skin="glacier"] body.fci-public-site {
  --display: 'Outfit', 'Roboto', sans-serif; --display-weight: 300; --radius: 15px 3px;
  --finish: linear-gradient(58deg, transparent 19%, var(--hair) 19.1%, transparent 45%),
    linear-gradient(122deg, transparent 73%, var(--hair) 73.1%, transparent 91%);
  & .fci-section__panel { border-top: 3px solid var(--skin-surface); box-shadow: inset 0 -3px var(--skin-border), 0 0 0 1px var(--skin-border); }
  & .fci-section__kicker::before { height: 7px; width: 15px; transform: skew(-32deg); }
}
html[data-skin="midnight-orchid"] body.fci-public-site {
  --display: Georgia, 'Times New Roman', serif; --display-weight: 500; --radius: 20px;
  --finish: radial-gradient(ellipse at 17% 14%, var(--hair), transparent 48%),
    radial-gradient(ellipse at 90% 70%, var(--shine), transparent 40%);
  & .hero-wordmark { font-style: italic; }
  & .hero-tagline { font-weight: 400; letter-spacing: .1em; }
  & .fci-section__kicker::before { width: .75rem; height: .75rem; border: 1px solid; border-radius: 50%; background: none; }
  & .fci-section__header { margin-inline: auto; text-align: center; }
  & .fci-section__header .group-title { text-align: center; }
  & .fci-section__lead { margin-inline: auto; }
  & .fci-section__panel::before { left: 15%; width: 70%; background: linear-gradient(90deg,transparent,var(--skin-ring),transparent); }
}
html[data-skin="terracotta"] body.fci-public-site {
  --display: Cambria, Georgia, serif; --display-weight: 700; --radius: 4px 14px 4px 4px;
  --finish: repeating-linear-gradient(174deg, transparent 0 42px,var(--shine) 43px 44px,transparent 45px 58px);
  & #hero::before { mask-image: linear-gradient(to top,black,transparent 76%); }
  & .hero-tagline { font-family: var(--display); font-style: italic; }
  & .fci-section__header { padding-top: 1.3rem; border-top: 3px solid var(--skin-ring); }
  & .fci-section__kicker::before { width: 2rem; height: 5px; background: none; border-block: 1px solid; }
  & .fci-site-index__item { border-bottom: 3px solid var(--skin-border); }
}
html[data-skin="deep-ocean"] body.fci-public-site {
  --display: 'Outfit', 'Roboto', sans-serif; --display-weight: 300; --tracking: -.028em; --radius: 18px 18px 4px 4px;
  --finish: repeating-radial-gradient(ellipse 58% 120% at -18% 110%,transparent 0 30px,var(--shine) 31px 32px,transparent 33px 39px);
  & .fci-section__header { border-bottom: 1px solid var(--skin-border); padding-bottom: 1.4rem; }
  & .fci-section__kicker::before { width: .65em; height: .65em; border-radius: 50%; }
  & .fci-section__panel { border-bottom: 3px double var(--skin-ring); }
  & .fci-meta-chip { border-radius: 100px; }
}
html[data-skin="blueprint"] body.fci-public-site {
  --label: Consolas, 'Liberation Mono', monospace; --radius: 0;
  --finish: repeating-linear-gradient(0deg,transparent 0 23px,var(--hair) 23px 24px),
    repeating-linear-gradient(90deg,transparent 0 23px,var(--hair) 23px 24px);
  & .hero-wordmark { text-transform: uppercase; font-size: var(--hero-title-size); }
  & .hero-tagline { font-weight: 400; }
  & #hero::after {
    content: ""; position: absolute; inset: max(63px,8svh) 5% 1rem; z-index: -1;
    border: 1px dashed var(--skin-trace); pointer-events: none;
  }
  & .fci-section__kicker::before { content: "+"; width: auto; height: auto; line-height: 1; font-size: 1.3rem; background: none; }
  & .fci-section__panel::before { width: 100%; height: 6px; background: repeating-linear-gradient(90deg,var(--skin-ring) 0 1px,transparent 1px 24px); }
  & .fci-site-index__item--active { outline: 1px dashed var(--skin-ring); outline-offset: -5px; }
}
html[data-skin="porcelain"] body.fci-public-site {
  --display: 'Times New Roman', Georgia, serif; --display-weight: 400; --tracking: -.04em; --radius: 2px;
  --finish: repeating-linear-gradient(90deg,transparent 0 9px,var(--shine) 10px,transparent 13px);
  & #hero::before { mask-image: linear-gradient(90deg,black,transparent 28% 72%,black); }
  & .hero-tagline { font-family: var(--display); font-weight: 400; font-style: italic; font-size: var(--hero-tag-size); }
  & .fci-section__header { padding-bottom: 1.2rem; border-bottom: 3px double var(--skin-border); }
  & .fci-section__panel { border: 4px double var(--skin-border); box-shadow: none; }
  & .fci-section__panel::before { display: none; }
  & .fci-site-index { gap: 0; border-block: 1px solid var(--skin-border); }
  & .fci-site-index__item { border: 0; }
  & .fci-site-index__item + .fci-site-index__item { border-inline-start: 1px solid var(--skin-border); }
}
html[data-skin="obsidian"] body.fci-public-site {
  --radius: 0; --tracking: -.065em;
  --finish: linear-gradient(135deg,transparent 16%,var(--shine) 16.1%,transparent 36% 74%,var(--shine) 74.1%,transparent 86%);
  & .hero-wordmark { font-weight: 700; }
  & .hero-tagline { font-size: var(--hero-tag-size); letter-spacing: .1em; }
  & .fci-section__panel { box-shadow: inset 2px 2px var(--skin-border), inset -2px -2px var(--skin-nav); }
  & .fci-section__panel::before { width: clamp(3rem,8%,6rem); height: 4px; }
  & .fci-section__kicker::before { width: .45rem; height: .45rem; transform: rotate(45deg); }
}

html[data-skin="aurelia"] body.fci-public-site {
  --display: Georgia, 'Times New Roman', serif;
  --display-weight: 500;
  --tracking: -.047em;
  --radius: 24px 6px;
  --finish: radial-gradient(ellipse 59% 110% at 15% -25%, var(--hair), transparent 75%);
  & #hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    /* Two overlapping solar lenses, polished at their edges. */
    --lens: color-mix(in srgb, var(--skin-detail) 58%, transparent);
    background: radial-gradient(ellipse 76% 95% at -17% -12%,
        transparent 94%, var(--hair) 97%, var(--lens) 99.5%, transparent 100%),
      radial-gradient(ellipse 65% 105% at 115% 108%,
        transparent 94%, var(--hair) 97%, var(--lens) 99.5%, transparent 100%);
    mask-image: linear-gradient(black 78%,transparent);
  }
  & .hero-tagline { font-weight: 400; }
  & .fci-section__kicker::before {
    width: 1.6rem; height: .62rem; border: 1px solid currentColor; border-radius: 50%; background: none;
  }
  & .fci-section__panel { border-top: 3px double var(--skin-ring); }
  & .fci-section__panel::before { display: none; }
}

html[data-skin="aurora"] body.fci-public-site {
  --display: 'Outfit', 'Roboto', sans-serif;
  --display-weight: 300;
  --tracking: -.018em;
  --radius: 18px;
  --face: linear-gradient(150deg, var(--skin-surface) 65%, color-mix(in srgb,var(--skin-detail) 13%,var(--skin-surface)));
  --violet-light: color-mix(in srgb, var(--skin-detail) 37%, transparent);
  --green-light: color-mix(in srgb, var(--skin-accent) 34%, transparent);
  --finish: radial-gradient(ellipse 130% 108% at 72% -39%,
      transparent 73%, var(--green-light) 81%, transparent 85%),
    radial-gradient(ellipse 111% 110% at -14% -18%,
      transparent 68%, var(--violet-light) 75%, transparent 83%);
  & .fci-section__grid { mask-image: linear-gradient(90deg,transparent 35%,black); }
  & .fci-section__panel::before {
    width: 100%; height: 2px;
    background: linear-gradient(90deg,transparent,var(--skin-accent) 25%,var(--skin-detail) 75%,transparent);
  }
  & .fci-site-index__item--active { border-radius: 18px 18px 18px 4px; }
}

html[data-skin="sandstone"] body.fci-public-site {
  --display: Cambria, Georgia, serif;
  --display-weight: 400;
  --radius: 0;
  --tracking: -.035em;
  --face: var(--skin-surface);
  --finish: linear-gradient(0deg, transparent 10%,var(--shine) 10% 11%,transparent 11% 22%,
    var(--shine) 22% 24%,transparent 24% 60%,var(--shine) 60% 60.3%,transparent 60.3%);
  & .hero-tagline { font-weight: 400; }
  & .fci-section__header {
    max-width: none; padding-block: clamp(1rem,2.5vw,1.7rem);
    border-top: .45rem solid var(--skin-accent); border-bottom: 1px solid var(--skin-border);
  }
  & .fci-section__kicker::before, & .fci-section__panel::before { display: none; }
  & .fci-section__panel { border-inline: 0; box-shadow: none; }
  & .fci-site-index { gap: 1px; padding: 1px; background: var(--skin-border); }
  & .fci-site-index__item { border: 0; }
}

html[data-skin="ember"] body.fci-public-site {
  --label: Consolas, 'Liberation Mono', monospace;
  --tracking: -.055em;
  --radius: 2px;
  --filament: color-mix(in srgb, var(--skin-detail) 24%, transparent);
  --finish: radial-gradient(circle at 0 0, var(--filament) 0 1.3px, transparent 1.6px) 0 0 / 16px 16px,
    repeating-linear-gradient(0deg, transparent 0 15px,var(--shine) 15px 16px),
    repeating-linear-gradient(90deg,transparent 0 15px,var(--shine) 15px 16px);
  & #hero::before { mask-image: linear-gradient(115deg,black,transparent 41% 59%,black); }
  & .fci-section__panel { border-left: 3px solid var(--skin-detail); }
  & .fci-section__panel::before { width: 4rem; background: var(--skin-detail); }
  & .fci-meta-chip__dot { border-radius: 0; }
}

html[data-skin="original"] body.fci-public-site {
  --display: 'Roboto', Arial, sans-serif;
  --display-weight: 400;
  --tracking: .02em;
  --radius: 8px;
  --finish: linear-gradient(transparent, transparent);
  & #ring-canvas { opacity: 1; }
  & .hero-wordmark {
    font: 300 var(--hero-title-size)/1.1 'Outfit', 'Roboto', sans-serif;
    letter-spacing: .12em; text-indent: .12em;
  }
  & .hero-tagline {
    margin-top: .7rem;
    font: 400 var(--hero-tag-size)/1.35 var(--display); letter-spacing: .09em;
  }
  & #site-nav .nav-link { letter-spacing: normal; }
  & .fci-section__panel::before { background: var(--skin-detail); }
}

html[data-skin="desktop"].fci-public-scroll,
html[data-skin="desktop"] body.fci-public-site {
  --border-hi: var(--skin-border);
  --t3: var(--skin-muted);
}

html[data-skin="desktop"] body.fci-public-site {
  --display: 'Segoe UI', 'Roboto', Arial, sans-serif;
  --display-weight: 600;
  --tracking: -.024em;
  --radius: 6px;
  --face: var(--skin-surface);
  --finish: linear-gradient(transparent, transparent);
  & #anim-layers { background: var(--skin-field); }
  /* The renderer's vignette and the still circuit SVG carry their own inks. */
  & #hex-canvas { opacity: .36; filter: grayscale(1); }
  & #hero::before, & #hero-mark { filter: grayscale(1); }
  & #ring-canvas { opacity: .58; }
  & .hero-tagline { font: 400 var(--hero-tag-size)/1.45 var(--display); }
  & .fci-section__panel::before { display: none; }
  & #site-nav .nav-link { font-family: var(--display); letter-spacing: normal; }
  & .fci-section__kicker { text-transform: none; letter-spacing: .02em; }
  & .fci-section__kicker::before { display: none; }
  & .fci-section__panel, & .fci-site-index__item { box-shadow: 0 2px 5px var(--shadow); }
  & .fci-site-index__item--active { box-shadow: inset 0 -3px var(--skin-detail); }
  & .fci-contact-card { border-radius: 4px; }
  & .tg-rim-pulse, & .scroll-chevron, & .tg-arrows span { animation: none !important; }
  & .tg-rim-pulse { opacity: 0 !important; }
  /* Switch paint immediately; the tile renderer still owns movement and fading. */
  & .tg-slice svg :is(path, polygon, polyline, line, rect), & .tg-continued,
  & .tg-dot, & .tg-page-nav-div { transition-property: opacity !important; }
  & .fci-meta-chip, & .fci-contact-card, & .fci-contact-card a,
  & #site-nav .nav-link { transition-property: transform, opacity; }
  & .tg-tile { --parallax-y: 0px !important; }
  & .group-title, & .tg-dots { transform: none !important; }
}

@media (min-width: 820px) {
  html:is([data-skin="blueprint"],[data-skin="graphite-copper"],[data-skin="terracotta"],[data-skin="sandstone"]) body.fci-public-site {
    & .fci-section__header { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6%; max-width: none; align-items: end; }
    & .fci-section__kicker { grid-column: 1 / -1; }
    & .fci-section__header .group-title { margin-bottom: 0 !important; }
    & .fci-section__lead { max-width: 47ch; }
  }
}
@media (max-width: 768px) {
  html[data-skin] body.fci-public-site {
    & .fci-site-index { grid-template-columns: 1fr; }
    & .fci-site-index__item {
      display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: .7rem; align-items: center;
      padding: .72rem .85rem;
    }
    & .fci-site-index__label { grid-column: 1; }
    & .fci-site-index__status { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
    & .fci-site-index__name { grid-column: 1; }
    & .tg-section-title { font-size: clamp(.9rem,3.4vw,1.3rem); }
    & .tg-tile-custom { overflow-wrap: break-word; }
  }
}
@media (max-width: 639.98px) {
  html[data-skin] body.fci-public-site {
    & #nav-toggle { min-width: 42px; height: 40px; }
    & #nav-menu, & #nav-menu.is-open { background: var(--skin-nav) !important; }
    & #nav-menu .nav-link { padding: .8rem 1rem; }
    & #nav-menu li + li a { border-color: color-mix(in srgb,var(--skin-nav-text) 20%,transparent); }
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  html[data-skin] body.fci-public-site {
    & #hero { min-height: 15rem; }
    --hero-title-size: clamp(1.25rem, 5.8svh, 1.65rem);
    --hero-tag-size: .875rem;
    & #scroll-hint { min-height: 4rem !important; padding-bottom: .25rem !important; }
  }
}
/* Use the original circuit and ring artwork as a still composition. No
   replacement logo, flashing pulse, translated tiles or auto pan. */
@media (prefers-reduced-motion: reduce) {
  html[data-skin].fci-public-scroll { scroll-behavior: auto !important; }
  html[data-skin] body.fci-public-site {
    & #anim-layers { visibility: hidden; }
    & #hero { background: var(--skin-field); }
    & .hero-emblem { position: relative; }
    & .hero-emblem::before {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background: var(--skin-ring);
      mask: url('../svg/logo_circles.svg') 47.1% 27.6% / 287.6% auto no-repeat;
    }
    & .hero-still-wings {
      display: block; position: absolute; inset: 0;
      container-type: inline-size; pointer-events: none;
    }
    & .hero-still-wings::before, & .hero-still-wings::after {
      content: ""; position: absolute; top: 50%; transform: translateY(-50%);
      width: min(63cqw, max(12px, calc((100vw - 86cqw) / 2 - 10px)));
      aspect-ratio: 280 / 250;
      background: var(--skin-trace);
      mask-image: var(--traces), var(--nodes);
      mask-position: var(--crop-x) 32.85%;
      mask-size: 426.3% auto;
      mask-repeat: no-repeat;
    }
    & .hero-still-wings::before { right: 93%; --crop-x: 16.09%; --traces: url('../svg/circuits_LB.svg'); --nodes: url('../svg/circuits_d_LB.svg'); }
    & .hero-still-wings::after { left: 93%; --crop-x: 79.68%; --traces: url('../svg/circuits_RB.svg'); --nodes: url('../svg/circuits_d_RB.svg'); }
    & #hero::before {
      background: url('../svg/circuits_LA.svg') center / cover no-repeat, var(--finish);
      opacity: .35;
    }
    & .tg-tile { --parallax-y: 0px !important; }
    & .group-title, & .tg-dots, & .fci-reveal { transform: none !important; }
    & .tg-rim-pulse, & .scroll-chevron, & .tg-arrows span, & #hero-mark { animation: none !important; }
  }
}
