/* order.html only (owner 2026-09-27 rework): the type gate, the style + add-on pickers,
   the version menus, the calendar, the budget, the drop zones and the sign-in row.
   Everything shared (steps bar, sliders, .opt/.pick, summary) still lives in site.css. */

/* ---------- the gate: pick a type before anything else ---------- */
.gate .order-top { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-bottom: clamp(24px, 4vh, 44px); }
.gate .order-top .wrap { flex: 1; display: flex; flex-direction: column; }
.gate .order-top .order-shapes { flex: 1; height: auto; min-height: 440px; margin-top: clamp(22px, 4vh, 40px); }
.gate :is(.order-brief, .site-foot) { display: none; }
.order-top .lede { margin-top: 16px; }
.order-shapes .shape { cursor: pointer; }
.order-shapes .shape.chosen { outline: 3px solid var(--red); outline-offset: -3px; }
/* nine pictures in a row: the open one gets more of it, and its words stay inside it (owner 2026-09-27: "MINIGAME" was cut off) */
@media (min-width: 901px) {
  .order-top .order-shapes .shape.open { flex-grow: 5.2; }
  .order-top .order-shapes .shape-t { right: 20px; width: auto; max-width: 380px; }
  /* each tile sizes its own title to its own width, so the longest word (SOMETHING, MINIGAME) always fits */
  .order-top .order-shapes .shape { container-type: inline-size; }
  .order-top .order-shapes .shape h2 { font-size: clamp(16px, 8.6cqi, 38px); overflow-wrap: normal; hyphens: none; }
  .order-top .order-shapes .shape-v { font-size: clamp(18px, 1.6vw, 28px); }
}
/* leaving the gate: the chosen picture holds, the rest drop away */
.leaving .order-shapes .shape:not(.chosen) { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s ease, transform .45s var(--ease-out); }
.leaving .order-shapes .shape.chosen { flex-grow: 12; transition: flex-grow .6s var(--ease-out); }
.order-top.away { display: none; }
.gate .order-top .wrap { min-width: 0; }
/* phones + narrow tablets: every type stacked as a short card (the gate scrolls, the brief stays hidden) */
@media (max-width: 900px) {
  .gate .order-top { min-height: 0; }
  .order-top .order-shapes { flex: none; flex-direction: column; gap: 8px; height: auto; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; }
  .order-top .order-shapes .shape { flex: none; height: clamp(128px, 34vw, 170px); padding: 16px; }
  .order-top .order-shapes .shape .badge { display: none; }
  .order-top .order-shapes .shape-t { left: 16px; right: 16px; bottom: 14px; }
  .order-top .order-shapes .shape h2 { font-size: clamp(22px, 6vw, 30px); }
  .order-top .order-shapes .shape p { margin-top: 6px; font-size: 13.5px; }
  .order-top .order-shapes .shape .more { display: none; }
  .order-top .order-shapes .shape img { filter: brightness(.8); }
  .order-top .h2 { font-size: clamp(34px, 9vw, 56px); }
  .leaving .order-shapes .shape.chosen { flex-grow: 0; }
}

/* the chosen type, at the top of step one */
.chosen-type { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 4px 0 6px; padding: 10px; background: var(--card); border: 1px solid var(--line); animation: pop-in .6s var(--ease-out) backwards; }
.chosen-type img { width: 112px; aspect-ratio: 16 / 10; object-fit: cover; }
.chosen-type b { display: block; font: 700 clamp(18px, 1.8vw, 24px)/1.1 var(--display); letter-spacing: -.02em; }
.chosen-type small { display: block; margin-top: 4px; font: 600 12.5px/1.3 var(--body); color: var(--mute); }
.chosen-type .btn-sm { margin-right: 6px; }
@media (max-width: 520px) { .chosen-type { grid-template-columns: 76px minmax(0, 1fr); } .chosen-type img { width: 76px; } .chosen-type .btn-sm { grid-column: 1 / -1; justify-self: start; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- size: the slider beside a real build ---------- */
.size-box { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 10px 28px; margin-top: 26px; padding: 22px; background: var(--card); border: 1px solid var(--line); }
.size-box .slider { margin: 0; }
.size-box .slider output { font-size: clamp(22px, 2.4vw, 34px); transition: color .2s ease; }
.size-box .check { margin-top: 4px; }
.size-side { grid-row: span 3; display: grid; gap: 10px; align-content: start; }
.size-fp { display: flex; align-items: center; gap: 10px; font: 500 10px/1.45 var(--mono); letter-spacing: .04em; color: var(--mute); }
.size-fp .fp-grid { flex: none; width: 54px; }
.ticks.many button { width: 12px; margin: 0 -6px; }
.ticks.many button::before { width: 4px; height: 4px; }
@media (max-width: 700px) { .size-box { grid-template-columns: minmax(0, 1fr); } .size-side { grid-row: auto; grid-template-columns: 1fr; } }

/* ---------- style: the same picture row as the types, pick any ---------- */
.style-shapes { height: clamp(360px, 54vh, 520px); gap: 6px; }
.style-shapes .shape { padding: 14px; container-type: inline-size; }
.style-shapes .shape-v { left: 14px; bottom: 16px; font-size: clamp(15px, 1.35vw, 21px); }
.style-shapes .shape.open { flex-grow: 14; }
.style-shapes .shape.open::after { background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .1) 34%, transparent 50%); }
.style-shapes .shape-t { left: 14px; right: 14px; bottom: 16px; width: auto; }
.style-shapes .shape h3 { font-size: clamp(11px, 7.6cqi, 22px); overflow-wrap: normal; }
.style-shapes .shape.other { background: var(--ink); }
.style-shapes .shape.other::after { display: none; }
.shape .tickbox { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .35); transition: background-color .2s ease, border-color .2s ease, transform .3s var(--ease-out); }
.shape .tickbox .ico { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .3s var(--ease-out); }
.shape[aria-pressed="true"] .tickbox { background: var(--red); border-color: var(--red); transform: rotate(-6deg); }
.shape[aria-pressed="true"] .tickbox .ico { opacity: 1; transform: none; }
.shape[aria-pressed="true"] img { filter: none; }
@media (max-width: 900px) {
  .style-shapes { flex-direction: row; flex-wrap: wrap; height: auto; }
  .style-shapes .shape { flex: 1 1 calc(50% - 6px); height: 150px; }
  .style-shapes .shape-t { width: auto; right: 14px; }
  .style-shapes .shape p, .style-shapes .shape .more { display: none; }
  .style-shapes .shape { padding: 12px; }
  .style-shapes .shape-t { left: 12px; right: 12px; }
  .style-shapes .shape h3 { font-size: clamp(10px, 7.4cqi, 17px); }
}
/* a narrow form column (beside the summary on smaller laptops): ten tiles in one row leave the open one too
   thin for a name like UNDERWATER, so the picker becomes a grid of short tiles, every name showing */
#brief { container: brief / inline-size; }
@container brief (max-width: 720px) {
  .style-shapes { flex-direction: row; flex-wrap: wrap; height: auto; }
  .style-shapes .shape, .style-shapes .shape.open { flex: 1 1 calc(33.333% - 6px); height: 132px; padding: 12px; }
  .style-shapes .shape img { filter: brightness(.72); transform: none; }
  .style-shapes .shape-v { display: none; }
  .style-shapes .shape-t, .style-shapes .shape.open .shape-t { left: 12px; right: 12px; width: auto; opacity: 1; transform: none; }
  .style-shapes .shape .more { display: none; }
  .style-shapes .shape h3 { font-size: clamp(11px, 8cqi, 20px); }
  .style-shapes .shape.other { flex-grow: 0; }
}
@container brief (max-width: 460px) { .style-shapes .shape, .style-shapes .shape.open { flex-basis: calc(50% - 6px); } }
@container brief (max-width: 300px) { .style-shapes .shape, .style-shapes .shape.open { flex-basis: 100%; height: 96px; } }
.examples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; min-height: 0; }
.examples:empty { display: none; }
.examples a { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); animation: pop-in .5s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
.examples img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.examples span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); color: #fff; font: 600 11.5px/1.25 var(--body); }
@media (hover: hover) and (pointer: fine) { .examples a:hover img { transform: scale(1.06); } }
@media (max-width: 600px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.examples-h { margin: 18px 0 0; font: 600 12.5px/1.3 var(--body); color: var(--mute); }
.examples-h:empty { display: none; }

/* ---------- drop zones for pictures ---------- */
.drop { position: relative; display: grid; gap: 12px; margin-top: 8px; padding: 18px; background: var(--card); border: 2px dashed var(--line); transition: border-color .2s ease, background-color .2s ease; }
.drop.over { border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, var(--card)); }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-call { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.drop-call .badge { width: 44px; height: 44px; transition: transform .3s var(--ease-out); }
.drop-call b { display: block; font: 700 15px/1.2 var(--display); letter-spacing: -.015em; }
.drop-call small { font: 500 11px/1.4 var(--mono); color: var(--mute); }
@media (hover: hover) and (pointer: fine) { .drop-call:hover .badge { transform: translateY(-3px) rotate(-6deg); } }
.drop.sm { padding: 12px; }
.drop.sm .drop-call .badge { width: 34px; height: 34px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--night); animation: pop-in .4s var(--ease-out) backwards; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 22px; height: 22px; background: var(--ink); color: #fff; font: 700 13px/1 var(--body); }
@media (hover: hover) and (pointer: fine) { .thumb button:hover { background: var(--red); } }

/* ---------- add-ons: a card that opens into a note + pictures ---------- */
.addons { display: grid; gap: 10px; }
.addon { background: var(--card); border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .25s var(--ease-out); }
.addon.on { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.addon-head { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 10px 14px 10px 10px; text-align: left; cursor: pointer; }
.addon-head img, .addon-head .noimg { width: 76px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--night); }
.addon-head .noimg { display: grid; place-items: center; color: var(--red); }
.addon-head .noimg .ico { width: 22px; height: 22px; }
.addon-head b { display: block; font: 600 15.5px/1.25 var(--display); letter-spacing: -.015em; }
.addon-head small { font-size: 13.5px; color: var(--ink-2); }
.addon-add { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1.5px solid var(--ink); font: 600 12.5px/1 var(--body); transition: background-color .2s ease, color .2s ease; }
.addon-add .ico { width: 11px; height: 11px; transition: transform .3s var(--ease-out); }
.addon.on .addon-add { background: var(--red); border-color: var(--red); color: #fff; }
.addon.on .addon-add .ico { transform: rotate(45deg); }
.addon-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.addon.on .addon-body { grid-template-rows: 1fr; }
.addon-body > div { overflow: hidden; padding: 0 14px; }
.addon.on .addon-body > div { padding-bottom: 14px; }
.addon-body textarea { min-height: 76px; }
@media (max-width: 520px) { .addon-head { grid-template-columns: 56px minmax(0, 1fr); } .addon-head img, .addon-head .noimg { width: 56px; } .addon-add { grid-column: 1 / -1; justify-self: start; } }

/* hand-over: three of the same kind */
.handover { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.handover .opt { padding: 16px; }
.handover .opt .ico { width: 20px; height: 20px; }

/* ---------- Minecraft version: a chip per line, each with its own menu ---------- */
.vers { display: flex; flex-wrap: wrap; gap: 8px; }
.ver { position: relative; }
.ver > button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 13px 11px 15px; background: var(--card); border: 1px solid var(--line); font: 600 12.5px/1.25 var(--body); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.ver > button .ico { width: 9px; height: 9px; color: var(--red); transition: transform .3s var(--ease-out); }
.ver.open > button .ico { transform: rotate(180deg); }
.ver.sel > button { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ver-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; display: grid; min-width: 150px; max-height: 260px; overflow: auto; padding: 6px; background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--red); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s ease, transform .25s var(--ease-out); overscroll-behavior: contain; }
.ver.open .ver-menu { opacity: 1; transform: none; pointer-events: auto; }
.ver-menu button { padding: 8px 10px; text-align: left; font: 500 13px/1.2 var(--mono); }
.ver-menu button[aria-selected="true"] { background: var(--red); }
@media (hover: hover) and (pointer: fine) { .ver-menu button:hover { background: rgba(255, 255, 255, .12); } .ver-menu button[aria-selected="true"]:hover { background: var(--red); } }

/* ---------- the calendar ---------- */
.when { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 18px 28px; align-items: start; }
@media (max-width: 700px) { .when { grid-template-columns: minmax(0, 1fr); } }
.cal { padding: 14px; background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--red); user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font: 700 16px/1 var(--display); letter-spacing: -.02em; }
.cal-head button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .2); transition: background-color .2s ease; }
.cal-head button:disabled { opacity: .25; pointer-events: none; }
.cal-head .ico { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .cal-head button:hover { background: var(--red); border-color: var(--red); } }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-grid span { padding: 6px 0; text-align: center; font: 500 10px/1 var(--mono); color: rgba(255, 255, 255, .45); }
.cal-grid button { aspect-ratio: 1; font: 600 13px/1 var(--body); color: var(--paper); transition: background-color .15s ease, transform .25s var(--ease-out); }
.cal-grid button:disabled { color: rgba(255, 255, 255, .2); pointer-events: none; }
.cal-grid button.today { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.cal-grid button.rush:not(:disabled) { color: #ff8d9d; }
.cal-grid button[aria-pressed="true"] { background: var(--red); color: #fff; transform: scale(1.08); }
@media (hover: hover) and (pointer: fine) { .cal-grid button:not([aria-pressed="true"]):hover { background: rgba(255, 255, 255, .12); } }
.cal-grid.cal-slide { animation: cal-in .35s var(--ease-out); }
@keyframes cal-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 18px)); } }
.when-out { display: grid; gap: 10px; align-content: start; }
.when-big { font: 700 clamp(24px, 2.6vw, 36px)/1.05 var(--display); letter-spacing: -.03em; }
.when-big small { display: block; margin-top: 6px; font: 500 12px/1.3 var(--mono); letter-spacing: .02em; color: var(--mute); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick .pick { padding: 8px 12px; }

/* ---------- budget ---------- */
.budget-box { margin-top: 30px; padding: 22px; background: var(--card); border: 1px solid var(--line); }
.budget-box .slider { margin: 0; }
.budget-box output { font-size: clamp(26px, 3vw, 42px) !important; }
.budget-box .ticks small:first-of-type { left: -4px; }
.budget-box .ticks small:last-of-type { right: -4px; }
.budget-note { margin: 18px 0 0; padding: 14px 16px; background: var(--ink); color: rgba(255, 255, 255, .8); box-shadow: 4px 4px 0 var(--red); font-size: 14px; line-height: 1.55; }
.budget-note b { display: block; margin-bottom: 4px; color: #fff; font: 700 16.5px/1.25 var(--display); letter-spacing: -.015em; }
.budget-note b ~ b { display: inline; margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; font-weight: 700; letter-spacing: 0; }

/* the $100 minimum: one plain card and one tick, no modal (it sits with the other ticks) */
.ack { margin-top: 26px; padding: 18px 20px; background: var(--ink); color: rgba(255, 255, 255, .8); box-shadow: 4px 4px 0 var(--red); }
.ack-h { margin: 0 0 6px; color: #fff; font: 700 16.5px/1.25 var(--display); letter-spacing: -.015em; }
.ack-p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.ack-p b { color: #fff; }
.ack-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 14px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--paper); font: 600 14.5px/1.3 var(--body); text-align: left; cursor: pointer; transition: border-color .2s ease; }
.ack-box { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--ink); background: var(--card); transition: background-color .2s ease, border-color .2s ease; }
.ack-box::after { content: ""; width: 10px; height: 10px; background: #fff; transform: scale(0); transition: transform .25s var(--ease-out); }
.ack-btn[aria-checked="true"] { border-color: var(--red); }
.ack-btn[aria-checked="true"] .ack-box { background: var(--red); border-color: var(--red); }
.ack-btn[aria-checked="true"] .ack-box::after { transform: none; }
.ack-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .ack-btn:hover { border-color: var(--red); } }
@media (min-width: 700px) { .ack-btn { width: auto; min-width: 320px; } }

/* the control a message is about: a quick red outline, gone after ~1.6s (the note shakes at the same moment) */
.blame { outline: 2px solid var(--red); outline-offset: 3px; animation: blame-fade 1.6s ease forwards; }
.blame:is(input, textarea) { outline-offset: 0; animation: blame-fade 1.6s ease forwards, blame-fill 1.6s ease forwards; }
@keyframes blame-fade { 0% { outline-color: transparent; } 10%, 60% { outline-color: var(--red); } 100% { outline-color: transparent; } }
@keyframes blame-fill { 0%, 60% { box-shadow: inset 0 0 0 100vmax rgba(220, 30, 60, .07); } 100% { box-shadow: inset 0 0 0 100vmax rgba(220, 30, 60, 0); } }

/* ---------- use: a follow-up opens under the pick ---------- */
.follow { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.follow.on { grid-template-rows: 1fr; }
.follow > div { overflow: hidden; }
.follow .picks { margin-top: 2px; }

/* ---------- step five: the three ways in ---------- */
.ids { display: grid; gap: 10px; }
.id { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .25s var(--ease-out); }
.id.ok { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.id .badge { width: 48px; height: 48px; background: var(--ink); transition: background-color .3s ease; }
.id.ok .badge { background: var(--red); }
.id b { display: block; font: 600 15.5px/1.25 var(--display); letter-spacing: -.015em; }
.id small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.id b em { margin-left: 6px; font: 500 10.5px/1 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.ids-or { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ids-or::before, .ids-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* the terms, read in place: key sections grow as they cross the middle */
.terms { margin-top: 26px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s ease, box-shadow .3s var(--ease-out); }
.terms.read { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.terms-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.terms-head b { font: 700 15.5px/1.2 var(--display); letter-spacing: -.015em; }
.terms-head a { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--body); color: var(--mute); }
.terms-head a .ico { width: 10px; height: 10px; }
.terms-box { height: min(52vh, 440px); overflow: hidden auto; overscroll-behavior: contain; padding: 4px 22px 22px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.terms-box:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.terms-box > p:first-child { margin-top: 14px; }
.terms-box p { margin: 6px 0; }
.terms-box ul { margin: 6px 0; padding-left: 18px; }
.terms-box li { margin: 5px 0; }
.terms-box a { color: var(--red); }
.terms-box h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font: 700 16px/1.25 var(--display); letter-spacing: -.015em; color: var(--ink); }
.terms-box h2 .n { font: 500 11px/1 var(--mono); color: var(--red); }
.terms-box h3 { margin: 12px 0 4px; font: 600 14px/1.3 var(--display); color: var(--ink); }
.terms-wait { color: var(--mute); }
.t-sec { margin: 12px 0; padding: 10px 12px; border-left: 3px solid transparent; transform-origin: center; transition: transform .5s var(--ease-out), background-color .35s ease, border-color .35s ease, box-shadow .35s ease, color .35s ease; }
.t-sec.key { border-left-color: var(--line); }
.t-tag { display: inline-block; margin-bottom: 8px; padding: 4px 7px; background: var(--ink); color: #fff; font: 600 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background-color .3s ease; }
.t-sec.key.lit { transform: scale(1.05); background: #fff; border-left-color: var(--red); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.t-sec.key.lit .t-tag { background: var(--red); }
.t-sec.key.lit strong { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--red) 26%, transparent) 0); }
.terms-foot { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); }
.terms-bar { flex: 1; height: 4px; background: var(--line); }
.terms-bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.terms-foot small { font: 500 11px/1.3 var(--mono); color: var(--mute); white-space: nowrap; }
.terms.read .terms-foot small { color: var(--ink); }
.check.agree { opacity: .42; transition: opacity .3s ease; }
.check.agree.open { opacity: 1; animation: pop-in .5s var(--ease-out); }
.check.agree input:disabled { cursor: not-allowed; }
.id input { width: 100%; margin-top: 8px; }
.id .alt { justify-self: start; margin-top: 6px; font: 600 12.5px/1.3 var(--body); color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .id { grid-template-columns: 40px minmax(0, 1fr); } .id .badge { width: 40px; height: 40px; } .id > .btn { grid-column: 1 / -1; justify-self: start; } }

/* ---------- motion: steps change without a jump ---------- */
.order-brief { scroll-margin-top: 24px; }

/* picking a type (owner 2026-09-27): the card's picture glides to the
   centre at its own size, grows to fill the screen, then white cubes build in
   from the sides and the brief appears under them */
.type-zoom { position: fixed; z-index: 80; overflow: hidden; pointer-events: none; background: var(--night);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); will-change: left, top, width, height; }
.type-zoom img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.type-zoom.lift { transition: left .44s cubic-bezier(.65, 0, .35, 1), top .44s cubic-bezier(.65, 0, .35, 1); }
.type-zoom.full { box-shadow: none; transition: left .52s var(--ease-out), top .52s var(--ease-out), width .52s var(--ease-out), height .52s var(--ease-out), box-shadow .4s ease; }
.type-zoom.full img { transform: scale(1.05); }
.type-blocks { position: fixed; inset: 0; z-index: 81; pointer-events: none; display: grid;
  grid-template-columns: repeat(var(--cols, 14), 1fr); grid-template-rows: repeat(var(--rows, 8), 1fr); transition: opacity .4s ease; }
.type-blocks i { background: var(--paper); box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .75), inset -3px -3px 0 rgba(0, 0, 0, .05);
  opacity: 0; transform: scale(.3) rotate(18deg); transition: transform .36s var(--ease-out), opacity .26s ease; }
.type-blocks i:nth-child(3n) { background: #eeece6; }
.type-blocks.in i { opacity: 1; transform: none; }
.type-blocks.done { opacity: 0; }
.order-shapes .shape.zooming img { visibility: hidden; }
/* the red "picked" border travels with the picture (owner 2026-09-27), not left on the card */
.order-shapes .shape.zooming { outline-color: transparent; }
.type-zoom { outline: 3px solid var(--red); outline-offset: -3px; }
.order-brief { overflow-x: clip; }
.step-panel.on > * { animation: step-in .66s var(--ease-out) backwards; }
.step-panel.on > :nth-child(2) { animation-delay: .05s; }
.step-panel.on > :nth-child(3) { animation-delay: .1s; }
.step-panel.on > :nth-child(4) { animation-delay: .15s; }
.step-panel.on > :nth-child(5) { animation-delay: .2s; }
.step-panel.on > :nth-child(n + 6) { animation-delay: .25s; }
.step-panel.leave > * { animation: step-out .26s cubic-bezier(.55, 0, .8, .2) forwards; }
.step-panel.leave > :nth-child(3) { animation-delay: .02s; }
.step-panel.leave > :nth-child(4) { animation-delay: .04s; }
.step-panel.leave > :nth-child(n + 5) { animation-delay: .06s; }
@keyframes step-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 60px)) skewX(calc(var(--dir, 1) * -3deg)); filter: blur(5px); } }
@keyframes step-out { to { opacity: 0; transform: translateX(calc(var(--dir, 1) * -44px)); filter: blur(4px); } }

/* phones: no blur on the staggered pieces (it janks) */
@media (max-width: 700px) {
  @keyframes step-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 60px)) skewX(calc(var(--dir, 1) * -3deg)); } }
  @keyframes step-out { to { opacity: 0; transform: translateX(calc(var(--dir, 1) * -44px)); } }
}
/* the label darkens while you are in its field */
.field .field-label { transition: color .15s ease; }
.field:focus-within .field-label { color: var(--ink); }
/* a press you can feel */
.opt { transition: box-shadow .2s var(--ease-out), border-color .2s ease, transform .12s ease; }
.pick { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease; }
.shape { transition: flex-grow .9s var(--ease-out), transform .12s ease; }
.addon-head { transition: transform .12s ease; }
.opt:active, .pick:active, .shape:active, .addon-head:active { transform: scale(.985); }
/* the idea counter: grey and small, one quiet line once it is enough */
.words { display: flex; align-items: center; gap: 8px; min-height: 16px; margin-top: 8px; font: 500 11px/1.3 var(--mono); letter-spacing: .02em; color: var(--mute); }
.words.ok { color: var(--ink); }
.words.ok::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--red); animation: sq-in .25s var(--ease-out) backwards; }
@keyframes sq-in { from { transform: scale(0); } }
/* a number that changed */
.bump, .bump .qb-tag { animation: num-bump .22s var(--ease-out); }
@keyframes num-bump { from { opacity: 0; transform: translateY(6px); } }
.qb-tag { display: inline-block; margin-left: 10px; padding: 5px 7px; vertical-align: middle; background: var(--ink); color: #fff; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* typing: a quiet ink box with a red underline, not the site's loud red block shadow */
.order-brief :is(input[type=text], input[type=email], input[type=url], textarea):focus { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }

/* Back + Continue: centred, the same size */
.order-brief .step-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 210px)); justify-content: center; gap: 12px; }
.order-brief .step-nav .btn { width: 100%; justify-content: center; white-space: nowrap; }
.order-brief .step-count { grid-column: 1 / -1; margin: 2px 0 0; text-align: center; }
.order-brief .step-note { text-align: center; }
@media (max-width: 560px) { .order-brief .step-nav { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; } .order-brief .step-nav .btn { padding-inline: 10px; gap: 8px; font-size: 12.5px; } .order-brief .step-count { display: block; } }

/* the pictures they attached, in the summary */
.sum-pics dd { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.sum-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; background: rgba(255, 255, 255, .08); animation: pop-in .4s var(--ease-out) backwards; }
/* start over, always in the summary */
.sum-top .sum-meter { margin-left: auto; }
.sum-reset { flex: none; font: 600 12px/1 var(--body); color: rgba(255, 255, 255, .55); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.sum-reset[data-sure] { color: #ff8d9d; }
@media (hover: hover) and (pointer: fine) { .sum-reset:hover { color: #fff; } }

/* sending: the button folds into a paper plane and takes off, the brief pans away, the thank-you pans in */
.plane-fly { position: fixed; left: 0; top: 0; z-index: 90; width: 58px; height: 58px; pointer-events: none; will-change: transform; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .22)); }
.plane-fly svg, .sent-plane > svg:last-child { display: block; width: 100%; height: 100%; overflow: visible; }
.pw1 { fill: #fff; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.pw2 { fill: var(--red); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.pf { fill: #c9c6bf; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
#brief[aria-busy] .step-count { visibility: hidden; }
/* while it waits for the server: the folded plane bobs on the button spot with a small line under it */
.pf-in { display: block; width: 100%; height: 100%; }
.plane-fly.hold .pf-in { animation: plane-hold 1.2s ease-in-out infinite; }
@keyframes plane-hold { 50% { transform: translateY(-3px); } 0%, 100% { transform: translateY(3px); } }
.plane-say { position: fixed; z-index: 90; margin: 0; padding: 3px 8px; transform: translateX(-50%); white-space: nowrap; pointer-events: none; background: var(--paper); color: var(--ink); font: 500 11.5px/1.3 var(--mono); letter-spacing: .04em; animation: say-in .25s var(--ease-out) backwards; }
@keyframes say-in { from { opacity: 0; } }
@media (hover: hover) and (pointer: fine) { .btn:hover i[data-icon="plane"] .ico { transform: translate(2px, -2px); } }
.plane-bit { position: fixed; z-index: 89; pointer-events: none; background: #d6d3cc; }
.plane-bit.red { background: var(--red); }
.plane-bit.ink { background: var(--ink); }
.step-nav .btn.launched { opacity: 0; transform: scale(.35) rotate(-8deg); transition: opacity .22s ease, transform .3s var(--ease-out); }
.pan-away { opacity: 0; transform: translate(-5vw, 9vh); pointer-events: none; transition: transform .7s cubic-bezier(.5, 0, .75, 0), opacity .5s ease .1s; }
.sent-plane { position: relative; width: 84px; height: 84px; margin-bottom: 4px; }
/* the trail's end is its top-right corner, pinned on the plane's tail: the white wing's back tip, (4,31) of 64,
   i.e. 5px in and 41px down in the 84px box (owner 2026-09-27: "have the back be connected to the plane") */
.sent-trail { position: absolute; right: calc(100% - 5px); top: 39px; width: min(230px, 42vw); height: 86px; overflow: visible; }
.sent-trail path { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: square; }
.sent-ref { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.sent.arrive { animation: none; }
.sent.arrive > :not(.sent-plane) { animation: pan-in .85s var(--ease-out) backwards; }
.sent.arrive > :nth-child(2) { animation-delay: .35s; }
.sent.arrive > :nth-child(3) { animation-delay: .42s; }
.sent.arrive > :nth-child(4) { animation-delay: .5s; }
.sent.arrive > :nth-child(n + 5) { animation-delay: .6s; }
.sent.arrive .sent-plane > svg:last-child { animation: plane-land 1.15s cubic-bezier(.2, .8, .25, 1) both; }
/* plane and trail bob as one, so the trail never comes away from the tail */
.sent.arrive .sent-plane { animation: plane-bob 3.4s ease-in-out 1.3s infinite; }
.sent.arrive .sent-trail { animation: trail-in 1.15s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes pan-in { from { opacity: 0; transform: translate(6vw, -8vh); } }
@keyframes plane-land { from { opacity: 0; transform: translate(-46vw, 32vh) rotate(20deg) scale(.55); } 12% { opacity: 1; } }
@keyframes plane-bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes trail-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .step-panel.on > *, .step-panel.leave > *, .chosen-type, .thumb, .examples a, .cal-grid.cal-slide, .check.agree.open,
  .sent.arrive > *, .sent.arrive .sent-plane > svg:last-child, .sent.arrive .sent-trail { animation: none; }
  .t-sec, .pan-away { transition: none; }
  .t-sec.key.lit { transform: none; }
  .addon-body, .follow, .leaving .order-shapes .shape { transition: none; }
  .blame, .ack-box::after, .ack-btn, .plane-say, .bump, .bump .qb-tag, .words.ok::before { animation: none; transition: none; }
  .opt:active, .pick:active, .shape:active, .addon-head:active { transform: none; }
  .plane-fly.hold .pf-in { animation: none; }
}

/* ---------- "Already wrote your brief?" (owner 2026-10-04): paste or upload, the form fills itself ---------- */
.bi { margin-top: clamp(18px, 3vh, 28px); max-width: 860px; background: var(--night-2); border: 1px solid var(--line-d); }
.bi > summary { display: flex; align-items: center; gap: 14px; padding: 12px 14px; cursor: pointer; list-style: none; }
.bi > summary::-webkit-details-marker { display: none; }
.bi > summary .badge { width: 40px; height: 40px; }
.bi-k { flex: 1; min-width: 0; }
.bi-k b { display: block; font: 700 15px/1.25 var(--display); letter-spacing: -.015em; color: var(--paper); }
.bi-k span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.bi-caret { flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: var(--paper); transition: transform .3s var(--ease-out); }
.bi-caret .ico, .bi-file-ic .ico { width: 12px; height: 12px; }
.bi[open] .bi-caret { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .bi > summary:hover .bi-k b { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; } }
.bi-body { padding: 0 14px 14px; }
.bi-body textarea { display: block; width: 100%; min-height: 130px; padding: 12px 14px; resize: vertical; background: var(--night); color: var(--paper); border: 1px solid var(--line-d); font: 400 14px/1.5 var(--body); }
.bi-body textarea::placeholder { color: rgba(255, 255, 255, .42); }
.bi-body textarea:focus { outline: none; border-color: var(--paper); box-shadow: inset 0 -2px 0 var(--red); }
.bi-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.bi-file { position: relative; display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 14px 6px 6px; border: 1px dashed rgba(255, 255, 255, .3); color: var(--paper); font: 600 13px/1.25 var(--body); cursor: pointer; }
.bi-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.bi-file:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.bi-file-ic { display: grid; place-items: center; width: 30px; height: 30px; background: var(--paper); color: var(--ink); flex: none; }
.bi-file small { display: block; font: 500 10.5px/1.4 var(--mono); color: rgba(255, 255, 255, .55); }
@media (hover: hover) and (pointer: fine) { .bi-file:hover { border-color: var(--paper); } }
.bi .btn:disabled { opacity: .6; cursor: progress; }
.bi-status { margin: 10px 0 0; min-height: 1.4em; font: 500 12px/1.45 var(--mono); color: rgba(255, 255, 255, .72); }
.bi-status:empty { min-height: 0; margin: 0; }
.bi-status.err { color: #ff8a9b; }
.bi-list { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.bi-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 6px 0; border-top: 1px solid var(--line-d); }
.bi-list span { flex: none; min-width: 7.5rem; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.bi-list b { flex: 1 1 12rem; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.bi-list em { font: 500 10.5px/1.4 var(--mono); font-style: normal; padding: 1px 6px; background: var(--red); color: #fff; }
.bi-list li.left em { background: transparent; color: inherit; border: 1px solid currentColor; opacity: .7; }
.bi-done { display: block; }
.bi-done[hidden] { display: none; }
.bi-done p { margin: 0; }
.bi-done .bi-list li { border-color: var(--line); }
.bi-done button[data-bi-close] { margin-top: 10px; }
.bi-more { margin-top: 10px; }
.bi-more > summary { cursor: pointer; font: 600 13px/1.4 var(--body); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) {
  .bi > summary { gap: 10px; padding: 10px; }
  .bi > summary .badge { width: 34px; height: 34px; }
  .bi-k span { font-size: 13px; }
  .bi-body { padding: 0 10px 12px; }
  .bi-row { flex-direction: column; align-items: stretch; }
  .bi-row .btn { justify-content: space-between; }
  .bi-list li { padding: 5px 0; }
  .bi-list span { min-width: 6.5rem; }
}
@media (prefers-reduced-motion: reduce) { .bi-caret { transition: none; } }

/* ---------- how detailed: four plain choices and the estimate ---------- */
.level-box { margin-top: 18px; padding: 22px; background: var(--card); border: 1px solid var(--line); }
.level-box .field-label { margin: 0; }
.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.levels .pick { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; text-align: left; }
.levels .pick::before { display: none; }
.levels .pick b { font: 700 15px/1.2 var(--display); letter-spacing: -.01em; }
.levels .pick small { font: 500 12px/1.4 var(--body); opacity: .75; }
.est { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.est b { font: 700 clamp(26px, 3vw, 34px)/1 var(--display); letter-spacing: -.02em; }
.est span { flex: 1 1 220px; font: 500 12px/1.5 var(--mono); color: var(--mute); }
@media (max-width: 700px) { .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .level-box { padding: 16px; } }
