    :root {
      color-scheme: light;
      --bg: #fff;
      --fg: #000;
      --muted: #000;
      --line: #000;
      --card: #fff;
      --card-strong: #fff;
      --accent: #000;
      --shadow: none;
      --radius: 24px;
      --style-site-width: 960px;
      --style-line-height: 1.55;
      --style-hero-pad-top: 80px;
      --style-hero-pad-bottom: 72px;
      --style-hero-gap: 32px;
      --style-section-padding-y: 72px;
      --style-section-gap: 32px;
      --style-card-padding: 24px;
      --style-card-gap: 16px;
      --style-component-outline: 1px solid var(--line);
      --style-card-shadow: none;
      --style-panel-shadow: none;
      --style-blur: 0px;
      --style-h1-min: 42px;
      --style-h1-fluid: 8vw;
      --style-h1-max: 92px;
      --style-h1-tracking: -0.075em;
      --style-h2-tracking: -0.055em;
      --style-h3-tracking: -0.035em;
      --style-desc-size: 18px;
      --style-section-lead-size: 17px;
      --style-button-y: 8px;
      --style-button-x: 16px;
      --style-button-size: 14px;
      --style-button-radius: 999px;
      --style-button-border-width: 1px;
      --style-button-bg: var(--fg);
      --style-button-color: var(--bg);
      --style-button-border-color: var(--fg);
      --style-button-secondary-bg: var(--bg);
      --style-button-secondary-color: var(--fg);
      --style-button-secondary-border-color: var(--fg);
      --style-button-shadow: none;
      --style-button-font: inherit;
      --style-button-weight: inherit;
      --style-button-tracking: normal;
      --style-button-text-transform: none;
      --style-button-backdrop: none;
      --style-meta-transform: uppercase;
      --style-meta-spacing: 0.08em;
      --style-title-rule-width: 0px;
      --style-title-rule-style: solid;
      --style-title-rule-padding: 0px;
      --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--sans);
      color: var(--fg);
      background: var(--bg);
      line-height: var(--style-line-height);
      overflow-x: hidden;
    }

    html[lang^="zh"] body {
      line-break: strict;
      text-spacing-trim: trim-start;
    }

    html[lang^="zh"] :is(h1, h2, h3) .zh-word {
      display: inline-block;
      max-inline-size: 100%;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    a { color: inherit; text-decoration: none; }
    a:hover { text-decoration: underline; text-underline-offset: 4px; }

    .site {
      width: min(var(--style-site-width), calc(100vw - 32px));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(18px);
      background: color-mix(in srgb, var(--bg), transparent 18%);
      border-bottom: 1px solid var(--line);
    }

    .topbar-inner {
      width: 100%;
      margin: 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      align-items: center;
      padding: 8px;
      gap: 8px;
    }

    .brand {
      display: flex;
      align-items: center;
      justify-self: start;
      gap: 8px;
      font-weight: 760;
      letter-spacing: -0.03em;
    }

    nav {
      grid-column: 2;
      display: flex;
      justify-self: center;
      gap: 16px;
      color: var(--muted);
      font-size: 13px;
    }

    nav a {
      margin: -3px -5px;
      padding: 3px 5px;
      transition: color .16s ease;
    }

    nav a.current {
      color: inherit;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 4px;
    }

    nav a:hover,
    nav a:focus-visible {
      color: var(--fg);
      text-decoration: none;
    }

    nav a.current:hover,
    nav a.current:focus-visible {
      color: var(--fg);
      text-decoration: underline;
    }

    .topbar .button.language-switch {
      grid-column: 3;
      justify-self: end;
      flex: 0 0 auto;
      padding: 8px;
      font-size: 11px;
      line-height: 1;
      white-space: nowrap;
    }

    .hero {
      min-height: auto;
      display: grid;
      align-items: center;
      padding: var(--style-hero-pad-top) 0 var(--style-hero-pad-bottom);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: var(--style-hero-gap);
      align-items: start;
    }

    .kicker {
      font-family: var(--mono);
      color: var(--accent);
      font-size: 12px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    h1 {
      margin: 0;
      font-size: clamp(var(--style-h1-min), var(--style-h1-fluid), var(--style-h1-max));
      line-height: 0.94;
      letter-spacing: var(--style-h1-tracking);
      max-width: 896px;
    }

    .hero-sub {
      margin: 24px 0 0;
      max-width: 688px;
      font-size: clamp(18px, 2.4vw, 25px);
      line-height: 1.35;
      color: var(--muted);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 32px;
    }

    .button {
      appearance: none;
      border: var(--style-button-border-width) solid var(--style-button-border-color);
      background: var(--style-button-bg);
      color: var(--style-button-color);
      padding: var(--style-button-y) var(--style-button-x);
      border-radius: var(--style-button-radius);
      font-family: var(--style-button-font);
      font-weight: var(--style-button-weight);
      font-size: var(--style-button-size);
      line-height: 1.2;
      letter-spacing: var(--style-button-tracking);
      text-transform: var(--style-button-text-transform);
      box-shadow: var(--style-button-shadow);
      backdrop-filter: var(--style-button-backdrop);
      cursor: pointer;
      transition: transform .16s ease, opacity .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .button.secondary {
      background: var(--style-button-secondary-bg);
      color: var(--style-button-secondary-color);
      border-color: var(--style-button-secondary-border-color);
    }

    .button:hover { transform: translateY(-1px); text-decoration: none; }
    .button:active { transform: translateY(0); opacity: .78; }

    .hero-card {
      background: var(--card);
      border: 0;
      outline: var(--style-component-outline);
      outline-offset: 0;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: var(--style-card-padding);
      backdrop-filter: blur(var(--style-blur));
    }

    .stat-grid {
      display: grid;
      gap: 16px;
    }

    .stat {
      border-bottom: 1px solid var(--line);
      padding-bottom: 16px;
    }
    .stat:last-child { border-bottom: 0; padding-bottom: 0; }
    .stat-label {
      font-family: var(--mono);
      color: var(--muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .1em;
      margin-bottom: 8px;
    }
    .stat-value { font-size: 17px; font-weight: 680; letter-spacing: -0.02em; }

    main {
      padding: 24px 0 0;
    }

    .section {
      border-top: 1px solid var(--line);
      padding: var(--style-section-padding-y) 0;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
      margin-bottom: var(--style-section-gap);
    }

    .section-index {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--accent);
      letter-spacing: .11em;
      text-transform: uppercase;
    }

    h2 {
      margin: 0;
      font-size: clamp(32px, 5vw, 58px);
      letter-spacing: var(--style-h2-tracking);
      line-height: .98;
    }

    .section-lead {
      margin: 16px 0 0;
      color: var(--muted);
      max-width: 760px;
      font-size: var(--style-section-lead-size);
    }

    .cards {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: var(--style-card-gap);
    }

    .card {
      grid-column: 1 / -1;
      padding: var(--style-card-padding);
      border: 0;
      outline: var(--style-component-outline);
      outline-offset: 0;
      background: var(--card);
      border-radius: var(--radius);
      backdrop-filter: blur(var(--style-blur));
      box-shadow: var(--style-card-shadow);
      min-height: auto;
      overflow-wrap: anywhere;
    }

    .card.full,
    .card.third { grid-column: 1 / -1; }

    /* Featured projects keep the same full-row measure across every theme. */
    #work .cards {
      grid-template-columns: minmax(0, 1fr) !important;
    }

    #work .project-card {
      grid-column: 1 / -1 !important;
      inline-size: 100% !important;
      margin-inline: 0 !important;
    }

    .card-title-row {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: start;
      margin-bottom: 16px;
      flex-wrap: wrap;
      border-bottom: var(--style-title-rule-width) var(--style-title-rule-style) var(--line);
      padding-bottom: var(--style-title-rule-padding);
    }

    h3 {
      margin: 0;
      font-size: 23px;
      line-height: 1.1;
      letter-spacing: var(--style-h3-tracking);
    }

    .tag {
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--line);
      color: var(--muted);
      padding: 8px;
      border-radius: 999px;
      font-size: 12px;
      white-space: nowrap;
      font-family: var(--mono);
      background: color-mix(in srgb, var(--card-strong), transparent 20%);
    }

    .stack {
      margin: 8px 0 16px;
      color: var(--accent);
      font-family: var(--mono);
      font-size: 12px;
      line-height: 1.5;
    }

    .generated-desc-meta {
      margin-top: 16px;
      color: var(--accent);
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: var(--style-meta-spacing);
      text-transform: var(--style-meta-transform);
    }

    .generated-description {
      font-size: var(--style-desc-size);
      line-height: var(--style-line-height);
      color: var(--fg);
      margin-top: 8px;
    }

    p { margin: 0 0 16px; }
    ul {
      margin: 16px 0 0;
      padding-left: 24px;
      color: var(--muted);
    }
    li { margin: 8px 0; }

    details {
      margin-top: 16px;
      border-top: 1px solid var(--line);
      padding-top: 16px;
    }
    summary {
      cursor: pointer;
      color: var(--accent);
      font-family: var(--mono);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .principles {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: var(--style-card-gap);
    }

    .principle {
      padding: var(--style-card-padding);
      border: 0;
      outline: var(--style-component-outline);
      outline-offset: 0;
      border-radius: var(--radius);
      background: var(--card);
      font-size: 19px;
      letter-spacing: -0.025em;
      min-height: 152px;
    }

    .skill-cloud {
      display: flex;
      gap: var(--style-card-gap);
      flex-wrap: wrap;
    }

    .skill-pill {
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 8px 16px;
      background: var(--card);
      color: var(--fg);
      font-size: 14px;
    }

    .timeline {
      display: grid;
      gap: var(--style-card-gap);
    }
    .timeline-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
      padding: var(--style-card-padding);
      border: 0;
      outline: var(--style-component-outline);
      outline-offset: 0;
      border-radius: var(--radius);
      background: var(--card);
      box-shadow: var(--style-card-shadow);
      overflow-wrap: anywhere;
    }
    .time-label {
      font-family: var(--mono);
      color: var(--accent);
      font-size: 12px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .contact-panel {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      align-items: start;
      gap: 24px;
      padding: calc(var(--style-card-padding) + 8px);
      border: 0;
      outline: var(--style-component-outline);
      outline-offset: 0;
      border-radius: calc(var(--radius) + 8px);
      background: var(--card-strong);
      box-shadow: var(--style-panel-shadow);
      overflow-wrap: anywhere;
    }

    .contact-panel h2 { max-width: 760px; }
    .contact-links {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: flex-start;
    }

    .reveal {
      margin: 80px 0 56px;
      border: 0;
      outline: var(--style-component-outline);
      outline-offset: 0;
      background: var(--card-strong);
      color: var(--fg);
      border-radius: calc(var(--radius) + 8px);
      padding: calc(var(--style-card-padding) + 8px);
      position: relative;
      overflow: hidden;
      box-shadow: var(--style-panel-shadow);
      backdrop-filter: blur(var(--style-blur));
    }

    .reveal::before {
      content: none;
    }

    .reveal > * { position: relative; }
    .reveal h2 {
      font-size: clamp(32px, 5vw, 58px);
      max-width: 952px;
    }
    .reveal p { max-width: 720px; font-size: 18px; }
    .reveal-grid {
      margin-top: 32px;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
      max-width: 608px;
    }
    .reveal-stat {
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 16px;
      background: var(--card);
      color: var(--fg);
      min-height: auto;
      overflow-wrap: anywhere;
    }
    .reveal-stat-label {
      font-family: var(--mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .1em;
      opacity: .62;
      margin-bottom: 8px;
    }
    .reveal-stat-value { font-weight: 720; letter-spacing: -0.02em; }
    .active-style-value { font-size: 20px; }
    .active-style-heading {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      min-width: 0;
    }
    .active-style-heading .active-style-value { min-width: 0; }
    .style-period {
      flex: 0 0 auto;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: none;
      box-shadow: none;
      color: var(--muted);
      filter: none;
      font: inherit;
      font-size: 20px;
      font-weight: 420;
      letter-spacing: -0.02em;
      text-shadow: none;
      white-space: nowrap;
    }
    .style-introduction {
      margin-top: 8px;
      max-width: 520px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }
    .reveal-stat-section + .reveal-stat-section {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }
    .reveal-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
    .reveal .button.surrender {
      width: 100%;
      justify-content: center;
      margin-top: 8px;
    }

    .complete-version[hidden] { display: none; }
    .complete-version {
      border-top: 1px solid var(--line);
      padding: 80px 0 88px;
    }
    .complete-version .complete-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
      margin-bottom: 32px;
    }
    .complete-project { grid-column: 1 / -1; }
    .complete-project .intro-list {
      display: grid;
      gap: 8px;
      margin: 16px 0 0;
    }
    .complete-project .intro-list p {
      margin: 0;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 16px;
      color: var(--muted);
      background: color-mix(in srgb, var(--card-strong), transparent 38%);
    }
    .complete-version h3 { margin-top: 0; }

    .tiny-footer {
      padding: 0 0 40px;
      display: flex;
      justify-content: space-between;
      color: var(--muted);
      font-family: var(--mono);
      font-size: 12px;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-spotlight-scrim {
      position: fixed;
      inset: 0;
      z-index: 150;
      background: radial-gradient(
        circle at 50% 58%,
        rgba(0, 0, 0, .03),
        rgba(0, 0, 0, .13)
      );
      -webkit-backdrop-filter: blur(3px) saturate(.95);
      backdrop-filter: blur(3px) saturate(.95);
      pointer-events: none;
      animation: footer-spotlight-scrim-in .78s ease-out both;
    }

    .footer-spotlight-layer {
      position: fixed;
      z-index: 151;
      pointer-events: none;
    }

    .footer-spotlight-button {
      width: 100%;
      height: 100%;
      min-height: 0;
      position: relative;
      z-index: 1;
      justify-content: center;
      box-shadow:
        0 0 0 3px var(--bg),
        0 0 0 7px var(--fg),
        0 18px 48px rgba(0, 0, 0, .28) !important;
      pointer-events: auto;
      animation: footer-spotlight-button-in .56s .14s cubic-bezier(.22, 1, .36, 1) both;
    }

    .footer-spotlight-card {
      position: absolute;
      left: var(--spotlight-card-offset, 0);
      bottom: calc(100% + 20px);
      width: var(--spotlight-card-width, 480px);
      padding: 28px 60px 28px 28px;
      border: 1px solid color-mix(in srgb, var(--fg), transparent 72%);
      border-radius: 8px;
      background: var(--bg);
      color: var(--fg);
      box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
      font-family: var(--sans);
      pointer-events: auto;
      animation: footer-spotlight-card-in .7s .08s cubic-bezier(.22, 1, .36, 1) both;
    }

    .footer-spotlight-card::after {
      content: "";
      position: absolute;
      left: var(--spotlight-arrow-left, 28px);
      bottom: -9px;
      width: 16px;
      height: 16px;
      border-right: 1px solid color-mix(in srgb, var(--fg), transparent 72%);
      border-bottom: 1px solid color-mix(in srgb, var(--fg), transparent 72%);
      background: var(--bg);
      transform: rotate(45deg);
    }

    .footer-spotlight-eyebrow {
      margin-bottom: 16px;
      color: var(--fg);
      font-family: var(--mono);
      font-size: 13px;
      font-weight: 760;
      letter-spacing: .08em;
      line-height: 1.35;
      text-transform: uppercase;
    }

    .footer-spotlight-card p {
      margin: 0;
      color: var(--fg);
      font-size: 15px;
      line-height: 1.6;
    }

    .footer-spotlight-card p + p { margin-top: 8px; }

    .footer-spotlight-close {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 32px;
      height: 32px;
      padding: 0;
      border: 0;
      border-radius: 2px;
      background: transparent;
      color: var(--fg);
      font: 24px/1 var(--sans);
      cursor: pointer;
    }

    .footer-spotlight-close:hover,
    .footer-spotlight-close:focus-visible {
      background: color-mix(in srgb, var(--fg), transparent 90%);
      outline: 2px solid var(--fg);
      outline-offset: 1px;
    }

    @keyframes footer-spotlight-scrim-in {
      from {
        opacity: 0;
        -webkit-backdrop-filter: blur(0) saturate(1);
        backdrop-filter: blur(0) saturate(1);
      }
      to {
        opacity: 1;
        -webkit-backdrop-filter: blur(3px) saturate(.95);
        backdrop-filter: blur(3px) saturate(.95);
      }
    }

    @keyframes footer-spotlight-card-in {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes footer-spotlight-button-in {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 24px;
      transform: translateX(-50%) translateY(16px);
      padding: 8px 16px;
      border-radius: 999px;
      background: var(--fg);
      color: var(--bg);
      font-size: 13px;
      opacity: 0;
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease;
      z-index: 100;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    .regenerating {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: var(--fg);
      color: var(--bg);
      display: none;
      place-items: center;
      padding: 24px;
      overflow: hidden;
      isolation: isolate;
    }
    .regenerating.active {
      display: grid;
      animation: regenerating-in .18s ease-out both;
    }
    .regen-box {
      position: relative;
      z-index: 1;
      width: min(680px, 100%);
      padding: clamp(24px, 5vw, 52px);
      border: 1px solid currentColor;
      font-family: var(--mono);
      font-size: 14px;
      line-height: 1.9;
      overflow: hidden;
      isolation: isolate;
    }
    .regen-line {
      position: relative;
      z-index: 1;
      padding-inline-start: 22px;
      opacity: .34;
      transform: translateX(-6px);
      transition: opacity .18s ease, transform .18s ease;
    }
    .regen-line::before {
      content: "";
      position: absolute;
      inset-inline-start: 0;
      top: .76em;
      width: 7px;
      height: 7px;
      border: 1px solid currentColor;
    }
    .regen-line.active {
      opacity: 1;
      transform: translateX(0);
    }
    .regen-line.active::before { background: currentColor; }

    @keyframes regenerating-in {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .fade-in {
      opacity: 0;
      transform: translateY(16px);
      animation: rise .56s ease forwards;
    }
    @keyframes rise {
      to { opacity: 1; transform: translateY(0); }
    }


    /* Layout guardrails. */
    .site,
    .topbar-inner,
    .hero,
    .hero-grid,
    main,
    .section,
    .section-head,
    .cards,
    .card,
    .card-title-row,
    .principles,
    .principle,
    .timeline,
    .timeline-item,
    .contact-panel,
    .reveal,
    .complete-version,
    .complete-version .complete-head,
    .complete-project,
    .skill-cloud,
    .contact-links,
    .hero-actions,
    .reveal-actions {
      min-width: 0;
      max-width: 100%;
    }

    .hero,
    .section,
    .card,
    .hero-card,
    .principle,
    .timeline-item,
    .contact-panel,
    .reveal,
    .complete-version {
      position: relative;
      clear: both;
      isolation: isolate;
    }

    .card,
    .hero-card,
    .principle,
    .timeline-item,
    .contact-panel,
    .reveal-stat,
    .complete-project .intro-list p {
      overflow-wrap: anywhere;
      word-break: normal;
    }

    body[data-style-id] :is(h1, h2, h3) {
      max-inline-size: 100%;
      overflow-wrap: anywhere;
      word-break: normal;
    }

    body[data-style-id] :is(h1, h2) {
      text-wrap: balance;
    }

    body[data-style-id] h3 {
      text-wrap: pretty;
    }

    h1, h2, h3,
    .hero-sub,
    .section-lead,
    .generated-description,
    .stack,
    .stat-value,
    .reveal-stat-value,
    .tag,
    .skill-pill,
    .button {
      min-width: 0;
      max-width: 100%;
      overflow-wrap: anywhere;
    }

    /* Applied only when a theme still pushes a title beyond the viewport. */
    .title-boundary-fallback {
      inset-inline: auto !important;
      margin-inline: 0 !important;
      rotate: none !important;
      translate: none !important;
      transform: none !important;
    }

    .card-title-row > *,
    .contact-links > *,
    .hero-actions > *,
    .reveal-actions > *,
    .skill-cloud > * {
      min-width: 0;
    }

    .tag,
    .skill-pill,
    .button {
      white-space: normal;
      text-align: center;
    }

    .card::before,
    .timeline-item::before,
    .principle::before {
      max-width: 100%;
      overflow-wrap: anywhere;
    }

    .reveal::before {
      z-index: 0;
    }

    .reveal > * {
      z-index: 1;
    }

    .fade-in {
      transform: none;
    }

    @keyframes rise {
      to { opacity: 1; transform: none; }
    }

    .button:hover,
    .button:active {
      transform: none;
    }

    @supports (overflow: clip) {
      .card,
      .hero-card,
      .principle,
      .timeline-item,
      .contact-panel,
      .reveal-stat,
      .complete-project .intro-list p {
        overflow: clip;
      }
    }

    body.layout-single .site {
      max-width: 960px;
    }

    @media (max-width: 864px) {
      nav { display: none; }
      .section { padding: 56px 0; }
    }

    @media (max-width: 520px) {
      .site { width: min(100vw - 24px, 960px); }
      .hero { padding-top: 56px; }
      .card, .hero-card, .contact-panel { padding: 24px; }
      body[data-style-id] :is(h1, h2) { text-wrap: wrap; }
      .reveal-actions .button, .hero-actions .button { width: 100%; justify-content: center; }
      .footer-spotlight-card {
        bottom: calc(100% + 16px);
        padding: 20px 48px 20px 20px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .regenerating.active { animation: none; }

      .regen-line {
        transform: none;
        transition: none;
      }

      .footer-spotlight-scrim,
      .footer-spotlight-button,
      .footer-spotlight-card {
        animation: none;
        transition: none;
      }
    }
