/*
 * Anonymous marketing shell. No JavaScript.
 * System fonts only: the public host must not fetch a third-party stylesheet.
 * DM Sans and Source Serif 4 stay on the authenticated host, which still
 * loads them from its own document.
 */

:root {
  color-scheme: dark;
  --ink: hsl(200 28% 10%);
  --ink-deep: hsl(200 28% 9%);
  --panel: hsl(200 26% 11%);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.65);
  --faint: rgba(255, 255, 255, 0.45);
  --line: rgba(255, 255, 255, 0.12);
  --teal: hsl(173 58% 36%);
  --teal-soft: hsl(173 50% 65%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
}

a {
  color: inherit;
}

.landing-root {
  min-height: 100vh;
}

.shell {
  width: min(72rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.section-nav {
  display: none;
  gap: 2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.section-nav a {
  text-decoration: none;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  color: white;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 42rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: landing-kenburns 28s ease-out forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, hsl(173 45% 28% / 0.25), transparent 55%),
    linear-gradient(to top, hsl(200 32% 8%), hsl(200 28% 12% / 0.72), hsl(200 25% 18% / 0.35));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 6rem 0 3.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--teal-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 46rem;
  margin: 1rem 0 0;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: 1.25;
}

.subhead {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.door-grid,
.family-grid {
  display: grid;
  gap: 1rem;
}

.door-grid {
  max-width: 48rem;
  margin-top: 2rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: hsl(200 26% 11% / 0.9);
  padding: 1.25rem 1.25rem 1.1rem;
}

.card-accent {
  border-color: hsl(173 45% 45% / 0.45);
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-accent {
  border-color: hsl(173 45% 45% / 0.5);
  background: hsl(173 45% 28% / 0.35);
  color: hsl(173 55% 78%);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.button-primary {
  background: var(--teal);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: hsl(173 58% 32%);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.button-quiet {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.button-quiet:hover,
.button-quiet:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.note,
.fine {
  color: var(--faint);
  font-size: 0.85rem;
}

.note {
  margin: 1rem 0 0;
}

.band {
  border-top: 1px solid var(--line);
  padding: 4rem 0;
}

.band-deep {
  background: var(--ink-deep);
}

.band h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.lede {
  max-width: 44rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.family-grid {
  margin-top: 2.5rem;
}

.preview {
  margin-top: 2.5rem;
  border: 1px solid hsl(173 45% 45% / 0.35);
  border-radius: 0.75rem;
  background: var(--panel);
  padding: 1.5rem 1.25rem;
}

.center {
  text-align: center;
}

.center .lede {
  margin-inline: auto;
}

.center .actions {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  color: var(--faint);
  font-size: 0.8rem;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-bar p {
  margin: 0;
}

.fade-up {
  animation: landing-fade-up 0.85s ease-out both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes landing-kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1) translate3d(0, -1.5%, 0); }
}

@keyframes landing-fade-up {
  from { opacity: 0; transform: translate3d(0, 1.1rem, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (min-width: 48rem) {
  .section-nav { display: flex; }
  .door-grid,
  .family-grid { grid-template-columns: 1fr 1fr; }
  .footer-bar { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media,
  .fade-up { animation: none; }
}
