/* DishMethod. Kitchen ticket system: thermal paper, carbon ink, printer red, stainless. */
:root {
  --paper: #f5f5f1;
  --paper-2: #ebebe6;
  --steel-100: #e2e5e7;
  --steel-200: #c9ced2;
  --steel-400: #959ca3;
  --steel-600: #5f666d;
  --ink: #141517;
  --ink-2: #33363a;
  --night: #0c0f12;
  --night-2: #151a1f;
  --night-3: #1f262d;
  --red: #d2231c;
  --red-deep: #a8170f;
  --red-ink: #b81b14;
  --amber: #f0a43a;
  --puzzle: #2f6787;
  --on-dark: #f3f4f2;
  --on-dark-2: #b9c0c6;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-ticket: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 136px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --r-btn: 3px;
  --r-panel: 6px;
  --shadow-1: 0 1px 1px rgba(10, 12, 14, .06), 0 6px 14px -6px rgba(10, 12, 14, .22);
  --shadow-2: 0 2px 2px rgba(10, 12, 14, .06), 0 22px 40px -18px rgba(10, 12, 14, .45);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 140ms;
  --t-mid: 240ms;
  --t-slow: 620ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .paper :focus-visible { outline-color: var(--red); }
button { font: inherit; color: inherit; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 12px 16px; border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none; transition: top var(--t-mid) var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); text-wrap: balance; letter-spacing: -0.01em; }
.d1 {
  font-size: clamp(40px, 5.3vw, 84px);
  line-height: .96;
  font-weight: 760;
  font-stretch: 108%;
  font-variation-settings: "wdth" 108;
  letter-spacing: -0.025em;
}
.d2 {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  font-weight: 740;
  font-variation-settings: "wdth" 106;
  letter-spacing: -0.02em;
}
.d3 {
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.08;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
}
.d4 { font-size: 21px; line-height: 1.2; font-weight: 680; font-variation-settings: "wdth" 96; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 38em; text-wrap: pretty; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 66;
  font-stretch: 66%;
  font-weight: 800;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.01em;
  line-height: .9;
}
.kicker {
  display: block;
  font-family: var(--f-display);
  font-weight: 650;
  font-variation-settings: "wdth" 90;
  font-size: 17px;
  color: var(--red-ink);
  margin-bottom: var(--s4);
}
.night .kicker, .on-dark .kicker { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bg-h: var(--ink); --fg-h: #fff; --bd: var(--red);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid var(--bd);
  border-radius: var(--r-btn);
  background: linear-gradient(var(--bg-h), var(--bg-h)) no-repeat bottom / 100% 0%, var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-weight: 680;
  font-size: 17px;
  font-variation-settings: "wdth" 100;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-size var(--t-mid) var(--ease), color var(--t-fast) linear, border-color var(--t-mid) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:hover { background-size: 100% 100%, auto; color: var(--fg-h); border-color: var(--bg-h); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 1; background: var(--steel-200); border-color: var(--steel-200); color: var(--steel-600); cursor: not-allowed; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy .btn-label { visibility: hidden; }
.btn.is-busy::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bg-h: var(--ink); --fg-h: var(--paper); --bd: var(--ink); }
.night .btn--ghost, .on-dark .btn--ghost { --fg: var(--on-dark); --bg-h: var(--on-dark); --fg-h: var(--night); --bd: rgba(243, 244, 242, .7); }
.night .btn:not(.btn--ghost), .on-dark .btn:not(.btn--ghost) { --bg-h: var(--on-dark); --fg-h: var(--night); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.btn--block { width: 100%; }

.tlink {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(50% + 0.75em) / 0% 2px;
  transition: background-size var(--t-mid) var(--ease);
}
.tlink::before { content: ""; position: absolute; left: 0; right: 0; top: calc(50% + 0.75em); height: 1px; background: currentColor; opacity: .35; }
.tlink:hover { background-size: 100% 2px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-dark);
  transition: background-color var(--t-mid) linear, color var(--t-mid) linear, box-shadow var(--t-mid) linear, transform var(--t-mid) var(--ease);
}
.hdr-in { display: flex; align-items: center; gap: var(--s5); height: 76px; }
.hdr.is-solid { background: rgba(245, 245, 241, .92); color: var(--ink); box-shadow: 0 1px 0 rgba(20, 21, 23, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hdr.is-light-page { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(20, 21, 23, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 760; font-size: 21px; font-variation-settings: "wdth" 104; letter-spacing: -0.015em; min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: var(--s5); margin-left: auto; align-items: center; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 550; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(50% + 0.8em) / 0% 2px; transition: background-size var(--t-mid) var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: var(--r-btn); position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) linear; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45; background: var(--night); color: var(--on-dark);
  padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; gap: var(--s2);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 360ms var(--ease-io), visibility 0s linear 360ms;
}
.menu-open .sheet { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 360ms var(--ease-io), visibility 0s; }
.sheet a:not(.btn) { font-family: var(--f-display); font-size: 34px; font-weight: 720; font-variation-settings: "wdth" 104; text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sheet .btn { margin-top: auto; }
.menu-open .hdr { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; color: var(--on-dark); background: var(--night); overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform-origin: 30% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, .9) 0%, rgba(8, 10, 12, .72) 38%, rgba(8, 10, 12, .2) 70%, rgba(8, 10, 12, .35) 100%),
    linear-gradient(0deg, rgba(8, 10, 12, .85) 0%, rgba(8, 10, 12, 0) 34%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s7); align-items: center; min-height: 100svh; padding-top: 120px; padding-bottom: 80px; }
.hero h1 { max-width: 12.5em; }
.hero .lede { color: var(--on-dark-2); margin: var(--s5) 0 var(--s6); max-width: 33em; }
.hero .lede strong { color: var(--on-dark); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.pos-line { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; color: var(--on-dark-2); font-size: 15px; }
.pos-line b { color: var(--on-dark); font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 92; font-size: 16px; }
.photo-tag {
  position: absolute; z-index: 2; font-size: 12.5px; line-height: 1.3; padding: 5px 8px; border-radius: 2px;
  background: rgba(12, 15, 18, .62); color: #e7eaec; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.photo-tag a { text-decoration: underline; text-underline-offset: 2px; }
.hero .photo-tag { right: var(--gutter); bottom: 20px; }

/* Ticket rail and printed ticket (hero) */
.rail-wrap { position: relative; align-self: start; justify-self: end; width: min(100%, 380px); margin-top: -24px; }
.rail {
  height: 18px; border-radius: 3px; position: relative; z-index: 2;
  background: linear-gradient(180deg, #f4f6f7 0%, #9ba3aa 28%, #e7eaec 46%, #6c747b 72%, #b9c0c6 100%);
  box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .6), inset 0 -1px 0 rgba(0, 0, 0, .3);
}
.rail::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -5px; height: 5px; background: linear-gradient(#3a4046, #1b1f23); border-radius: 0 0 2px 2px; }
.ticket {
  --zig: 9px;
  position: relative;
  background: #fbfbf8;
  color: #17181a;
  font-family: var(--f-ticket);
  font-size: 13.5px;
  line-height: 1.5;
  padding: 26px 22px 30px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .25);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig) + 1px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig) + 1px) no-repeat;
}
.ticket::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .012) 0 2px, transparent 2px 4px); pointer-events: none; }
.rail-wrap .ticket { margin: -4px 22px 0; transform-origin: top center; }
.ticket h2, .ticket .t-title { font-family: var(--f-ticket); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.ticket .t-meta { display: flex; justify-content: space-between; font-size: 12px; color: #55595e; margin: 4px 0 12px; }
.ticket hr { border: 0; border-top: 1.5px dashed #9aa0a6; margin: 12px 0; }
.ticket .t-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 7px 0; }
.ticket .t-dish { font-weight: 600; }
.ticket .t-grp { font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.ticket .t-grp.star { color: var(--red); }
.ticket .t-act { grid-column: 1 / -1; color: #3d4146; font-size: 12.5px; }
.ticket .t-foot { font-size: 12px; color: #55595e; text-align: center; margin-top: 8px; }
.ticket .t-red { color: var(--red); }
.print-in { animation: print 1100ms steps(22, end) 350ms both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); } to { clip-path: inset(0 0 -40px 0); transform: none; } }
.rail-wrap:hover .ticket { animation: sway 1.4s var(--ease) 1; }
@keyframes sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(1.4deg); } 65% { transform: rotate(-.8deg); } }

/* ---------- Sections ---------- */
section { position: relative; }
.paper { background: var(--paper); color: var(--ink); }
.steel { background: var(--steel-100); color: var(--ink); }
.night { background: var(--night); color: var(--on-dark); }
.pad { padding: var(--s10) 0; }
.pad-sm { padding: var(--s9) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6) var(--s8); align-items: end; margin-bottom: var(--s8); }
.sec-head .lede { margin: 0; color: var(--ink-2); }
.night .sec-head .lede { color: var(--on-dark-2); }

/* ---------- Demo (signature) ---------- */
.demo { background: var(--paper); }
.demo-stage {
  position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; gap: var(--s6);
  align-items: stretch;
}
.export {
  position: relative; background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-1); padding: 18px 18px 14px; align-self: start;
}
.export-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--f-ticket); font-size: 12.5px; color: var(--steel-600); border-bottom: 1px solid var(--steel-200); padding-bottom: 10px; margin-bottom: 6px; }
.export-head b { color: var(--ink); font-weight: 600; }
.slot { height: 46px; display: flex; align-items: center; justify-content: flex-end; font-family: var(--f-ticket); font-size: 12px; color: var(--steel-600); border-bottom: 1px dashed var(--steel-200); }
.slot:last-of-type { border-bottom: 0; }
.slot-sec { font-family: var(--f-ticket); font-size: 11.5px; color: var(--steel-600); margin: 10px 0 0; }
.export .btn { margin-top: 14px; }

.matrix-wrap { position: relative; min-height: 560px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 1fr 34px; }
.axis-y { grid-row: 1; grid-column: 1; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-family: var(--f-display); font-weight: 650; font-variation-settings: "wdth" 90; font-size: 15px; color: var(--steel-600); }
.axis-x { grid-row: 2; grid-column: 2; text-align: center; font-family: var(--f-display); font-weight: 650; font-variation-settings: "wdth" 90; font-size: 15px; color: var(--steel-600); align-self: end; }
.matrix {
  grid-row: 1; grid-column: 2; position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px;
  border-radius: var(--r-panel); overflow: hidden; background: var(--steel-200);
}
.quad { position: relative; padding: 16px 18px; background: var(--paper-2); transition: background-color var(--t-mid) linear; }
.quad h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 780; font-variation-settings: "wdth" 112; line-height: 1; }
.quad p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.35; color: var(--steel-600); max-width: 16em; }
.quad.q-puzzle { background: #e6ecef; } .quad.q-puzzle h3 { color: var(--puzzle); }
.quad.q-star { background: #f6e6e3; } .quad.q-star h3 { color: var(--red-ink); }
.quad.q-dog { background: #e8e8e5; } .quad.q-dog h3 { color: var(--steel-600); }
.quad.q-plow { background: #e4e5e3; } .quad.q-plow h3 { color: var(--ink); }
.quad.q-star, .quad.q-plow { text-align: right; } .quad.q-star p, .quad.q-plow p { margin-left: auto; }
.quad.q-dog, .quad.q-plow { display: flex; flex-direction: column; justify-content: flex-end; }
.thr-x, .thr-y { position: absolute; font-family: var(--f-ticket); font-size: 11px; color: var(--steel-600); background: var(--paper); padding: 2px 6px; border-radius: 2px; z-index: 1; white-space: nowrap; }
.thr-x { left: 50%; bottom: 8px; transform: translateX(-50%); }
.thr-y { top: 50%; left: 8px; transform: translateY(-50%); }

.chip {
  position: absolute; left: 0; top: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px 0 10px; border-radius: 3px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--steel-200);
  font: 600 14.5px/1 var(--f-body); white-space: nowrap; cursor: pointer;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 4px 10px -6px rgba(0, 0, 0, .3);
  transition: transform 760ms var(--ease), border-color var(--t-fast) linear, background-color var(--t-fast) linear, color var(--t-fast) linear, box-shadow var(--t-mid) var(--ease);
  will-change: transform;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--steel-400); flex: none; transition: background-color var(--t-mid) linear; }
.chip .sec { font: 500 11.5px/1 var(--f-ticket); color: var(--steel-600); }
.chip:hover { border-color: var(--ink); box-shadow: 0 2px 2px rgba(0, 0, 0, .06), 0 10px 18px -8px rgba(0, 0, 0, .4); }
.chip:active { box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); z-index: 4; }
.chip[aria-pressed="true"] .sec { color: #c9ced2; }
.sorted .chip[data-group="Star"] .dot { background: var(--red); }
.sorted .chip[data-group="Plowhorse"] .dot { background: var(--ink); }
.sorted .chip[aria-pressed="true"][data-group="Plowhorse"] .dot { background: #fff; }
.sorted .chip[data-group="Puzzle"] .dot { background: var(--puzzle); }
.sorted .chip[data-group="Dog"] .dot { background: var(--steel-400); }

.detail { position: relative; align-self: start; }
.detail .ticket { min-height: 420px; font-size: 13.5px; }
.detail .d-grp { display: inline-block; margin-top: 2px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.detail .d-head { font-family: var(--f-display); font-size: 25px; line-height: 1.08; font-weight: 760; font-variation-settings: "wdth" 100; margin: 10px 0 8px; letter-spacing: -0.01em; }
.detail .d-body { font-family: var(--f-body); font-size: 15.5px; line-height: 1.45; color: #2f3236; margin: 0; }
.detail dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; }
.detail dt { color: #55595e; }
.detail dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.detail .protect { margin-top: 12px; padding: 8px 10px; border: 1.5px solid var(--red); color: var(--red-ink); font-size: 12.5px; font-weight: 600; }
.detail-swap { transition: opacity 160ms linear, transform 220ms var(--ease); }
.detail-swap.is-out { opacity: 0; transform: translateY(6px); }
.demo-note { margin-top: var(--s5); font-size: 15px; color: var(--steel-600); max-width: 60em; }

/* ---------- Example plan ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4); }
.pcard { position: relative; overflow: hidden; border-radius: var(--r-panel); background: var(--night-2); color: var(--on-dark); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; text-decoration: none; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 14, .92) 0%, rgba(10, 12, 14, .55) 45%, rgba(10, 12, 14, .05) 75%); }
.pcard:hover img { transform: scale(1.035); }
.pcard .pc-in { padding: var(--s6); }
.pcard .pc-grp { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 92; font-size: 16px; margin-bottom: 10px; }
.pcard .pc-grp i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.pcard h3 { font-size: clamp(28px, 3vw, 46px); font-weight: 780; font-variation-settings: "wdth" 104; line-height: 1; letter-spacing: -0.02em; }
.pcard p { margin: 12px 0 0; color: var(--on-dark-2); max-width: 30em; }
.pcard .photo-tag { top: 14px; right: 14px; }
.pc-a { grid-column: span 7; min-height: 520px; }
.pc-b { grid-column: span 5; min-height: 520px; }
.pc-c, .pc-d { grid-column: span 6; min-height: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.pc-c::before, .pc-d::before { display: none; }
.pc-c p, .pc-d p { color: var(--ink-2); }
.pc-c .pc-in, .pc-d .pc-in { display: grid; grid-template-columns: auto 1fr; gap: var(--s6); align-items: end; }
.pc-fig { font-size: clamp(64px, 7vw, 108px); color: var(--ink); }
.pc-fig small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 14px; color: var(--steel-600); letter-spacing: 0; margin-top: 6px; font-variation-settings: normal; }

/* ---------- What gets analyzed ---------- */
.analyzed { background: var(--night); color: var(--on-dark); overflow: hidden; }
.an-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100%; }
.an-photo { position: relative; min-height: 640px; }
.an-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.an-photo .photo-tag { left: 16px; bottom: 16px; }
.an-copy { padding: var(--s10) var(--gutter) var(--s10) var(--s8); }
.an-copy .lede { color: var(--on-dark-2); margin-bottom: var(--s7); }
.receipt {
  --zig: 10px;
  background: #fbfbf8; color: #17181a; font-family: var(--f-ticket); padding: 30px 30px 40px; max-width: 720px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig) + 1px) no-repeat;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig) + 1px) no-repeat;
}
.receipt-wrap { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.receipt .r-top { display: flex; justify-content: space-between; font-size: 13px; color: #55595e; border-bottom: 1.5px dashed #9aa0a6; padding-bottom: 12px; margin-bottom: 8px; }
.receipt ul { list-style: none; margin: 0; padding: 0; }
.receipt li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 11px 0; border-bottom: 1px dotted #c3c7cb; }
.receipt li:last-child { border-bottom: 0; }
.receipt .r-k { font-family: var(--f-display); font-weight: 720; font-variation-settings: "wdth" 96; font-size: 19px; letter-spacing: -0.005em; }
.receipt .r-v { font-family: var(--f-body); font-size: 15px; color: #3d4146; align-self: center; text-align: right; }
.receipt .r-total { display: flex; justify-content: space-between; border-top: 1.5px dashed #9aa0a6; margin-top: 8px; padding-top: 12px; font-size: 13px; color: #55595e; }
.unroll { clip-path: inset(0 0 100% 0); transition: clip-path 1500ms steps(30, end); }
.unroll.is-in { clip-path: inset(0 0 -60px 0); }

/* ---------- How it works ---------- */
.steps-rail { position: relative; margin-top: var(--s4); }
.steps-rail .rail { position: absolute; left: 0; right: 0; top: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); position: relative; z-index: 1; }
.steps li { padding-top: 10px; }
.steps .ticket { margin: 0 6px; min-height: 300px; transform-origin: top center; transition: transform 500ms var(--ease); }
.steps li:hover .ticket { transform: rotate(-1.2deg); }
.steps li:nth-child(even):hover .ticket { transform: rotate(1.2deg); }
.steps .s-n { font-family: var(--f-display); font-variation-settings: "wdth" 62; font-weight: 820; font-size: 72px; line-height: .9; color: var(--red); }
.steps h3 { font-family: var(--f-display); font-size: 24px; font-weight: 740; font-variation-settings: "wdth" 100; line-height: 1.08; margin: 10px 0 10px; letter-spacing: -0.01em; text-transform: none; }
.steps p { font-family: var(--f-body); font-size: 15.5px; line-height: 1.45; color: #3d4146; margin: 0; }
.steps .s-time { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--red-ink); font-weight: 600; }
.need { margin-top: var(--s7); display: grid; grid-template-columns: auto 1fr auto; gap: var(--s6); align-items: center; padding: var(--s5) var(--s6); background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-1); }
.need .num { font-size: 64px; color: var(--ink); }
.need .num small { font-size: 20px; font-variation-settings: "wdth" 90; font-weight: 700; margin-left: 4px; }
.need p { margin: 0; }

/* ---------- Sample report ---------- */
.report-sec { background: var(--steel-100); }
.report-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.report-copy ul { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); }
.report-copy li { padding: 12px 0; border-top: 1px solid var(--steel-200); font-weight: 500; }
.sheet-doc { background: #fff; border-radius: 2px; box-shadow: var(--shadow-2); padding: clamp(20px, 3vw, 44px); position: relative; }
.sheet-doc::after { content: ""; position: absolute; left: 3%; right: 3%; bottom: -10px; height: 10px; background: #f8f8f6; border-radius: 0 0 2px 2px; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .3); z-index: -1; }
.doc-top { display: flex; justify-content: space-between; align-items: start; gap: var(--s4); border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 16px; }
.doc-top h3 { font-size: 26px; font-weight: 780; font-variation-settings: "wdth" 104; }
.doc-top .doc-meta { font-family: var(--f-ticket); font-size: 12px; color: var(--steel-600); text-align: right; }
.doc-total { display: flex; gap: var(--s6); align-items: end; flex-wrap: wrap; margin-bottom: 18px; }
.doc-total .num { font-size: clamp(48px, 5vw, 76px); }
.doc-total .num .to { font-size: .5em; font-weight: 700; margin: 0 .15em; color: var(--steel-600); }
.doc-total p { margin: 0 0 6px; color: var(--ink-2); font-size: 15px; max-width: 22em; }
.chg { width: 100%; border-collapse: collapse; font-size: 15px; }
.chg th { text-align: left; font-family: var(--f-ticket); font-weight: 500; font-size: 12px; color: var(--steel-600); padding: 6px 0; border-bottom: 1px solid var(--steel-200); }
.chg td { padding: 10px 0; border-bottom: 1px solid var(--steel-100); vertical-align: middle; }
.chg .c-r { width: 26px; font-family: var(--f-ticket); font-size: 12px; color: var(--steel-600); }
.chg .c-t { font-weight: 600; padding-right: 12px; }
.chg .c-tr { font-family: var(--f-ticket); font-size: 12px; color: var(--steel-600); width: 64px; }
.chg .c-bar { width: 38%; }
.chg .c-v { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; width: 120px; padding-left: 12px; }
.rbar { position: relative; height: 12px; background: var(--steel-100); border-radius: 2px; }
.rbar span { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: linear-gradient(90deg, rgba(210, 35, 28, .35), var(--red)); transform-origin: left; transition: transform 900ms var(--ease); }
.rbar.pre span { transform: scaleX(0); }
.tracks { margin-top: 22px; display: grid; grid-template-columns: 70px repeat(4, minmax(0, 1fr)); gap: 4px; font-size: 13px; }
.tracks .th { font-family: var(--f-ticket); font-size: 11.5px; color: var(--steel-600); padding: 4px 6px; }
.tracks .tl { font-weight: 700; font-family: var(--f-display); font-variation-settings: "wdth" 92; align-self: center; }
.tracks .tc { background: var(--paper-2); padding: 7px 8px; border-radius: 2px; line-height: 1.3; min-height: 44px; }
.tracks .tc.k { background: #f6e6e3; }
.tracks .tc.b { background: #e6ecef; }
.tracks .tc.e { background: transparent; border: 1px dashed var(--steel-200); color: var(--steel-400); }
.doc-foot { margin-top: 18px; font-family: var(--f-ticket); font-size: 11.5px; color: var(--steel-600); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Guest value ---------- */
.guest { background: var(--night); color: var(--on-dark); overflow: hidden; }
.guest-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.guest-photo { position: relative; min-height: 760px; }
.guest-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guest-photo .photo-tag { left: 16px; bottom: 16px; }
.guest-copy { padding: var(--s10) var(--gutter) var(--s10) var(--s8); }
.guest-copy .lede { color: var(--on-dark-2); }
.rules { list-style: none; margin: var(--s7) 0 0; padding: 0; counter-reset: r; }
.rules li { display: grid; grid-template-columns: 1fr; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.rules li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.rules b { font-family: var(--f-display); font-size: 22px; font-weight: 720; font-variation-settings: "wdth" 100; line-height: 1.15; }
.rules span { color: var(--on-dark-2); margin-top: 4px; }
.quarter { display: flex; gap: 6px; margin-top: 10px; }
.quarter i { width: 28px; height: 10px; border-radius: 1px; background: rgba(255, 255, 255, .16); }
.quarter i.up { background: var(--amber); }

/* ---------- Who it's for ---------- */
.who-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.who { position: relative; }
.who figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-panel); background: var(--steel-200); }
.who img { width: 100%; height: 100%; object-fit: cover; }
.who .photo-tag { left: 8px; top: 8px; font-size: 11.5px; }
.who h3 { font-size: 22px; font-weight: 740; font-variation-settings: "wdth" 100; margin: 16px 0 6px; line-height: 1.1; }
.who p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ---------- Careful (ledger) ---------- */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s8); }
.ledger div { padding: 22px 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s4); }
.ledger h3 { font-size: 22px; font-weight: 740; font-variation-settings: "wdth" 98; line-height: 1.12; }
.ledger p { margin: 0; color: var(--ink-2); }
.pos-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pos-chips span { font-family: var(--f-display); font-weight: 680; font-variation-settings: "wdth" 92; font-size: 15px; padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: 2px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper-2); }
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: stretch; }
.plan { position: relative; background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-1); padding: var(--s7) var(--s7) var(--s6); display: flex; flex-direction: column; }
.plan.dark { background: var(--night-2); color: var(--on-dark); box-shadow: var(--shadow-2); }
.plan h3 { font-size: 30px; font-weight: 780; font-variation-settings: "wdth" 104; }
.plan .price { display: flex; align-items: flex-end; gap: 10px; margin: var(--s5) 0 6px; }
.plan .price .num { font-size: clamp(84px, 9vw, 132px); }
.plan .price .num sup { font-size: .38em; vertical-align: top; position: relative; top: .25em; margin-right: .04em; font-weight: 760; }
.plan .price .per { font-family: var(--f-display); font-weight: 650; font-variation-settings: "wdth" 92; font-size: 20px; padding-bottom: 12px; line-height: 1.15; }
.plan .p-sub { color: var(--steel-600); margin: 0 0 var(--s5); }
.plan.dark .p-sub { color: var(--on-dark-2); }
.plan ul { list-style: none; padding: 0; margin: 0 0 var(--s6); }
.plan li { padding: 12px 0 12px 28px; border-top: 1px solid var(--steel-100); position: relative; }
.plan.dark li { border-top-color: rgba(255, 255, 255, .1); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.plan.dark li::before { border-color: var(--amber); }
.plan .btn { margin-top: auto; }
.price-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s6); }
.price-notes p { margin: 0; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 15.5px; }
.price-notes b { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 720; font-variation-settings: "wdth" 98; margin-bottom: 4px; }
.price-hist { margin-top: var(--s5); font-size: 14.5px; color: var(--steel-600); }

/* ---------- Proof (auto) ---------- */
.proof[hidden] { display: none; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s5); }
.quote { margin: 0; background: #fff; padding: var(--s6); border-radius: var(--r-panel); box-shadow: var(--shadow-1); }
.quote blockquote { margin: 0 0 var(--s4); font-family: var(--f-display); font-size: 22px; line-height: 1.3; font-weight: 600; font-variation-settings: "wdth" 96; }
.quote figcaption { color: var(--steel-600); font-size: 15px; }
.cases { display: grid; gap: var(--s5); margin-top: var(--s6); }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s6); padding: var(--s6) 0; border-top: 2px solid var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); }
.faq details { border-top: 1px solid var(--steel-200); }
.faq details:last-child { border-bottom: 1px solid var(--steel-200); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 64px; padding: 14px 0; font-family: var(--f-display); font-size: 22px; font-weight: 700; font-variation-settings: "wdth" 98; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--red); transition: transform var(--t-mid) var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover { color: var(--red-ink); }
.faq .ans { overflow: hidden; }
.faq .ans-in { padding: 0 0 22px; max-width: 46em; color: var(--ink-2); }
.faq .ans-in p:last-child { margin: 0; }

/* ---------- Request ---------- */
.request { background: var(--night); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.request-bg { position: absolute; inset: 0; z-index: -2; }
.request-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.request::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(12, 15, 18, .45) 26%, rgba(12, 15, 18, .55) 60%, rgba(12, 15, 18, .9) 100%); }
.request .photo-tag { right: 16px; top: 16px; }
.req-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.next-steps { list-style: none; margin: var(--s7) 0 0; padding: 0; }
.next-steps li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.next-steps .num { font-size: 48px; color: var(--amber); }
.next-steps b { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 720; font-variation-settings: "wdth" 98; }
.next-steps span { color: var(--on-dark-2); font-size: 15.5px; }

.form { background: var(--paper); color: var(--ink); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 44px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.form h3 { font-size: 28px; font-weight: 760; font-variation-settings: "wdth" 102; margin-bottom: 6px; }
.form .f-sub { color: var(--ink-2); margin-bottom: var(--s5); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15.5px; }
.field label .opt { font-weight: 400; color: var(--steel-600); }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--f-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--steel-200); border-radius: var(--r-btn);
  min-height: 50px; padding: 12px 14px; width: 100%;
  transition: border-color var(--t-fast) linear, box-shadow var(--t-fast) linear;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23141517' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(210, 35, 28, .25); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--red); background: #fff7f6; }
.err { display: none; color: var(--red-ink); font-size: 14.5px; font-weight: 600; }
.field[data-invalid] .err { display: block; }
.hint { font-size: 14px; color: var(--steel-600); }
.other-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-mid) var(--ease); }
.other-wrap > div { overflow: hidden; }
.other-wrap.is-open { grid-template-rows: 1fr; }
.other-wrap .field { padding-top: 10px; }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 10; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r-btn); box-shadow: var(--shadow-2); list-style: none; margin: 0; padding: 4px; max-height: 280px; overflow-y: auto; }
.ac-list[hidden] { display: none; }
.ac-list li { padding: 10px 12px; border-radius: 2px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; }
.ac-list li .ac-s { color: var(--steel-600); font-size: 14px; font-family: var(--f-ticket); }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--paper-2); }
.ac-list li mark { background: none; color: var(--red-ink); font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: var(--s5); }
.form-note { font-size: 14px; color: var(--steel-600); margin: 0; flex: 1 1 260px; }
.form-alert { margin-top: var(--s4); padding: 14px 16px; border-radius: var(--r-btn); font-size: 15.5px; }
.form-alert[hidden] { display: none; }
.form-alert.bad { background: #fde9e7; color: #7d120c; border: 1.5px solid var(--red); }
.form-alert.ok { background: #e9f0ea; color: #1b3d22; border: 1.5px solid #2f6b3a; }
.form-done[hidden] { display: none; }
.form-done .d3 { margin-bottom: 10px; }
.form-done .btn { margin-top: var(--s4); }

/* ---------- Footer ---------- */
.ftr { background: #090b0d; color: var(--on-dark-2); padding: var(--s9) 0 var(--s6); font-size: 15px; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--s6); padding-bottom: var(--s7); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr .brand { color: var(--on-dark); }
.ftr-line { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; font-weight: 740; font-variation-settings: "wdth" 104; color: var(--on-dark); margin: var(--s5) 0 var(--s5); max-width: 14em; letter-spacing: -0.015em; }
.ftr h2 { font-family: var(--f-display); font-size: 15px; color: var(--on-dark); font-weight: 680; margin-bottom: 10px; font-variation-settings: "wdth" 92; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr ul a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; color: var(--on-dark-2); transition: color var(--t-fast) linear; }
.ftr ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr-bottom { padding-top: var(--s5); display: grid; gap: 10px; font-size: 13.5px; line-height: 1.5; color: #8e969d; }
.ftr-bottom a { color: #b9c0c6; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 150px 0 var(--s8); background: var(--paper); border-bottom: 1px solid var(--steel-200); }
.page-hero.dark { background: var(--night); color: var(--on-dark); border: 0; position: relative; overflow: hidden; isolation: isolate; }
.crumbs { font-size: 14.5px; color: var(--steel-600); margin-bottom: var(--s4); }
.crumbs a { color: inherit; }
.page-hero.dark .crumbs { color: var(--on-dark-2); }
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 750; font-variation-settings: "wdth" 102; margin: var(--s8) 0 var(--s4); line-height: 1.1; }
.prose h3 { font-size: 21px; font-weight: 700; margin: var(--s6) 0 var(--s3); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.draft-flag { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 2px solid var(--red); border-radius: var(--r-panel); background: #fff; margin-bottom: var(--s6); max-width: 44em; }
.draft-flag b { color: var(--red-ink); }

.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: start; }
.about-photo { position: sticky; top: 100px; }
.about-photo figure { margin: 0; position: relative; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .photo-tag { left: 10px; bottom: 10px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--steel-200); border-radius: var(--r-panel); overflow: hidden; margin: var(--s6) 0; }
.vs div { background: #fff; padding: var(--s5); }
.vs div:last-child { background: var(--ink); color: var(--on-dark); }
.vs b { display: block; font-family: var(--f-display); font-size: 20px; font-variation-settings: "wdth" 98; margin-bottom: 6px; }
.founder { padding: var(--s6); background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-1); margin-bottom: var(--s6); }

.nf { min-height: 100svh; display: grid; place-items: center; text-align: left; background: var(--night); color: var(--on-dark); position: relative; isolation: isolate; overflow: hidden; }
.nf img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; z-index: -1; }
.nf .ticket { max-width: 460px; margin: 120px auto 80px; }
.nf .ticket .t-title { font-size: 16px; }
.nf h1 { font-family: var(--f-display); font-size: 40px; line-height: 1; font-weight: 780; font-variation-settings: "wdth" 102; margin: 14px 0 10px; letter-spacing: -0.02em; text-transform: none; }
.nf p { font-family: var(--f-body); font-size: 16px; }
.nf .photo-tag { right: 16px; bottom: 16px; }

/* ---------- Motion: scroll reveals (purposeful, varied) ---------- */
.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 900ms var(--ease-io); }
.js .wipe.is-in { clip-path: inset(0 0 0 0); }
.js .rise-mask > * { transform: translateY(105%); transition: transform 700ms var(--ease); }
.js .rise-mask { overflow: hidden; }
.js .rise-mask.is-in > * { transform: none; }
.js .widen { font-variation-settings: "wdth" 72; transition: font-variation-settings 900ms var(--ease); }
.js .widen.is-in { font-variation-settings: "wdth" 106; }
.js .hang .ticket { transform: translateY(-40px) rotate(-3deg); opacity: 0; transition: transform 800ms var(--ease), opacity 300ms linear; }
.js .hang.is-in .ticket { transform: none; opacity: 1; }
.js .hang.is-in li:nth-child(2) .ticket { transition-delay: 90ms; }
.js .hang.is-in li:nth-child(3) .ticket { transition-delay: 180ms; }
.js .hang.is-in li:nth-child(4) .ticket { transition-delay: 270ms; }
.hero-photo img { animation: settle 2400ms var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-in > * { animation: up 700ms var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: 80ms; }
.hero-in > *:nth-child(3) { animation-delay: 160ms; }
.hero-in > *:nth-child(4) { animation-delay: 240ms; }
@keyframes up { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .demo-stage { grid-template-columns: 260px minmax(0, 1fr); }
  .detail { grid-column: 1 / -1; }
  .detail .ticket { min-height: 0; }
  .detail-swap { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .detail-swap > .d-main { grid-column: 1; }
  .detail-swap > .d-data { grid-column: 2; }
  .who-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .an-copy, .guest-copy { padding-left: var(--s6); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s6); padding-top: 120px; padding-bottom: 72px; align-items: end; }
  .rail-wrap { justify-self: start; margin-top: 0; width: min(100%, 360px); }
  .sec-head, .report-grid, .faq-grid, .req-grid, .about-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .an-grid, .guest-grid { grid-template-columns: 1fr; }
  .an-photo { min-height: 360px; }
  .guest-photo { min-height: 420px; }
  .an-copy, .guest-copy { padding: var(--s8) var(--gutter); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s7); }
  .steps-rail .rail.r2 { display: block; }
  .ledger { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .price-notes { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-top > :first-child { grid-column: 1 / -1; }
  .pc-a, .pc-b { grid-column: span 12; min-height: 440px; }
  .pc-c, .pc-d { grid-column: span 12; }
  .about-photo { position: relative; top: 0; max-width: 520px; }
  .pad { padding: var(--s9) 0; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hdr-in { height: 64px; }
  html { scroll-padding-top: 76px; }
  .hero-grid { padding-top: 104px; padding-bottom: 64px; }
  .hero::before { background: linear-gradient(0deg, rgba(8, 10, 12, .96) 0%, rgba(8, 10, 12, .78) 50%, rgba(8, 10, 12, .45) 100%); }
  .cta-row .btn { flex: 1 1 100%; }
  .rail-wrap { width: 100%; }
  .rail-wrap .ticket { margin: -4px 14px 0; font-size: 12.5px; padding: 18px 16px 24px; }
  .hero .photo-tag { bottom: 10px; right: 10px; }
  .pad { padding: var(--s8) 0; }
  .pad-sm { padding: var(--s8) 0; }
  .sec-head { margin-bottom: var(--s6); }
  .demo-stage { grid-template-columns: 1fr; gap: var(--s4); }
  .export { padding: 12px 14px; }
  .export .slots { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .slot { height: 44px; }
  .slot-sec { grid-column: 1 / -1; }
  .matrix-wrap { min-height: 520px; grid-template-columns: 24px 1fr; grid-template-rows: 1fr 28px; }
  .axis-x, .axis-y { font-size: 13px; }
  .quad { padding: 10px 10px; }
  .quad h3 { font-size: 19px; }
  .quad p { display: none; }
  .chip { height: 34px; font-size: 13px; padding: 0 9px 0 8px; gap: 6px; }
  .chip .sec { display: none; }
  .thr-x, .thr-y { display: none; }
  .detail-swap { display: block; }
  .steps { grid-template-columns: 1fr; }
  .steps .ticket { min-height: 0; }
  .steps-rail .rail { display: none; }
  .steps li { padding-top: 0; }
  .need { grid-template-columns: 1fr; gap: var(--s3); }
  .who-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .who-row::-webkit-scrollbar { display: none; }
  .who { scroll-snap-align: start; }
  .ledger div { grid-template-columns: 1fr; gap: 6px; }
  .plan { padding: var(--s6) var(--s5) var(--s5); }
  .fgrid { grid-template-columns: 1fr; }
  .chg .c-tr { display: none; }
  .chg .c-bar { width: 30%; }
  .chg .c-v { width: auto; font-size: 13.5px; }
  .tracks { grid-template-columns: 1fr 1fr; }
  .tracks .th { display: none; }
  .tracks .tl { grid-column: 1 / -1; margin-top: 8px; }
  .ftr-top { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .pc-c .pc-in, .pc-d .pc-in { grid-template-columns: 1fr; gap: var(--s3); }
  .case { grid-template-columns: 1fr; }
  .faq summary { font-size: 19px; }
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 15, 18, .94); transform: translateY(110%); transition: transform var(--t-mid) var(--ease); }
  .sticky-cta.is-on { transform: none; }
}
@media (min-width: 721px) { .sticky-cta { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js .wipe, .unroll { clip-path: none !important; }
  .js .rise-mask > * { transform: none !important; }
  .js .hang .ticket { transform: none !important; opacity: 1 !important; }
  .js .widen { font-variation-settings: "wdth" 106 !important; }
  .rbar.pre span { transform: none !important; }
  .print-in { animation: none !important; }
  .rail-wrap:hover .ticket { animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .hdr, .ftr, .sheet, .sticky-cta, .no-print, .skip { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}

/* logo inner squares follow the header surface */
.hdr.is-solid, .hdr.is-light-page { --logo-bg: var(--paper); }
.menu-open .hdr { --logo-bg: #0c0f12; }

/* ---------- Sample report page ---------- */
.fr-sec { margin-top: var(--s7); }
.fr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.tscroll { overflow-x: auto; }
.fr { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 820px; }
.fr th, .fr td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--steel-200); vertical-align: top; }
.fr thead th { font-family: var(--f-ticket); font-weight: 500; font-size: 12px; color: var(--steel-600); }
.fr tbody th { font-weight: 650; }
.fr td:last-child { min-width: 260px; }
.change-detail { margin-top: var(--s6); }
.cd { display: grid; grid-template-columns: 80px minmax(0, 5fr) minmax(0, 6fr); gap: var(--s5); padding: var(--s5) 0; border-top: 2px solid var(--ink); }
.cd-n { font-size: 64px; color: var(--red); }
.cd p { margin: 8px 0 0; color: var(--ink-2); }
.cd-guest { font-size: 15px; }
.cd-dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0; font-size: 15.5px; }
.cd-dl dt { font-weight: 650; }
.cd-dl dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .cd { grid-template-columns: 56px 1fr; } .cd-dl { grid-column: 1 / -1; } .cd-n { font-size: 48px; } }
@media print {
  body[data-page="sample"] .page-hero, body[data-page="sample"] .no-print { display: none !important; }
  body[data-page="sample"] section.pad { padding: 0 !important; }
  .onepage { box-shadow: none !important; padding: 0 !important; }
  .onepage::after { display: none; }
  .rbar span { transform: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tracks .tc { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc-total .num { font-size: 54px; }
  @page { margin: 14mm; }
}
.slot { justify-content: space-between; gap: 8px; }
.slot-name { font-family: var(--f-body); font-size: 14px; color: var(--steel-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .slot .tnum { display: none; } }
@media (max-width: 720px) {
  .chg thead { display: none; }
  .chg tr { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "r t t" "r b v"; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--steel-100); align-items: center; }
  .chg td { border: 0; padding: 0; }
  .chg .c-r { grid-area: r; align-self: start; padding-top: 2px; }
  .chg .c-t { grid-area: t; padding: 0; }
  .chg .c-bar { grid-area: b; width: auto; }
  .chg .c-v { grid-area: v; width: auto; padding: 0; }
  .doc-top { flex-direction: column; gap: 6px; }
  .doc-top .doc-meta { text-align: left; }
}
.guest-copy .lede, .an-copy .lede { margin-top: var(--s5); }
@media (max-width: 720px) { .who-row { scroll-padding-left: var(--gutter); } }
@media (min-width: 721px) and (max-width: 960px) {
  .steps-rail > .rail { display: none; }
  .steps li { position: relative; padding-top: 14px; }
  .steps li::before {
    content: ""; position: absolute; left: -12px; right: -12px; top: 0; height: 18px; border-radius: 3px; z-index: -1;
    background: linear-gradient(180deg, #f4f6f7 0%, #9ba3aa 28%, #e7eaec 46%, #6c747b 72%, #b9c0c6 100%);
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .45);
  }
  .steps li:nth-child(odd)::before { left: 0; right: calc(var(--s5) * -1); border-radius: 3px 0 0 3px; }
  .steps li:nth-child(even)::before { left: 0; right: 0; border-radius: 0 3px 3px 0; }
}
