:root {
  color-scheme: dark;
  --background: #000;
  --text: #fff;
  --muted: #aaaab0;
  --athenium-blue: #1F62E2;
  --athenium-blue-light: #5090FF;
  --rule: #27272b;
  --accent: var(--athenium-blue-light);
  --nav-text: #c3c3c8;
  --surface: #080b10;
  --surface-border: #29323e;
  --surface-border-hover: #43546b;
  --badge-hover: #121b29;
  --brand-preview: #181a1e;
  --body-font-size: 17px;
  --body-line-height: 1.6;
  --body-letter-spacing: normal;
  --site-max-width: 1280px;
  --site-width: min(100vw, var(--site-max-width));
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  /* Keep mobile browsers from enlarging full-width copy after rotation. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
/* Shared typography for narrative copy across every page. */
.hero-copy p,
.page-heading > p,
.technology-section p,
.contact-intro,
.person-bio,
.prose,
.brand-section > p {
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  font-weight: 400;
}
/* Keep the whole composition centered, including its header, artwork, and footer. */
.site { width: 100%; max-width: var(--site-max-width); margin-inline: auto; min-height: 100svh; display: flex; flex-direction: column; }
.home-page .site { height: 100svh; min-height: 0; }
.home-page .site-header, .home-page .site-footer { flex-shrink: 0; }
.container { width: calc(100% - 64px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: #fff; color: #000; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--background); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
/* Offset the logo's built-in left padding so its visible crest aligns with the content. */
.brand { display: block; flex-shrink: 0; width: clamp(240px, calc(var(--site-width) * .3), 400px); transform: translateX(-3.46%); }
.main-nav { display: flex; align-items: center; gap: clamp(26px, calc(var(--site-width) * .035), 56px); }
.main-nav a { position: relative; padding-block: 12px; color: var(--nav-text); font-size: 17px; text-align: center; white-space: nowrap; }
/* Reserve the bold label's width so selecting a page never shifts the links. */
.main-nav a::before { content: attr(data-label); display: block; height: 0; visibility: hidden; font-weight: 700; }
.main-nav a:hover { color: var(--text); }
.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.nav-toggle { display: none; }
.home-hero { position: relative; isolation: isolate; flex: 1; min-height: 560px; display: flex; align-items: flex-start; overflow: hidden; }
.home-landing { min-height: 0; overflow: auto; }
.home-stage { position: relative; align-self: stretch; min-height: min-content; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; width: 40%; padding: 45px 0 80px; }
.hero-copy p { max-width: 530px; margin-top: 28px; color: var(--text); }
.hero-copy > .tagline, .page-heading > .tagline { color: var(--text); border-left: 3px solid var(--accent); padding-left: 15px; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--accent); font-size: var(--body-font-size); line-height: 1.5; }
.text-link:hover { color: var(--accent); }
.text-link:hover, .text-link:focus-visible, .footer-inner a:hover, .footer-inner a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 28px; }
.hero-actions .text-link { white-space: nowrap; }
/* One coordinate system keeps all three layers and four hole axes aligned. */
.home-chip { display: block; position: absolute; width: 600px; max-width: 54%; aspect-ratio: 1419 / 1108; right: 0; top: calc(50% - 25px); transform: translateY(-50%); }
.home-chip-solid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/* Keep the existing stack extent: detailed drawing at +210, bare base at +420. */
.home-chip-base { position: absolute; top: 37.906137%; left: 0; width: 100%; height: 100%; fill: none; stroke: #527aaa; stroke-width: 2.2; opacity: .65; pointer-events: none; }
.home-chip-wireframe { position: absolute; top: 18.953069%; left: 0; width: 100%; height: 100%; opacity: .7; mix-blend-mode: screen; pointer-events: none; }
.home-chip-wireframe img { display: block; width: 100%; height: 100%; }
.home-chip-wireframe .home-wireframe-light { display: none; }
.home-chip-guides { position: absolute; top: 0; left: 0; width: 100%; height: 137.906137%; fill: none; stroke: #527aaa; opacity: .65; }
.home-chip-guides path { stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.home-chip-guide-tips { opacity: .8; }
.arrow { font-family: Arial, sans-serif; font-weight: 400; }
.site-footer { position: relative; z-index: 1; }
.footer-inner { min-height: 52px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 14px; }
.footer-inner { flex-wrap: wrap; column-gap: 24px; row-gap: 0; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-inner a { padding-block: 12px; }
.footer-inner a[aria-current="page"] { color: var(--text); }
.page-main { flex: 1; }
.page-main, .contact-copy { padding-block: 150px 100px; }
/* Via traces: a 13px separator with 12px of space before the heading. */
.heading-signals { position: relative; }
.heading-signals.page-main, .heading-signals .contact-copy { padding-top: 25px; }
.signal-panorama {
  position: absolute; bottom: -12px; left: 0; right: 0; height: 13px; pointer-events: none;
  background: var(--background) url("../images/via-traces.svg?v=2") center / max(100%, 768px) 13px no-repeat;
}
.page-heading { max-width: 850px; margin-bottom: 64px; }
.page-heading.team-heading { margin-bottom: 24px; }
.hero-copy h1, .page-heading h1, .contact-copy h1 { font-size: clamp(38px, calc(var(--site-width) * .042), 64px); letter-spacing: -.035em; line-height: 1.12; }
.page-heading h1, .contact-copy h1 { position: relative; top: 12px; }
.page-heading > p, .page-heading > .text-link, .contact-intro { position: relative; top: 5px; }
.hero-copy h1 { width: max-content; font-size: clamp(48px, calc(var(--site-width) * .08), 80px); line-height: 1.04; }
.hero-copy h1 em { color: var(--accent); }
.page-heading > p:last-child, .contact-intro { margin-top: 22px; color: var(--text); }
.team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.person { grid-column: span 2; }
.person--featured { grid-column: span 3; }
.person-header { display: flex; align-items: center; gap: 24px; margin-bottom: 26px; }
.person-header > div { min-width: 0; }
.person-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.person-name h2 { min-width: 0; overflow-wrap: anywhere; }
.portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.person--featured .portrait { width: 116px; height: 116px; }
.person h2 { font-size: 23px; line-height: 1.25; letter-spacing: -.02em; }
.person-role { margin-top: 8px; color: var(--accent); font-size: 15px; line-height: 1.5; }
.person-bio { color: var(--text); max-width: 570px; }
.person-bio p + p { margin-top: 12px; }
.linkedin-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 2px; }
.linkedin-badge::after { content: ""; position: absolute; width: 44px; height: 44px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.linkedin-badge img { width: 20px; height: auto; }
.linkedin-badge:hover { background: var(--badge-hover); }
.contact-copy { position: relative; z-index: 1; }
.contact-heading { position: relative; top: 12px; display: flex; align-items: center; gap: 16px; font-size: clamp(38px, calc(var(--site-width) * .042), 64px); }
.contact-heading h1 { top: 0; font-size: inherit; }
/* Match the visible capital-letter height as the heading scales. */
.contact-heading .linkedin-badge { flex: 0 0 auto; width: 1cap; height: 1cap; }
.contact-heading .linkedin-badge img { width: 100%; }
.contact-team-link { margin-top: 28px; }
.contact-team-link .text-link { white-space: nowrap; }
.contact-details { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.person, .contact-channel { position: relative; min-width: 0; padding: 28px; background: var(--surface); border: 1px solid var(--surface-border); border-radius: 4px; }
.person::before, .contact-channel::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 2px; background: var(--accent); border-top-left-radius: 4px; }
.person:hover::before, .person:focus-within::before, .contact-channel:hover::before, .contact-channel:focus-within::before { width: 72px; }
.person:hover, .person:focus-within, .contact-channel:hover, .contact-channel:focus-within { border-color: var(--surface-border-hover); }
.contact-channel { min-height: 143px; padding: 17px 26px; border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; }
:root:not([data-theme="light"]) .contact-channel { background: #141922; }
.contact-channel h2 { font-size: clamp(23px, calc(var(--site-width) * .0215), 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; color: var(--text); }

.contact-details .text-link { margin-top: 20px; justify-content: space-between; gap: 16px; letter-spacing: -.02em; }
.contact-details .text-link:hover, .contact-details .text-link:focus-visible { text-decoration: none; }
.contact-details .text-link:hover .contact-email, .contact-details .text-link:focus-visible .contact-email { text-decoration: underline; text-underline-offset: 4px; }
.contact-email { min-width: 0; overflow-wrap: anywhere; }
.contact-details .arrow { flex-shrink: 0; width: 22px; height: 22px; }
.prose { max-width: 760px; color: var(--text); }
.prose section + section { margin-top: 34px; }
.prose h2 { color: var(--text); font-size: 23px; line-height: 1.3; margin-bottom: 12px; }
.prose p + p { margin-top: 14px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.prose a:hover, .prose a:focus-visible { text-decoration-thickness: 2px; }
.privacy-heading { margin-bottom: 44px; }
.page-heading.privacy-heading > p:last-child { margin-top: 22px; color: var(--muted); font-size: 15px; }

.silicon-main { isolation: isolate; overflow: hidden; min-height: clamp(620px, calc(var(--site-width) * .53), 850px); }
/* Keep the desktop artwork positioned against .silicon-main after the intro. */
.silicon-hero { position: static; }
.page-heading.silicon-heading { width: 65%; margin-bottom: 0; max-width: none; }
.silicon-heading > p { margin-top: 22px; }
.silicon-heading .text-link { margin-top: 28px; }
/* Quiet labels give the technology narrative a clear reading order. */
.technology-section { position: relative; margin-top: 32px; }
.technology-section h2 {
  margin-bottom: 10px; color: var(--accent); font-size: 14px; line-height: 1.4;
  letter-spacing: .09em; text-transform: uppercase; font-weight: 700;
}
/* Both pages use the original PNG; the detail is only enlarged and cropped. */
/* Start the artwork below the heading separator so the two never overlap. */
.silicon-detail {
  position: absolute; z-index: -1; inset: 13px 0 0; margin: 0; overflow: hidden;
  --edge-fade: 55px;
  --fade-start: calc(32px + (100% - 64px) * .65 - 8px);
  --right-fade: clamp(0px, calc(100vw - var(--site-max-width)), var(--edge-fade));
  /* Ease image opacity at both ends to avoid a visible band where a fade stops. */
  --detail-mask: linear-gradient(90deg,
    rgba(0, 0, 0, 0) var(--fade-start),
    rgba(0, 0, 0, .009) calc(var(--fade-start) + var(--edge-fade) * .1),
    rgba(0, 0, 0, .104) calc(var(--fade-start) + var(--edge-fade) * .25),
    rgba(0, 0, 0, .5) calc(var(--fade-start) + var(--edge-fade) * .5),
    rgba(0, 0, 0, .896) calc(var(--fade-start) + var(--edge-fade) * .75),
    rgba(0, 0, 0, .991) calc(var(--fade-start) + var(--edge-fade) * .9),
    #000 calc(var(--fade-start) + var(--edge-fade)),
    #000 calc(100% - var(--right-fade)),
    rgba(0, 0, 0, .991) calc(100% - var(--right-fade) * .9),
    rgba(0, 0, 0, .896) calc(100% - var(--right-fade) * .75),
    rgba(0, 0, 0, .5) calc(100% - var(--right-fade) * .5),
    rgba(0, 0, 0, .104) calc(100% - var(--right-fade) * .25),
    rgba(0, 0, 0, .009) calc(100% - var(--right-fade) * .1),
    rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: var(--detail-mask);
  mask-image: var(--detail-mask);
}
/* Frame the blue tile within the image column at a scale similar to landscape. */
.silicon-art { position: absolute; width: 88%; max-width: none; height: auto; left: 20%; top: 0; }
/* Stacked images use a vertical fade; landscape also softens the side edges. */
.silicon-detail::after { content: ""; position: absolute; inset: 0; pointer-events: none; }

@media (max-width: 1050px) {
  .header-inner { min-height: 64px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person, .person--featured { grid-column: span 1; }
  .person-header { gap: 18px; }
  .portrait, .person--featured .portrait { width: 80px; height: 80px; }
  .person h2 { font-size: 21px; }
}
@media (700px < width <= 1050px) {
  .team-grid > .person:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 24px) / 2);
  }
}
@media (max-width: 900px) {
  /* Let the document scroll so the footer follows the stacked artwork. */
  .home-page .site { height: auto; min-height: 100svh; }
  .home-landing { flex: 1 0 auto; overflow: visible; }
  .home-stage { align-self: flex-start; min-height: 0; padding-top: 45px; }
  .hero-copy { width: 100%; max-width: 620px; padding: 0; }
  .hero-copy h1 { font-size: clamp(48px, 8vw, 72px); }
  /* Include the base layer's 420-unit offset in the space before the footer. */
  .home-chip { position: relative; width: min(88%, 510px); max-width: 100%; right: auto; top: auto; transform: none; margin: 12px auto calc(24px + min(88%, 510px) * 420 / 1419); }
  .silicon-main { min-height: 0; padding-bottom: 44px; }
  .page-heading.silicon-heading { width: 100%; max-width: none; }
  /* Keep the stacked image a shallow 2:1 band on phones, capped at 275px. */
  .silicon-detail { position: relative; z-index: auto; inset: auto; height: min(275px, 50vw); margin: 24px -32px 26px; -webkit-mask-image: none; mask-image: none; }
  .silicon-detail + p, .silicon-detail + .technology-section { margin-top: 0; }
  /* Center the blue tile and limit zoom so it also fits the capped crop on tablets. */
  .silicon-art { width: min(185%, 1000px); left: 60%; top: 50%; transform: translate(-71%, -31%); }
  .silicon-detail::after { background: linear-gradient(var(--background), transparent 18%, transparent 88%, var(--background)); }
  .header-inner { gap: 16px; }
  .main-nav { gap: 24px; }
  .contact-details { grid-template-columns: 1fr; gap: 16px; }
  .person { padding: 24px; }
  .contact-channel { min-height: 121px; padding-block: 12px; }
  .contact-channel h2 { font-size: 27px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding-block: 4px; }
  /* Reduce the logo height by 12px using its 5641:1014 aspect ratio. */
  .brand { --logo-width-reduction: calc(12px * 5641 / 1014); width: calc(min(280px, 80vw) - var(--logo-width-reduction)); }
  .main-nav { gap: clamp(12px, 4vw, 30px); flex-wrap: wrap; }
  .main-nav a { font-size: 15px; padding-block: 8px; }
  .nav-ready .header-inner { min-height: 52px; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; }
  .nav-ready .brand { width: calc(min(280px, calc(100% - 56px)) - var(--logo-width-reduction)); }
  .nav-ready .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
  .nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .nav-toggle .nav-close, .nav-toggle[aria-expanded="true"] .nav-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-close { display: block; }
  .nav-ready .main-nav { display: none; position: absolute; top: calc(100% + 12px); right: 18px; width: 200px; max-width: calc(100% - 36px); flex-direction: column; align-items: stretch; gap: 4px; padding: 8px; background: var(--background); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 12px 20px #0002; }
  .nav-toggle[aria-expanded="true"] + .main-nav { display: flex; }
  .nav-ready .main-nav a { min-height: 44px; padding: 12px 8px; font-size: 17px; text-align: right; }
  .contact-hero { min-height: 580px; }
  .hero-copy h1 { max-width: 560px; }
  .hero-copy p { max-width: 450px; margin-top: 24px; }
  .hero-actions { margin-top: 26px; }
  .footer-inner { min-height: 48px; font-size: 12px; gap: 16px; }
  .page-main, .contact-copy { padding-block: 64px; }
  .page-heading { margin-bottom: 44px; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .person { padding: 20px; }
  .portrait, .person--featured .portrait { width: 88px; height: 88px; }
  .person-header { margin-bottom: 20px; }

  /* Restore the artwork clearance after the shared mobile page padding above. */
  .silicon-main { padding-bottom: 44px; }
  .silicon-detail { margin-inline: -18px; }
}

/* Short, wide phone viewports need the artwork beside the opening copy. */
@media (min-width: 600px) and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  .home-page .site { height: auto; min-height: 100svh; }
  .home-landing { flex: 1 0 auto; overflow: visible; }
  .home-stage { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 7fr); gap: 24px; align-items: start; align-self: flex-start; min-height: 0; padding-block: 25px 32px; }
  .hero-copy { width: 100%; max-width: none; padding: 0; }
  .hero-copy h1 { width: auto; font-size: clamp(38px, 5.5vw, 48px); }
  .hero-copy p { max-width: none; margin-top: 18px; }
  .hero-actions { margin-top: 20px; }
  /* Size the solid package for the visible height, with space for its lower layers. */
  .home-chip { --landscape-chip-width: min(100%, (100svh - 104px) * 1419 / 1108); position: relative; width: var(--landscape-chip-width); max-width: 100%; justify-self: center; right: auto; top: auto; transform: none; margin: 0 0 calc(var(--landscape-chip-width) * 420 / 1419); }

  .silicon-main { min-height: 0; padding-bottom: 44px; }
  .page-heading.silicon-heading { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 7fr); column-gap: 24px; align-items: start; width: 100%; max-width: none; }
  .silicon-heading > * { grid-column: 1 / -1; }
  .silicon-heading > h1, .silicon-heading > p:not(.tagline),
  .silicon-heading > .technology-section { grid-column: 1; }
  .silicon-heading > h1 { font-size: 38px; }
  .silicon-heading > .silicon-detail {
    /* Four rows = title, introduction, architecture, and resilience. */
    grid-column: 2; grid-row: 1 / span 4; align-self: stretch;
    position: relative; z-index: auto; inset: auto; height: auto;
    min-height: 360px; margin: 0;
    /* Reuse the eased 55px fades at the edges of the image column. */
    --fade-start: 0px;
    --right-fade: var(--edge-fade);
    -webkit-mask-image: var(--detail-mask);
    mask-image: var(--detail-mask);
  }
  .silicon-detail + p, .silicon-detail + .technology-section { margin-top: 28px; }
  /* Keep the blue tile centered horizontally, with its focal point 85px higher. */
  .silicon-art {
    width: 245%; left: 50%; top: calc(50% - 85px);
    transform: translate(-71.5%, -30%);
  }
  .silicon-detail::after { background: linear-gradient(var(--background), transparent 18%, transparent 88%, var(--background)); }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 150ms ease; }
  .person::before, .contact-channel::before { transition: width 200ms ease-out; }
}

/* Compact desktop navigation; mobile retains its larger touch targets. */
@media (min-width: 701px) {
  .main-nav { position: relative; top: 1px; gap: 2px; padding: 3px; border: 1px solid var(--surface-border); border-radius: 8px; background: var(--surface); }
  .main-nav a { min-height: 22px; padding: 2px clamp(14px, calc(var(--site-width) * .015), 22px); border: 1px solid transparent; border-radius: 4px; font-size: 14px; line-height: 16px; }
  .main-nav a[aria-current="page"] { border-color: var(--surface-border); background: var(--background); box-shadow: 0 1px 3px #00000008; }
  .main-nav a:not([aria-current="page"]):hover { color: var(--accent); background: var(--badge-hover); }
  .main-nav a:focus-visible { outline-offset: 2px; }
}
@media (701px <= width <= 800px) {
  .main-nav a { padding-inline: 12px; }
}

/* Theme differences live here; the original dark values remain the defaults. */
:root[data-theme="light"] {
  color-scheme: light;
  --background: #fff;
  --text: #000;
  --muted: #595960;
  --rule: #dedee3;
  --accent: var(--athenium-blue);
  --nav-text: #48484e;
  --surface: #f6f8fc;
  --surface-border: #d4dce8;
  --surface-border-hover: #8b9bb1;
  --badge-hover: #e5edfa;
  --brand-preview: #eef1f6;
}

.brand-logo-light { display: none; }
:root[data-theme="light"] .brand-logo-dark { display: none; }
:root[data-theme="light"] .brand-logo-light { display: block; }

.theme-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 24px; width: 24px; height: 24px; padding: 2px; border: 0;
  border-radius: 2px; background: transparent; color: inherit; cursor: pointer;
}
.theme-toggle[hidden], .theme-icon-dark { display: none; }
.theme-toggle:hover { color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
:root[data-theme="light"] .theme-icon-light { display: none; }
:root[data-theme="light"] .theme-icon-dark { display: block; }

/* Theme changes only affect contour color; both use the original vSoC geometry. */
:root[data-theme="light"] .home-chip-wireframe { opacity: .72; mix-blend-mode: multiply; }
:root[data-theme="light"] .home-chip-base { stroke: #7294c1; }
:root[data-theme="light"] .home-chip-wireframe .home-wireframe-dark { display: none; }
:root[data-theme="light"] .home-chip-wireframe .home-wireframe-light { display: block; }
:root[data-theme="light"] .home-chip-guides { stroke: #7294c1; }

@media (max-width: 700px) {
  /* Make room for the control without changing the footer's original wrap point. */
  .footer-inner:has(.theme-toggle:not([hidden])) { column-gap: 0; }
  .footer-links:has(.theme-toggle:not([hidden])) { gap: 8px; }
}
