:root {
  --ink: #243533;
  --muted: #687773;
  --cream: #fff8ee;
  --peach: #f7b09a;
  --coral: #e97a6e;
  --mint: #b8d8c5;
  --yellow: #f8d979;
  --line: rgba(36, 53, 51, 0.14);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  display: block;
  width: 32rem;
  height: 32rem;
  content: "";
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.62;
}

body::before {
  top: -18rem;
  right: -10rem;
  background: var(--yellow);
}

body::after {
  bottom: -20rem;
  left: -12rem;
  background: var(--mint);
}

a { color: inherit; }

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 2.2rem clamp(1.4rem, 5vw, 5rem) 1.6rem;
  overflow: hidden;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 78rem;
  width: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  color: var(--coral);
  background: #fff0df;
  border: 1px solid rgba(233, 122, 110, 0.28);
  border-radius: 0.9rem 0.9rem 0.9rem 0.3rem;
  transform: rotate(-7deg);
}

.brand-mark svg { width: 1.5rem; fill: currentColor; }
.brand-mark .brand-spark { fill: none; stroke: var(--yellow); stroke-linecap: round; stroke-width: 2.5; }
.topbar-note { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 9rem);
  max-width: 78rem;
  width: 100%;
  margin: auto;
  padding: clamp(4rem, 9vh, 8rem) 0;
}

.hero-copy { animation: rise 0.8s ease both; }
.eyebrow { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1.4rem; color: var(--coral); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow-dot { width: 0.55rem; height: 0.55rem; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 0.3rem rgba(233, 122, 110, 0.16); }
h1 { max-width: 11ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.6rem, 10vw, 9.4rem); font-weight: 400; letter-spacing: -0.09em; line-height: 0.86; }
h1 em { color: var(--coral); font-style: italic; }
.intro { max-width: 31rem; margin: 2.2rem 0 1.3rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; }
.language-line { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); font-size: 0.77rem; font-weight: 700; letter-spacing: 0.02em; }
.language-line span:last-child { color: var(--muted); font-weight: 400; }
.language-divider { width: 1.5rem; height: 1px; background: var(--line); }

.hero-art { position: relative; width: min(40vw, 31rem); aspect-ratio: 1; justify-self: center; animation: float-in 1s 0.1s ease both; }
.hero-art::before { position: absolute; inset: 14%; content: ""; background: rgba(248, 217, 121, 0.18); border-radius: 43% 57% 52% 48% / 53% 45% 55% 47%; transform: rotate(-15deg); }
.sun { position: absolute; top: 50%; left: 50%; display: grid; width: 43%; aspect-ratio: 1; place-items: center; background: var(--peach); border: 0.8rem solid #ffddca; border-radius: 47% 53% 48% 52% / 52% 46% 54% 48%; box-shadow: 0 1.4rem 2rem rgba(205, 112, 96, 0.14); transform: translate(-50%, -50%) rotate(8deg); }
.sun-face { position: absolute; top: 39%; width: 0.45rem; height: 0.62rem; background: var(--ink); border-radius: 50%; }
.sun-eye-left { left: 32%; }.sun-eye-right { right: 32%; }
.sun-smile { position: absolute; bottom: 27%; width: 1.4rem; height: 0.7rem; border-bottom: 2px solid var(--ink); border-radius: 0 0 2rem 2rem; }
.orbit { position: absolute; inset: 7%; border: 1px solid rgba(36, 53, 51, 0.14); border-radius: 50%; transform: rotate(-27deg); }
.orbit-one { animation: spin 20s linear infinite; }.orbit-two { inset: 1%; border-color: rgba(233, 122, 110, 0.22); transform: rotate(62deg) scaleY(0.55); animation: spin-reverse 26s linear infinite; }
.spark { position: absolute; color: var(--coral); font-size: 2rem; }.spark-one { top: 10%; right: 18%; color: var(--yellow); animation: pulse 3s ease-in-out infinite; }.spark-two { bottom: 14%; left: 11%; font-size: 1.5rem; animation: pulse 3s 1.2s ease-in-out infinite; }.spark-three { top: 28%; left: 4%; color: var(--mint); font-size: 3rem; }

.footer { padding-top: 1.25rem; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.04em; }
.footer-line { flex: 1; height: 1px; max-width: 7rem; margin: 0 1rem; background: var(--line); }

@keyframes rise { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-in { from { opacity: 0; transform: translateY(1rem) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes spin { to { transform: rotate(333deg); } }
@keyframes spin-reverse { to { transform: rotate(-298deg) scaleY(0.55); } }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.82); } }

@media (max-width: 700px) {
  .page-shell { padding-top: 1.35rem; }
  .topbar-note { display: none; }
  .hero { grid-template-columns: 1fr; gap: 2.4rem; padding: 5rem 0 3.5rem; }
  h1 { font-size: clamp(4rem, 19vw, 6.8rem); }
  .intro { margin-top: 1.8rem; }
  .hero-art { width: min(78vw, 22rem); order: -1; }
  .footer { align-items: flex-start; flex-direction: column; gap: 0.45rem; }
  .footer-line { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
