/* guru.blends · 06 Multicolore (type: Archivo Expanded + Noto Serif)
   Escape Cafe's simple running order, Ragged Edge's design language,
   recoloured from red-and-black cape to a Monogram Multicolore canvas. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("fonts/noto-serif-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}

:root {
  /* Sampled from the Speedy photo: canvas, vachetta, the glazed edge, gold
     hardware, and the darkest motif ink for text. */
  --canvas: #FBFAF7;
  --vachetta: #E4C59E;
  --edge: #8C4130;
  --gold: #B8892E;
  --ink: #2A2126;
  --mute: #5C5157;
  --mute-on-vachetta: #4E3F33;
  --mute-on-ink: #C9BFC3;
  --rule: rgba(42, 33, 38, 0.18);

  --display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --bar-h: 64px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 18px/1.55 var(--serif);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--vachetta); color: var(--ink); }
:focus-visible { outline: 3px solid var(--edge); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.nb { white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--ink); color: var(--canvas); border-radius: 999px; }
.skip:focus { top: 12px; }

/* ── The print ─────────────────────────────────────────── */
.print {
  /* 02's cape print, same shapes and tile size, re-inked white + Multicolore. */
  background: var(--canvas) url("media/multicolore-print.webp") 0 0 / clamp(420px, 44vw, 760px) repeat;
}

/* ── Pills and plates (Ragged Edge) ───────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 0.4em;
  min-height: 44px; padding: 8px 20px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--canvas); color: var(--ink);
  font: 500 16px/1 var(--serif);
  text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}
.pill:hover { background: var(--vachetta); }
.pill--ink { background: var(--ink); color: var(--canvas); }
.pill--ink:hover { background: var(--edge); border-color: var(--edge); }
.pill--lg { min-height: 52px; padding: 10px 26px; font-size: 18px; }
.plate {
  display: inline-block; padding: 6px 12px;
  background: var(--canvas); color: var(--ink);
  font: 400 16px/1.4 var(--serif);
}
.card {
  background: var(--canvas);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cms {
  display: inline-block; padding: 1px 9px;
  border: 1px dashed currentColor; border-radius: 999px;
  font: 500 semi-expanded 13px/1.6 var(--display); letter-spacing: 0.02em;
  color: var(--mute); white-space: nowrap; max-width: 100%;
}
.ground-ink .cms { color: var(--mute-on-ink); }
.ground-vachetta .cms { color: var(--mute-on-vachetta); }

/* ── Top bar ──────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: var(--bar-h);
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  background: var(--canvas);
  border-bottom: 2px solid var(--vachetta);
}
.bar__mark {
  font: 700 expanded 22px/1 var(--display); letter-spacing: -0.035em;
  text-decoration: none; justify-self: start;
  transition: opacity 200ms ease, transform 200ms ease;
}
/* While the big wordmark is on screen the bar does not repeat it. */
.bar.is-quiet .bar__mark { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.bar__nav { display: flex; gap: 6px; }
.bar__nav .pill { min-height: 40px; padding: 8px 16px; font-size: 15px; border-color: transparent; background: transparent; }
.bar__nav .pill:hover { background: var(--vachetta); }
.bar__book { justify-self: end; min-height: 44px; }

/* ── 1 · Opening ──────────────────────────────────────────────── */
/* Full-screen opening, as in 02: the print fills the first screen, the wordmark
   strip floats in the middle of it, the card and pinned cut sit at the bottom. */
.opening {
  min-height: calc(100svh - var(--bar-h));
  display: grid;
  grid-template-rows: minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
  padding-bottom: clamp(24px, 3.5vw, 48px);
}
.opening .strip { grid-row: 2; }
.opening > .opening__body { grid-row: 4; }
.strip {
  /* The vachetta trim of the bag: piping above and below a canvas band. */
  background: var(--canvas);
  border-block: 6px solid var(--vachetta);
  box-shadow: 0 -1px 0 var(--edge), 0 1px 0 var(--edge);
  overflow: hidden;
}
.wordmark {
  font: 700 expanded clamp(50px, 14.2vw, 196px)/0.9 var(--display);
  letter-spacing: -0.055em;
  text-align: center;
  padding: 0.1em 0 0.22em;
  white-space: nowrap;
}
.opening__body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
}
.opening__card { max-width: 620px; padding: clamp(24px, 2.6vw, 32px); display: grid; gap: 14px; justify-items: start; }
.opening__card .plate { padding: 0; background: none; font-size: 15px; color: var(--mute); }
.opening__lede { font: 700 expanded clamp(28px, 3.6vw, 46px)/1.06 var(--display); letter-spacing: -0.03em; }
.opening__sub { font-size: 19px; max-width: 34ch; }
.opening__card .actions { margin-top: 8px; }

.pinned { border: 6px solid var(--canvas); outline: 1.5px solid var(--ink); }
.opening__photo { display: grid; justify-items: center; }
.opening__photo img { width: 252px; }
.opening__photo figcaption { width: 252px; margin-top: 10px; border: 1.5px solid var(--ink); border-radius: var(--radius); text-align: center; font-size: 15px; }

/* ── Section heads ────────────────────────────────────────────── */
.head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px;
  padding-bottom: 24px; margin-bottom: 8px;
  border-bottom: 1.5px solid currentColor;
}
.head h2 {
  font: 700 expanded clamp(36px, 6.2vw, 92px)/0.98 var(--display);
  letter-spacing: -0.045em;
}
.head__lede { max-width: 46ch; font-size: 19px; line-height: 1.5; }
section.wrap, section > .wrap { padding-block: clamp(72px, 10vw, 136px); }
.opening > .opening__body { padding-block: 0; }

/* ── 2 · Cuts (Ragged Edge case-study rows) ───────────────────── */
.cut {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--rule);
}
.cut__text { display: grid; align-content: start; gap: 20px; }
.cut__no { font: 600 semi-expanded 14px/1.4 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.cut__title { font: 700 expanded clamp(26px, 2.8vw, 38px)/1.08 var(--display); letter-spacing: -0.035em; }
.cut__statement { font-size: 19px; line-height: 1.5; max-width: 40ch; }
.cut__panel {
  display: grid; place-items: center;
  min-height: 460px;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  padding: 40px;
  background-position: center;
}
.cut__panel img { width: 240px; }

.ledger { display: grid; border-bottom: 1px solid var(--rule); }
.ledger > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.ledger dt { font: 600 semi-expanded 14px/1.6 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.ledger dd { font-size: 17px; line-height: 1.5; }
.ledger--dark, .ledger--dark > div { border-color: rgba(251, 250, 247, 0.22); }
.ledger--dark dt { color: var(--mute-on-ink); }

.record { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 40px; }
.record dt { font: 700 expanded 20px/1.2 var(--display); margin-bottom: 8px; }
.record dd { color: var(--mute); font-size: 16px; line-height: 1.6; }
.record .cms { display: table; margin-top: 8px; }

/* ── 3 · Lingo ────────────────────────────────────────────────── */
.ground-vachetta { background: var(--vachetta); color: var(--ink); }
.ground-vachetta .head { border-bottom-color: var(--edge); }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.terms > div { padding: 22px 0; border-bottom: 1px solid rgba(140, 65, 48, 0.35); display: grid; gap: 6px; align-content: start; }
.terms dt { font: 700 expanded 23px/1.15 var(--display); letter-spacing: -0.025em; }
.terms dd { font-size: 17px; line-height: 1.55; }
.terms .ask { font-style: italic; color: var(--mute-on-vachetta); }
.guards { margin-top: 48px; display: grid; gap: 12px; }
.guards h3 { font: 700 expanded 28px/1.1 var(--display); letter-spacing: -0.025em; }
.guards p { color: var(--mute-on-vachetta); font-size: 17px; max-width: 62ch; }
.guards ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-top: 8px; }
.guards li { text-align: center; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--canvas); font-size: 15px; line-height: 1.4; }
.guards b { font-family: var(--display); font-weight: 700; font-stretch: expanded; }

/* ── 4 · Services ─────────────────────────────────────────────── */
.menu { display: grid; }
.menu li {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 32px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--rule);
}
.menu__what { display: grid; gap: 6px; max-width: 58ch; }
.menu h3 { font: 700 expanded clamp(22px, 2.2vw, 30px)/1.12 var(--display); letter-spacing: -0.03em; }
.menu__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: end; color: var(--mute); font-size: 15px; }
.menu__meta > span { display: inline-flex; align-items: center; gap: 8px; }

/* ── 5 · Showtime ─────────────────────────────────────────────── */
.showtime > .wrap { display: grid; justify-items: center; }
.showtime__card { max-width: 720px; width: 100%; padding: clamp(28px, 4vw, 52px); display: grid; gap: 20px; }
.showtime h2 { font: 700 expanded clamp(42px, 6.6vw, 92px)/0.92 var(--display); letter-spacing: -0.05em; }
.steps { display: grid; gap: 10px; font-size: 19px; }
.steps li { display: flex; gap: 14px; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--rule); }
.steps b { font: 700 semi-expanded 16px/1 var(--display); color: var(--edge); }
.fine { color: var(--mute); font-size: 15px; }

/* ── 6 · The chair ────────────────────────────────────────────── */
.ground-ink { background: var(--ink); color: var(--canvas); }
.ground-ink a:focus-visible { outline-color: var(--vachetta); }
.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.cells li { border: 1.5px solid rgba(251, 250, 247, 0.4); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.cells__k { font: 600 semi-expanded 14px/1.4 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--vachetta); }
.cells__v { font: 700 expanded 22px/1.25 var(--display); }
.cells__d { color: var(--mute-on-ink); font-size: 15px; line-height: 1.55; }
.cells li p:last-child { margin-top: auto; padding-top: 4px; }
.cells li { grid-template-rows: auto auto 1fr auto; }
.chair__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.chair h3 { font: 700 expanded 28px/1.1 var(--display); letter-spacing: -0.025em; margin-bottom: 16px; }
.tips { display: grid; gap: 12px; counter-reset: tip; }
.tips li { counter-increment: tip; position: relative; padding-left: 2.4em; font-size: 17px; line-height: 1.55; }
.tips li::before { content: counter(tip, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 700 semi-expanded 15px/1.8 var(--display); color: var(--vachetta); }

/* ── 7 · Questions ────────────────────────────────────────────── */
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font: 700 expanded clamp(20px, 2vw, 26px)/1.25 var(--display); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border: 1.5px solid var(--ink); border-radius: 50%;
  font: 500 expanded 22px/1 var(--display); transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--vachetta); }
.faq details p { padding: 0 0 24px; max-width: 62ch; font-size: 18px; line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────────── */
.foot { padding-block: clamp(40px, 5vw, 72px); }
.wordmark--foot { font-size: clamp(44px, 12.4vw, 172px); }
.foot__body { margin-top: clamp(32px, 5vw, 56px); display: grid; justify-items: center; }
.foot__card { display: grid; justify-items: center; gap: 16px; padding: clamp(24px, 3vw, 36px); width: min(100%, 720px); }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; }
.foot__fine { color: var(--mute); font-size: 14px; text-align: center; text-wrap: balance; }

/* ── Motion: the canvas slides a little as you scroll, nothing loops ── */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .print { animation: canvas-slide linear both; animation-timeline: scroll(root); }
    @keyframes canvas-slide { to { background-position: -240px 480px; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar__nav { display: none; }
  .cells, .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}
@media (max-width: 760px) {
  :root { --bar-h: 58px; }
  body { font-size: 17px; }
  .bar__mark { font-size: 22px; }
  .bar__book { min-height: 44px; padding: 8px 16px; font-size: 15px; }
  .opening__body { grid-template-columns: 1fr; justify-items: center; }
  /* On phones the first screen is the strip and the card; Cut 02 is the second row of the display. */
  .opening__photo { display: none; }
  .opening__card .actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .opening__card .actions .pill { justify-content: center; }
  .cut { grid-template-columns: 1fr; }
  .cut__panel { min-height: 400px; padding: 28px; order: -1; }
  .record { grid-template-columns: 1fr; gap: 24px; }
  .menu li { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .menu__meta { justify-content: start; }
  .cells, .chair__cols, .terms { grid-template-columns: 1fr; }
  .chair__cols { gap: 40px; }
  .ledger > div { grid-template-columns: 7.5em minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .showtime__card, .opening__card { padding: 22px; }
  .pill--lg { padding: 10px 18px; font-size: 17px; }
  .bar__mark { font-size: 19px; }
  .bar__book { padding: 8px 12px; font-size: 14px; }
}
