:root {
  --paper: #f7f4ee;
  --paper-2: #eee9df;
  --ink: #101727;
  --ink-2: #202b40;
  --muted: #6d7480;
  --line: rgba(16, 23, 39, .13);
  --coral: #e2765e;
  --coral-pale: #f6d9cf;
  --sea: #277f78;
  --sea-pale: #dceae5;
  --blue: #5679a8;
  --gold: #b68b47;
  --display: Didot, "Bodoni 72", "Iowan Old Style", Georgia, serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 30px 90px rgba(16, 23, 39, .12);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.5 var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { margin: 0; color: var(--sea); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.sample { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.sample::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.brand-mark { display: block; width: 54px; aspect-ratio: 2002/1766; object-fit: contain; mix-blend-mode: multiply; }
.brand-lockup { display: flex; align-items: center; gap: 11px; }
.brand-name { font-size: 14px; font-weight: 650; letter-spacing: .23em; }
.brand-dot { color: var(--coral); }
.concept-switcher { position: sticky; top: 0; z-index: 100; display: flex; justify-content: center; gap: 7px; padding: 10px 14px; overflow-x: auto; color: #f9f6ef; background: rgba(11, 17, 29, .95); backdrop-filter: blur(18px); scrollbar-width: none; }
.concept-switcher::-webkit-scrollbar { display: none; }
.concept-switcher a { flex: none; padding: 7px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; text-decoration: none; font-size: 12px; }
.concept-switcher a[aria-current="page"] { color: var(--ink); border-color: #f5ded5; background: #f5ded5; }
.proto-button, .icon-button { border: 0; color: var(--ink); background: transparent; }
.proto-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 650; }
.proto-button.primary { color: #fff; background: var(--ink); }
.proto-button.soft { color: #843f30; background: var(--coral-pale); }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; }
.composer { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 62px; padding: 8px 9px 8px 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.74); box-shadow: 0 12px 40px rgba(16,23,39,.08); }
.composer input { min-width: 0; flex: 1; border: 0; outline: 0; color: inherit; background: transparent; font-size: 16px; }
.composer button { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 0; border-radius: 16px; color: white; background: var(--ink); font-size: 20px; }
.prototype-toast { position: fixed; z-index: 200; right: 20px; bottom: 20px; max-width: 330px; padding: 13px 16px; border-radius: 14px; color: #fff; background: rgba(16,23,39,.94); box-shadow: var(--shadow); opacity: 0; translate: 0 12px; pointer-events: none; transition: .2s ease; }
.prototype-toast.is-visible { opacity: 1; translate: 0; }

/* A1 · The Daily Edition */
.a1-body { background: var(--paper-2); }
.a1-app { display: grid; grid-template-columns: 224px minmax(0,1fr) 312px; min-height: calc(100vh - 57px); background: var(--paper); }
.a1-rail { display: flex; flex-direction: column; padding: 25px 17px 20px; color: #f6f1e9; background: var(--ink); }
.a1-rail .brand-mark { width: 48px; padding: 5px; border-radius: 50%; background: var(--paper); }
.a1-rail .brand-mark, .a2-rail .brand-mark, .a3-left .brand-mark { mix-blend-mode: normal; }
.a1-rail .brand-dot { color: #f49a84; }
.a1-nav { display: grid; gap: 5px; margin-top: 42px; }
.a1-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px; color: #c4cad1; text-decoration: none; }
.a1-nav a.active { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 3px 0 #ed8c76; }
.a1-nav span { width: 19px; color: #8995a3; text-align: center; }
.a1-profile { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.a1-profile strong, .a1-profile small { display: block; }
.a1-profile small { color: #919cab; }
.a1-main { padding: clamp(34px,4.5vw,70px); overflow: hidden; }
.a1-date { margin: 0 0 24px; color: var(--muted); }
.a1-main h1 { max-width: 850px; margin: 0; font: 400 clamp(46px,6vw,82px)/.94 var(--display); letter-spacing: -.045em; }
.a1-here { margin: 8px 0 28px; color: var(--coral); font: 400 clamp(27px,3vw,42px)/1 var(--display); font-style: italic; }
.a1-main > .composer { max-width: 830px; }
.edition-rule { display: flex; align-items: center; gap: 16px; max-width: 920px; margin: 44px 0 18px; }
.edition-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.edition-rule h2 { margin: 0; font: 400 30px/1 var(--display); }
.lead-story { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(230px,.8fr); max-width: 920px; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #fbf9f4; }
.lead-copy { padding: 30px; }
.lead-copy h3 { max-width: 560px; margin: 16px 0 12px; font: 400 clamp(26px,3vw,40px)/1.08 var(--display); letter-spacing: -.025em; }
.lead-copy p { max-width: 590px; color: var(--muted); }
.lead-meta { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.lead-art { min-height: 260px; display: grid; place-items: center; background: var(--sea-pale); }
.lead-art .brand-mark { width: min(70%,240px); opacity: .72; }
.brief-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; max-width: 920px; margin-top: 20px; border: 1px solid var(--line); background: var(--line); }
.brief { min-height: 172px; padding: 22px; background: var(--paper); }
.brief .number { color: var(--coral); font: 400 32px var(--display); }
.brief h3 { margin: 18px 0 6px; font: 400 20px var(--display); }
.brief p { margin: 0; color: var(--muted); font-size: 13px; }
.a1-context { padding: 34px 24px; border-left: 1px solid var(--line); background: #fbf9f5; }
.a1-context-head { display: flex; justify-content: space-between; align-items: center; }
.a1-context h2 { margin: 0; font: 400 25px var(--display); }
.presence-ring { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(226,118,94,.5); border-radius: 50%; }
.presence-ring::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 7px rgba(226,118,94,.12); }
.context-block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.context-block h3 { margin: 0 0 14px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.context-item { display: grid; grid-template-columns: 36px 1fr; gap: 11px; align-items: center; margin: 15px 0; }
.context-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--sea); background: var(--sea-pale); }
.context-item p { margin: 0; }
.context-item small { display: block; color: var(--muted); }
.memory-note { padding: 18px; border-radius: 16px; background: var(--paper-2); font: italic 20px/1.35 var(--display); }

/* A2 · The Dayline */
.a2-body { background: #f0eee8; }
.a2-app { min-height: calc(100vh - 57px); display: grid; grid-template-columns: 82px minmax(0,1fr); }
.a2-rail { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 22px 12px; color: white; background: #16202c; }
.a2-rail .brand-mark { width: 54px; padding: 6px; border-radius: 18px; background: var(--paper); }
.a2-icon-nav { display: grid; gap: 12px; margin-top: 14px; }
.a2-icon-nav a { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; color: #a9b4c0; text-decoration: none; }
.a2-icon-nav a.active { color: var(--ink); background: #f0d4c9; }
.a2-avatar { display: grid; place-items: center; width: 40px; height: 40px; margin-top: auto; border-radius: 50%; color: var(--ink); background: #ece5da; font-weight: 700; }
.a2-main { min-width: 0; padding: 25px clamp(20px,4vw,62px) 60px; background: linear-gradient(120deg,#f8f5ef 0 64%,#e7ece8 64%); }
.a2-top { display: flex; justify-content: space-between; align-items: center; }
.a2-top h1 { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: .18em; }
.a2-status { display: inline-flex; align-items: center; gap: 8px; color: var(--sea); font-size: 12px; }
.a2-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 5px rgba(39,127,120,.1); }
.a2-hero { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 35px; align-items: center; max-width: 1120px; padding: 65px 0 38px; }
.a2-hero h2 { max-width: 720px; margin: 10px 0; font: 400 clamp(48px,7vw,92px)/.9 var(--display); letter-spacing: -.055em; }
.a2-hero p { max-width: 580px; color: var(--muted); font-size: 17px; }
.a2-hero-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px var(--line); }
.a2-hero-mark::after { content: "Present"; position: absolute; bottom: 23px; padding: 5px 10px; border-radius: 99px; color: var(--sea); background: rgba(255,255,255,.8); font-size: 11px; }
.a2-hero-mark .brand-mark { width: 70%; }
.a2-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(300px,.8fr); gap: 28px; max-width: 1200px; }
.dayline { padding: 26px 28px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.58); }
.dayline-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.dayline-head h3 { margin: 0; font: 400 30px var(--display); }
.moment { position: relative; display: grid; grid-template-columns: 64px 18px 1fr auto; gap: 13px; align-items: start; min-height: 105px; }
.moment time { padding-top: 5px; color: var(--muted); font-size: 12px; }
.moment-line { position: relative; width: 1px; height: 100%; background: var(--line); }
.moment-line::before { content: ""; position: absolute; top: 7px; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.moment:nth-child(3) .moment-line::before { background: var(--sea); }
.moment:nth-child(4) .moment-line::before { background: var(--blue); }
.moment-copy { padding: 0 0 22px; }
.moment-copy h4 { margin: 0 0 4px; font: 400 20px var(--display); }
.moment-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.moment button { margin-top: 2px; border: 0; color: var(--sea); background: transparent; }
.a2-companion { display: flex; flex-direction: column; min-height: 440px; padding: 28px; border-radius: 26px; color: white; background: var(--ink); box-shadow: var(--shadow); }
.a2-companion .sample { color: #aab5c2; }
.a2-companion h3 { margin: 24px 0 8px; font: 400 36px/1 var(--display); }
.a2-companion .quote { margin: 0; color: #c0c7cf; font: 400 21px/1.45 var(--display); }
.a2-companion .memory { margin-top: 30px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); color: #a9b4c0; }
.a2-companion .memory strong { display: block; color: white; font-weight: 550; }
.a2-companion .composer { margin-top: auto; border-color: rgba(255,255,255,.16); color: white; background: rgba(255,255,255,.08); box-shadow: none; }
.a2-companion .composer button { color: var(--ink); background: #f0d4c9; }

/* A3 · The Inner Room */
.a3-body { color: #f2eee7; background: #0c121c; }
.a3-app { min-height: calc(100vh - 57px); display: grid; grid-template-columns: 220px minmax(0,1fr) 290px; background: radial-gradient(circle at 53% 5%,rgba(226,118,94,.12),transparent 26rem),#0c121c; }
.a3-left { display: flex; flex-direction: column; padding: 25px 18px; border-right: 1px solid rgba(255,255,255,.09); background: rgba(13,21,32,.75); }
.a3-left .brand-mark { width: 50px; padding: 5px; border-radius: 50%; background: var(--paper); }
.a3-nav { display: grid; gap: 6px; margin-top: 42px; }
.a3-nav a { padding: 11px 13px; border-radius: 12px; color: #98a5b4; text-decoration: none; }
.a3-nav a.active { color: #fff; background: rgba(255,255,255,.075); }
.a3-thread-list { margin-top: 38px; }
.a3-thread-list h2 { color: #7f8c9a; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.a3-thread { display: block; margin: 8px 0; padding: 12px; border-radius: 12px; color: #dfe4e9; background: rgba(255,255,255,.035); text-decoration: none; }
.a3-thread small { display: block; margin-top: 3px; color: #7f8c9a; }
.a3-left .sample { margin-top: auto; color: #8995a3; }
.a3-talk { display: flex; flex-direction: column; min-width: 0; }
.a3-talk-head { display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(18px,3vw,44px); border-bottom: 1px solid rgba(255,255,255,.09); }
.a3-talk-head h1 { margin: 0; font: 400 22px var(--display); }
.a3-live { display: inline-flex; align-items: center; gap: 8px; color: #9ab2ad; font-size: 12px; }
.a3-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6cb9aa; box-shadow: 0 0 14px #6cb9aa; }
.a3-stream { width: min(760px,calc(100% - 36px)); margin: auto; padding: 50px 0 28px; }
.a3-date { margin-bottom: 38px; color: #677585; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.a3-message { max-width: 650px; margin: 28px 0; }
.a3-message small { display: block; margin-bottom: 7px; color: #778594; }
.a3-message p { margin: 0; font: 400 clamp(20px,2.3vw,29px)/1.45 var(--display); }
.a3-message.user { max-width: 540px; margin-left: auto; padding: 15px 18px; border-radius: 18px 18px 4px 18px; background: #1c2837; }
.a3-message.user p { font: 400 15px/1.55 var(--sans); }
.quiet-signal { display: flex; gap: 13px; margin: 32px 0; padding: 16px; border-left: 2px solid var(--coral); color: #9ba7b4; background: rgba(255,255,255,.035); }
.quiet-signal strong { display: block; color: #e7ebee; }
.a3-compose { width: min(760px,calc(100% - 36px)); margin: 0 auto 22px; }
.a3-compose .composer { border-color: rgba(255,255,255,.14); color: white; background: #172231; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.a3-compose .composer button { color: var(--ink); background: #ed9b86; }
.a3-compose > p { color: #677585; font-size: 11px; text-align: center; }
.a3-right { padding: 30px 22px; border-left: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); }
.a3-presence { text-align: center; }
.a3-presence .mark-shell { display: grid; place-items: center; width: 124px; height: 124px; margin: 10px auto 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: rgba(247,244,238,.95); }
.a3-presence .brand-mark { width: 86px; }
.a3-presence h2 { margin: 0; font: 400 28px var(--display); }
.a3-presence p { color: #8492a1; }
.a3-card { margin-top: 28px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.035); }
.a3-card h3 { margin: 0 0 12px; color: #8492a1; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.a3-card p { margin: 0; color: #ccd2d8; }
.a3-card small { display: block; margin-top: 8px; color: #6f7d8c; }
.a3-moment { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: center; margin: 14px 0; }
.a3-moment span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #ed9b86; background: rgba(226,118,94,.12); }
.a3-moment p { font-size: 13px; }

@media (max-width: 1120px) {
  .a1-app { grid-template-columns: 190px minmax(0,1fr); }
  .a1-context { display: none; }
  .a3-app { grid-template-columns: 190px minmax(0,1fr); }
  .a3-right { display: none; }
}

@media (max-width: 760px) {
  .concept-switcher { justify-content: flex-start; }
  .a1-app, .a2-app, .a3-app { display: block; min-height: calc(100vh - 57px); }
  .a1-rail, .a3-left { position: sticky; top: 57px; z-index: 30; display: block; padding: 10px 12px; }
  .a1-rail > .brand-lockup, .a1-profile, .a3-left > .brand-lockup, .a3-thread-list, .a3-left > .sample { display: none; }
  .a1-nav, .a3-nav { display: flex; justify-content: space-around; gap: 2px; margin: 0; }
  .a1-nav a, .a3-nav a { display: block; padding: 8px 9px; font-size: 12px; }
  .a1-nav span, .a1-nav a:nth-child(n+5), .a3-nav a:nth-child(n+5) { display: none; }
  .a1-main { padding: 34px 16px 50px; }
  .a1-main h1 { font-size: 49px; }
  .lead-story, .brief-grid { grid-template-columns: 1fr; }
  .lead-art { min-height: 180px; }
  .brief-grid { gap: 0; }
  .brief { min-height: auto; border-bottom: 1px solid var(--line); }
  .a2-rail { position: sticky; top: 57px; z-index: 30; flex-direction: row; justify-content: center; padding: 9px; }
  .a2-rail > .brand-mark, .a2-avatar { display: none; }
  .a2-icon-nav { display: flex; gap: 8px; margin: 0; }
  .a2-icon-nav a { width: 38px; height: 38px; }
  .a2-main { padding: 22px 16px 45px; background: var(--paper); }
  .a2-hero { grid-template-columns: 1fr; padding: 42px 0 25px; }
  .a2-hero h2 { font-size: 55px; }
  .a2-hero-mark { width: 190px; justify-self: center; }
  .a2-grid { grid-template-columns: 1fr; }
  .dayline { padding: 22px 16px; }
  .moment { grid-template-columns: 48px 14px 1fr; }
  .moment button { display: none; }
  .a2-companion { min-height: 410px; }
  .a3-talk-head { position: sticky; top: 107px; z-index: 20; background: rgba(12,18,28,.94); backdrop-filter: blur(14px); }
  .a3-stream { padding-top: 32px; }
  .a3-message p { font-size: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .proto-button, .icon-button, .concept-switcher a, .a1-nav a, .a2-icon-nav a, .a3-nav a { transition: transform .18s ease, background-color .18s ease; }
  .proto-button:hover, .icon-button:hover { transform: translateY(-1px); }
}
