/* Warm Paper & Ink — theme tokens */
:root {
  --page: #f4f0e8;
  --surface: #fffdf8;
  --ink: #263238;
  --muted: #746f68;
  --line: #d8d1c5;
  --accent: #d96c4b;
  --dark: #202a2e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 16px/1.55 "DM Sans", sans-serif;
}
a { color: inherit; }
button { font: inherit; }
a, button { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--accent); }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--dark); color: white; z-index: 2; }
.skip-link:focus { top: 16px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font: 600 18px "Space Grotesk", sans-serif; text-decoration: none; letter-spacing: -.04em; }
nav { display: flex; gap: 28px; }
nav a { font-size: 14px; text-decoration: none; }
nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.welcome { min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; padding-block: 80px; }
.eyebrow, .section-label { color: var(--muted); font: 600 11px/1.2 "Space Grotesk", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { margin: 0 0 20px; }
h1, h2, strong, .section-label { font-family: "Space Grotesk", sans-serif; }
h1, h2 { margin: 0; line-height: .98; letter-spacing: -.07em; }
h1 { font-size: clamp(4.5rem, 12vw, 9.5rem); }
h1 span { color: var(--accent); }
.lede { max-width: 470px; margin: 30px 0 26px; font-size: 20px; }
.text-link { font-weight: 600; text-underline-offset: 6px; }
.text-link span { color: var(--accent); margin-left: 8px; }
.bubble { position: relative; width: min(100%, 480px); aspect-ratio: 1.08; justify-self: end; }
.bubble-shadow, .bubble-paper { position: absolute; inset: 0; border: 1px solid var(--ink); border-radius: 42% 48% 45% 52%; }
.bubble-shadow { transform: translate(18px, 18px); background: var(--accent); border-color: var(--accent); }
.bubble-paper { display: grid; place-items: center; background: var(--surface); transform: rotate(-3deg); }
.bubble-paper strong { font-size: clamp(3.7rem, 9vw, 7rem); letter-spacing: -.09em; }
.dot { position: absolute; top: 22%; right: 19%; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.underline { position: absolute; bottom: 25%; left: 24%; width: 52%; height: 14px; border-bottom: 3px solid var(--accent); border-radius: 50%; transform: rotate(-4deg); }
.bubble-tail { position: absolute; bottom: -17px; left: 24%; width: 42px; height: 42px; background: var(--surface); border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(-22deg) skew(12deg); }
.message { display: grid; grid-template-columns: 180px 1fr; gap: 8vw; padding-block: 110px; border-top: 1px solid var(--line); }
.section-label { display: flex; gap: 18px; }
.message-content { max-width: 720px; }
h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
.message-content p, .connection-copy { max-width: 560px; color: var(--muted); font-size: 18px; }
.message-content p:first-of-type { margin-top: 30px; }
.connection { background: var(--dark); color: var(--surface); }
.connection-inner { display: grid; grid-template-columns: 180px 1fr; gap: 8vw; padding-block: 110px; }
.connection .section-label { color: #b9b5ad; }
.connection-copy { color: #c9c5bd; }
.hello-button { margin-top: 12px; padding: 13px 20px; border: 1px solid var(--accent); background: var(--accent); color: var(--dark); cursor: pointer; font-weight: 600; }
.hello-button:hover { background: var(--surface); border-color: var(--surface); }
.hello-button span { margin-left: 20px; }
.status { min-height: 28px; margin: 18px 0 0; color: #f2b09c; font-weight: 500; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; padding-block: 28px; color: var(--muted); font-size: 14px; }
.footer-row p { margin: 0; }
.footer-row a { text-underline-offset: 5px; }
@media (max-width: 760px) {
  .welcome, .message, .connection-inner { grid-template-columns: 1fr; gap: 44px; }
  .welcome { min-height: auto; padding-block: 70px; }
  .bubble { justify-self: start; width: min(100%, 430px); }
  .message, .connection-inner { padding-block: 75px; }
}
@media (max-width: 480px) {
  .wrap { width: min(100% - 32px, 1120px); }
  nav a:first-child { display: none; }
  h1 { font-size: 4.4rem; }
  .footer-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
