/* ================================================================
   CatSU Enrollment — Landing (unauthenticated)
   ----------------------------------------------------------------
   Loaded after flat-theme.css. Scoped to .land / .app-shell.is-landing
   so it cannot leak into the authenticated application.

   Direction: cinematic campus hero. The photograph carries the page;
   a directional deep-navy scrim protects text contrast; a single
   floating credential panel supplies the 3D focal point. Warm ivory
   type, one gold accent drawn from the sunset, hairline detailing.
   ================================================================ */

/* ----------------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------------- */
.land {
  /* Chrome that sits on the photograph */
  --land-ink: #f7f3ec;
  --land-ink-soft: rgba(247, 243, 236, 0.82);
  --land-ink-faint: rgba(247, 243, 236, 0.6);
  --land-gold: #e9b45c;
  --land-blue: #7cc0ec;
  --land-hairline: rgba(255, 255, 255, 0.16);
  --land-scrim: #050b12;

  /* Credential panel — light theme */
  --panel: #ffffff;
  --panel-ink: #101a26;
  --panel-muted: #5c6a79;
  --panel-line: #e2e7ed;
  --panel-edge: rgba(15, 26, 38, 0.09);
  --panel-field: #f6f8fa;
  --panel-field-line: #d8dfe7;
  --panel-focus: #1a73b5;
  --panel-ring: rgba(26, 115, 181, 0.18);
  --panel-placeholder: #96a1ad;
  --panel-shadow: 0 40px 80px -32px rgba(3, 8, 14, 0.72),
    0 12px 24px -16px rgba(3, 8, 14, 0.5);

  /* Rhythm */
  --land-gutter: clamp(20px, 5vw, 72px);
  --land-ease: cubic-bezier(0.22, 0.82, 0.22, 1);
}

[data-theme="dark"] .land {
  --panel: #0e1720;
  --panel-ink: #edf3f9;
  --panel-muted: #9aabbb;
  --panel-line: #25313d;
  --panel-edge: rgba(255, 255, 255, 0.1);
  --panel-field: #121c26;
  --panel-field-line: #2b3846;
  --panel-focus: #52a7e0;
  --panel-ring: rgba(82, 167, 224, 0.26);
  --panel-placeholder: #74869a;
  --panel-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 12px 28px -18px rgba(0, 0, 0, 0.7);
}

/* ----------------------------------------------------------------
   2. STAGE
   ---------------------------------------------------------------- */
.land {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 104px var(--land-gutter) 0;
  background: var(--land-scrim);
  overflow: hidden;
}

.land-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.land-scene picture {
  position: absolute;
  inset: 0;
  display: block;
  animation: landSettle 1.6s var(--land-ease) both;
}

/* The hero image is scaled up rather than sized beyond 100%: a global
   `img { max-width: 100% }` reset clamps any width over 100%, which left a
   bare strip of scrim along the right edge. Scaling gives the same bleed on
   every side (enough for the parallax drift) without fighting that clamp. */
.land-scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 46%;
  transform: translate3d(var(--land-px, 0px), var(--land-py, 0px), 0) scale(1.06);
  transition: transform 0.35s var(--land-ease);
  will-change: transform;
}

@keyframes landSettle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* Directional scrim: protects the copy without hiding the campus */
.land-scene-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg,
      rgba(5, 11, 18, 0.96) 0%,
      rgba(5, 11, 18, 0.9) 26%,
      rgba(5, 11, 18, 0.68) 48%,
      rgba(5, 11, 18, 0.2) 68%,
      rgba(5, 11, 18, 0.46) 100%),
    linear-gradient(to top,
      rgba(5, 11, 18, 0.9) 0%,
      rgba(5, 11, 18, 0.28) 26%,
      rgba(5, 11, 18, 0) 52%),
    linear-gradient(to bottom,
      rgba(5, 11, 18, 0.72) 0%,
      rgba(5, 11, 18, 0) 30%);
}

/* Fine film grain — adds material texture instead of more gradients */
.land-scene-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.land-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(368px, 412px);
  align-items: center;
  gap: 30px clamp(48px, 6.5vw, 104px);
  padding-bottom: clamp(28px, 5vh, 56px);
}

/* ----------------------------------------------------------------
   3. COPY COLUMN
   ---------------------------------------------------------------- */
.land-copy { min-width: 0; max-width: 620px; }

/* Staggered entrance for the copy stack */
@keyframes landRise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: none; }
}

.land-copy > * { animation: landRise 0.75s var(--land-ease) both; }
.land-copy > *:nth-child(1) { animation-delay: 0.05s; }
.land-copy > *:nth-child(2) { animation-delay: 0.11s; }
.land-copy > *:nth-child(3) { animation-delay: 0.17s; }
.land-copy > *:nth-child(4) { animation-delay: 0.23s; }
.land-copy > *:nth-child(5) { animation-delay: 0.31s; }

.land-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--land-ink-soft);
}

.land-eyebrow-rule {
  width: 26px;
  height: 1px;
  background: var(--land-gold);
  flex-shrink: 0;
}

.land-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 13px;
  border-radius: 14px;
  border: 1px solid var(--land-hairline);
  background: rgba(6, 13, 21, 0.44);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--land-ink-soft);
}

.land-status strong {
  font-weight: 650;
  color: var(--land-ink);
}

.land-status[data-state="open"] strong { color: #5fe0bd; }
.land-status[data-state="closed"] strong { color: var(--land-gold); }

.land-status-meta { color: var(--land-ink-faint); }

.land-status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(247, 243, 236, 0.45);
  box-shadow: 0 0 0 3px rgba(247, 243, 236, 0.1);
}

.land-status[data-state="open"] .land-status-dot {
  background: #2fc9a4;
  box-shadow: 0 0 0 3px rgba(47, 201, 164, 0.22);
}

.land-status[data-state="closed"] .land-status-dot {
  background: var(--land-gold);
  box-shadow: 0 0 0 3px rgba(233, 180, 92, 0.22);
}

.land-status[data-state="loading"] .land-status-dot {
  animation: landStatusPulse 1.4s ease-in-out infinite;
}

@keyframes landStatusPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.land-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--land-ink);
  text-wrap: balance;
}

.land-title em {
  display: inline-block;
  font-style: normal;
  color: var(--land-gold);
}

.land-lede {
  max-width: 52ch;
  margin: 0 0 34px;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.72;
  color: var(--land-ink-soft);
}

.land-lede strong {
  font-weight: 600;
  color: var(--land-ink);
}

/* Process rail — hairlines, no cards */
.land-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--land-hairline);
  max-width: 620px;
}

.land-rail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.land-rail-num {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--land-gold);
}

.land-rail-label {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--land-ink-soft);
}

/* Photo caption, bottom-left of the frame */
.land-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 0 18px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--land-ink-faint);
}

.land-caption::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}

.land-caption { animation: landRise 0.8s 0.4s var(--land-ease) both; }

/* ----------------------------------------------------------------
   4. CREDENTIAL PANEL (3D focal point)
   ---------------------------------------------------------------- */
.land-stage {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 412px;
  perspective: 1500px;
  animation: landStageIn 0.85s var(--land-ease) both;
}

@keyframes landStageIn {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) rotateY(-7deg) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
  }
}

/* Cast shadow grounds the panel in the scene */
.land-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 4%;
  right: 4%;
  bottom: -30px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2, 6, 11, 0.62) 0%, rgba(2, 6, 11, 0) 72%);
  filter: blur(10px);
}

.land-panel {
  position: relative;
  /* Deliberately not a 3D rendering context (no `transform-style: preserve-3d`).
     Inside a preserved-3D subtree the browser hit-tests against a projected
     area that drifts from the painted box, so a press on the submit button and
     its release resolved to different elements; the click then fired on their
     common ancestor (the form) and the button's submit never ran — the button
     needed two clicks. The tilt still reads as depth because the parent
     .land-stage supplies the perspective. */
  transform: rotateX(var(--land-rx, 0deg)) rotateY(var(--land-ry, 0deg));
  transition: transform 0.45s var(--land-ease);
  border-radius: 18px;
  border: 1px solid var(--panel-edge);
  background: var(--panel);
  box-shadow: var(--panel-shadow);
  padding: 40px 32px 26px;
}

/* Luminous top edge — reads as a bevel under the light source */
.land-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(233, 180, 92, 0) 0%,
    rgba(233, 180, 92, 0.8) 30%,
    rgba(255, 255, 255, 0.9) 60%,
    rgba(233, 180, 92, 0) 100%);
}

/* Crest tag overlaps the panel's top edge like a punched credential strip */
.land-crest {
  position: absolute;
  top: -30px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--panel-line);
  background: var(--panel);
  box-shadow: 0 10px 22px -12px rgba(3, 8, 14, 0.6);
}

.land-crest img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.land-crest span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--panel-muted);
  white-space: nowrap;
}

.land-panel h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--panel-ink);
}

.land-panel-sub {
  margin: 0 0 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--panel-muted);
}

.land-panel .notice {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  border-left-width: 3px;
  font-size: 12.5px;
  line-height: 1.5;
}

.land-field {
  display: block;
  margin-bottom: 16px;
}

.land-field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--panel-muted);
}

.land-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--panel-ink);
  background: var(--panel-field);
  border: 1px solid var(--panel-field-line);
  border-radius: 9px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.land-input::placeholder { color: var(--panel-placeholder); }

/* Chrome/Safari paint autofilled fields with a pale yellow-blue wash that
   ignores the field's own background — unreadable in dark mode. */
.land-input:-webkit-autofill,
.land-input:-webkit-autofill:hover,
.land-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--panel-ink);
  caret-color: var(--panel-ink);
  -webkit-box-shadow: 0 0 0 1000px var(--panel-field) inset;
  box-shadow: 0 0 0 1000px var(--panel-field) inset;
}

.land-input:focus {
  border-color: var(--panel-focus);
  background: var(--panel);
  box-shadow: 0 0 0 3px var(--panel-ring);
}

.land-input:focus-visible { outline: none; }

.land-field-pw { position: relative; }
.land-field-pw .land-input { padding-right: 52px; }

.land-pw-toggle {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--panel-muted);
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.land-pw-toggle:hover {
  color: var(--panel-ink);
  background: var(--panel-field);
}

.land-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  padding: 0 18px;
  border: 1px solid #145f97;
  border-radius: 9px;
  background: #1a73b5;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: 0.005em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.land-submit:hover:not(:disabled) {
  background: #16639c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px -10px rgba(3, 8, 14, 0.6);
  transform: translateY(-1px);
}

.land-submit:active:not(:disabled) {
  transform: translateY(0);
  background: #135a8e;
}

.land-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.land-submit .spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
}

.land-btn-label { transition: opacity 0.2s ease; }

.land-loading,
.land-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.land-loading.active,
.land-success.active { display: inline-flex; }

.land-success svg {
  width: 19px;
  height: 19px;
  animation: landCheckPop 0.4s var(--land-ease);
}

@keyframes landCheckPop {
  0% { transform: scale(0) rotate(-45deg); }
  60% { transform: scale(1.18) rotate(0); }
  100% { transform: scale(1) rotate(0); }
}

.land-help {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--panel-muted);
  text-align: center;
}

.land-help a {
  color: var(--panel-focus);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.land-help a:hover { color: var(--panel-ink); }

.land-panel-foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--panel-line);
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--panel-muted);
}

.land-panel-foot i { margin-top: 2px; font-size: 10px; flex-shrink: 0; }

.land-shake { animation: landShake 0.4s ease; }

@keyframes landShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* ----------------------------------------------------------------
   5. TOPBAR — transparent over the photograph (landing only)
   ---------------------------------------------------------------- */
.app-shell.is-landing .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: linear-gradient(to bottom,
    rgba(4, 9, 15, 0.82) 0%,
    rgba(4, 9, 15, 0.42) 58%,
    rgba(4, 9, 15, 0) 100%);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Once the page scrolls, the header becomes a solid bar so hero content
   can never sit behind the navigation. */
.app-shell.is-landing.scrolled .topbar {
  background: rgba(5, 10, 17, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

.app-shell.is-landing .topbar::after { display: none; }

.app-shell.is-landing .brand strong { color: #fff; }
.app-shell.is-landing .brand small { color: rgba(255, 255, 255, 0.58); }
.app-shell.is-landing .brand:hover { opacity: 0.88; }

.app-shell.is-landing .brand-logo {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.app-shell.is-landing .portal-link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
}

.app-shell.is-landing .portal-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.app-shell.is-landing .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
  width: 44px;
  height: 44px;
}

.app-shell.is-landing .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.app-shell.is-landing .brand:focus-visible,
.app-shell.is-landing .portal-link:focus-visible,
.app-shell.is-landing .theme-toggle:focus-visible {
  outline-color: var(--land-gold);
}

/* The session label is empty until sign-in — don't render an empty pill */
.app-shell.is-landing #session-label:empty { display: none; }

/* ----------------------------------------------------------------
   6. FOOTER — dark anchor under the photograph (landing only)
   ---------------------------------------------------------------- */
.app-shell.is-landing .site-footer {
  background: #070d14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.app-shell.is-landing .footer-brand-head strong { color: #fff; }
.app-shell.is-landing .footer-brand-head small { color: rgba(255, 255, 255, 0.5); }
.app-shell.is-landing .footer-brand p { color: rgba(255, 255, 255, 0.58); }
.app-shell.is-landing .footer-col h4 { color: rgba(255, 255, 255, 0.48); }

.app-shell.is-landing .footer-col a,
.app-shell.is-landing .footer-col button.footer-link,
.app-shell.is-landing .footer-col span {
  color: rgba(255, 255, 255, 0.76);
}

.app-shell.is-landing .footer-col a:hover,
.app-shell.is-landing .footer-col button.footer-link:hover {
  color: var(--land-gold);
  padding-left: 4px;
}

.app-shell.is-landing .footer-col a:focus-visible,
.app-shell.is-landing .footer-col button.footer-link:focus-visible {
  outline-color: var(--land-gold);
}

.app-shell.is-landing .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}

.app-shell.is-landing .footer-location {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

/* ----------------------------------------------------------------
   7. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .land-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
    gap: 26px 44px;
  }
  .land-panel { padding: 38px 28px 24px; }
}

/* Four rail labels get cramped next to the panel in this band */
@media (min-width: 941px) and (max-width: 1080px) {
  .land-rail {
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }
}

@media (max-width: 940px) {
  .land {
    padding-top: 92px;
    min-height: auto;
  }
  .land-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    justify-items: stretch;
    padding-bottom: 40px;
  }
  .land-copy { max-width: 640px; }
  .land-stage {
    justify-self: start;
    max-width: 460px;
  }
  .land-rail { max-width: none; }
  .land-title { font-size: clamp(38px, 7.4vw, 60px); }
  .land-scene-img { object-position: 62% 42%; }
}

@media (max-width: 620px) {
  .land { padding-top: 84px; }
  .land-inner { gap: 50px; padding-bottom: 32px; }
  .land-eyebrow { font-size: 9.5px; letter-spacing: 0.16em; margin-bottom: 14px; }
  .land-status { margin-bottom: 18px; font-size: 11px; }
  .land-status-meta { display: none; }
  .land-title { font-size: clamp(34px, 10.5vw, 46px); margin-bottom: 18px; }
  .land-lede { font-size: 14px; line-height: 1.65; margin-bottom: 24px; }
  .land-rail {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
  .land-rail-label { font-size: 12px; }
  .land-stage { max-width: 100%; }
  .land-panel { padding: 36px 20px 22px; border-radius: 16px; }
  .land-crest { left: 18px; top: -26px; }
  .land-panel h2 { font-size: 22px; }
  .land-caption { font-size: 9px; letter-spacing: 0.1em; padding-bottom: 14px; }
  .app-shell.is-landing .topbar { height: 64px; }
}

@media (max-width: 400px) {
  .land { padding-left: 16px; padding-right: 16px; padding-top: 78px; }
  .land-title { font-size: clamp(33px, 9.2vw, 37px); }
  .land-panel { padding: 34px 16px 20px; }
  .land-crest { left: 12px; }
}

@media (max-width: 360px) {
  .land-rail { grid-template-columns: 1fr; gap: 10px; }
}

/* Short viewports: keep the panel reachable without clipping */
@media (max-height: 720px) and (min-width: 941px) {
  .land { padding-top: 92px; }
  .land-title { font-size: clamp(34px, 4.4vw, 56px); }
  .land-lede { margin-bottom: 24px; }
  .land-panel { padding: 34px 28px 22px; }
  .land-panel-sub { margin-bottom: 18px; }
  .land-field { margin-bottom: 13px; }
}

/* ----------------------------------------------------------------
   8. REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .land-scene picture,
  .land-scene-img,
  .land-stage,
  .land-panel,
  .land-copy > *,
  .land-caption,
  .land-status-dot {
    animation: none !important;
    transition: none !important;
  }
  .land-scene-img {
    /* Static crop kept slightly larger than the frame so no hairline seam
       can appear at fractional zoom levels. */
    transform: scale(1.02);
  }
  .land-panel { transform: none; }
}

/* ----------------------------------------------------------------
   9. SCROLLBARS
   The hero is a full-bleed photograph. A classic scrollbar carves a strip
   out of its right edge, which reads as a cut in the image. Scrolling is
   untouched (wheel, keys, touch, and the scroll-to-top on sign-in) — only
   the indicator is hidden. Applied to the landing view alone.
   ---------------------------------------------------------------- */
html.landing-active {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.landing-active::-webkit-scrollbar,
html.landing-active body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
