:root {
  --paper: #fbfaf8;
  --device: #1e1f1c;
  --app-paper: #faf9f6;
  --ink: #252623;
  --muted: #555851;
  --line: #d8d9d3;
  --surface: #e9e9e4;
  --card: #fdfdfa;
  --bubble: #e8e8e3;
  --human: #2e62b8;
  --ai: #227b4f;
  --action: #175fb8;
  --tea: #a0602a;
  --gold: #bb995b;
  --mono: "Courier Prime", ui-monospace, Menlo, monospace;
  --read: Roboto, system-ui, sans-serif;
  --gutter: clamp(16px, 4.5vw, 60px);
  --safe-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  --safe-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--read);
}
main { flex: 1; display: flow-root; background: var(--paper); }
a { color: inherit; text-underline-offset: .22em; }
button { color: inherit; font: inherit; cursor: pointer; }
img, video { display: block; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-family: var(--mono); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 6vw, 4.65rem); line-height: .99; letter-spacing: -.065em; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.055em; }
.wrap { width: min(100% - var(--safe-left) - var(--safe-right), 70rem); margin-inline: auto; }

.masthead { padding-top: env(safe-area-inset-top, 0px); }
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 80px;
}
.nameplate, .quiet-link, .read-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 400 .97rem/1.35 var(--mono);
  text-decoration-thickness: 1px;
  text-decoration-color: #85877e;
}
.nameplate, .quiet-link { font-weight: 700; }
.nameplate { color: var(--ink); font-size: 1.06rem; text-decoration: none; }
.quiet-link { padding-inline: 18px; border-radius: 999px; background: var(--surface); text-decoration: none; }
.quiet-link:hover { background: var(--bubble); }
.read-link:hover { text-decoration-color: currentColor; }

.pour-group {
  grid-area: stage;
  display: grid;
  min-width: 0;
  justify-items: center;
  text-align: center;
}
.pour-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 27rem, 48svh);
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  background: var(--paper);
}
.pour-media {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.035);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 49%, #000 68%, transparent 100%);
}
.pour-source { opacity: 0; pointer-events: none; }
.pour-canvas { mix-blend-mode: normal; filter: none; mask-image: none; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "copy stage";
  gap: clamp(22px, 5vw, 80px);
  align-items: center;
  min-height: min(78svh, 48rem);
  padding-block: clamp(16px, 3vw, 40px) clamp(28px, 5vw, 64px);
}
.intro { grid-area: copy; width: min(100%, 36rem); margin-inline: auto; text-align: left; }
.section-label {
  margin-bottom: .75rem;
  color: var(--tea);
  font: 700 .875rem/1.35 var(--mono);
  letter-spacing: .085em;
  text-transform: uppercase;
}
.section-mark {
  display: block;
  width: 2.75rem;
  height: auto;
  margin-bottom: .625rem;
  color: var(--tea);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.section-mark--flower { width: 1.9rem; stroke-width: 1.1; }
/* The same two type sizes carry the reader from the hero to the last glass. */
.headline {
  font: 700 clamp(2.45rem, 2rem + 2.7vw, 3.55rem)/1.06 var(--mono);
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.subhead {
  margin-top: 1rem;
  color: var(--muted);
  font: 400 clamp(1.28rem, 1.15rem + .7vw, 1.4rem)/1.47 var(--read);
  text-wrap: pretty;
}
.pour-button {
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--action);
  color: #fff;
  font: 400 1.06rem/1.2 var(--mono);
}
.pour-button:hover { background: #12509c; }

.landing {
  --section-space: clamp(5.25rem, 10vw, 9rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.landing > * + * { margin-block-start: var(--section-space); }
.showcase {
  width: min(100% - var(--safe-left) - var(--safe-right), 66rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}
.showcase-copy, .closing { width: min(100%, 36rem); margin-inline: auto; }

.example, .profile-card { width: min(100%, 24.5rem); margin-inline: auto; }
.phone, .profile-card--preview {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  overflow: hidden;
}
.chat-header { display: grid; gap: 8px; padding: 14px 15px 10px; border-bottom: 1px solid var(--line); }
.chat-header .speakers { justify-content: center; gap: 4px 18px; }
.chat-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.chat-count { color: var(--muted); font: 400 .875rem/1.35 var(--mono); }
.speakers { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.speaker { display: inline-flex; gap: 7px; align-items: center; font-size: .93rem; }
.speaker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--human); }
.speaker--ai::before { background: var(--ai); }
.turns { display: grid; gap: 12px; margin: 0; text-align: left; padding: 16px 14px 18px; list-style: none; }
.turn { display: grid; gap: 3px; justify-items: start; }
.turn--right { justify-items: end; }
.turn .speaker { padding-inline: 9px; color: var(--muted); font-size: .875rem; }
.turn--right .speaker { flex-direction: row-reverse; }
.bubble { max-width: 94%; padding: 9px 12px; border-radius: 16px; background: var(--bubble); font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }
.turn--right .bubble { background: #efefe9; }

.profile-card { padding: 16px; }
.identity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.identity-copy { flex: 1 1 8.5rem; }
.identity-name { font: 700 clamp(1.32rem, 5vw, 1.65rem)/1.1 var(--mono); letter-spacing: -.045em; }
.handle { color: var(--muted); font: 400 .875rem/1.4 var(--mono); }
.bio { margin-top: 12px; }
.avatar { display: grid; flex: none; place-items: center; width: 44px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #efefe9; }
.identity .avatar { width: 62px; }
.avatar img { width: 44%; height: auto; margin-top: -5%; filter: brightness(1.035); mix-blend-mode: multiply; }
.profile-nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 15px 0 8px; }
.profile-nav a {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 44px;
  padding-inline: 7px;
  border-radius: 999px;
  color: var(--muted);
  font: 400 .875rem/1.25 var(--mono);
  text-decoration: none;
}
.profile-nav a:hover { color: var(--ink); }
.profile-nav a[aria-current="location"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px #25262317, 0 3px 10px #25262318; }
.profile-card section h2 { margin-top: 15px; font-size: 1.15rem; }
.profile-card[data-tabs] section h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rows { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.row { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 6px; border-radius: 12px; text-decoration: none; }
a.row:hover { background: #f0f0ed; }
.row-copy { display: grid; gap: 1px; }
.follow {
  min-height: 44px;
  padding-inline: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--action);
  color: var(--paper);
  font: 400 .94rem/1 var(--mono);
}
.follow:hover { background: #12509c; }
.follow[aria-pressed="true"] { background: var(--surface); color: var(--ink); }

.showcase .example, .device-preview { width: min(100%, 22rem); margin-inline: auto; }
.device-crop {
  position: relative;
  border: 7px solid var(--device);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 72px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 72px), transparent);
}
.device-crop::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 50%;
  width: 29%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--device);
}
.device-crop .phone, .device-crop .profile-card {
  width: 100%;
  padding-top: 42px;
  padding-bottom: 70px;
  border: 0;
  border-radius: 35px 35px 0 0;
  background: var(--app-paper);
}
.shoji {
  --rail: clamp(1.1rem, 6vw, 5rem);
  --joinery: #a28f7b;
  position: relative;
  max-width: 58rem;
  border: 1px solid var(--joinery);
  background: #f4f1ea;
  padding: clamp(3rem, 6vw, 6rem) calc(var(--rail) + clamp(1rem, 4vw, 3rem));
}
.shoji::before, .shoji::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: var(--rail);
  background:
    repeating-linear-gradient(0deg, transparent 0 calc(25% - 1px), var(--joinery) calc(25% - 1px) 25%),
    linear-gradient(90deg, transparent calc(50% - .5px), var(--joinery) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)),
    #eee9df;
}
.shoji::before { left: 0; border-right: 1px solid var(--joinery); }
.shoji::after { right: 0; border-left: 1px solid var(--joinery); }
.closing { text-align: center; }
.tea-note { margin-top: 1.5rem; font: 400 .875rem/1.6 system-ui, sans-serif; color: var(--tea); }
.invited { max-width: 36rem; scroll-margin-top: 1.5rem; }
.invitation-copy {
  display: grid;
  gap: 1em;
  overflow-wrap: anywhere;
  text-wrap: wrap;
}
.steps { margin: 0; padding-inline-start: 1.6em; }
.steps li { padding-inline-start: .25em; }
.steps li + li { margin-top: .65em; }
.steps li::marker { color: var(--ink); }
.last-pour {
  display: grid;
  grid-template-areas: "heading" "stage" "back";
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.last-pour .headline { grid-area: heading; max-width: 36rem; text-wrap: balance; }
.last-pour .pour-group { width: 100%; }
.last-pour .pour-stage { width: min(100%, 18rem); }
.last-pour .tea-note { margin-top: .5rem; }
.top-link { grid-area: back; margin-top: 1.75rem; }

.detail { padding: clamp(28px, 6vw, 60px) 0 clamp(44px, 7vw, 84px); }
.detail h1 { font-size: clamp(1.55rem, 4vw, 2.4rem); line-height: 1.1; }
.detail .example { margin-top: 18px; }
.detail-head { width: min(100%, 24.5rem); margin-inline: auto; text-align: left; }
.detail-head p { margin-top: 8px; color: var(--muted); }
.detail .profile-card { padding: 8px 0; }

.footer { padding-bottom: env(safe-area-inset-bottom, 0px); color: var(--muted); }
.footer::before { content: ""; display: block; height: 7px; border-top: 1px solid var(--tea); border-bottom: 3px solid var(--tea); }
.footer .wrap { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px 28px; padding: 22px 0 32px; }
.footer-wordmark, .legal { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; font: 400 .94rem/1.4 var(--mono); }
.footer .footer-wordmark { gap: 0 8px; color: var(--ink); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a:not(:hover) { text-decoration: none; }
.footer a:hover { color: var(--ink); }

@media (max-width: 899px) {
  .masthead .wrap { min-height: 68px; }
  .hero { min-height: 0; grid-template-columns: 1fr; grid-template-areas: "stage" "copy"; gap: 2rem; }
  .pour-stage { width: min(62%, 15.5rem); }
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .last-pour .pour-stage { width: min(58%, 13rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) { .profile-nav a[aria-current="location"] { outline: 1px solid ButtonText; } }
