/*
Theme Name: Pacific Throughput
Description: Plain, fast theme for Pacific Throughput. Design context in /.impeccable.md.
Version: 0.4.0
Author: Pacific Throughput
Text Domain: pt
*/

/* ========================================
   TOKENS
   ======================================== */
:root {
    /* Color: tinted paper + Pacific ink (hue ~235), one rare safety-orange accent */
    --paper:      oklch(0.975 0.006 235);
    --paper-2:    oklch(0.945 0.010 235);
    --paper-3:    oklch(0.915 0.013 235);
    --ink:        oklch(0.22 0.035 245);
    --ink-2:      oklch(0.36 0.030 245);
    --muted:      oklch(0.50 0.022 245);
    --rule:       oklch(0.86 0.015 235);
    --rule-strong: var(--ink);
    --pacific:    oklch(0.42 0.080 230);
    --signal:     oklch(0.66 0.185 45);   /* high-vis orange: the manual gap + the price, nothing else */
    --signal-ink: oklch(0.52 0.160 42);   /* orange dark enough for text on paper */

    --on-ink:       oklch(0.95 0.010 235);
    --on-ink-muted: oklch(0.78 0.020 235);
    --ink-rule:     oklch(0.36 0.035 245);

    /* Type */
    --display: 'Barlow Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
    --ui:      'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --body:    'Source Serif 4', Georgia, 'Times New Roman', serif;

    --text-sm:   0.875rem;
    --text-base: 1.0625rem;
    --text-lg:   clamp(1.2rem, 1rem + 0.6vw, 1.4rem);
    --text-h3:   1.4rem;
    --text-h2:   clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
    --text-h1:   clamp(2.9rem, 1.6rem + 5.6vw, 6.4rem);

    /* Space: 4pt scale */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs:  0.75rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2rem;
    --space-xl:  3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --section:   clamp(4rem, 2rem + 8vw, 8rem);

    --measure: 36rem;
    --wide:    74rem;
    --gutter:  clamp(1rem, 0.5rem + 3vw, 2.5rem);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================
   BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: var(--text-base);
    line-height: 1.6;
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--pacific); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    margin: 0;
    text-wrap: balance;
}
h1 { font-size: var(--text-h1); font-weight: 700; line-height: 0.94; letter-spacing: -0.015em; }
h2 { font-size: var(--text-h2); }
h3 { font-family: var(--ui); font-size: 1.1rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }

p { margin: 0; max-width: var(--measure); }
p + p { margin-top: var(--space-sm); }

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

.eyebrow {
    font-family: var(--ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--space-md);
}

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--ink); color: var(--paper); padding: var(--space-2xs) var(--space-sm);
    font-family: var(--ui);
}
.skip-link:focus { left: 0; z-index: 100; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ========================================
   HEADER
   ======================================== */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: 4.5rem;
}

.site-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}
.site-name:hover { color: var(--ink); }
.site-name .mark {
    width: 1.5rem; height: 0.9rem;
    display: inline-block;
    background:
        linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 3px no-repeat,
        linear-gradient(var(--ink), var(--ink)) 0 50% / 72% 3px no-repeat,
        linear-gradient(var(--signal), var(--signal)) 0 100% / 44% 3px no-repeat;
}

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-lg); align-items: center; }
.main-nav a { font-family: var(--ui); font-weight: 500; color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.main-nav a:hover, .main-nav .current a { color: var(--ink); text-decoration: underline; }
.main-nav .nav-cta a {
    display: inline-block;
    background: var(--ink); color: var(--paper);
    padding: 0.6rem 1rem; border-radius: 2px;
}
.main-nav .nav-cta a:hover { background: var(--pacific); text-decoration: none; }

.menu-toggle {
    display: none;
    background: none; border: 1px solid var(--rule); border-radius: 2px;
    width: 2.75rem; height: 2.75rem; padding: 0.7rem 0.6rem; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; }

/* The shell has one nav item; only collapse into a menu when there's more than one */
@media (max-width: 760px) {
    .site-header { position: relative; }
    .has-menu .menu-toggle { display: block; }
    .has-menu .main-nav { display: none; position: absolute; left: 0; right: 0; top: 4.5rem; background: var(--paper); border-bottom: 1px solid var(--rule); z-index: 10; }
    .has-menu .main-nav.is-open { display: block; }
    .has-menu .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2xs) var(--gutter) var(--space-sm); }
    .has-menu .main-nav li a { display: block; padding: var(--space-xs) 0; }
    .has-menu .main-nav .nav-cta a { text-align: center; margin-top: var(--space-2xs); }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    font: 600 1rem/1 var(--ui);
    padding: 0 1.4rem;
    border-radius: 2px;
    text-decoration: none;
    border: 1.5px solid var(--ink);
    transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--pacific); border-color: var(--pacific); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-primary::after { content: "\2192"; margin-left: 0.6em; transition: transform .2s var(--ease-out); }
.btn-primary:hover::after { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: var(--section) 0; }
.section-alt { background: var(--paper-2); }

.section-head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.section-head .eyebrow { margin-bottom: 0; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: var(--text-lg); line-height: 1.5; max-width: 40rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3.5rem, 2rem + 7vw, 8rem); }
.hero h1 { max-width: 13.5em; }
.hero h1 .quiet { color: var(--pacific); }

.hero-foot {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--space-lg) var(--space-2xl);
    align-items: end;
    margin-top: clamp(2rem, 1rem + 3vw, 3.5rem);
    padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}
.hero .lede { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 34rem; }
.hero .actions { justify-content: flex-end; }

.manifest { border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.manifest-inner {
    display: flex; align-items: center; gap: var(--space-md);
    min-height: 3.25rem;
    font-family: var(--ui); font-size: 0.95rem;
}
.manifest-label {
    font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--signal-ink);
}
.manifest ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); }
.manifest li { font-weight: 500; color: var(--ink); }

@media (max-width: 860px) {
    .hero-foot { grid-template-columns: 1fr; align-items: start; }
    .hero .actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
    .actions .btn { flex: 1 1 100%; justify-content: center; }
    .manifest-inner { align-items: flex-start; padding: var(--space-sm) var(--gutter); }
    .manifest-label { padding-top: 0.15rem; }
    .manifest ul { gap: var(--space-3xs) var(--space-md); }
}

/* ---------- The problem ---------- */
.enemy-head { max-width: 15em; }

.handoff {
    display: flex; align-items: center;
    max-width: 46rem;
    margin: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0;
    font-family: var(--ui);
}
.handoff-box {
    flex: none;
    border: 1.5px solid var(--ink);
    padding: 0.85rem 1.1rem;
    font-weight: 600; font-size: 1rem;
    background: var(--paper);
}
.handoff-gap {
    flex: 1;
    position: relative;
    height: 2px;
    margin: 0 var(--space-2xs);
    background-image: linear-gradient(90deg, var(--signal) 55%, transparent 0);
    background-size: 12px 2px;
}
.handoff-gap::after {   /* arrowhead */
    content: ""; position: absolute; right: -2px; top: 50%;
    width: 9px; height: 9px;
    border-top: 2px solid var(--signal); border-right: 2px solid var(--signal);
    transform: translateY(-50%) rotate(45deg);
}
.handoff-gap span {
    position: absolute; left: 50%; bottom: 0.7rem; transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--signal-ink);
}

.enemy-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--rule);
    padding-top: var(--space-lg);
}
.enemy-body p { margin: 0; color: var(--ink-2); }
.enemy-body .pull {
    font-family: var(--display); font-weight: 600;
    font-size: 1.6rem; line-height: 1.12;
    color: var(--ink);
}
@media (max-width: 860px) {
    .enemy-body { grid-template-columns: 1fr; }
    .enemy-body .pull { order: -1; }
}
@media (max-width: 480px) {
    .handoff-box { padding: 0.7rem 0.75rem; font-size: 0.9rem; }
    .handoff-gap span { font-size: 0.7rem; letter-spacing: 0.06em; }
}

/* ---------- Common fixes: ledger ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.ledger li {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.35fr) 10rem;
    gap: var(--space-2xs) var(--space-lg);
    align-items: baseline;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--rule);
}
.ledger-n { font-family: var(--ui); font-size: 0.85rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ledger h3 { font-family: var(--display); font-size: var(--text-h3); font-weight: 600; line-height: 1.1; }
.ledger p { color: var(--ink-2); font-size: 1rem; }
.ledger-tag {
    justify-self: end;
    font-family: var(--ui); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 860px) {
    .ledger li { grid-template-columns: 2.25rem minmax(0, 1fr); }
    .ledger p, .ledger-tag { grid-column: 2; }
    .ledger-tag { justify-self: start; }
}

.principles {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: var(--space-lg) var(--space-2xl);
    margin-top: var(--space-2xl);
}
.principles h3 { margin-bottom: var(--space-2xs); }
.principles p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Diagnostic: work-order ticket ---------- */
.diag {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: var(--space-xl) clamp(2rem, 1rem + 5vw, 6rem);
    align-items: start;
}
.diag-intro { position: sticky; top: var(--space-xl); }
.diag-intro h2 { margin-bottom: var(--space-md); }
.diag-intro p { color: var(--ink-2); }
@media (max-width: 900px) {
    .diag { grid-template-columns: 1fr; }
    .diag-intro { position: static; }
}

.ticket {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    box-shadow: 6px 6px 0 var(--paper-3);
    font-family: var(--ui);
}
.ticket-head {
    display: flex; justify-content: space-between;
    padding: var(--space-xs) var(--space-md);
    background: var(--ink); color: var(--paper);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.ticket-fields {
    margin: 0;
    display: grid; grid-template-columns: 1.3fr 1fr 1.25fr;
    border-bottom: 1.5px solid var(--ink);
}
.field { padding: var(--space-sm) var(--space-md) var(--space-md); }
.field + .field { border-left: 1px solid var(--rule); }
.field dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-2xs); }
.field dd { margin: 0; font-weight: 500; line-height: 1.35; }
.field-price dd { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.price {
    font-family: var(--display); font-weight: 700;
    font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem); line-height: 0.9;
    font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.stamp {
    display: inline-block;
    border: 2px solid var(--signal); color: var(--signal-ink);
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    transform: rotate(-6deg);
    border-radius: 2px;
}
@media (max-width: 560px) {
    .ticket-fields { grid-template-columns: 1fr 1fr; }
    .field-price { grid-column: 1 / -1; border-bottom: 1px solid var(--rule); }
    .field + .field { border-left: 0; }
    .field:last-child { border-left: 1px solid var(--rule); }
}

.ticket-steps {
    list-style: none; counter-reset: step; margin: 0;
    padding: var(--space-2xs) var(--space-md);
    font-family: var(--body);
}
.ticket-steps li {
    counter-increment: step;
    display: grid; grid-template-columns: 2rem 1fr; gap: var(--space-2xs);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--rule);
}
.ticket-steps li:last-child { border-bottom: 0; }
.ticket-steps li::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--ui); font-size: 0.8rem; font-weight: 600; color: var(--muted);
    padding-top: 0.2rem; font-variant-numeric: tabular-nums;
}
.ticket-foot { padding: 0 var(--space-md) var(--space-md); }

/* ---------- How it works: route line ---------- */
.route {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
}
.route::before {   /* the line through the stops */
    content: ""; position: absolute; left: 0; right: calc(100% / 3 - 1.1rem); top: 0.55rem;
    height: 2px; background: var(--ink);
}
.stop { position: relative; padding-right: var(--space-xl); }
.stop-dot {
    display: block; width: 1.1rem; height: 1.1rem;
    border: 2px solid var(--ink); border-radius: 50%;
    background: var(--paper-2);
    position: relative;
    margin-bottom: var(--space-md);
}
.stop:first-child .stop-dot { background: var(--ink); }
.stop-label {
    display: block; font-family: var(--ui);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); margin-bottom: var(--space-2xs);
}
.stop-price {
    display: block; font-family: var(--display); font-weight: 700;
    font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1;
    font-variant-numeric: tabular-nums; margin-bottom: var(--space-sm);
}
.stop-price small { font-family: var(--ui); font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.stop p { color: var(--ink-2); font-size: 1rem; }
.footnote { margin-top: var(--space-2xl); color: var(--muted); font-family: var(--ui); font-size: 0.95rem; }

@media (max-width: 760px) {
    .route { grid-template-columns: 1fr; gap: var(--space-xl); padding-left: var(--space-lg); }
    .route::before { left: 0.5rem; right: auto; top: 0.5rem; bottom: 0.5rem; width: 2px; height: auto; }
    .stop { padding-right: 0; }
    .stop-dot { position: absolute; left: calc(-1 * var(--space-lg)); top: 0.1rem; margin: 0; }
}

/* ---------- Proof: the one ink band ---------- */
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink h2 { color: var(--on-ink); }
.proof {
    display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--space-xl) clamp(2rem, 1rem + 5vw, 6rem);
}
.proof-body { line-height: 1.7; }
.proof-body > p { color: var(--on-ink-muted); }
.proof-list { list-style: none; margin: var(--space-lg) 0; padding: 0; border-top: 1px solid var(--ink-rule); }
.proof-list li {
    display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--space-2xs);
    padding: var(--space-sm) 0; border-bottom: 1px solid var(--ink-rule);
    color: var(--on-ink);
}
.proof-list li::before { content: "\2713"; font-family: var(--ui); font-weight: 600; color: var(--on-ink-muted); }
.proof-body .proof-close { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; color: var(--on-ink); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* ---------- Who it's for ---------- */
.fit { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-lg) clamp(2rem, 1rem + 5vw, 6rem); }
.fit-lead { font-size: var(--text-lg); line-height: 1.45; }
.fit-body p:not(.fit-lead) { color: var(--ink-2); }
.not-list { color: var(--muted) !important; font-size: 0.95rem; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } }

/* ---------- Contact + intake form ---------- */
.contact { background: var(--paper-2); border-top: 1.5px solid var(--ink); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-xl) clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); margin-bottom: var(--space-md); }
.contact-intro > p { color: var(--ink-2); }
.contact-intro { position: sticky; top: var(--space-xl); }
.contact-card { display: grid; gap: var(--space-3xs); font-family: var(--ui); border-top: 1.5px solid var(--ink); padding-top: var(--space-md); margin-top: var(--space-xl); }
.contact-card .who { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1.1; }
.contact-card .role { color: var(--muted); }
.contact-link { font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem); font-weight: 500; overflow-wrap: anywhere; margin-top: var(--space-xs); }
@media (max-width: 860px) {
    .contact-inner { grid-template-columns: 1fr; }
    .contact-intro { position: static; }
}

.pt-intake {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    padding: var(--space-md) var(--space-md) var(--space-lg);
    font-family: var(--ui);
    display: grid; gap: var(--space-md);
}
.pt-intake fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.pt-intake fieldset + fieldset { border-top: 1px solid var(--rule); padding-top: var(--space-md); }
.pt-intake legend {
    float: left; width: 100%;   /* keeps the legend inside the fieldset, below its rule */
    padding: 0; margin-bottom: var(--space-2xs);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.pt-intake .pt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--space-sm); }
.pt-intake label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.pt-intake .req { color: var(--signal-ink); }
.pt-intake input[type="text"], .pt-intake input[type="email"], .pt-intake input[type="tel"], .pt-intake select, .pt-intake textarea {
    width: 100%;
    font: 400 1rem/1.4 var(--body);
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--muted);
    border-radius: 2px;
    padding: 0.7rem 0.75rem;
    min-height: 2.9rem;
}
.pt-intake textarea { resize: vertical; min-height: 7rem; }
.pt-intake select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 50%, calc(100% - 0.75rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2rem; }
.pt-intake :is(input, select, textarea):focus { outline: 2px solid var(--pacific); outline-offset: 0; border-color: var(--pacific); }
.pt-intake ::placeholder { color: var(--muted); opacity: 0.8; }
.pt-intake .pt-check { display: grid; grid-template-columns: 1.25rem 1fr; gap: var(--space-2xs); align-items: start; font-weight: 400; color: var(--ink-2); font-size: 0.9rem; line-height: 1.45; }
.pt-intake .pt-check input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: var(--ink); }
.pt-intake .btn { justify-self: start; cursor: pointer; }
.pt-fine { font-size: 0.8rem; color: var(--muted); margin: calc(-1 * var(--space-2xs)) 0 0; }
.pt-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pt-intake-error { font-family: var(--ui); font-weight: 600; color: var(--signal-ink); margin-bottom: var(--space-sm); }
.pt-intake-done { background: var(--paper); border: 1.5px solid var(--ink); padding: var(--space-lg); font-family: var(--ui); }
.pt-intake-done-head { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; margin-bottom: var(--space-2xs); }

/* Generic page content (block styles live in assets/blocks.css) */
.page-head { padding: clamp(3.5rem, 2rem + 6vw, 6rem) 0 var(--space-xl); border-bottom: 1.5px solid var(--ink); margin-bottom: var(--space-xl); }
.page-head h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); max-width: 16em; }
.entry { padding-bottom: var(--section); }
.entry p + p { margin-top: var(--space-sm); }

/* ========================================
   FOOTER
   ======================================== */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: var(--space-lg) 0 var(--space-xl); font-family: var(--ui); font-size: 0.875rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2xs) var(--space-lg); }
.site-footer p { margin: 0; max-width: none; }
.site-footer a { color: var(--muted); }

/* ========================================
   MOTION: one quiet load sequence
   ======================================== */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js .reveal.is-in:nth-child(2) { transition-delay: .08s; }
.js .reveal.is-in:nth-child(3) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
