/* ============================================================
   Ask Anthony — homepage
   An editorial front page that turns into a conversation.
   Palette + type inherited from the partner collateral.
   ============================================================ */

:root {
  --paper:      #ffffff;
  --paper-2:    #f7f6f4;
  --paper-3:    #eeecE8;
  --paper-deep: #ebe9e4;

  --ink:      #14120e;
  --ink-2:    #3d3830;
  --ink-3:    #6e685e;
  --ink-mute: #a6a099;

  --accent:      #dc4a2a;
  --accent-deep: #a83821;
  --accent-soft: #f7d5cb;
  --accent-tint: rgba(220, 74, 42, 0.06);

  --olive:      #6b7f4e;
  --olive-deep: #4c5c37;
  --wa:         #1fa855;

  --rule:        rgba(20, 18, 14, 0.11);
  --rule-2:      rgba(20, 18, 14, 0.26);
  --rule-strong: rgba(20, 18, 14, 0.85);

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --display: 'Valley Sans', 'Instrument Serif', Georgia, serif;   /* h1 only */
  --sans:  'Bricolage Grotesque', system-ui, -apple-system, sans-serif;

  --gut:  clamp(20px, 5vw, 72px);   /* page gutter */
  --logo-h:     152px;               /* masthead logo at rest */
  --logo-h-min:  64px;               /* …once the page is scrolled */
  --head-h: calc(var(--logo-h) + 28px);
  --maxw: 1240px;
  --dock-h: 0px;                     /* grows when composer docks */

  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
  /* leaves room for the docked composer */
  padding-bottom: var(--dock-h);
  transition: padding-bottom .5s var(--ease);
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── paper grain ─────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .13; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ── shared type helpers ─────────────────────────────────── */
.eyebrow {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .18em;
  font-weight: 500; color: var(--ink-3);
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) var(--gut);
}
.section--rule { border-top: 1px solid var(--rule); }

.section__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -.015em;
}
.section__note { color: var(--ink-3); font-size: 14px; }

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: clamp(16px, 4vw, 48px);
  padding: 14px var(--gut);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease);
}
body.scrolled .masthead { border-bottom-color: var(--rule); }

body.compact {
  --logo-h: var(--logo-h-min);
  --head-h: calc(var(--logo-h-min) + 28px);
}
.masthead__brand img {
  width: auto; height: var(--logo-h);
  transition: height .32s var(--ease);
}

.masthead__nav {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 13px; color: var(--ink-2);
}
.masthead__nav a { position: relative; padding-bottom: 2px; }
.masthead__nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right .3s var(--ease);
}
.masthead__nav a:hover::after { right: 0; }

.masthead__number {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 7px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.masthead__number:hover { background: var(--accent); transform: translateY(-1px); }

.wa-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wa); flex: none;
  box-shadow: 0 0 0 0 rgba(31,168,85,.6);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,168,85,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(31,168,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,168,85,0); }
}

@media (max-width: 760px) {
  :root { --logo-h: 92px; --logo-h-min: 52px; }
  .masthead__nav { display: none; }
  .masthead__number { margin-left: auto; }
}
@media (max-width: 460px) { :root { --logo-h: 76px; --logo-h-min: 46px; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: 1440px; margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--gut) clamp(48px, 7vw, 88px);
  position: relative;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 56px); align-items: end;
}
.hero__copy { position: relative; z-index: 2; }

.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06;
  letter-spacing: -.02em; margin: 16px 0 20px;
}
/* Valley Sans ships upright only — a synthetic slant here looks fake,
   so the second clause carries the emphasis in colour instead. */
.hero__title em { font-style: normal; color: var(--accent); }

.hero__lede {
  max-width: 52ch; color: var(--ink-2); font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.62;
}
.hero__lede strong {
  font-weight: 500; color: var(--ink);
  box-shadow: inset 0 -.45em 0 var(--accent-soft);
}

/* ── the composer ───────────────────────────────────────── */
.composer-slot { margin: clamp(26px, 3.5vw, 40px) 0 18px; }

.composer {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1.5px solid var(--rule-2);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 620px;
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), background .25s var(--ease);
  box-shadow: 0 1px 0 rgba(15,13,9,.04);
}
.composer:focus-within {
  border-color: var(--ink);
  box-shadow: 0 8px 30px -14px rgba(15,13,9,.42);
}
.composer__input {
  flex: 1 1 auto; min-width: 0; border: none; outline: none; background: none;
  padding: 13px 0; font-size: 16.5px; letter-spacing: -.005em;
}
.composer__input::placeholder {
  font-family: var(--serif); font-size: 19px; font-style: italic;
  color: var(--ink-mute); opacity: 1;
}
.composer__send {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.composer__send:hover { background: var(--accent); transform: translateX(2px); }
.composer__send:disabled { opacity: .35; cursor: default; transform: none; }

/* ── seed chips ─────────────────────────────────────────── */
.seeds { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; }
.seeds button {
  padding: 7px 15px 6px; border-radius: 999px;
  border: 1px solid var(--rule-2); color: var(--ink-2);
  font-size: 12.5px; letter-spacing: .005em;
  transition: all .22s var(--ease);
}
.seeds button:hover {
  border-color: var(--accent); color: var(--accent-deep);
  background: var(--accent-tint); transform: translateY(-1px);
}

/* ── the bust + rotating stamp ──────────────────────────── */
.hero__figure { position: relative; justify-self: end; align-self: end; width: 100%; }
.hero__bust {
  width: 100%; max-width: none; height: auto;
  filter: drop-shadow(0 30px 50px rgba(15,13,9,.16));
  transform-origin: bottom center;
  animation: bust-in 1.1s var(--ease) both;
}
@keyframes bust-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.hero__stamp {
  position: absolute; top: -3%; left: -17%; width: clamp(96px, 11vw, 130px);
  z-index: 3; animation: spin 26s linear infinite;
}
.hero__stamp svg { width: 100%; height: auto; overflow: visible; }
.hero__stamp text {
  font-family: var(--sans); font-size: 20px; font-weight: 500;
  letter-spacing: .085em; fill: var(--accent-deep); text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__stamp { animation: none; } }

/* On a wide screen the figure comes OUT of the flow and is stretched to the
   exact top and bottom of the copy block. The copy is the only in-flow child,
   so it alone sets the row height; top:0/bottom:0 then gives the image that
   same height and `width:auto` lets it keep its ratio. The asset is pre-trimmed
   of its transparent margin (see assets/*-trim.png), so the box edges and the
   edges of the drawing are the same thing — otherwise this would align the
   padding, not Anthony. */
@media (min-width: 901px) {
  .hero__grid { display: block; position: relative; width: 100%; }
  .hero__copy { max-width: min(62%, 700px); }
  .hero__figure {
    position: absolute; top: 0; right: 0;
    /* Width comes from the ratio, NOT from the image. Leaving it `auto` makes
       the box shrink-to-fit around a child whose own height is 100% of this
       box — a circular dependency that Chrome breaks by falling back to the
       image's natural size, so the figure ignores top/bottom and renders full
       size. Stating the ratio removes the loop: height is fixed by top/bottom,
       width follows from it. Keep this in sync with the asset's dimensions. */
    height: 100%; aspect-ratio: 1780 / 1927;
    width: auto; justify-self: auto;
  }
  .hero__bust {
    width: 100%; height: 100%; max-width: none; margin: 0;
    object-fit: contain; object-position: bottom center;
  }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 4px; }
  /* the bust steps aside on a phone — the headline has to lead */
  .hero__figure { order: -1; width: 54%; max-width: 240px; justify-self: end; margin: 0 0 -6px auto; }
  .hero__bust { width: 100%; margin-left: 0; }
  .hero__stamp { width: 84px; left: -26%; right: auto; top: 14%; }
}
/* below this the seal has nowhere to sit without crowding the bust */
@media (max-width: 620px) {
  .hero__figure { width: 50%; }
  .hero__stamp { display: none; }
}

/* ============================================================
   INDEX — the contents page
   ============================================================ */
.index { list-style: none; border-top: 1px solid var(--rule); }

.index__row {
  display: grid;
  grid-template-columns: 46px minmax(88px, 130px) 1fr auto;
  align-items: baseline; gap: 8px 20px;
  padding: clamp(16px, 2vw, 24px) 4px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer; position: relative;
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.index__row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.index__row:hover { background: var(--accent-tint); padding-left: 18px; }
.index__row:hover::before { transform: scaleY(1); }

.index__num {
  font-family: var(--serif); font-size: 15px; color: var(--ink-mute);
  letter-spacing: .02em;
}
.index__name {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 34px);
  line-height: 1; letter-spacing: -.015em;
  transition: color .3s var(--ease);
}
.index__row:hover .index__name { color: var(--accent); }
.index__desc { color: var(--ink-3); font-size: 14.5px; max-width: 62ch; }
.index__go {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em;
  font-weight: 500; color: var(--accent); opacity: 0;
  transform: translateX(-6px); transition: all .3s var(--ease); white-space: nowrap;
}
.index__row:hover .index__go { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .index__row { grid-template-columns: 34px 1fr; }
  .index__desc { grid-column: 2; }
  .index__go { display: none; }
}

/* ============================================================
   ANTHONY
   ============================================================ */
.anthony {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 88px);
}
.anthony__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 6vw, 68px); line-height: .95; letter-spacing: -.02em;
  margin: 12px 0 22px;
}
.anthony__body {
  color: var(--ink-2); max-width: 46ch; margin-bottom: 16px;
  font-size: 16.5px; line-height: 1.66;
}
.anthony__sig {
  font-family: var(--serif); font-style: italic; font-size: 30px;
  color: var(--accent); margin-top: 4px;
}

.creds {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 10px 40px;
}
.creds div { display: flex; flex-direction: column; gap: 2px; }
.creds dt {
  font-size: 10px; text-transform: uppercase; letter-spacing: .16em;
  color: var(--ink-mute); font-weight: 500;
}
.creds dd { font-family: var(--serif); font-size: 20px; letter-spacing: -.01em; }

.pull {
  border-left: 2px solid var(--accent); padding: 4px 0 4px 24px; margin-bottom: 40px;
}
.pull p {
  font-family: var(--serif); font-size: clamp(24px, 2.9vw, 32px);
  line-height: 1.2; letter-spacing: -.015em;
}
.pull em { font-style: italic; color: var(--accent); }

.honest {
  background: var(--paper-2); border: 1px solid var(--rule);
  padding: clamp(22px, 3vw, 32px);
}
.honest h3 {
  font-family: var(--serif); font-weight: 400; font-size: 24px;
  letter-spacing: -.01em; margin-bottom: 12px;
}
.honest p { color: var(--ink-3); font-size: 14.5px; margin-bottom: 12px; }
.honest p:last-child { margin-bottom: 0; }

@media (max-width: 860px) { .anthony { grid-template-columns: 1fr; } }

/* ============================================================
   CHANNELS + FILMS
   ============================================================ */
.channels {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.channel {
  background: var(--paper); padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 4px;
  transition: background .28s var(--ease);
}
.channel:hover { background: var(--paper-2); }
.channel__k {
  font-size: 10px; text-transform: uppercase; letter-spacing: .16em;
  color: var(--ink-mute); font-weight: 500;
}
.channel__n {
  font-family: var(--serif); font-size: 25px; letter-spacing: -.015em; line-height: 1.1;
  display: flex; align-items: center; gap: 8px;
}
.channel__n::after {
  content: '↗'; font-family: var(--sans); font-size: 13px; color: var(--accent);
  opacity: 0; transform: translate(-4px, 2px); transition: all .28s var(--ease);
}
.channel:hover .channel__n::after { opacity: 1; transform: translate(0, 0); }
.channel__d { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.films {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.film { display: block; }
.film__shot {
  display: block; position: relative; overflow: hidden;
  background: var(--paper-3); aspect-ratio: 16/9; border: 1px solid var(--rule);
}
.film__shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), filter .5s var(--ease);
  filter: saturate(.92);
}
.film:hover .film__shot img { transform: scale(1.05); filter: saturate(1.05); }
.film__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(15,13,9,0) 40%, rgba(15,13,9,.35));
  opacity: 0; transition: opacity .35s var(--ease);
}
.film:hover .film__play { opacity: 1; }
.film__play span {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 13px; padding-left: 3px;
}
.film__t {
  display: block;
  font-family: var(--serif); font-size: 19px; line-height: 1.22;
  letter-spacing: -.01em; margin-top: 12px;
  transition: color .28s var(--ease);
}
.film:hover .film__t { color: var(--accent); }
.film__m {
  display: block;
  font-size: 11px; text-transform: uppercase; letter-spacing: .13em;
  color: var(--ink-mute); margin-top: 6px; font-weight: 500;
}

/* ============================================================
   WHATSAPP BLOCK
   ============================================================ */
.wa {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px); align-items: center;
}
.wa__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.6vw, 54px); line-height: 1.02; letter-spacing: -.02em;
  margin: 12px 0 18px;
}
.wa__body { color: var(--ink-2); max-width: 48ch; margin-bottom: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  transition: all .25s var(--ease);
}
.btn--wa {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 10px 26px -14px rgba(15,13,9,.7);
}
.btn--wa:hover { background: var(--wa); transform: translateY(-2px); }

.wa__number {
  font-family: var(--serif); font-size: clamp(56px, 9vw, 132px);
  line-height: .84; letter-spacing: -.05em; color: var(--paper-deep);
  user-select: none; white-space: nowrap;
}
.wa__number span { color: var(--accent-soft); }

@media (max-width: 860px) { .wa { grid-template-columns: 1fr; } .wa__number { display: none; } }

/* ============================================================
   THE THREAD
   ============================================================ */
.thread {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gut) clamp(40px, 8vw, 96px);
}
.thread[hidden] { display: none; }
.thread__log { max-width: 940px; }
.thread__start { max-width: 940px; }

.thread__start {
  display: flex; align-items: center; gap: 16px;
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
}
.thread__rule { flex: 1; height: 1px; background: var(--rule); }
.thread__label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--ink-mute); font-weight: 500; white-space: nowrap;
}

.thread__log { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.thread__tail { height: 1px; }

/* every turn animates in */
.turn { animation: turn-in .5s var(--ease) both; }
@keyframes turn-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .turn, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ── the question ───────────────────────────────────────── */
.turn--you { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.turn--you .turn__who {
  font-size: 10px; text-transform: uppercase; letter-spacing: .17em;
  color: var(--ink-mute); font-weight: 500; padding-right: 2px;
}
.turn--you .turn__said {
  max-width: min(88%, 560px);
  background: var(--ink); color: var(--paper);
  padding: 15px 22px 14px; border-radius: 20px 20px 4px 20px;
  font-size: 16.5px; line-height: 1.45;
}

/* ── the answer ─────────────────────────────────────────── */
.turn--a { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.turn__av {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: var(--paper-3); border: 1px solid var(--rule);
  position: sticky; top: calc(var(--head-h) + 14px); align-self: start;
}
.turn__av img { width: 175%; max-width: none; margin: 6% 0 0 -38%; }
.turn__body { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.turn__who--a {
  font-size: 10px; text-transform: uppercase; letter-spacing: .17em;
  color: var(--ink-mute); font-weight: 500; margin-bottom: -8px;
}
.say { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); max-width: 62ch; }
.say + .say { margin-top: -8px; }
.say strong { font-weight: 500; color: var(--ink); }
.say em { font-family: var(--serif); font-style: italic; font-size: 1.1em; color: var(--ink); }
.say--lead {
  font-family: var(--serif); font-size: clamp(21px, 2.4vw, 27px); line-height: 1.28;
  letter-spacing: -.012em; color: var(--ink);
}

/* thinking */
.thinking { display: flex; align-items: center; gap: 9px; height: 26px; }
.thinking i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute);
  animation: blink 1.3s infinite;
}
.thinking i:nth-child(2) { animation-delay: .18s; }
.thinking i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,60%,100% { opacity: .22; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ── card rails ─────────────────────────────────────────── */
.rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 4px 14px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent;
}
.rail::-webkit-scrollbar { height: 5px; }
.rail::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 3px; }
.rail > * { scroll-snap-align: start; flex: 0 0 clamp(258px, 74%, 300px); }

/* ── place card ─────────────────────────────────────────── */
.place {
  background: var(--paper); border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.place:hover {
  border-color: var(--rule-2); transform: translateY(-3px);
  box-shadow: 0 14px 30px -20px rgba(15,13,9,.5);
}
.place__top {
  padding: 16px 18px 14px; border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 3px;
}
.place__n { font-family: var(--serif); font-size: 23px; line-height: 1.1; letter-spacing: -.015em; }
.place__w {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-mute); font-weight: 500;
}
.place__note {
  padding: 14px 18px; font-family: var(--serif); font-style: italic;
  font-size: 16px; line-height: 1.4; color: var(--ink-2); flex: 1;
}
.place__meta {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 14px;
}
.tag {
  font-size: 10.5px; letter-spacing: .06em; padding: 4px 9px 3px;
  background: var(--paper-2); border: 1px solid var(--rule); color: var(--ink-3);
  border-radius: 3px; white-space: nowrap;
}
.tag--paid { background: var(--accent-tint); border-color: var(--accent-soft); color: var(--accent-deep); }
.place__acts { display: flex; gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); }
.act {
  flex: 1; padding: 12px 8px 11px; background: var(--paper);
  font-size: 12px; font-weight: 500; letter-spacing: .03em; color: var(--ink);
  text-align: center; transition: background .22s var(--ease), color .22s var(--ease);
}
.act:hover { background: var(--ink); color: var(--paper); }
.act--go:hover { background: var(--accent); }

/* ── video card ─────────────────────────────────────────── */
.vid {
  display: grid; grid-template-columns: 148px 1fr; gap: 16px;
  border: 1px solid var(--rule); background: var(--paper); padding: 12px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.vid:hover { border-color: var(--rule-2); background: var(--paper-2); }
.vid > span { display: block; min-width: 0; }
.vid__shot { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--paper-3); }
.vid__shot img { width: 100%; height: 100%; object-fit: cover; }
.vid__at {
  position: absolute; left: 6px; bottom: 6px;
  background: var(--ink); color: var(--paper);
  font-size: 10.5px; font-weight: 500; letter-spacing: .05em;
  padding: 3px 7px 2px; border-radius: 3px;
}
.vid__t { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.vid__q {
  display: block;
  font-size: 13.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.5;
  border-left: 2px solid var(--accent-soft); padding-left: 10px;
}
.vid__go {
  display: block;
  margin-top: 8px; font-size: 11px; text-transform: uppercase;
  letter-spacing: .14em; font-weight: 500; color: var(--accent);
}
.vid:hover .vid__go::after { content: ' →'; }
@media (max-width: 560px) { .vid { grid-template-columns: 104px 1fr; gap: 12px; } }

/* ── recipe card ────────────────────────────────────────── */
.recipe { border: 1px solid var(--rule); background: var(--paper-2); }
.recipe__head {
  padding: 18px 22px 14px; border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
}
.recipe__n { font-family: var(--serif); font-size: 27px; letter-spacing: -.015em; line-height: 1.1; }
.recipe__from { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mute); font-weight: 500; }
.recipe__body { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.recipe__ings { padding: 18px 22px; border-right: 1px solid var(--rule); }
.recipe__ings h4, .recipe__steps h4 {
  font-size: 10px; text-transform: uppercase; letter-spacing: .16em;
  color: var(--ink-mute); font-weight: 500; margin-bottom: 12px;
}
.recipe__ings ul { list-style: none; }
.recipe__ings li {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 13.5px; color: var(--ink-2); padding: 5px 0;
  border-bottom: 1px dotted var(--rule);
}
.recipe__ings li span:first-child { flex: 1; }
.recipe__ings li span:last-child { color: var(--ink-mute); font-size: 12px; white-space: nowrap; }
.recipe__steps { padding: 18px 22px; }
.recipe__steps ol { list-style: none; counter-reset: s; }
.recipe__steps li {
  counter-increment: s; position: relative; padding: 0 0 12px 30px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55;
}
.recipe__steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-size: 14px; color: var(--accent);
}
.recipe__foot { border-top: 1px solid var(--rule); display: flex; gap: 1px; background: var(--rule); }
@media (max-width: 640px) {
  .recipe__body { grid-template-columns: 1fr; }
  .recipe__ings { border-right: none; border-bottom: 1px solid var(--rule); }
}

/* ── escape / itinerary ─────────────────────────────────── */
.escape { border: 1px solid var(--rule); background: var(--paper); }
.escape__head {
  padding: 18px 22px 15px; border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.escape__n { font-family: var(--serif); font-size: 27px; letter-spacing: -.015em; line-height: 1.1; }
.escape__sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.escape__stops { list-style: none; padding: 8px 22px 4px; position: relative; }
.escape__stops::before {
  content: ''; position: absolute; left: 26px; top: 28px; bottom: 30px;
  width: 1px; background: var(--rule);
}
.stop { display: grid; grid-template-columns: 18px 1fr; gap: 16px; padding: 12px 0; position: relative; }
.stop::before {
  content: ''; grid-column: 1; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--accent);
  margin: 6px 0 0 0; position: relative; z-index: 1;
}
.stop > span { display: block; min-width: 0; }
.stop__t { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mute); font-weight: 500; }
.stop__n { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: -.01em; line-height: 1.2; margin: 1px 0 3px; }
.stop__d { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.escape__foot { border-top: 1px solid var(--rule); display: flex; gap: 1px; background: var(--rule); }

/* ── follow-up chips ────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  padding: 8px 15px 7px; border-radius: 999px; border: 1px solid var(--rule-2);
  font-size: 12.5px; color: var(--ink-2); transition: all .22s var(--ease);
}
.chips button::before { content: '↳ '; color: var(--ink-mute); }
.chips button:hover {
  border-color: var(--accent); color: var(--accent-deep);
  background: var(--accent-tint); transform: translateY(-1px);
}

/* ── handoff note ───────────────────────────────────────── */
.handoff {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; background: var(--paper-2); border: 1px solid var(--rule);
  font-size: 13.5px; color: var(--ink-3);
}
.handoff a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--accent); }

/* ============================================================
   DOCKED COMPOSER
   ============================================================ */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, var(--paper) 42%);
  transform: translateY(110%); transition: transform .55s var(--ease);
  pointer-events: none;
}
body.chatting .dock { transform: none; pointer-events: auto; }
.dock .composer {
  max-width: 900px; margin: 0 auto;
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -22px rgba(15,13,9,.55), 0 1px 0 rgba(15,13,9,.05);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--rule); background: var(--paper-2);
  padding: clamp(40px, 6vw, 72px) var(--gut);
}
.footer__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.footer__logo { height: 84px; width: auto; margin-bottom: 14px; }
.footer__line { font-family: var(--serif); font-size: 20px; color: var(--ink-2); max-width: 22ch; line-height: 1.25; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13.5px; color: var(--ink-2); }
.footer__nav a { border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.footer__nav a:hover { border-bottom-color: var(--accent); }
.footer__legal {
  grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 11.5px; color: var(--ink-mute); max-width: 78ch; line-height: 1.6;
}
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE-LOAD REVEAL
   ============================================================ */
.reveal { animation: reveal .75s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
