/* taufupos.com - one stylesheet for one page.
   The look is the "Kitchen Pass" sketch: a warm near-black, amber for what matters, a condensed
   grotesk for anything shouted and a monospace for anything ticket-shaped. */

/* ---- Fonts: self-hosted on purpose. A Google Fonts <link> sends every visitor's address to
   Google, and the page they would be loading says "zero customer data". Both files are the latin
   subset of the variable fonts Google serves; Chinese falls back to the system (OFL licensed). */
@font-face {
    font-family: 'Archivo';
    src: url(fonts/Archivo.woff2) format('woff2');
    font-weight: 400 900;
    font-stretch: 62% 125%;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url(fonts/JetBrainsMono.woff2) format('woff2');
    font-weight: 100 800;
    font-display: swap;
}

/* ---- Tokens ----------------------------------------------------------------------------------- */
:root {
    --bg: #15130f;
    --surface: #1e1b15;
    --line: #2e2a21;
    --line-strong: #4a4436;
    --ink: #f3eee2;
    --muted: #b5ab98;
    --dim: #8c8371;
    --amber: #f2a425;
    --amber-bright: #ffc14d;
    --amber-deep: #a86d0a;
    --mint: #4cc9b9;
    --hot: #ff5d3a;
    --paper: #fbf7ee;
    --paper-ink: #1b1811;

    --sans: 'Archivo', 'Segoe UI', system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
    --wrap: 1200px;
    --gutter: 32px;
}

/* ---- Base ------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--amber); }
a:hover { color: var(--amber-bright); }

h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; }

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.display {
    font-family: var(--sans);
    font-stretch: 75%;
    font-weight: 900;
    letter-spacing: -.01em;
    text-transform: uppercase;
    line-height: .92;
}

.mono { font-family: var(--mono); }

.tag {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--amber);
}

.lede {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
    text-wrap: pretty;
}

/* ---- Buttons ---------------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 16px 28px;
    border: 0;
    border-radius: 6px;
    font: 800 17px/1 var(--sans);
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
}

.btn--primary { background: var(--amber); color: var(--bg); }
.btn--primary:hover { background: var(--amber-bright); color: var(--bg); }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    padding: 16px 22px;
    border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }

.btn--small { min-height: 46px; padding: 12px 20px; font-size: 15px; }

/* ---- Header ----------------------------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); }

.site-header .wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand__word {
    font-size: 26px;
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
}
.brand__word small {
    color: var(--amber);
    font-weight: 500;
    font-stretch: 100%;
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 26px;
    align-items: center;
    flex-wrap: wrap;
}
.nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.nav a:hover { color: var(--amber); }

/* ---- Hero ------------------------------------------------------------------------------------- */
.hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); }

.hero .wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(560px, 100%), 1fr));
    gap: 48px;
    align-items: center;
}

.hero__copy { display: flex; flex-direction: column; gap: 32px; }

.hero__title {
    font-size: clamp(72px, 10vw, 128px);
    display: flex;
    flex-direction: column;
}
.hero__title em { font-style: normal; color: var(--amber); }

.hero__lede { font-size: 20px; max-width: 30em; }

.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__art {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

/* The printed kitchen ticket. */
.ticket {
    width: 280px;
    display: flex;
    flex-direction: column;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5));
    font-family: var(--mono);
}
.ticket__paper {
    background: var(--paper);
    color: var(--paper-ink);
    padding: 22px 20px 12px;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ticket__station { font-size: 22px; font-weight: 600; text-align: center; letter-spacing: .06em; }
.ticket__where { text-align: center; font-size: 12px; }
.ticket__rule { border-top: 1px dashed var(--paper-ink); margin: 6px 0; }
.ticket__meta { display: flex; justify-content: space-between; }
.ticket__meta--small { font-size: 12px; }
.ticket__item { font-size: 20px; font-weight: 600; line-height: 1.25; }
.ticket__item + .ticket__item { margin-top: 6px; }
.ticket__opt { padding-left: 14px; }
.ticket__edge { display: block; width: 100%; height: 12px; }

/* A board card: the bar across the top is how long it has waited. */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card--dark { background: var(--bg); }
.card--alarm { border-color: var(--hot); }
.card__bar { height: 8px; background: var(--line); position: relative; }
.card__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--fill, 0%);
    background: var(--bar, var(--amber));
}
.card--alarm .card__bar::before { width: 100%; background: var(--hot); }
.card__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}
.card__head { display: flex; justify-content: space-between; align-items: baseline; }
.card__who { font-size: 22px; }
.card__clock { font-family: var(--mono); font-size: 13px; color: var(--bar, var(--amber)); }
.card--alarm .card__clock { color: var(--hot); }
.card__line b { color: var(--amber); margin-right: 8px; }
.card__opt { color: var(--muted); padding-left: 16px; font-size: 13px; }
.card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
}
.card__actions span {
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}
.card__back { border: 1px solid var(--line-strong); color: var(--muted); }
.card__done { background: var(--mint); color: var(--bg); font-weight: 800; }

.hero__art .card { width: 250px; margin-top: 40px; }

@keyframes tick { 0% { opacity: 1; } 50% { opacity: .25; } 100% { opacity: 1; } }
.blink { animation: tick 1.2s steps(1) infinite; }

/* ---- Ticker ----------------------------------------------------------------------------------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--surface); }
.ticker ul {
    display: flex;
    gap: 14px 36px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px var(--gutter);
    max-width: var(--wrap);
    margin: 0 auto;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.ticker li::before { content: "\25A0  "; color: var(--amber); }

/* ---- Bands ------------------------------------------------------------------------------------ */
.band { padding: 104px 0; }
.band--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap { display: flex; flex-direction: column; gap: 48px; }
.band--split .wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
    gap: 56px;
    align-items: center;
}

.band__head {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
    gap: 40px;
    align-items: end;
}
.band__title { display: flex; flex-direction: column; gap: 16px; }
.band__title h2 { font-size: clamp(44px, 5vw, 64px); text-wrap: balance; }

.stack { display: flex; flex-direction: column; gap: 24px; }
.stack .lede { max-width: 30em; }

/* The four cells of the bill section. */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.steps li {
    background: var(--bg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.steps .tag { letter-spacing: .1em; font-size: 13px; }
.steps h3 { font-size: 34px; }
.steps p { color: var(--muted); line-height: 1.55; font-size: 15px; }

/* The mono footnotes under a section. */
.notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 12px 40px;
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}
.notes li::before { content: "> "; color: var(--amber); }
.notes--mint li::before { color: var(--mint); }

/* The board, drawn. */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 14px;
}

/* The station table. */
.matrix-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow-x: auto;
}
.matrix {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-family: var(--mono);
    font-size: 14px;
}
.matrix th, .matrix td {
    text-align: left;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.matrix thead th {
    padding: 14px 22px;
    color: var(--amber);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody th { font-weight: 600; white-space: nowrap; }
.matrix .swatch {
    display: inline-block;
    width: 6px;
    height: 28px;
    border-radius: 3px;
    background: var(--c, var(--amber));
    vertical-align: middle;
    margin-right: 10px;
}
.matrix .none { color: var(--dim); }
.matrix .yes { color: var(--mint); }

/* The three board set-ups. */
.boards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 14px;
}
.setup {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: var(--mono);
    font-size: 14px;
}
.setup__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.setup__head .display { font-size: 28px; }
.setup__head small { color: var(--dim); font-size: 12px; text-align: right; }
.setup dl { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.setup__row { display: flex; justify-content: space-between; gap: 16px; }
.setup__row dt { color: var(--muted); }
.setup__row dd { margin: 0; text-align: right; }
.setup .warn { color: var(--amber); }
.setup .alarm { color: var(--hot); }
.setup .role { color: var(--mint); }

/* The six panels of the ease section. */
.panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 14px;
}
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.panel h3 { font-size: 26px; }
.panel p { color: var(--muted); line-height: 1.55; font-size: 15px; }

/* A two-column fact table (stability, what we don't keep). */
.facts {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    font-family: var(--mono);
    font-size: 14px;
    background: var(--bg);
}
.facts div {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--amber); letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 0; }

.big-statement { font-size: clamp(64px, 8vw, 96px); text-wrap: balance; }
.big-statement em { font-style: normal; color: var(--amber); }

.photo {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    border: 1px dashed var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dim);
    text-align: center;
    padding: 24px;
    font-family: var(--mono);
}

.signature { font-family: var(--mono); color: var(--amber); font-size: 14px; }

/* ---- Call to action --------------------------------------------------------------------------- */
.cta { background: var(--amber); color: var(--bg); padding: 88px 0; }
.cta .wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
    gap: 40px;
    align-items: center;
}
.cta h2 { font-size: clamp(52px, 6vw, 80px); text-wrap: balance; }
.cta p { font-size: 18px; line-height: 1.6; font-weight: 500; text-wrap: pretty; }
.cta .stack { gap: 22px; }
.cta .btn--primary { background: var(--bg); color: var(--amber); }
.cta .btn--primary:hover { background: #000; color: var(--amber-bright); }
.cta .btn--ghost { color: var(--bg); border: 2px solid var(--bg); font-weight: 800; }
.cta .btn--ghost:hover { color: var(--bg); border-color: #000; }

/* ---- Footer ----------------------------------------------------------------------------------- */
.site-footer { padding: 36px 0; color: var(--dim); font-family: var(--mono); font-size: 13px; }
.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.site-footer .brand { gap: 10px; }
.site-footer .brand img { width: 22px; height: 22px; }
.site-footer .brand span { color: var(--ink); }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--dim); text-decoration: none; text-transform: uppercase; }
.site-footer a:hover { color: var(--ink); }

/* ---- Small screens ---------------------------------------------------------------------------- */
@media (max-width: 760px) {
    :root { --gutter: 20px; }
    .nav { display: none; }
    .hero { padding: 56px 0 48px; }
    .band { padding: 72px 0; }
    .steps li { padding: 26px 22px; }
    .facts div { grid-template-columns: 1fr; gap: 6px; }
    .cta { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .blink { animation: none; }
}
