:root {
  --ink: #101216;
  --ink-soft: #20242c;
  --paper: #f7f5ef;
  --paper-soft: #eeece4;
  --white: #fffefa;
  --muted: #666a72;
  --line: #b9b9b2;
  --lime: #c9f56a;
  --orange: #ffab66;
  --cyan: #83d8e8;
  --red: #ef715d;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  background: rgb(247 245 239 / 94%);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 20px; font-weight: 900; }
.brand img { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--ink); border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { padding: 8px 0; font-size: 12px; font-weight: 800; }
.site-nav a:hover { box-shadow: inset 0 -5px 0 var(--lime); }
.menu-toggle { display: none; justify-self: end; width: 40px; height: 40px; padding: 9px; background: var(--paper); border: 1px solid var(--ink); cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(550px, 1.18fr);
  gap: 64px;
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100svh - 118px);
  margin: 0 auto;
  padding: 54px 0 64px;
}
.edition-label, .kicker { margin: 0; font-size: 10px; font-weight: 900; line-height: 1.4; }
.hero-copy h1 { max-width: 620px; margin: 22px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 78px; font-weight: 700; line-height: .9; }
.hero-copy h1 span { display: inline-block; margin-top: 10px; padding: 0 8px 5px; background: var(--lime); }
.hero-lede { max-width: 495px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 2px; font-size: 12px; font-weight: 900; transition: transform 150ms ease, box-shadow 150ms ease; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--lime); }
.button-ink { color: var(--white); background: var(--ink); }
.arrow-link { padding: 8px 0; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 850; }
.arrow-link:hover { background: var(--cyan); }
.age-note { display: flex; align-items: center; gap: 10px; margin: 38px 0 0; color: var(--muted); font-size: 11px; }
.age-note strong { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink); background: var(--orange); border: 1px solid var(--ink); border-radius: 50%; }

.moment-board { position: relative; min-height: 590px; overflow: hidden; background: var(--ink-soft); border: 1px solid var(--ink); }
.moment-board::before { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(var(--paper) 1px, transparent 1px), linear-gradient(90deg, var(--paper) 1px, transparent 1px); background-size: 30px 30px; content: ""; }
.board-index { position: absolute; z-index: 1; top: 20px; right: 22px; left: 22px; display: flex; justify-content: space-between; color: var(--paper); font-size: 9px; font-weight: 900; }
.logo-print { position: absolute; top: 82px; left: 50%; width: 270px; height: 270px; overflow: hidden; transform: translateX(-50%) rotate(3deg); border: 8px solid var(--paper); box-shadow: 16px 16px 0 var(--lime); }
.logo-print img { width: 100%; height: 100%; object-fit: cover; }
.paper-note { position: absolute; z-index: 2; width: 230px; padding: 17px; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; box-shadow: 8px 8px 0 rgb(16 18 22 / 28%); }
.paper-note p { margin: 24px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.12; }
.paper-note small { color: var(--muted); font-size: 9px; font-weight: 800; }
.note-tag { padding: 3px 6px; background: var(--orange); font-size: 8px; font-weight: 950; }
.note-status { bottom: 43px; left: 25px; transform: rotate(-3deg); }
.note-message { right: 25px; bottom: 34px; background: var(--cyan); transform: rotate(2deg); }
.note-message .note-tag { background: var(--paper); }
.message-line { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--ink); font-size: 9px; font-weight: 900; }
.message-line i { width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.note-profile { top: 49px; left: 16px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; width: 232px; padding: 11px; background: var(--orange); transform: rotate(-2deg); }
.profile-dot, .avatar { display: grid; place-items: center; flex: 0 0 auto; color: var(--ink); background: var(--lime); border: 1px solid var(--ink); border-radius: 50%; font-size: 10px; font-weight: 950; }
.profile-dot { width: 40px; height: 40px; }
.note-profile strong, .note-profile small { display: block; }
.note-profile strong { font-size: 11px; }
.note-profile small { margin-top: 3px; color: #573a24; }
.note-profile b { padding: 6px 7px; background: var(--paper); border: 1px solid var(--ink); font-size: 8px; }
.board-stamp { position: absolute; top: 84px; right: 22px; display: grid; place-items: center; width: 75px; height: 75px; color: var(--lime); border: 2px solid var(--lime); border-radius: 50%; transform: rotate(8deg); font-size: 10px; font-weight: 950; line-height: 1.2; text-align: center; }

.ticker { min-height: 64px; overflow: hidden; color: var(--ink); background: var(--lime); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ticker div { display: flex; align-items: center; justify-content: center; gap: 28px; min-width: max-content; min-height: 62px; padding: 0 24px; font-size: 11px; font-weight: 950; }
.ticker b { font-size: 18px; }

.editorial-section { display: grid; grid-template-columns: 90px minmax(250px, .7fr) minmax(480px, 1.3fr); gap: 55px; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 130px 0; }
.section-number { font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1; }
.section-copy { padding-top: 7px; }
.section-copy .kicker, .connection-heading .kicker, .safety-lead .kicker, .closing-band .kicker { display: inline-block; padding: 5px 7px; background: var(--orange); }
.section-copy h2, .connection-heading h2, .safety-lead h2, .closing-band h2 { margin: 25px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 50px; line-height: .98; }
.section-copy > p:last-child, .connection-heading > p:last-child { max-width: 430px; margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.feed-sheet { min-height: 610px; padding: 18px; background: var(--white); border: 1px solid var(--ink); box-shadow: 16px 16px 0 var(--cyan); }
.feed-tabs { display: flex; gap: 25px; padding: 11px 8px 18px; border-bottom: 1px solid var(--line); font-size: 11px; }
.feed-tabs strong { box-shadow: inset 0 -7px 0 var(--lime); }
.feed-tabs span { color: var(--muted); }
.feed-post { padding: 22px 8px; border-bottom: 1px solid var(--line); }
.post-author { display: flex; align-items: center; gap: 11px; }
.avatar { width: 42px; height: 42px; }
.avatar-orange { background: var(--orange); }
.avatar-cyan { background: var(--cyan); }
.avatar-lime { background: var(--lime); }
.post-author strong, .post-author small { display: block; }
.post-author strong { font-size: 12px; }
.post-author small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.post-author button { margin-left: auto; padding: 8px; background: transparent; border: 0; cursor: pointer; font-weight: 900; }
.feed-post > p { margin: 17px 0; font-size: 14px; line-height: 1.55; }
.photo-grid { display: grid; grid-template-columns: 1.3fr .85fr; grid-template-rows: 95px 95px; gap: 6px; }
.photo-grid span { border: 1px solid var(--ink); background-color: var(--orange); background-image: linear-gradient(135deg, transparent 42%, rgb(16 18 22 / 12%) 42%, rgb(16 18 22 / 12%) 58%, transparent 58%); }
.photo-grid span:first-child { grid-row: 1 / 3; background-color: var(--cyan); }
.photo-grid span:last-child { background-color: var(--lime); }
.post-meta { display: flex; gap: 22px; margin-top: 14px; color: var(--muted); font-size: 9px; font-weight: 800; }
.post-compact { border-bottom: 0; }
.post-compact > p { margin-bottom: 2px; }

.type-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 170px; padding: 40px max(24px, calc((100% - var(--max)) / 2)); color: var(--paper); background: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.type-banner p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 40px; line-height: 1; }
.type-banner strong { justify-self: end; max-width: 300px; color: var(--lime); font-size: 13px; line-height: 1.5; text-align: right; }

.connection-section { padding: 125px max(24px, calc((100% - var(--max)) / 2)); background: var(--paper-soft); border-bottom: 1px solid var(--ink); }
.connection-heading { display: grid; grid-template-columns: 170px 1fr .7fr; gap: 36px; align-items: end; }
.connection-heading .kicker { align-self: start; width: fit-content; }
.connection-heading h2 { max-width: 550px; margin: 0; font-size: 58px; }
.connection-heading > p:last-child { margin: 0; }
.connection-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; margin-top: 68px; }
.relationship-list, .chat-column { background: var(--white); border: 1px solid var(--ink); }
.relationship-title { display: flex; justify-content: space-between; padding: 16px; background: var(--lime); border-bottom: 1px solid var(--ink); font-size: 9px; font-weight: 950; }
.relationship-list article { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; min-height: 92px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.relationship-list article:last-child { border-bottom: 0; }
.relationship-list strong, .relationship-list small { display: block; }
.relationship-list strong { font-size: 13px; }
.relationship-list small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.relationship-list button { min-width: 66px; min-height: 31px; background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; font-size: 9px; font-weight: 900; }
.relationship-list button:hover { background: var(--cyan); }
.chat-column { display: flex; flex-direction: column; min-height: 340px; padding: 18px; background: var(--cyan); }
.chat-label { margin-bottom: auto; font-size: 9px; font-weight: 950; }
.bubble { max-width: 78%; margin-top: 12px; padding: 13px 15px; border: 1px solid var(--ink); border-radius: 8px; font-size: 12px; line-height: 1.5; }
.bubble-them { align-self: flex-start; background: var(--white); }
.bubble-me { align-self: flex-end; background: var(--lime); }
.chat-compose { display: flex; justify-content: space-between; align-items: center; min-height: 45px; margin-top: 24px; padding: 0 12px; color: var(--muted); background: var(--white); border: 1px solid var(--ink); font-size: 10px; }
.chat-compose b { color: var(--ink); font-size: 16px; }

.safety-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 130px 0; }
.safety-lead h2 { max-width: 560px; }
.safety-list { border-top: 1px solid var(--ink); }
.safety-list article { display: grid; grid-template-columns: 75px 1fr 1.25fr; gap: 22px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.safety-list span { color: var(--red); font-size: 9px; font-weight: 950; }
.safety-list h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.15; }
.safety-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.closing-band { display: grid; grid-template-columns: 180px 1fr auto; gap: 58px; align-items: center; min-height: 360px; padding: 58px max(24px, calc((100% - var(--max)) / 2)); background: var(--orange); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.closing-band img { width: 154px; height: 154px; object-fit: cover; border: 5px solid var(--paper); border-radius: 8px; box-shadow: 12px 12px 0 var(--ink); }
.closing-band .kicker { background: var(--paper); }
.closing-band h2 { font-size: 52px; }
.closing-links { display: grid; min-width: 170px; border-top: 1px solid var(--ink); }
.closing-links a { padding: 16px 0; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 900; }
.closing-links a:hover { padding-left: 8px; background: var(--lime); }

.site-footer { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 38px 0 28px; }
.footer-brand { display: grid; grid-template-columns: 34px auto 1fr; align-items: center; gap: 10px; }
.footer-brand img { width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 4px; }
.footer-brand strong { font-size: 17px; }
.footer-brand span { color: var(--muted); font-size: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 35px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-footer nav a { font-size: 10px; font-weight: 850; }
.site-footer nav a:hover { background: var(--lime); }
.footer-meta { display: flex; justify-content: space-between; gap: 18px; padding-top: 19px; color: var(--muted); font-size: 9px; }

@media (max-width: 1020px) {
  .hero-shell { grid-template-columns: minmax(0, .8fr) minmax(460px, 1.2fr); gap: 35px; }
  .hero-copy h1 { font-size: 64px; }
  .moment-board { min-height: 555px; }
  .paper-note { width: 205px; }
  .editorial-section { grid-template-columns: 65px .72fr 1.28fr; gap: 32px; }
  .connection-heading { grid-template-columns: 120px 1fr .7fr; }
  .safety-section { gap: 50px; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 62px; padding: 0 16px; }
  .brand img { width: 36px; height: 36px; }
  .site-nav { position: fixed; top: 62px; right: 16px; left: 16px; display: grid; gap: 0; padding: 8px 16px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 150ms ease, opacity 150ms ease; }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: block; }
  .hero-shell { display: flex; flex-direction: column; gap: 26px; align-items: stretch; width: calc(100% - 32px); min-height: auto; padding: 34px 0 24px; }
  .hero-copy h1 { margin-top: 16px; font-size: 43px; line-height: .94; }
  .hero-lede { font-size: 16px; }
  .hero-lede { margin-top: 20px; }
  .hero-actions { margin-top: 24px; }
  .age-note { margin-top: 28px; }
  .moment-board { min-height: 300px; }
  .board-index { top: 13px; right: 12px; left: 12px; }
  .logo-print { top: 68px; width: 145px; height: 145px; border-width: 5px; box-shadow: 8px 8px 0 var(--lime); }
  .note-profile { top: 38px; left: 8px; width: 180px; padding: 8px; }
  .note-profile b { display: none; }
  .paper-note { width: 142px; padding: 10px; box-shadow: 4px 4px 0 rgb(16 18 22 / 28%); }
  .paper-note p { margin: 12px 0 9px; font-size: 12px; }
  .paper-note small, .message-line { font-size: 7px; }
  .note-status { bottom: 13px; left: 8px; }
  .note-message { right: 8px; bottom: 10px; }
  .board-stamp { top: 52px; right: 8px; width: 54px; height: 54px; font-size: 8px; }
  .ticker div { justify-content: flex-start; }
  .editorial-section { display: block; width: calc(100% - 32px); padding: 85px 0; }
  .section-number { font-size: 44px; }
  .section-copy { margin-top: 30px; }
  .section-copy h2, .safety-lead h2 { font-size: 42px; }
  .feed-sheet { min-height: 0; margin-top: 46px; box-shadow: 9px 9px 0 var(--cyan); }
  .type-banner { display: block; padding: 42px 16px; }
  .type-banner p { font-size: 32px; }
  .type-banner strong { display: block; margin-top: 24px; text-align: left; }
  .connection-section { padding: 82px 16px; }
  .connection-heading { display: block; }
  .connection-heading h2 { margin-top: 25px; font-size: 45px; }
  .connection-heading > p:last-child { margin-top: 22px; }
  .connection-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .safety-section { display: block; width: calc(100% - 32px); padding: 85px 0; }
  .safety-list { margin-top: 45px; }
  .safety-list article { grid-template-columns: 62px 1fr; }
  .safety-list p { grid-column: 2; }
  .closing-band { grid-template-columns: 100px 1fr; gap: 28px; padding: 52px 16px; }
  .closing-band img { width: 96px; height: 96px; box-shadow: 7px 7px 0 var(--ink); }
  .closing-band h2 { font-size: 36px; }
  .closing-links { grid-column: 1 / -1; }
  .site-footer { width: calc(100% - 32px); }
  .footer-brand { grid-template-columns: 34px auto; }
  .footer-brand span { grid-column: 1 / -1; }
  .footer-meta { display: grid; }
}

@media (max-width: 390px) {
  .hero-copy h1 { font-size: 39px; }
  .hero-lede { font-size: 15px; }
  .hero-actions { gap: 16px; }
  .relationship-list article { grid-template-columns: 42px 1fr; }
  .relationship-list article button { grid-column: 2; width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-nav { transition: none; }
}
