/* Handl'd landing — Oatly-direction rebuild (Mon 11/16).
   Page-scoped: everything lives under body.handld-page / .hx-* so no
   shared bundle or other page is affected. The preserved brief wizard
   keeps plan-night.css + plan-night.js untouched; this file only adds
   tile chrome around it.
   System: graph-paper ground, hard 2px ink borders, square corners,
   one flat accent per tile, poster type (Inter Tight black caps),
   monospace labels/footnotes. One pill allowed: the CTA. */

body.handld-page {
  --hx-ink: #111111;
  --hx-paper: #f6f2e9;
  --hx-yellow: #ffd21f;
  --hx-pink: #ffb3c7;
  --hx-red: #c8321c;
  background-color: var(--hx-paper);
  background-image:
    linear-gradient(rgba(17, 17, 17, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, .055) 1px, transparent 1px);
  background-size: 26px 26px;
}

.hx-main { display: block; padding-top: clamp(1rem, 3vw, 2rem); }
.hx-main :focus-visible { outline: 3px solid var(--hx-red); outline-offset: 2px; }

.hx-display {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .96;
  margin: 0;
}
.hx-serif {
  font-family: "Cormorant Garamond", Garamond, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  line-height: 1.15;
  margin: 0;
}
.hx-mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0;
}
.hx-h2 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin: 0 0 1rem; }
.hx-kicker { margin-bottom: .9rem; }

.hx-tile {
  width: min(100% - 2 * var(--pad-page), var(--measure-wide));
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  border: 2px solid var(--hx-ink);
  background: #fff;
  box-shadow: 8px 8px 0 var(--hx-ink);
  padding: clamp(1.4rem, 4vw, 3rem);
  box-sizing: border-box;
}
.hx-bg-yellow { background: var(--hx-yellow); }
.hx-bg-pink { background: var(--hx-pink); }
.hx-bg-red { background: var(--hx-red); color: #fff; }
.hx-bg-ink { background: var(--hx-ink); color: #fff; }

/* ---- pills (the one round thing allowed) ---- */
.hx-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.2rem; padding: .9rem 1.7rem;
  border: 2px solid var(--hx-ink); border-radius: 999px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.hx-pill-ink { background: var(--hx-ink); color: #fff; }
.hx-pill-ink:hover { background: #fff; color: var(--hx-ink); }
.hx-pill-ghost { background: transparent; color: var(--hx-ink); }
.hx-pill-ghost:hover { background: var(--hx-ink); color: #fff; }
.hx-pill-yellow { background: var(--hx-yellow); color: var(--hx-ink); border-color: var(--hx-yellow); }
.hx-pill-yellow:hover { background: #fff; border-color: #fff; }
.hx-pill-paper { background: #fff; color: var(--hx-red); border-color: #fff; }
.hx-pill-paper:hover { background: var(--hx-ink); border-color: var(--hx-ink); color: #fff; }
.hx-pill-outline-paper { background: transparent; color: #fff; border-color: #fff; }
.hx-pill-outline-paper:hover { background: #fff; color: var(--hx-red); }
.hx-cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* ---- 1 · masthead ---- */
.hx-masthead { position: relative; overflow: visible; }
.hx-masthead-top { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; border-bottom: 2px solid var(--hx-ink); padding-bottom: .8rem; margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.hx-masthead-title { font-size: clamp(4.2rem, 16.5vw, 12.5rem); }
.hx-masthead-line { font-size: clamp(1.9rem, 5.6vw, 3.9rem); margin-top: .6rem; }
.hx-masthead-sub { margin-top: 1rem; }
.hx-masthead-body { max-width: 40rem; font-size: 1.05rem; line-height: 1.55; margin: 1rem 0 1.6rem; }
.hx-masthead-note { margin-top: 1.4rem; max-width: 44rem; line-height: 1.7; text-transform: none; letter-spacing: .02em; }
.hx-sticker {
  position: absolute; top: clamp(4.5rem, 10vw, 7rem); right: clamp(.8rem, 4vw, 3rem);
  transform: rotate(6deg);
  background: #fff; border: 2px solid var(--hx-ink); box-shadow: 4px 4px 0 var(--hx-ink);
  padding: .55rem .9rem; margin: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
@media (max-width: 700px) { .hx-sticker { display: none; } }

/* ---- 2 · planner ---- */
.hx-planner-dek { max-width: 42rem; font-size: 1.05rem; line-height: 1.55; margin: 0 0 1.6rem; }
.hx-controls { display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; align-items: flex-end; border-top: 2px solid var(--hx-ink); border-bottom: 2px solid var(--hx-ink); padding: 1rem 0; margin-bottom: 1.6rem; }
.hx-control { display: grid; gap: .55rem; }
.hx-select {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95rem;
  border: 2px solid var(--hx-ink); border-radius: 0; background: #fff; color: var(--hx-ink);
  padding: .6rem .8rem; min-height: 2.9rem;
}
.hx-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hx-chip {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  border: 2px solid var(--hx-ink); border-radius: 999px; background: #fff; color: var(--hx-ink);
  padding: .55rem 1rem; min-height: 2.9rem; cursor: pointer;
}
.hx-chip.is-on { background: var(--hx-ink); color: #fff; }

.hx-planner-grid { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 1020px) {
  .hx-planner-grid { grid-template-columns: minmax(0, 1fr) 23.5rem; }
  .hx-timeline { position: sticky; top: calc(var(--header-h) + 1rem); }
}
.hx-deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 1.1rem; }

.hx-stop { border: 2px solid var(--hx-ink); background: #fff; display: flex; flex-direction: column; }
.hx-stop.hx-hide { display: none; }
.hx-stop.is-in { background: #fffbe9; box-shadow: 6px 6px 0 var(--hx-ink); }
.hx-stop-add { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.hx-stop-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 2px solid var(--hx-ink); background: #e9e4d8; }
.hx-stop-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-stop-nophoto { display: flex; align-items: center; justify-content: center; background: var(--hx-pink); font-family: "Inter Tight", system-ui, sans-serif; font-weight: 900; font-size: 4.2rem; line-height: 1; }
.hx-stop-body { display: block; padding: .9rem 1rem 1.05rem; }
.hx-stop-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.hx-cat { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .64rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; border: 2px solid var(--hx-ink); padding: .18rem .5rem; }
.hx-cat-dinner { background: var(--hx-yellow); }
.hx-cat-drinks { background: var(--hx-pink); }
.hx-cat-dessert { background: var(--hx-red); color: #fff; }
.hx-cat-late { background: var(--hx-ink); color: #fff; }
.hx-stop-mins { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .7rem; letter-spacing: .06em; }
.hx-stop-name { display: block; font-family: "Inter Tight", system-ui, sans-serif; font-weight: 800; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.01em; }
.hx-stop-meta { display: block; margin-top: .35rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: #3d3a34; line-height: 1.6; }
.hx-stop-cta { display: inline-block; margin-top: .8rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 2px solid var(--hx-ink); padding: .5rem .85rem; background: #fff; }
.hx-stop.is-in .hx-stop-cta { background: var(--hx-ink); color: #fff; }
.hx-credit { margin: auto 0 0; padding: .55rem 1rem .85rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .64rem; letter-spacing: .04em; color: #55524b; line-height: 1.6; }
.hx-credit a { color: inherit; }

.hx-timeline { border: 2px solid var(--hx-ink); box-shadow: 8px 8px 0 var(--hx-ink); padding: 1.3rem 1.3rem 1.5rem; }
.hx-timeline-kicker { color: var(--hx-yellow); margin-bottom: .4rem; }
.hx-timeline-list { list-style: none; margin: 0; padding: 0; }
.hx-tl-row { display: flex; gap: 1rem; align-items: flex-start; padding: .95rem 0; border-top: 1px dashed rgba(255, 255, 255, .4); }
.hx-tl-time { font-family: "Inter Tight", system-ui, sans-serif; font-weight: 800; font-size: 1.3rem; line-height: 1.1; color: var(--hx-yellow); min-width: 5.4rem; }
.hx-tl-main { flex: 1 1 auto; min-width: 0; }
.hx-tl-name { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.hx-tl-meta { display: block; margin-top: .2rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); line-height: 1.6; }
.hx-tl-btns { display: flex; gap: .35rem; }
.hx-tl-btn { width: 2.1rem; height: 2.1rem; border: 1px solid rgba(255, 255, 255, .55); background: none; color: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95rem; line-height: 1; cursor: pointer; padding: 0; }
.hx-tl-btn:hover { background: #fff; color: var(--hx-ink); }
.hx-tl-btn[disabled] { opacity: .25; cursor: default; }
.hx-tl-btn[disabled]:hover { background: none; color: #fff; }
.hx-tl-empty { padding: 1rem 0; border-top: 1px dashed rgba(255, 255, 255, .4); color: rgba(255, 255, 255, .85); }
.hx-tl-summary { margin: 1rem 0 0; padding-top: 1rem; border-top: 2px solid #fff; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; line-height: 1.8; }
.hx-tl-capnote { margin: .6rem 0 0; min-height: 1.2em; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .74rem; letter-spacing: .05em; color: var(--hx-yellow); }
.hx-timeline .hx-pill { margin-top: 1.1rem; width: 100%; }
.hx-tl-alt { margin: .9rem 0 0; font-size: .85rem; }
.hx-tl-alt a { color: #fff; }
.hx-planner-note { width: min(100% - 2 * var(--pad-page), var(--measure-wide)); margin: -.6rem auto clamp(1.25rem, 3vw, 2rem); text-transform: none; letter-spacing: .02em; line-height: 1.7; }

/* ---- 3 · how it works ---- */
.hx-how { width: min(100% - 2 * var(--pad-page), var(--measure-wide)); margin: 0 auto clamp(1.25rem, 3vw, 2rem); }
.hx-how-title { margin-bottom: 1.1rem; }
.hx-how-grid { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .hx-how-grid { grid-template-columns: repeat(3, 1fr); } }
.hx-how-tile { width: auto; margin: 0; }
.hx-how-num { font-family: "Inter Tight", system-ui, sans-serif; font-weight: 900; font-size: 3.2rem; line-height: 1; margin: 0 0 .8rem; }
.hx-how-name { font-size: 1.7rem; margin-bottom: .7rem; }
.hx-how-tile p:last-child { margin: 0; line-height: 1.55; }

/* ---- 4 · by the numbers ---- */
.hx-numbers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 0; border-top: 2px solid var(--hx-ink); border-left: 2px solid var(--hx-ink); margin-top: 1.4rem; }
.hx-number { border-right: 2px solid var(--hx-ink); border-bottom: 2px solid var(--hx-ink); padding: 1.2rem 1.1rem 1.3rem; }
.hx-number-big { font-family: "Inter Tight", system-ui, sans-serif; font-weight: 900; font-size: clamp(3.2rem, 7vw, 5.2rem); line-height: .95; margin: 0; }
.hx-number-label { font-weight: 700; font-size: 1.02rem; margin: .6rem 0 .45rem; line-height: 1.3; }
.hx-number-note { text-transform: none; letter-spacing: .02em; line-height: 1.65; color: #3d3a34; }
.hx-numbers-foot { margin-top: 1.2rem; text-transform: none; letter-spacing: .02em; }

/* ---- preserved sections, tile chrome ---- */
body.handld-page .plan-shots,
body.handld-page #plan-capture,
body.handld-page .dt-guides-block {
  width: min(100% - 2 * var(--pad-page), var(--measure-wide));
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  border: 2px solid var(--hx-ink);
  background: #fff;
  box-shadow: 8px 8px 0 var(--hx-ink);
  padding: clamp(1.4rem, 4vw, 3rem);
  box-sizing: border-box;
}
body.handld-page .plan-shots .wrap,
body.handld-page #plan-capture .wrap,
body.handld-page .dt-guides-block .wrap { width: 100%; max-width: none; margin: 0; padding: 0; }
body.handld-page .plan-shots-grid figure { border: 2px solid var(--hx-ink); box-shadow: 5px 5px 0 var(--hx-ink); padding: .55rem; background: #fff; margin: 0; }
body.handld-page .plan-shots-grid figcaption { padding: .55rem .2rem .15rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }

body.handld-page .hx-brief-section .plan-wizard { border: 2px solid var(--hx-ink); box-shadow: 6px 6px 0 var(--hx-ink); background: #fff; padding: clamp(1rem, 3vw, 2rem); }
body.handld-page .hx-brief-section .plan-chip,
body.handld-page .hx-brief-section .plan-radio { border-radius: 0; }
body.handld-page .hx-brief-poster { margin-bottom: 1.1rem; }
.hx-brief-poster-title { font-size: clamp(2rem, 6vw, 3.4rem); }
.hx-brief-poster-body { font-size: 1.08rem; line-height: 1.55; max-width: 38rem; margin: .9rem 0 1rem; }
.hx-brief-poster-note { margin: 0; }

/* ---- 5 · FAQ accordions ---- */
.hx-faq-list { border-bottom: 2px solid var(--hx-ink); margin-top: 1.2rem; }
.hx-faq-item { border-top: 2px solid var(--hx-ink); }
.hx-faq-h { margin: 0; }
.hx-faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; padding: 1.05rem .2rem; background: none; border: 0; cursor: pointer;
  font-family: "Inter Tight", system-ui, sans-serif; font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem); line-height: 1.2; text-align: left; color: inherit;
}
.hx-faq-plus { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 400; font-size: 1.7rem; line-height: 1; flex: 0 0 auto; }
.hx-faq-a p { margin: 0; padding: 0 .2rem 1.3rem; max-width: 46rem; line-height: 1.6; }
.hx-faq.hx-js .hx-faq-a { display: none; }
.hx-faq.hx-js .hx-faq-item.open .hx-faq-a { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hx-faq-plus { transition: transform .25s ease; }
  .hx-faq-item.open .hx-faq-plus { transform: rotate(45deg); }
  .hx-stop { transition: box-shadow .2s ease; }
  .hx-pill, .hx-chip, .hx-tl-btn { transition: background-color .18s ease, color .18s ease; }
}

/* ---- 6 · closing ---- */
.hx-closing-title { font-size: clamp(2.6rem, 8vw, 5.2rem); color: #fff; margin-bottom: 1.6rem; }
.hx-closing-links { margin-top: 1.6rem; line-height: 2; }
.hx-closing-links a { color: #fff; }

/* guides block list in mono, poster rules */
body.handld-page .dt-guides-list { list-style: none; padding: 0; }
body.handld-page .dt-guides-list li { border-top: 1px solid var(--hx-ink); padding: .55rem 0; }
body.handld-page .dt-guides-list a { font-weight: 700; }

@media (max-width: 560px) {
  .hx-tile { box-shadow: 5px 5px 0 var(--hx-ink); }
  .hx-timeline { box-shadow: 5px 5px 0 var(--hx-ink); }
  .hx-tl-time { min-width: 4.6rem; font-size: 1.1rem; }
  .hx-controls { gap: 1rem; }
}
