:root {
  color-scheme: dark;
  --ink: #f4f0e7;
  --muted: #b9c7c9;
  --night: #061923;
  --sea: #0d3b49;
  --sun: #f4a261;
  --line: rgba(244, 240, 231, 0.2);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 38%, rgba(244, 162, 97, 0.08), transparent 28rem),
    linear-gradient(145deg, var(--night), var(--sea));
  font-family: "DM Sans", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
}

.shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: auto;
  grid-template-rows: auto 1fr auto;
}

nav, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav {
  padding: 30px 0 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark strong { font-weight: 600; }

.mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  border: 2px solid var(--sun);
  border-radius: 50% 50% 48% 48%;
}

.mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--sun);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status i {
  width: 7px;
  height: 7px;
  background: #6bd6b1;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(107, 214, 177, 0.1);
}

.hero {
  align-self: center;
  max-width: 830px;
  padding: 8vh 0 12vh;
}

.eyebrow {
  margin-bottom: 25px;
  color: var(--sun);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  max-width: 810px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(58px, 8.2vw, 112px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

h1 em { color: var(--sun); font-weight: 500; }

.intro {
  max-width: 625px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.topics span {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

footer {
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer p { margin: 0; }

.sun {
  position: fixed;
  z-index: 0;
  right: -7vw;
  bottom: -17vw;
  width: 45vw;
  height: 45vw;
  min-width: 420px;
  min-height: 420px;
  border: 1px solid rgba(244, 162, 97, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(244, 162, 97, 0.07), inset 0 0 100px rgba(244, 162, 97, 0.03);
}

.water {
  position: fixed;
  z-index: 1;
  right: -12vw;
  bottom: 7vh;
  width: 56vw;
  transform: rotate(-8deg);
}

.water span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, transparent, rgba(244, 240, 231, 0.25), transparent);
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  nav { padding-top: 22px; }
  .status { font-size: 10px; }
  .hero { padding: 7vh 0 10vh; }
  h1 { font-size: clamp(51px, 17vw, 78px); line-height: 0.96; }
  .intro { margin-top: 27px; font-size: 16px; }
  .topics { gap: 8px; margin-top: 28px; }
  .topics span { padding: 7px 12px; font-size: 11px; }
  footer p:first-child { display: none; }
  footer { justify-content: flex-end; }
}

@media (prefers-reduced-motion: no-preference) {
  .mark::after { animation: pulse 3s ease-in-out infinite; }
  @keyframes pulse { 50% { transform: translate(-50%, -50%) scale(0.72); opacity: 0.65; } }
}
