/* Sidekick Temple — design system primitives.
   Warm, monumental register. Color punctuates; it does not fill.
   Brand: teal #01a4a6 (lead), orange #fc7244 + salmon #f56453 (warm counterpoint). */

:root {
    --brand-teal:   #01a4a6;
    --brand-orange: #fc7244;
    --brand-salmon: #f56453;
    --parchment:    #FBF9F5;
    --surface:      #FFFFFF;
    --ink:          #1A1816;
    --ink-muted:    #6B6560;
    --hairline:     #E7E1D8;
}

[x-cloak] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body { font-family: "futura-pt", "Futura", system-ui, sans-serif; }

::selection { background: rgba(1, 164, 166, 0.18); }

/* Teal scrollbar accent (spec §2) */
* { scrollbar-color: var(--brand-teal) var(--parchment); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--parchment); }
::-webkit-scrollbar-thumb { background: var(--brand-teal); border-radius: 6px; border: 2px solid var(--parchment); }

/* ---------- Type scale ---------- */
.kicker {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--brand-teal);
    font-weight: 600;
}
.display-xl { font-size: clamp(2.6rem, 6vw, 5rem);  line-height: 1.02; letter-spacing: -0.01em; font-weight: 700; }
.display-lg { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.01em; font-weight: 700; }
.display-md { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; font-weight: 700; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.6; color: var(--ink-muted); }
.prose-temple p { font-size: 1.075rem; line-height: 1.75; color: #3A3530; }
.prose-temple p + p { margin-top: 1.25rem; }

/* ---------- Nav ---------- */
.nav-link {
    font-size: 0.95rem; font-weight: 500; color: var(--ink);
    position: relative; transition: color .3s ease;
}
.nav-link:hover { color: var(--brand-teal); }
.nav-link.is-active { color: var(--brand-teal); }
.nav-link.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; background: var(--brand-teal);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 0.85rem 1.6rem; border-radius: 2px;
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
    transition: transform .3s ease, background-color .3s ease, color .3s ease, box-shadow .3s ease;
    cursor: pointer; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-teal); color: #fff; }
.btn-primary:hover { background: #018a8c; box-shadow: 0 8px 24px -10px rgba(1,164,166,.6); }
.btn-secondary { background: var(--brand-orange); color: #fff; }
.btn-secondary:hover { background: var(--brand-salmon); box-shadow: 0 8px 24px -10px rgba(245,100,83,.55); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.btn-ghost:hover { border-color: var(--brand-teal); color: var(--brand-teal); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card {
    background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px;
    overflow: hidden; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .5s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(1,164,166,.4); box-shadow: 0 24px 48px -28px rgba(26,24,22,.28); }

/* tier accent strips */
.accent-teal   { color: var(--brand-teal); }
.accent-orange { color: var(--brand-orange); }
.accent-salmon { color: var(--brand-salmon); }
.rule-teal   { background: var(--brand-teal); }
.rule-orange { background: var(--brand-orange); }
.rule-salmon { background: var(--brand-salmon); }

/* badge / tag */
.tag {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
    padding: .3rem .7rem; border-radius: 2px; background: rgba(1,164,166,.08); color: var(--brand-teal);
}

/* ---------- Footer ---------- */
.footer-heading { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.footer-link { color: #3A3530; transition: color .3s ease; }
.footer-link:hover { color: var(--brand-teal); }

/* ---------- Forms ---------- */
.field-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; color: var(--ink); }
.field-label .req { color: var(--brand-salmon); }
.field {
    width: 100%; padding: .8rem 1rem; border: 1px solid var(--hairline); border-radius: 3px;
    background: var(--surface); color: var(--ink); font-size: 1rem; font-family: inherit;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.field:focus { outline: none; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(1,164,166,.15); }
.field::placeholder { color: #B4ABA1; }
textarea.field { min-height: 7rem; resize: vertical; }
.field-error { color: var(--brand-salmon); font-size: .85rem; margin-top: .35rem; }

/* honeypot — visually + a11y hidden, still in DOM for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Motion: long fade-and-rise (0.6–1.0s, ease-out) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease-out, transform .85s ease-out; will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .card { transition: none; }
}

/* ---------- Utility ---------- */
.section { padding-top: clamp(4.5rem, 9vw, 8rem); padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.container-page { max-width: 80rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) { .container-page { padding-left: 2.5rem; padding-right: 2.5rem; } }
.hairline { border-color: var(--hairline); }
.glow-warm { box-shadow: 0 0 80px -20px rgba(252,114,68,.45); }
.img-frame { border-radius: 4px; overflow: hidden; background: #EFEAE1; }
