:root {
  color-scheme: light;
  --accent: #a84d2b;
  --accent-soft: #d9a58c;
  --ink: #071a33;
  --muted: #5f625f;
  --paper: #fbf8f2;
  --line: rgba(7, 26, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 26%, rgba(208, 174, 150, 0.33), transparent 27rem),
    linear-gradient(135deg, #fffdf9 0%, var(--paper) 55%, #f3e8db 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
}

.page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 0 24px;
}

.wordmark {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.wordmark span {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.header-line {
  width: 72px;
  height: 1px;
  background: var(--accent);
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 8vw, 120px);
  padding: 40px 0 70px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h1 em {
  color: var(--accent);
  font-weight: 400;
}

.introduction {
  max-width: 660px;
  margin: 34px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
  line-height: 1.65;
}

.visual {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 52% 48% 48% 52% / 46% 46% 54% 54%;
  background: rgba(255, 253, 249, 0.44);
}

.visual svg {
  position: relative;
  z-index: 2;
  width: 115%;
  overflow: visible;
}

.wave {
  fill: none;
  stroke-linecap: round;
}

.wave-main {
  stroke: var(--accent);
  stroke-width: 2.2;
}

.wave-muted {
  stroke: var(--accent-soft);
  stroke-width: 1;
  opacity: 0.75;
}

.visual p {
  position: absolute;
  right: 10%;
  bottom: 15%;
  z-index: 3;
  margin: 0;
  transform: rotate(-7deg);
  font-family: "Snell Roundhand", "Segoe Script", cursive;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.orbit,
.pulse {
  position: absolute;
  border-radius: 50%;
}

.orbit {
  border: 1px solid rgba(168, 77, 43, 0.18);
}

.orbit-one {
  width: 78%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 54%;
  aspect-ratio: 1;
}

.pulse {
  width: 18%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(168, 77, 43, 0.22), transparent 68%);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    padding-top: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .visual {
    min-height: 320px;
  }
}

@media (max-width: 520px) {
  .header-line {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .visual {
    min-height: 260px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .wave-main {
    animation: breathe 6s ease-in-out infinite alternate;
  }

  @keyframes breathe {
    to {
      opacity: 0.55;
      transform: translateY(4px);
    }
  }
}
