/* Theme 1: Forest & brass (original) */
:root {
      --night: #0f1412;
      --deep: #1a2420;
      --text: #f2eee6;
      --text-muted: #d8d3c8;
      --accent-heading: #f0d9a8;
      --accent-soft: #e8c88a;
      --brass-hot: #e4bc6a;
      --label: #b8c9c0;
      --focus: #ffffff;
      --focus-ring: 3px solid var(--focus);
      --panel: rgba(232, 228, 220, 0.09);
      --panel-edge: rgba(232, 216, 180, 0.35);
      --mx: 50%;
      --my: 40%;
      --parallax-x: 0px;
      --parallax-y: 0px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    body {
      min-height: 100vh;
      font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
      font-size: 1.125rem;
      line-height: 1.7;
      font-weight: 400;
      background: var(--night);
      color: var(--text);
      overflow-x: hidden;
    }

    .skip-link {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 100;
      padding: 0.75rem 1.25rem;
      background: var(--text);
      color: var(--night);
      font-weight: 700;
      font-size: 1rem;
      text-decoration: underline;
      text-underline-offset: 3px;
      transform: translateY(-120%);
      transition: transform 0.2s ease;
    }

    .skip-link:focus {
      outline: var(--focus-ring);
      outline-offset: 2px;
    }

    .skip-link:focus-visible {
      transform: translateY(0);
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Photo: people / warmth — covered by scrim for contrast */
    .photo-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-color: #1a1510;
      background-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=2000&q=80");
      background-size: cover;
      background-position: center 35%;
      transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.08);
      will-change: transform;
    }

    .scrim {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background:
        radial-gradient(100% 90% at 50% 0%, rgba(15, 20, 18, 0.5) 0%, transparent 55%),
        radial-gradient(120% 80% at 80% 100%, rgba(15, 20, 18, 0.75) 0%, transparent 45%),
        linear-gradient(180deg, rgba(15, 20, 18, 0.82) 0%, rgba(15, 20, 18, 0.92) 45%, rgba(10, 14, 12, 0.94) 100%);
    }

    .grain {
      position: fixed;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      opacity: 0.06;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    .link-svg {
      position: fixed;
      inset: 0;
      z-index: 3;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    #link-path {
      fill: none;
      stroke: url(#link-grad);
      stroke-width: 1.5;
      stroke-linecap: round;
      opacity: 0.22;
      transition: opacity 0.35s ease;
    }

    body:has(#segOnly:hover) #link-path,
    body:has(#segOnly:focus-visible) #link-path,
    body:has(#segOnly[aria-pressed="true"]) #link-path,
    body:has(#segHuman:hover) #link-path,
    body:has(#segHuman:focus-visible) #link-path,
    body:has(#segHuman[aria-pressed="true"]) #link-path,
    body:has(#panel:hover) #link-path {
      opacity: 0.52;
    }

    #link-path.pulse {
      animation: dash-shift 2.2s ease-in-out infinite;
    }

    @keyframes dash-shift {
      0%, 100% { stroke-dashoffset: 0; opacity: 0.35; }
      50% { stroke-dashoffset: 24; opacity: 0.55; }
    }

    @media (prefers-reduced-motion: reduce) {
      #link-path.pulse {
        animation: none;
      }
    }

    .brand-field {
      position: fixed;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .brand-field__text {
      position: absolute;
      width: 130%;
      max-width: 64rem;
      text-align: center;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(3rem, 14vw, 9rem);
      font-weight: 600;
      letter-spacing: -0.03em;
      line-height: 0.88;
      color: var(--accent-soft);
      opacity: 0.07;
      transform: rotate(-6deg) translateY(-12%);
      user-select: none;
    }

    .brand-field__text .emph {
      display: block;
      font-size: 1.15em;
      letter-spacing: -0.04em;
      opacity: 1.15;
      color: var(--brass-hot);
    }

    .brand-field__text .tail {
      display: block;
      font-size: 0.38em;
      font-weight: 500;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      margin-top: 0.35em;
      opacity: 0.65;
      color: var(--text-muted);
    }

    .brand-field__ribbon {
      position: absolute;
      bottom: 8%;
      left: 50%;
      transform: translateX(-50%);
      font-size: clamp(0.65rem, 1.4vw, 0.75rem);
      letter-spacing: 0.42em;
      text-transform: uppercase;
      color: var(--text-muted);
      opacity: 0.22;
      white-space: nowrap;
    }

    main {
      position: relative;
      z-index: 4;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: clamp(2rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2.25rem);
    }

    main:focus {
      outline: none;
    }

    main:focus-visible {
      outline: var(--focus-ring);
      outline-offset: 4px;
    }

    .page-header {
      text-align: center;
      max-width: 44rem;
      margin-bottom: 1.35rem;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      font-size: 0.8125rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent-heading);
      margin-bottom: 1rem;
    }

    .eyebrow::before,
    .eyebrow::after {
      content: "";
      width: 2rem;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--panel-edge), transparent);
    }

    .eyebrow strong {
      color: var(--brass-hot);
      font-weight: 700;
    }

    .brand-lockup {
      margin-bottom: 1.1rem;
    }

    .brand-lockup__line {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(3rem, 11vw, 6.25rem);
      font-weight: 600;
      line-height: 0.95;
      letter-spacing: -0.035em;
      color: var(--text);
    }

    .brand-seg {
      display: inline;
      font: inherit;
      color: inherit;
      background: none;
      border: none;
      padding: 0.1em 0.08em;
      margin: 0 -0.04em;
      cursor: pointer;
      border-radius: 2px;
      transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
    }

    .brand-seg:focus {
      outline: none;
    }

    .brand-seg:focus-visible {
      outline: var(--focus-ring);
      outline-offset: 3px;
    }

    .brand-seg--only {
      color: var(--text);
    }

    .brand-seg--human {
      color: var(--accent-heading);
      font-style: italic;
      font-weight: 500;
    }

    #segOnly:hover,
    #segOnly:focus-visible,
    #segOnly[aria-pressed="true"] {
      color: var(--brass-hot);
      text-shadow: 0 0 40px rgba(228, 188, 106, 0.35);
    }

    #segHuman:hover,
    #segHuman:focus-visible,
    #segHuman[aria-pressed="true"] {
      color: var(--brass-hot);
      text-shadow: 0 0 48px rgba(240, 217, 168, 0.4);
    }

    .brand-lockup__after {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(1.1rem, 3.5vw, 1.65rem);
      font-weight: 500;
      font-style: italic;
      color: var(--text-muted);
      letter-spacing: 0.12em;
      margin-top: 0.35rem;
    }

    h1 {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(1.65rem, 4vw, 2.35rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.15;
      color: var(--text);
      margin-bottom: 0.25rem;
    }

    h1 .accent {
      color: var(--accent-heading);
      font-weight: 600;
    }

    .lede {
      font-size: 1.125rem;
      line-height: 1.75;
      color: var(--text-muted);
      max-width: 38rem;
      margin-left: auto;
      margin-right: auto;
    }

    .panel {
      --panel-glow: rgba(196, 165, 116, 0.12);
      width: 100%;
      max-width: 42rem;
      padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
      border-radius: 8px;
      background:
        radial-gradient(120% 80% at var(--mx) var(--my), var(--panel-glow) 0%, transparent 55%),
        var(--panel);
      border: 1px solid var(--panel-edge);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 28px 56px rgba(0, 0, 0, 0.35);
      margin-bottom: 0;
      transition: box-shadow 0.35s ease, border-color 0.35s ease;
    }

    body:has(#segOnly:hover) .panel,
    body:has(#segOnly:focus-visible) .panel,
    body:has(#segOnly[aria-pressed="true"]) .panel {
      --panel-glow: rgba(228, 188, 106, 0.22);
      border-color: rgba(232, 200, 138, 0.48);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 28px 56px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(228, 188, 106, 0.12),
        0 0 40px rgba(228, 188, 106, 0.1);
    }

    body:has(#segHuman:hover) .panel,
    body:has(#segHuman:focus-visible) .panel,
    body:has(#segHuman[aria-pressed="true"]) .panel {
      --panel-glow: rgba(240, 217, 168, 0.2);
      border-color: rgba(232, 200, 138, 0.48);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 28px 56px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(240, 217, 168, 0.12),
        0 0 44px rgba(240, 217, 168, 0.09);
    }

    body:has(#panel:hover) .panel {
      border-color: rgba(232, 200, 138, 0.42);
    }

    body:has(#segOnly[aria-pressed="true"]):has(#segHuman[aria-pressed="true"]) .panel {
      --panel-glow: rgba(240, 217, 168, 0.3);
      border-color: rgba(232, 210, 160, 0.55);
      box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.09) inset,
        0 28px 56px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(228, 188, 106, 0.2),
        0 0 56px rgba(228, 188, 106, 0.14);
    }

    body:has(#segOnly[aria-pressed="true"]):has(#segHuman[aria-pressed="true"]) .unit {
      border-color: rgba(228, 188, 106, 0.45);
      background: linear-gradient(180deg, rgba(228, 188, 106, 0.08) 0%, transparent 100%);
    }

    .panel::before {
      content: "";
      display: block;
      width: 3.5rem;
      height: 3px;
      margin: 0 auto 1.35rem;
      background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
      border-radius: 2px;
    }

    .panel-heading {
      font-family: "Source Sans 3", system-ui, sans-serif;
      font-size: 1.125rem;
      font-weight: 700;
      text-align: center;
      color: var(--text-muted);
      margin-bottom: 1rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .target-line {
      font-size: 1.0625rem;
      font-weight: 600;
      color: var(--text-muted);
      text-align: center;
      margin-top: 1.35rem;
      margin-bottom: 0;
      line-height: 1.6;
    }

    .target-line time {
      color: var(--text);
      font-weight: 700;
    }

    .countdown {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: clamp(0.5rem, 2vw, 1.1rem);
      list-style: none;
    }

    @media (max-width: 540px) {
      .countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .unit {
      text-align: center;
      padding: 1rem 0.5rem 0.75rem;
      border-radius: 4px;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 100%);
      border: 1px solid rgba(232, 228, 220, 0.12);
      transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    }

    body:has(#segOnly:hover) .unit:nth-child(1),
    body:has(#segOnly:hover) .unit:nth-child(2),
    body:has(#segOnly:focus-visible) .unit:nth-child(1),
    body:has(#segOnly:focus-visible) .unit:nth-child(2),
    body:has(#segOnly[aria-pressed="true"]) .unit:nth-child(1),
    body:has(#segOnly[aria-pressed="true"]) .unit:nth-child(2) {
      border-color: rgba(228, 188, 106, 0.55);
      background: linear-gradient(180deg, rgba(228, 188, 106, 0.12) 0%, transparent 100%);
    }

    body:has(#segHuman:hover) .unit:nth-child(3),
    body:has(#segHuman:hover) .unit:nth-child(4),
    body:has(#segHuman:focus-visible) .unit:nth-child(3),
    body:has(#segHuman:focus-visible) .unit:nth-child(4),
    body:has(#segHuman[aria-pressed="true"]) .unit:nth-child(3),
    body:has(#segHuman[aria-pressed="true"]) .unit:nth-child(4) {
      border-color: rgba(240, 217, 168, 0.5);
      background: linear-gradient(180deg, rgba(240, 217, 168, 0.1) 0%, transparent 100%);
    }

    .value {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(2.5rem, 8vw, 3.25rem);
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      letter-spacing: 0.03em;
      line-height: 1;
      color: var(--text);
      text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
    }

    .value.tick {
      animation: lift 0.32s ease;
    }

    @media (prefers-reduced-motion: reduce) {
      .value.tick {
        animation: none;
      }
    }

    @keyframes lift {
      0%, 100% { transform: translateY(0); }
      45% { transform: translateY(-2px); }
    }

    .label {
      margin-top: 0.65rem;
      font-family: "Source Sans 3", system-ui, sans-serif;
      font-size: 0.9375rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--label);
    }

    .complete {
      display: none;
      margin-top: 1.5rem;
      font-family: "Source Sans 3", system-ui, sans-serif;
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--accent-heading);
      text-align: center;
      line-height: 1.55;
    }

    .complete.visible {
      display: block;
    }

    .countdown.hidden {
      display: none;
    }

    .target-line.hidden {
      display: none;
    }

    .panel-heading.hidden {
      display: none;
    }

    .live-summary-wrap {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(232, 228, 220, 0.12);
    }

    .intro-after-countdown {
      width: 100%;
      max-width: 40rem;
      margin-top: 2.25rem;
      text-align: center;
    }

    .contact-block {
      width: 100%;
      max-width: 40rem;
      margin-top: 2.5rem;
      padding: 1.5rem 1.35rem 1.6rem;
      text-align: center;
      border-radius: 8px;
      border: 1px solid var(--panel-edge);
      background: rgba(0, 0, 0, 0.22);
    }

    .contact-block__title {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.65rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
    }

    .contact-block p {
      font-size: 1.0625rem;
      line-height: 1.65;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

    .contact-block p:last-child {
      margin-bottom: 0;
    }

    .contact-block__email {
      margin: 0.25rem 0 1.15rem !important;
    }

    .contact-block__email a {
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--accent-heading);
      text-decoration: underline;
      text-underline-offset: 3px;
      word-break: break-all;
    }

    .contact-block__email a:hover {
      color: var(--brass-hot);
    }

    .contact-block__email a:focus-visible {
      outline: var(--focus-ring);
      outline-offset: 3px;
    }

    .contact-block__sub {
      font-family: "Source Sans 3", system-ui, sans-serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--accent-heading);
      margin: 1.35rem 0 0.6rem;
    }

    .contact-block__forum {
      text-align: left;
      margin-bottom: 0 !important;
    }

    .site-footer {
      margin-top: 2.25rem;
      text-align: center;
      font-size: 1rem;
      line-height: 1.65;
      color: var(--text-muted);
      max-width: 38rem;
    }

    .site-footer .name {
      display: block;
      margin-top: 0.65rem;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.125rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--accent-heading);
    }

    .plain-summary {
      margin: 0;
      font-size: 1.0625rem;
      line-height: 1.65;
      text-align: center;
      color: var(--text-muted);
    }

    .photo-credit {
      position: fixed;
      bottom: 0.5rem;
      right: 0.65rem;
      z-index: 5;
      font-size: 0.65rem;
      color: var(--text-muted);
      opacity: 0.45;
      max-width: 14rem;
      text-align: right;
      line-height: 1.35;
    }

    .photo-credit a {
      color: var(--accent-heading);
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .photo-credit a:focus-visible {
      outline: var(--focus-ring);
      outline-offset: 2px;
    }
