/* ============================================================
   automation.techinz.dev — "Quiet precision"
   Warm monochrome editorial system. No neon, no terminal.
   ============================================================ */

:root {
    /* Warm near-black canvas */
    --bg:        oklch(0.158 0.004 70);
    --bg-2:      oklch(0.185 0.004 70);
    --surface:   oklch(0.215 0.005 70);

    /* Bone / ink type */
    --text:   oklch(0.955 0.006 85);
    --muted:  oklch(0.715 0.010 80);
    --faint:  oklch(0.515 0.010 80);

    /* Hairlines */
    --line:   oklch(1 0 0 / 0.10);
    --line-2: oklch(1 0 0 / 0.18);

    /* Single restrained accent — brushed amber. Used in whispers only. */
    --accent:     oklch(0.815 0.105 72);
    --accent-dim: oklch(0.815 0.105 72 / 0.16);

    --font-sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --maxw: 1180px;
    --gutter: clamp(1.25rem, 4.2vw, 3rem);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    font-size: 1.0625rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--accent); color: oklch(0.16 0.01 70); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 10vw, 9rem); }

/* mono label / eyebrow */
.kicker {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--faint);
    display: inline-flex; align-items: center; gap: 0.65rem;
}
.kicker::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
}

/* section heading */
.lead { max-width: 64ch; }
.lead h2 {
    font-weight: 700;
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-top: 1.4rem;
    text-wrap: balance;
}
.lead p { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 1.25rem; max-width: 50ch; text-wrap: pretty; }

.uline { box-shadow: inset 0 -0.12em 0 var(--accent-dim); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-weight: 600; font-size: 0.98rem;
    padding: 0.95rem 1.6rem; border-radius: 2px;
    border: 1px solid transparent;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.3s var(--ease); }
.btn--primary { background: var(--text); color: oklch(0.16 0.005 70); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover svg { transform: translate(3px, 0); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 60;
    background: oklch(0.158 0.004 70 / 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 0.08rem; }
.brand i { font-style: normal; color: var(--faint); font-family: var(--font-mono); font-size: 0.9rem; font-weight: 400; }
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__blog { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.36rem 0.8rem; border: 1px solid var(--accent-line, var(--line-2)); border-radius: 999px; color: var(--accent) !important; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.nav__blog { border-color: oklch(0.815 0.105 72 / 0.4); }
.nav__blog:hover { border-color: var(--accent); background: var(--accent-dim); }
.nav__right { display: flex; align-items: center; gap: 1.6rem; }
.avail { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; }
.avail .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(0.815 0.105 72 / 0.5); } 70% { box-shadow: 0 0 0 7px oklch(0.815 0.105 72 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.815 0.105 72 / 0); } }
.nav__cta { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.nav__cta::after { content: "→"; transition: transform 0.25s var(--ease); }
.nav__cta:hover::after { transform: translateX(3px); }

.nav__toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; }
.nav__toggle svg { width: 20px; height: 20px; }
.mobile-menu { display: none; flex-direction: column; padding: 0.5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); background: var(--bg); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.mobile-menu a:last-child { border-bottom: none; color: var(--text); }
@media (max-width: 880px) {
    .nav__links, .nav__right .avail { display: none; }
    .nav__toggle { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3rem, 7vw, 5rem); position: relative; }
.hero__title {
    font-weight: 800;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 1.8rem 0 0.35em;
    max-width: 18ch;
}
.hero__title .q { color: var(--faint); }
.hero__lower { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-top: clamp(3rem, 6vw, 5rem); }
.hero__sub { color: var(--muted); font-size: clamp(1.12rem, 1.9vw, 1.4rem); line-height: 1.5; max-width: 34ch; }
.hero__sub b { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
@media (max-width: 800px) { .hero__lower { grid-template-columns: 1fr; align-items: start; gap: 2rem; } }

/* credential index row */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 5rem); }
.cred { padding: 1.6rem 1.6rem 0; border-right: 1px solid var(--line); }
.cred:first-child { padding-left: 0; }
.cred:last-child { border-right: none; padding-right: 0; }
.cred .v { font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; line-height: 1; }
.cred .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-top: 0.7rem; display: block; }
@media (max-width: 680px) {
    .creds { grid-template-columns: 1fr 1fr; gap: 0; }
    .cred { border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
    .cred:nth-child(2n) { border-right: none; padding-right: 0; }
    .cred:nth-child(2n+1) { padding-left: 0; padding-right: 1.6rem; }
}

/* ---------- editorial index list (capabilities / work) ---------- */
.idx { border-top: 1px solid var(--line-2); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.idx__row {
    display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.4rem) 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    transition: background 0.3s var(--ease);
    position: relative;
}
.idx__row::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--accent); transition: width 0.4s var(--ease); }
.idx__row:hover::after { width: 100%; }
.idx__num { font-family: var(--font-mono); font-size: 0.82rem; color: var(--faint); transition: color 0.3s; }
.idx__row:hover .idx__num { color: var(--accent); }
.idx__body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0.5rem 2.5rem; align-items: baseline; }
.idx__title { font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.1; }
.idx__desc { color: var(--muted); font-size: 1rem; }
.idx__tags { font-family: var(--font-mono); font-size: 0.74rem; color: var(--faint); margin-top: 0.6rem; }
@media (max-width: 760px) { .idx__body { grid-template-columns: 1fr; gap: 0.6rem; } .idx__row { grid-template-columns: 2.4rem 1fr; } }

/* link row variant (work) */
.idx__row--link { cursor: pointer; }
.idx__arrow { grid-column: 2; justify-self: end; align-self: center; color: var(--faint); transition: transform 0.3s var(--ease), color 0.3s; }
.idx__row--link:hover .idx__arrow { color: var(--accent); transform: translate(4px, -4px); }
.idx__body--link { grid-template-columns: 1fr 1.1fr auto; }
@media (max-width: 760px) { .idx__body--link { grid-template-columns: 1fr; } .idx__arrow { grid-column: 1; justify-self: start; } }

/* ---------- work cards ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.work-card {
    border: 1px solid var(--line);
    padding: clamp(1.8rem, 3.2vw, 2.8rem);
    display: flex; flex-direction: column; gap: 1.1rem;
    min-height: 280px;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.work-card:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--bg-2); }
.work-card__top { display: flex; align-items: center; justify-content: space-between; }
.work-card__repo { font-family: var(--font-mono); font-size: 0.78rem; color: var(--faint); }
.work-card__arrow { color: var(--faint); transition: transform 0.3s var(--ease), color 0.3s; }
.work-card:hover .work-card__arrow { color: var(--accent); transform: translate(3px, -3px); }
.work-card__title { font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.05rem); letter-spacing: -0.025em; line-height: 1.05; }
.work-card__desc { color: var(--muted); font-size: 1.02rem; }
.work-card__tech { font-family: var(--font-mono); font-size: 0.76rem; color: var(--faint); margin-top: auto; padding-top: 0.6rem; line-height: 1.7; }

.work-more { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); padding: 1.35rem clamp(1.5rem, 3vw, 2.8rem); margin-top: 1.25rem; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.work-more:hover { border-color: var(--line-2); background: var(--bg-2); }
.work-more > span:first-child { font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.work-more__handle { font-family: var(--font-mono); font-size: 0.86rem; color: var(--faint); }
.work-more__handle .ar { transition: transform 0.3s var(--ease); display: inline-block; }
.work-more:hover .work-more__handle { color: var(--accent); }
.work-more:hover .work-more__handle .ar { transform: translate(3px, -3px); }
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } .work-card { min-height: 0; } }

/* ---------- systems wall ---------- */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.wall__cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(1.3rem, 2.4vw, 1.8rem); transition: background 0.3s var(--ease); }
.wall__cell:hover { background: var(--bg-2); }
.wall__name { font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.3rem); letter-spacing: -0.01em; }
.wall__tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); letter-spacing: 0.04em; margin-top: 0.45rem; display: block; }
@media (max-width: 820px) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .wall { grid-template-columns: 1fr; } }

/* ---------- approach ---------- */
.approach { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.approach__big { font-weight: 800; font-size: clamp(4rem, 11vw, 8.5rem); line-height: 0.85; letter-spacing: -0.05em; }
.approach__big span { color: var(--accent); }
.approach__cap { font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); margin-top: 1.2rem; max-width: 26ch; line-height: 1.7; }
.approach__txt p { color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.6; }
.approach__txt p + p { margin-top: 1.3rem; }
.approach__txt b { color: var(--text); font-weight: 600; }
@media (max-width: 800px) { .approach { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.step { background: var(--bg); padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 0.7rem; }
.step__n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); }
.step h3 { font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 3rem); }
.faq { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.25rem); letter-spacing: -0.01em; transition: color 0.2s; }
.faq__q:hover { color: var(--accent); }
.faq__icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.3s var(--ease); }
.faq__icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq.open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 1.5rem; max-width: 72ch; font-size: 1.02rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
    font-family: var(--font-sans); font-size: 1rem; color: var(--text);
    background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 2px;
    padding: 0.9rem 1rem; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }
.form__submit .btn { width: 100%; justify-content: center; padding-block: 1.05rem; }
.form__note { font-family: var(--font-mono); font-size: 0.74rem; color: var(--faint); }
.form__status { font-family: var(--font-mono); font-size: 0.85rem; padding: 0.9rem 1rem; border-radius: 2px; display: none; }
.form__status.show { display: block; }
.form__status.ok { color: var(--accent); border: 1px solid var(--accent); background: var(--accent-dim); }
.form__status.err { color: oklch(0.78 0.15 35); border: 1px solid oklch(0.78 0.15 35 / 0.4); background: oklch(0.78 0.15 35 / 0.1); }
.btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

.contact-side { padding-top: 2rem; }
.channels { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); transition: padding-left 0.3s var(--ease); }
.channel:hover { padding-left: 0.6rem; }
.channel__k { font-family: var(--font-mono); font-size: 0.74rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.channel__v { font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.channel__v .ar { color: var(--faint); transition: transform 0.3s var(--ease), color 0.3s; }
.channel:hover .channel__v .ar { color: var(--accent); transform: translate(3px, -3px); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--faint); }
.footer__inner a:hover { color: var(--accent); }
.footer__right { display: flex; gap: 1.5rem; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: 0.07s; }
[data-reveal][data-d="2"] { transition-delay: 0.14s; }
[data-reveal][data-d="3"] { transition-delay: 0.21s; }
[data-reveal][data-d="4"] { transition-delay: 0.28s; }

/* ============================================================
   Sub-pages: legal, blog, 404
   ============================================================ */
.subnav { position: sticky; top: 0; z-index: 60; background: oklch(0.158 0.004 70 / 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.back { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-mono); font-size: 0.84rem; color: var(--muted); transition: color 0.2s, gap 0.25s var(--ease); }
.back:hover { color: var(--accent); gap: 0.8rem; }
.back svg { width: 16px; height: 16px; }

/* legal article */
.legal { padding-block: clamp(3rem, 7vw, 6rem); }
.legal__head { max-width: 760px; border-bottom: 1px solid var(--line); padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.legal__head h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.04em; line-height: 1.02; margin-top: 1.2rem; }
.legal__updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); margin-top: 1.1rem; }
.legal__body { max-width: 760px; }
.legal__body section { margin-bottom: clamp(2rem, 4vw, 2.8rem); }
.legal__body h2 { font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1rem; }
.legal__body h3 { font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; margin: 1.6rem 0 0.7rem; color: var(--text); }
.legal__body p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1rem; max-width: 70ch; }
.legal__body ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin: 1rem 0 1.2rem; }
.legal__body li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 1.05rem; max-width: 70ch; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal__body li strong, .legal__body p strong { color: var(--text); font-weight: 600; }
.legal__callout { border: 1px solid var(--line-2); border-left: 2px solid var(--accent); padding: clamp(1.4rem, 3vw, 2rem); margin-top: 1rem; }
.legal__callout h2 { margin-bottom: 0.8rem; }
.legal__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* blog */
.blog-hero { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.blog-hero h1 { font-weight: 800; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.04em; line-height: 1.0; margin-top: 1.4rem; max-width: 16ch; }
.blog-hero p { color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); margin-top: 1.4rem; max-width: 46ch; }
.blog-empty { border-top: 1px solid var(--line-2); margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.blog-empty__tag { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.06em; }
.blog-empty h2 { font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; margin: 1rem 0 1rem; max-width: 20ch; }
.blog-empty p { color: var(--muted); font-size: 1.08rem; max-width: 52ch; margin-bottom: 2rem; }
.blog-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2.5rem; }
.blog-topics__cell { background: var(--bg); padding: clamp(1.4rem, 2.6vw, 2rem); }
.blog-topics__cell span { font-family: var(--font-mono); font-size: 0.74rem; color: var(--faint); }
.blog-topics__cell h3 { font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; margin-top: 0.6rem; line-height: 1.25; }
@media (max-width: 760px) { .blog-topics { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 80vh; display: flex; align-items: center; }
.nf__big { font-weight: 800; font-size: clamp(6rem, 22vw, 16rem); letter-spacing: -0.06em; line-height: 0.85; }
.nf__big span { color: var(--accent); }
.nf h2 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-top: 0.5rem; }
.nf p { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; max-width: 40ch; }
.nf .btn { margin-top: 2rem; }
