/* ──────────────────────────────────────────────────────────────────────
   Coduko Field Ops product page (field-ops.php). Everything is scoped under .tops so
   the site's Tailwind and style.css are untouched.
   Elements marked [data-ui] are fragments of the product's own interface.
   ────────────────────────────────────────────────────────────────────── */

.tops {
    --bg: #ecebe6;
    --surface: #dfddd6;
    --ink: #17150f;
    --muted: #5b5850;
    --accent: #ffb81c;
    --accent-ink: #17150f;
    --field: #17150f;
    --field-ink: #ecebe6;
    --field-muted: #a9a59b;
    --paper: #f8f8f6;

    /* the product's own colours (crew app / office app) */
    --ui-ground: #f1f2f4;
    --ui-card: #ffffff;
    --ui-ink: #0e1217;
    --ui-soft: #5d6470;
    --ui-line: #e3e5e9;
    --ui-green: #1d7a3e;
    --ui-green-bg: #e2f3e7;
    --ui-blue: #2457d6;
    --ui-blue-bg: #e4ecfd;
    --ui-red: #c4321f;
    --ui-red-bg: #fbe6e2;

    --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
    --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
    --step-lead: clamp(1.375rem, 1rem + 1.15vw, 2.125rem);
    --step-head: clamp(2.125rem, 1.25rem + 2.9vw, 4rem);
    --step-display: clamp(3rem, 1.1rem + 5.2vw, 5.25rem);

    --m: clamp(20px, 3.2vw, 48px);
    --gap: clamp(16px, 2vw, 28px);
    --section: clamp(112px, 12vw, 200px);
    --ease: cubic-bezier(.2, .7, .1, 1);

    font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--step-body);
    line-height: 1.5;
    letter-spacing: -0.005em;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

.tops *,
.tops *::before,
.tops *::after { box-sizing: border-box; }

:where(.tops) :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
:where(.tops) :where(ul, ol) { list-style: none; }
:where(.tops) img { display: block; max-width: 100%; height: auto; }
:where(.tops) button { font: inherit; color: inherit; cursor: pointer; }
:where(.tops) a { color: inherit; }

.tops h1, .tops h2, .tops h3 {
    font-family: inherit;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.98;
    color: var(--ink);
}

.tops [data-ui] { font-family: 'DM Sans', 'Geist', Arial, sans-serif; }

.tops :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tops .t-field :focus-visible { outline-color: var(--accent); }
.tops ::selection { background: var(--accent); color: var(--ink); }

.t-wrap {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding-left: var(--m);
    padding-right: var(--m);
}

.t-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
}

.t-sec { padding-top: var(--section); }

.t-head { font-size: var(--step-head); }
.t-lead { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.02em; }
.t-small { font-size: var(--step-small); }
.t-muted { color: var(--muted); }

/* one button shape on the page: square corners, flat fill */
.t-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 0;
    background: var(--ink);
    color: var(--bg);
    font-size: var(--step-body);
    font-weight: 500;
    text-decoration: none;
    transition: transform .18s var(--ease), background-color .18s;
}
.t-btn:hover { background: #000; }
.t-btn:active { transform: translateY(1px) scale(.985); }
.t-btn svg { transition: transform .25s var(--ease); }
.t-btn:hover svg { transform: translateX(4px); }
.t-btn--accent { background: var(--accent); color: var(--accent-ink); }
.t-btn--accent:hover { background: #ffc94d; }

.t-link {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: var(--accent);
    transition: text-decoration-color .2s;
}
.t-link:hover { text-decoration-color: currentColor; }

/* ── Hero ──────────────────────────────────────────────────────────── */

.t-hero {
    position: relative;
    min-height: max(760px, calc(100svh - 76px));
    padding-top: clamp(56px, 7vw, 108px);
}
.t-hero h1 {
    grid-column: 1 / span 7;
    font-size: var(--step-display);
}
.t-hero h1 span { display: block; white-space: nowrap; }
.t-hero__copy {
    grid-column: 1 / span 5;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}
.t-hero__copy p { max-width: 34ch; }
.t-hero__copy .t-btn { margin-top: 32px; }
.t-hero__client {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
    max-width: 34ch;
    color: var(--muted);
    font-size: var(--step-small);
    line-height: 1.4;
}
.t-hero__client img { width: 44px; height: 44px; flex: none; }

.t-stage {
    position: absolute;
    top: clamp(64px, 7vw, 112px);
    bottom: 0;
    right: 0;
    left: calc(var(--m) + (100% - 2 * var(--m)) * 7 / 12 - 24px);
    background: var(--accent);
    clip-path: polygon(0 88px, 88px 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
}
@media (min-width: 1520px) {
    .t-stage { left: calc((100% - 1520px) / 2 + var(--m) + (1520px - 2 * var(--m)) * 7 / 12 - 24px); }
}
.t-stage__inner {
    position: absolute;
    top: 56px;
    left: 56px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

/* ── Fragment: crew app phone screen ─────────────────────────────── */

.ui-phone {
    width: 360px;
    min-height: 900px;
    flex: none;
    background: var(--ui-ground);
    color: var(--ui-ink);
    border-radius: 30px 30px 0 0;
    padding: 18px 18px 40px;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}
.ui-phone__bar { display: flex; align-items: center; justify-content: space-between; }
.ui-back {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--ui-card);
    display: grid; place-items: center;
}
.ui-steps { display: flex; gap: 5px; }
.ui-steps i { width: 18px; height: 5px; border-radius: 3px; background: var(--ui-green); display: block; }
.ui-steps i:last-child { background: var(--ui-ink); }
.ui-chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 12px; border-radius: 16px;
    font-size: 13px; font-weight: 600;
    background: var(--ui-blue-bg); color: var(--ui-blue);
    transition: background-color .3s, color .3s;
}
.ui-chip[data-state="sent"] { background: var(--ui-green-bg); color: var(--ui-green); }
.ui-title { display: flex; gap: 12px; align-items: center; margin: 18px 0 14px; }
.ui-title__icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--ui-green); color: #fff;
    display: grid; place-items: center; flex: none;
}
.ui-title small { display: block; font-size: 13px; color: var(--ui-soft); font-weight: 500; }
.ui-title strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.ui-card { background: var(--ui-card); border-radius: 18px; padding: 12px 16px; }
.ui-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.ui-rows dt { color: var(--ui-soft); }
.ui-rows dd { font-weight: 600; text-align: right; }
.ui-label { display: block; font-size: 13px; font-weight: 600; color: var(--ui-soft); margin: 14px 0 6px; }
.ui-pad {
    position: relative;
    height: 128px;
    border-radius: 16px;
    background: var(--ui-card);
    border: 2px dashed #8cc49d;
    touch-action: none;
    transition: border-color .2s;
}
.ui-pad.is-signed { border-style: solid; border-color: var(--ui-green); }
.ui-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; border-radius: 14px; }
.ui-pad__hint {
    position: absolute; left: 14px; top: 10px;
    font-size: 13px; font-weight: 600; color: var(--ui-green);
    pointer-events: none;
}
.ui-pad__who {
    position: absolute; left: 14px; bottom: 10px; right: 14px;
    display: flex; justify-content: space-between;
    font-size: 12px; color: var(--ui-soft);
    pointer-events: none;
}
.ui-actions { display: flex; gap: 8px; margin-top: 12px; }
.ui-btn {
    flex: 1;
    height: 52px;
    border: 0;
    border-radius: 26px;
    background: var(--accent);
    color: var(--ui-ink);
    font-weight: 700;
    font-size: 16px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: background-color .2s, opacity .2s, transform .15s;
}
.ui-btn:active { transform: scale(.98); }
.ui-btn[disabled] { background: #e3e5e9; color: #555c66; cursor: not-allowed; }
.ui-btn--ghost { flex: none; padding: 0 18px; background: var(--ui-card); font-weight: 600; font-size: 14px; }
.ui-btn--ghost:hover { background: #fff7e3; }
.ui-done {
    display: none;
    margin-top: 12px;
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--ui-blue);
    color: #fff;
    font-weight: 600;
}
.ui-done small { display: block; font-weight: 500; opacity: .85; font-size: 13px; }
.ui-done[data-state="sent"] { background: var(--ui-green); }
.ui-phone.is-approved .ui-actions { display: none; }
.ui-phone.is-approved .ui-done { display: block; }

/* ── Fragment: office app approvals panel ────────────────────────────── */

.ui-panel {
    width: 380px;
    flex: none;
    margin-top: 132px;
    background: var(--paper);
    color: var(--ui-ink);
    border-radius: 14px;
    padding: 18px 0 8px;
    font-size: 14px;
    line-height: 1.35;
}
.ui-panel__head { padding: 0 18px 12px; }
.ui-panel__head strong { display: block; font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.ui-panel__head span { color: var(--ui-soft); font-size: 13px; }
.ui-panel ul li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 12px 18px;
    border-top: 1px solid var(--ui-line); /* taste-skill-ignore: inside a data-ui product fragment */
    transition: background-color .4s;
}
.ui-panel b { font-weight: 600; }
.ui-panel em { font-style: normal; color: var(--ui-soft); font-size: 13px; }
.ui-panel .amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.ui-tag {
    justify-self: end;
    font-size: 12px; font-weight: 600;
    padding: 2px 8px; border-radius: 10px;
    background: #efece4; color: #6b5a2e;
}
.ui-tag--ok { background: var(--ui-green-bg); color: var(--ui-green); }
.ui-tag--new { background: #fff1cc; color: #7a5600; }
.ui-panel li[data-new] { display: none; }
.ui-panel li[data-new].is-in { display: grid; background: #fff7e0; animation: t-rowin .6s var(--ease); }
@keyframes t-rowin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ── Intro statement ─────────────────────────────────────────────── */

.t-intro p {
    grid-column: 3 / span 8;
    font-size: clamp(1.5rem, 0.9rem + 1.6vw, 2.25rem);
    line-height: 1.24;
    letter-spacing: -0.025em;
    font-weight: 500;
    max-width: 31em;
}
.t-thumb {
    display: inline-block;
    height: 0.9em;
    width: 1.75em;
    vertical-align: -0.12em;
    margin: 0 0.12em;
    border-radius: 0.14em;
    overflow: hidden;
    background: var(--surface);
}
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Crew app (dark field) ────────────────────────────────────────── */

.t-field {
    background: var(--field);
    color: var(--field-ink);
    padding: var(--section) 0;
    margin-top: var(--section);
}
.t-field h2 { color: var(--field-ink); }
.t-crew__top { align-items: end; }
.t-crew__top h2 { grid-column: 1 / span 7; }
.t-crew__top p { grid-column: 9 / span 4; color: var(--field-ink); }
.t-crew__shots {
    margin-top: clamp(56px, 6vw, 96px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
}
.t-crew__shots figure img {
    width: 100%;
    aspect-ratio: 390 / 844;
    object-fit: cover;
    border-radius: 22px;
    background: #f1f2f4;
}
.t-crew__shots figcaption { margin-top: 18px; color: var(--field-ink); max-width: 30ch; }
.t-crew__shots figcaption b { display: block; font-weight: 600; }
.t-crew__shots figcaption span { color: var(--field-muted); }
.t-crew__shots figure:nth-child(even) { margin-top: 72px; }

/* ── Ticket to cash (pinned) ─────────────────────────────────────── */

.t-flow h2 { grid-column: 1 / span 5; font-size: var(--step-head); }
.t-flow__steps { grid-column: 1 / span 5; }
.t-flow__step {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.t-flow__step:first-child { min-height: 44vh; justify-content: flex-start; padding-top: 72px; }
.t-flow__step h3 {
    font-size: var(--step-lead);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--muted);
    transition: color .3s;
}
.t-flow__step p { margin-top: 14px; max-width: 40ch; color: var(--muted); transition: color .3s; }
.t-flow__step.is-active h3, .t-flow__step.is-active p { color: var(--ink); }
.t-flow__stage {
    grid-column: 7 / span 6;
    grid-row: 1 / span 2;
    position: sticky;
    top: 16vh;
    align-self: start;
    background: var(--surface);
    padding: clamp(24px, 4vw, 56px);
    margin-top: 8px;
}

.ui-job {
    background: var(--paper);
    border-radius: 14px;
    color: var(--ui-ink);
    font-size: 14px;
    line-height: 1.4;
    max-width: 520px;
    overflow: hidden;
}
.ui-job__head { padding: 20px 22px 16px; display: flex; justify-content: space-between; gap: 16px; }
.ui-job__head strong { display: block; font-size: 20px; letter-spacing: -0.025em; font-weight: 650; }
.ui-job__head span { color: var(--ui-soft); font-size: 13px; }
.ui-move { text-align: right; flex: none; }
.ui-move small { display: block; color: var(--ui-soft); font-size: 12px; }
.ui-move b {
    display: inline-block; margin-top: 4px;
    font-size: 13px; font-weight: 650;
    padding: 4px 10px; border-radius: 12px;
    background: #fff1cc; color: #7a5600;
}
.ui-move b[data-who="customer"] { background: var(--ui-blue-bg); color: var(--ui-blue); }
.ui-move b[data-who="done"] { background: var(--ui-green-bg); color: var(--ui-green); }
.ui-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 22px; background: #f4f2ec; }
.ui-facts small { display: block; color: var(--ui-soft); font-size: 12px; }
.ui-facts b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ui-timeline { padding: 10px 22px 18px; }
.ui-timeline li {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid var(--ui-line); /* taste-skill-ignore: inside a data-ui product fragment */
    color: #6b7280;
    transition: color .35s;
}
.ui-timeline li:last-child { border-bottom: 0; }
.ui-timeline .dot {
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid #cfd3d8; margin-top: 1px;
    display: grid; place-items: center;
    transition: background-color .35s, border-color .35s;
}
.ui-timeline .dot svg { opacity: 0; transition: opacity .3s; }
.ui-timeline b { display: block; font-weight: 600; }
.ui-timeline em { font-style: normal; font-size: 13px; }
.ui-timeline time { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ui-timeline li.is-done { color: var(--ui-ink); }
.ui-timeline li.is-done em, .ui-timeline li.is-done time { color: var(--ui-soft); }
.ui-timeline li.is-done .dot { background: var(--ui-green); border-color: var(--ui-green); }
.ui-timeline li.is-done .dot svg { opacity: 1; }
.ui-timeline li.is-now { color: var(--ui-ink); }
.ui-timeline li.is-now .dot { border-color: #e0a100; background: #fff1cc; }
.ui-timeline li.is-now em, .ui-timeline li.is-now time { color: var(--ui-soft); }

/* ── Paperwork (output index) ────────────────────────────────────── */

.t-docs__list { grid-column: 1 / span 5; align-self: start; position: sticky; top: 120px; }
.t-docs__list h2 { font-size: var(--step-lead); letter-spacing: -0.025em; line-height: 1.15; max-width: 16em; }
.t-docs__list p { margin-top: 14px; max-width: 38ch; }
.t-docs__names { margin-top: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.t-docs__names button {
    border: 0; background: none; padding: 0;
    font-size: var(--step-head);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: var(--muted);
    text-align: left;
    transition: color .2s, transform .25s var(--ease);
}
.t-docs__names button:hover { color: var(--ink); transform: translateX(6px); }
.t-docs__names button[aria-selected="true"] { color: var(--ink); }
.t-docs__names button[aria-selected="true"]::after {
    content: '';
    display: inline-block;
    width: 0.32em; height: 0.32em;
    margin-left: 0.25em;
    background: var(--accent);
    vertical-align: 0.12em;
}
.t-docs__stage {
    grid-column: 7 / span 6;
    background: var(--surface);
    height: min(88svh, 900px);
    min-height: 640px;
    position: relative;
    overflow: hidden;
}
.t-sheet {
    position: absolute;
    top: 64px;
    left: 56px;
    width: 560px;
    background: #fff;
    color: #1d2127;
    font-size: 12px;
    line-height: 1.4;
    padding: 36px 40px 48px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .22s, transform .3s var(--ease), visibility 0s .22s;
}
.t-sheet.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s var(--ease), visibility 0s; }
.t-sheet__top { display: flex; justify-content: space-between; align-items: flex-start; }
.t-sheet__top img { width: 140px; margin-top: 6px; }
.t-sheet__top .no { text-align: right; }
.t-sheet__top .no small { display: block; font-size: 10px; font-weight: 700; color: #6b7280; letter-spacing: .04em; }
.t-sheet__top .no b { display: block; font-size: 22px; font-weight: 800; }
.t-sheet__top .no span { color: #6b7280; }
.t-sheet__band { height: 6px; margin: 16px -40px 22px; background: linear-gradient(90deg, #061437 70%, #03ffa2 70%); } /* taste-skill-ignore: inside a data-ui product fragment */
.t-sheet h3 { font-size: 17px; letter-spacing: 0; line-height: 1.2; font-weight: 700; color: #1d2127; }
.t-sheet .sub { color: #6b7280; margin-top: 3px; }
.t-sheet .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 14px; background: #f4f5f7; padding: 14px 16px; margin: 16px 0; }
.t-sheet .facts small { display: block; font-size: 9px; font-weight: 700; color: #6b7280; }
.t-sheet .k { font-size: 10px; font-weight: 700; color: #6b7280; margin-top: 14px; }
.t-sheet table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.t-sheet th { font-size: 10px; color: #6b7280; font-weight: 600; text-align: left; padding: 6px 0; border-bottom: 1px solid #e5e7eb; }
.t-sheet td { padding: 7px 0; border-bottom: 1px solid #eef0f2; vertical-align: top; }
.t-sheet td small { display: block; color: #6b7280; font-size: 10px; }
.t-sheet .r { text-align: right; font-variant-numeric: tabular-nums; }
.t-sheet .total td { border-top: 2px solid #1d2127; border-bottom: 0; font-size: 15px; font-weight: 700; padding-top: 10px; }
.t-sheet .sign { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; }
.t-sheet .sign > div { border-top: 1px solid #9ca3af; padding-top: 6px; position: relative; } /* taste-skill-ignore: inside a data-ui product fragment */
.t-sheet .sign img, .t-sheet .sign svg { position: absolute; bottom: 100%; left: 0; height: 44px; width: auto; max-width: 100%; }
.t-sheet .sign b { display: block; }
.t-sheet .sign span { color: #6b7280; font-size: 10px; }
.t-sheet--narrow { width: 470px; }

/* ── Settings switches ───────────────────────────────────────────── */

.t-switches__head { margin-bottom: clamp(40px, 5vw, 72px); }
.t-switches__head h2 { grid-column: 1 / span 7; font-size: var(--step-head); }
.t-switches__head p { grid-column: 9 / span 4; align-self: end; }
.t-band {
    background: var(--bg);
    transition: background-color .35s var(--ease);
}
.t-band[data-on="true"]:nth-child(1) { background: var(--accent); }
.t-band[data-on="true"]:nth-child(2) { background: var(--surface); }
.t-band[data-on="true"]:nth-child(3) { background: #d5d2c8; }
.t-band[data-on="true"]:nth-child(4) { background: var(--accent); }
.t-band[data-on="true"]:nth-child(5) { background: var(--surface); }
.t-band__in {
    min-height: max(150px, 18vh);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 22px;
    cursor: pointer;
}
.t-band__text h3 {
    font-size: var(--step-lead);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--muted);
    transition: color .25s;
}
.t-band[data-on="true"] h3 { color: var(--ink); }
.t-band__text p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    max-width: 60ch;
    transition: max-height .4s var(--ease), opacity .3s, margin-top .3s;
}
.t-band[data-on="true"] .t-band__text p { max-height: 6em; opacity: 1; margin-top: 10px; }

.ui-switch {
    flex: none;
    position: relative;
    width: 76px;
    height: 44px;
    border-radius: 22px;
    border: 0;
    padding: 0;
    background: #b9b6ac;
    transition: background-color .25s;
}
.ui-switch::after {
    content: '';
    position: absolute;
    top: 4px; left: 4px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    transition: transform .3s var(--ease);
}
.ui-switch[aria-checked="true"] { background: var(--ink); }
.ui-switch[aria-checked="true"]::after { transform: translateX(32px); }

/* ── Schedule (day tabs, banded agenda) ──────────────────────────── */

.t-week__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.t-week__top h2 { font-size: var(--step-head); }
.t-week__top h2 span { color: var(--muted); display: block; }
.t-week__body { display: grid; grid-template-columns: 168px 1fr; gap: 32px; margin-top: 56px; }
.t-days { display: flex; flex-direction: column; gap: 6px; }
.t-days button {
    width: 100%;
    height: 68px;
    border: 0;
    border-radius: 0;
    background: var(--surface);
    text-align: left;
    padding: 0 18px;
    transition: background-color .2s, color .2s;
}
.t-days button:hover { background: #d3d0c7; }
.t-days button b { display: block; font-weight: 600; font-size: 17px; }
.t-days button span { font-size: 14px; color: var(--muted); }
.t-days button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.t-days button[aria-selected="true"] span { color: var(--field-muted); }
.t-day { display: none; }
.t-day.is-on { display: flex; flex-direction: column; gap: 4px; animation: t-fade .3s var(--ease); }
@keyframes t-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.t-slot {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 84px;
    padding: 12px 22px;
    background: var(--surface);
}
.t-slot:nth-child(even) { background: #e6e4dd; }
.t-slot time { font-size: 20px; font-variant-numeric: tabular-nums; font-weight: 500; }
.t-slot b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.t-slot small { display: block; font-size: 14px; color: var(--muted); }
.t-slot__who { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); text-align: right; }
.t-slot__who b { font-size: 15px; color: var(--ink); font-weight: 500; }
.t-faces { display: flex; }
.t-faces i {
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    font-style: normal; font-size: 12px; font-weight: 600;
    background: var(--ink); color: var(--bg);
    border: 2px solid var(--surface);
    margin-left: -8px;
}
.t-faces i:first-child { margin-left: 0; background: var(--accent); color: var(--ink); }
.t-slot__flag { color: #8a5a00; font-weight: 600; }

/* ── Office modules ──────────────────────────────────────────────── */

.t-office__pic { grid-column: 1 / span 7; position: relative; }
.t-office__pic .frame {
    background: var(--surface);
    padding: clamp(20px, 3vw, 44px) 0 0 clamp(20px, 3vw, 44px);
    overflow: hidden;
    height: clamp(420px, 46vw, 700px);
}
.t-office__pic img { width: 1440px; max-width: none; border-radius: 10px 0 0 0; }
.t-office__pic figcaption { margin-top: 14px; color: var(--muted); font-size: var(--step-small); }
.t-office__list { grid-column: 9 / span 4; }
.t-office__list h2 { font-size: var(--step-head); }
.t-office__list > p { margin-top: 18px; }
.t-office__list dl { margin-top: 36px; display: grid; gap: 20px; }
.t-office__list dt { font-weight: 600; }
.t-office__list dd { color: var(--ink); }

/* ── Letter ──────────────────────────────────────────────────────── */

.t-letter { padding-top: var(--section); }
.t-letter__in {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
}
.t-letter__title { grid-column: 1 / span 4; font-size: var(--step-head); }
.t-letter__body { grid-column: 6 / span 6; max-width: 600px; }
.t-letter__body .mark { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-bottom: 28px; }
.t-letter__body .mark img { width: 30px; }
.t-letter__body p + p { margin-top: 1.1em; }
.t-letter__body mark { background: var(--accent); color: inherit; padding: 0 .15em; }
.t-letter__sign { margin-top: 32px; }
.t-letter__sign b { display: block; font-size: 22px; font-weight: 500; font-style: italic; letter-spacing: -0.02em; }
.t-letter__sign span { font-size: var(--step-small); color: var(--muted); }

/* ── FAQ (question index, one answer) ────────────────────────────── */

.t-faq__list { grid-column: 1 / span 5; }
.t-faq__list h2 { font-size: var(--step-head); margin-bottom: 36px; }
.t-faq__list ul { display: flex; flex-direction: column; gap: 4px; }
.t-q {
    width: 100%;
    display: flex;
    gap: 14px;
    align-items: baseline;
    border: 0;
    background: none;
    padding: 10px 0;
    text-align: left;
    font-size: 18px;
    color: var(--muted);
    transition: color .2s;
}
.t-q::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #b9b6ac; transform: translateY(-1px); transition: background-color .2s; }
.t-q:hover, .t-q[aria-expanded="true"] { color: var(--ink); }
.t-q[aria-expanded="true"]::before { background: var(--ink); }
.t-a-inline { display: none; }
.t-faq__pane { grid-column: 7 / span 6; position: sticky; top: 120px; align-self: start; min-height: 320px; padding-top: 4px; }
.t-faq__pane p { font-size: clamp(1.25rem, 0.95rem + 0.8vw, 1.75rem); line-height: 1.32; letter-spacing: -0.015em; max-width: 30ch; animation: t-fade .25s var(--ease); }

/* ── Closing sentence with a blank ───────────────────────────────── */

.t-cta { padding: var(--section) 0 calc(var(--section) + 80px); }
.t-cta form {
    font-size: clamp(2.25rem, 0.8rem + 4.6vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.12;
    max-width: 14em;
}
.t-cta h2 { font-size: inherit; line-height: inherit; display: inline; }
.t-cta label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.t-cta input {
    font: inherit;
    letter-spacing: -0.03em;
    width: 7.2em;
    height: 1.08em;
    padding: 0 0.22em;
    vertical-align: -0.12em;
    border: 0;
    border-radius: 0;
    background: var(--surface);
    color: var(--ink);
}
.t-cta input::placeholder { color: #8b887f; }
.t-cta input:focus { outline: 3px solid var(--ink); outline-offset: 0; background: #fff; }
.t-cta button[type="submit"] {
    font: inherit;
    letter-spacing: inherit;
    height: 1.08em;
    padding: 0 0.28em;
    vertical-align: -0.12em;
    border: 0;
    border-radius: 0;
    background: var(--accent);
    color: var(--ink);
    transition: background-color .2s, transform .15s;
}
.t-cta button[type="submit"]:hover { background: #ffc94d; }
.t-cta button[type="submit"]:active { transform: translateY(2px); }
.t-cta__note { margin-top: 28px; color: var(--muted); max-width: 52ch; }

/* ── Motion (only when JS runs; content is visible without it) ──── */

.js .t-rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .t-rise.is-in { opacity: 1; transform: none; }
.js .t-stage { clip-path: polygon(100% 88px, 100% 0, 100% 0, 100% 100%, 100% 100%); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1) .15s; }
.js .t-stage.is-in { clip-path: polygon(0 88px, 88px 0, 100% 0, 100% 100%, 0 100%); }
.js .t-stage__inner { transform: scale(1.06) translateX(40px); transform-origin: left top; transition: transform 1.3s var(--ease) .2s; }
.js .t-stage.is-in .t-stage__inner { transform: none; }
.t-office__pic img { transition: transform 1.6s var(--ease); }
.t-office__pic.is-in img { transform: translateX(-36px); }

@media (prefers-reduced-motion: reduce) {
    .js .t-rise, .js .t-stage, .js .t-stage__inner, .t-office__pic img { transition: none !important; opacity: 1 !important; transform: none !important; }
    .js .t-stage { clip-path: polygon(0 88px, 88px 0, 100% 0, 100% 100%, 0 100%); }
    .t-sheet, .t-band, .t-band__text p { transition: none; }
}

/* ── Tablet ──────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .t-hero h1 { grid-column: 1 / -1; }
    .t-hero__copy { grid-column: 1 / span 6; }
    .t-hero { min-height: 0; }
    .t-stage {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        margin-top: 56px;
        height: 700px;
    }
    .t-stage__inner { left: var(--m); }
    .t-crew__top h2 { grid-column: 1 / -1; }
    .t-crew__top p { grid-column: 1 / span 8; margin-top: 24px; }
    .t-crew__shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t-crew__shots figure:nth-child(even) { margin-top: 0; }
    .t-docs__list { grid-column: 1 / span 5; }
    .t-docs__stage { grid-column: 6 / span 7; }
    .t-sheet { left: 32px; }
    .t-office__pic { grid-column: 1 / -1; }
    .t-office__list { grid-column: 1 / -1; margin-top: 56px; }
    .t-office__list dl { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
    .t-letter__title { grid-column: 1 / -1; margin-bottom: 40px; }
    .t-letter__body { grid-column: 1 / span 10; }
    .t-switches__head h2 { grid-column: 1 / -1; }
    .t-switches__head p { grid-column: 1 / span 8; margin-top: 20px; }
}

@media (max-width: 900px) {
    .t-hero { min-height: 0; padding-bottom: 0; }
    .t-hero__copy { grid-column: 1 / -1; }
    .t-stage {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        margin-top: 48px;
        height: 660px;
        clip-path: polygon(0 72px, 72px 0, 100% 0, 100% 100%, 0 100%);
    }
    .js .t-stage.is-in { clip-path: polygon(0 72px, 72px 0, 100% 0, 100% 100%, 0 100%); }
    .t-stage__inner { top: 40px; left: 16px; right: 16px; flex-direction: column; gap: 20px; align-items: stretch; }
    .ui-phone { width: 100%; max-width: 380px; }
    .ui-panel { display: none; }
    .t-intro p { grid-column: 1 / -1; }
    .t-crew__top p, .t-switches__head p { grid-column: 1 / -1; }
    .t-flow h2, .t-flow__steps { grid-column: 1 / -1; }
    .t-flow__stage { grid-column: 1 / -1; grid-row: 2; position: relative; top: auto; padding: 16px; margin: 32px calc(-1 * var(--m)) 0; }
    .t-flow__steps { grid-row: 3; }
    .t-flow__step, .t-flow__step:first-child { min-height: 0; padding-top: 40px; justify-content: flex-start; }
    .t-flow__step h3, .t-flow__step p { color: var(--ink); }
    .t-docs__list { grid-column: 1 / -1; position: static; }
    .t-docs__names { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; margin: 28px calc(-1 * var(--m)) 0; padding: 0 var(--m) 8px; }
    .t-docs__names button { font-size: 24px; white-space: nowrap; scroll-snap-align: start; }
    .t-docs__names button:hover { transform: none; }
    .t-docs__stage { grid-column: 1 / -1; margin: 20px calc(-1 * var(--m)) 0; height: 70svh; min-height: 560px; }
    .t-sheet { top: 16px; left: 16px; }
    .t-week__body { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
    .t-days { flex-direction: row; position: sticky; top: 64px; z-index: 3; background: var(--bg); padding: 8px 0; }
    .t-days button { height: 60px; padding: 0 8px; text-align: center; }
    .t-days button b { font-size: 15px; }
    .t-days button span { font-size: 13px; }
    .t-slot { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
    .t-slot__who { justify-content: flex-start; text-align: left; flex-direction: row-reverse; justify-content: flex-end; }
    .t-faq__list { grid-column: 1 / -1; }
    .t-faq__pane { display: none; }
    .t-a-inline { display: block; padding: 4px 0 14px 23px; font-size: 19px; line-height: 1.4; }
    .t-a-inline[hidden] { display: none; }
}

@media (max-width: 560px) {
    .t-hero h1 { font-size: 11.4vw; }
    .t-crew__shots { gap: 32px 14px; }
    .t-crew__shots figure img { border-radius: 14px; }
    .t-crew__shots figcaption { font-size: 15px; margin-top: 12px; }
    .t-office__list dl { grid-template-columns: 1fr; }
    .t-office__pic .frame { height: 420px; }
    .t-office__pic img { width: 820px; }
    .t-band__in { min-height: 132px; }
    .t-cta form { font-size: 10.5vw; }
    .t-cta input { display: block; width: 100%; font-size: 22px; letter-spacing: 0; height: 56px; padding: 0 16px; margin: 20px 0 12px; vertical-align: 0; }
    .t-cta button[type="submit"] { font-size: 22px; letter-spacing: 0; height: 56px; padding: 0 28px; vertical-align: 0; }
    .t-letter__body { grid-column: 1 / -1; }
}

@media (min-width: 700px) and (max-width: 1100px) {
    .t-stage__inner { flex-direction: row; right: auto; left: var(--m); }
    .ui-phone { width: 340px; }
    .ui-panel { display: block; width: 340px; margin-top: 96px; }
}
