/* =========================================================
   deinos.co
   ========================================================= */
:root {
    --bg: #0c0c0b;
    --bg-alt: #111110;
    --card: #161615;
    --ink: #ebe7de;
    --ink-2: #c8c3b7;
    --muted: #8f8a80;
    --dim: #625f58;
    --line: rgba(235, 231, 222, 0.1);
    --line-2: rgba(235, 231, 222, 0.2);
    --red: #e2462b;
    --paper: #e9e3d5;
    --paper-ink: #1c1b18;

    --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    --wrap: 1200px;
    --nav-h: 68px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--ink-2);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.lang-pending body {
    visibility: hidden;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--red);
    color: #fff;
}

a {
    color: inherit;
}

code {
    font-family: var(--mono);
    font-size: 0.86em;
    padding: 0.08em 0.36em;
    border-radius: 3px;
    background: rgba(235, 231, 222, 0.08);
    color: var(--ink);
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 32px;
}

.mono {
    font-family: var(--mono);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--bg);
    font-size: 0.9rem;
    text-decoration: none;
}

.skip:focus {
    top: 12px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid var(--ink);
    border-radius: 3px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.btn-ghost {
    background: transparent;
    border-color: var(--line-2);
    color: var(--ink);
}

.btn-ghost:hover {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.btn:disabled {
    opacity: 0.6;
    cursor: progress;
}

/* ---------- Header ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background 0.25s, border-color 0.25s;
}

.nav.scrolled {
    background: rgba(12, 12, 11, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--nav-h);
}

.brand {
    font-family: var(--serif);
    font-size: 1.65rem;
    line-height: 1;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.brand span,
.footer-mark span {
    color: var(--red);
}

.nav-menu {
    margin-right: auto;
}

.nav-menu ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--ink);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang {
    display: inline-flex;
    border: 1px solid var(--line-2);
    border-radius: 3px;
    overflow: hidden;
}

.lang button {
    padding: 6px 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.lang button + button {
    border-left: 1px solid var(--line-2);
}

.lang button:hover {
    color: var(--ink);
}

.lang button[aria-pressed='true'] {
    background: var(--ink);
    color: var(--bg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 38px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--line-2);
    border-radius: 3px;
    background: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.25s var(--ease);
}

.nav-toggle.active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    padding: calc(var(--nav-h) + 96px) 0 112px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 72px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}

.dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--red);
    opacity: 0;
    animation: ring 2.4s var(--ease) infinite;
}

@keyframes ring {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6.2vw, 5.3rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 11.5em;
}

.hero-title em {
    font-style: italic;
    color: var(--red);
}

.lead {
    max-width: 34em;
    margin-top: 26px;
    font-size: 1.1rem;
    color: var(--ink-2);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.hero-note {
    max-width: 34em;
    margin-top: 20px;
    padding-left: 12px;
    border-left: 2px solid var(--line-2);
    font-family: var(--mono);
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- Forms ---------- */
.lead-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-2);
}

.field .req {
    color: var(--red);
}

.field .opt {
    font-weight: 400;
    color: var(--dim);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 3px;
    background: rgba(12, 12, 11, 0.5);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--dim);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: rgba(235, 231, 222, 0.35);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.field [aria-invalid='true'] {
    border-color: var(--red);
}

.field-err {
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--red);
}

.field-err:empty {
    display: none;
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238f8a80' stroke-width='1.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.field select option {
    background: var(--card);
    color: var(--ink);
}

.lead-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 4px;
}

.form-fine {
    flex: 1 1 220px;
    font-size: 0.8rem;
    color: var(--muted);
}

.form-msg {
    flex-basis: 100%;
    min-height: 1.4em;
    font-family: var(--mono);
    font-size: 0.78rem;
}

.form-msg:empty {
    min-height: 0;
}

.form-msg.error {
    color: var(--red);
}

/* Bẫy bot: người dùng thật không thấy ô này */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Finding card ---------- */
.finding {
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: 6px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}

.finding-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--dim);
}

.sev {
    padding: 3px 9px;
    border: 1px solid rgba(226, 70, 43, 0.6);
    border-radius: 99px;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: var(--red);
}

.finding-title {
    padding: 20px 20px 6px;
    font-family: var(--serif);
    font-size: 1.38rem;
    line-height: 1.3;
    color: var(--ink);
}

.finding-title code {
    font-size: 0.72em;
    vertical-align: 0.1em;
}

.finding-body {
    padding: 6px 20px 18px;
}

.finding-body > div {
    padding: 14px 0;
    border-top: 1px dashed var(--line);
}

.finding-body > div:first-child {
    border-top: 0;
}

.finding-body dt {
    margin-bottom: 6px;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
}

.finding-body dd {
    font-size: 0.9rem;
    line-height: 1.6;
}

.evidence {
    list-style: none;
    border-left: 1px solid var(--line-2);
    margin-left: 3px;
}

.evidence li {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    padding: 2px 0 2px 14px;
    font-family: var(--mono);
    font-size: 0.76rem;
}

.evidence li::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: var(--muted);
}

.evidence li:first-child::before {
    background: var(--red);
}

.evidence time {
    color: var(--dim);
}

.finding-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 20px;
}

.fake-btn {
    padding: 8px 12px;
    border: 1px solid var(--line-2);
    border-radius: 3px;
    font-size: 0.82rem;
    color: var(--ink-2);
    user-select: none;
}

.fake-btn.primary {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.finding figcaption {
    padding: 10px 20px;
    border-top: 1px dashed var(--line-2);
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--dim);
}

/* ---------- Sections ---------- */
.section {
    padding: 120px 0;
    border-top: 1px solid var(--line);
}

.section-alt {
    background: var(--bg-alt);
}

.sec-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 48px;
}

.sec-label {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.sec-label .mono {
    color: var(--red);
}

.h2 {
    max-width: 17em;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.h2 em {
    font-style: italic;
}

.sub {
    max-width: 36em;
    margin-top: 18px;
    font-size: 1.05rem;
}

h3 {
    font-family: var(--sans);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.idx {
    font-size: 0.74rem;
    color: var(--red);
}

/* ---------- Name ---------- */
.name-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
    align-items: start;
}

.name-copy p {
    max-width: 34em;
    margin-top: 20px;
    font-size: 1.04rem;
}

.name-copy p:first-of-type {
    margin-top: 28px;
}

.name-copy i {
    font-family: var(--serif);
    font-size: 1.06em;
    color: var(--ink);
}

.specimen {
    position: relative;
    max-width: 340px;
    margin-top: 8px;
    padding: 22px 24px 18px;
    background: var(--paper);
    color: var(--paper-ink);
    border-radius: 2px;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
    transform: rotate(-1.4deg);
}

.specimen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    border-radius: 50%;
    background: var(--bg-alt);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.js .specimen.reveal.is-visible {
    transform: rotate(-1.4deg);
}

.sp-top,
.sp-foot {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sp-top {
    padding: 12px 0 8px;
    border-bottom: 1px solid rgba(28, 27, 24, 0.3);
}

.sp-word {
    margin-top: 18px;
    font-family: var(--serif);
    font-size: 3.1rem;
    line-height: 1;
}

.sp-meta {
    margin-top: 6px;
    font-family: var(--mono);
    font-size: 0.74rem;
    color: #5b574e;
}

.sp-defs {
    margin: 16px 0 18px;
    padding-left: 1.4em;
    font-family: var(--serif);
    font-size: 1.04rem;
    line-height: 1.45;
}

.sp-defs li::marker {
    font-family: var(--mono);
    font-size: 0.8em;
    color: #8a8478;
}

.sp-foot {
    padding-top: 8px;
    border-top: 1px dashed rgba(28, 27, 24, 0.35);
    color: #5b574e;
}

/* ---------- Problems ---------- */
.problems {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 56px;
}

.problem {
    padding-top: 22px;
    border-top: 1px solid var(--line-2);
}

.problem h3 {
    margin: 14px 0 10px;
    font-size: 1.1rem;
}

.problem p {
    font-size: 0.96rem;
}

/* ---------- Steps ---------- */
.steps {
    margin-top: 56px;
    list-style: none;
    border-bottom: 1px solid var(--line-2);
}

.step {
    display: grid;
    grid-template-columns: 200px minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 32px;
    padding: 30px 0;
    border-top: 1px solid var(--line-2);
}

.step-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.step h3 {
    font-size: 1.15rem;
}

.step p {
    font-size: 0.98rem;
}

/* ---------- Commitments ---------- */
.wont {
    margin-top: 48px;
    list-style: none;
    border-bottom: 1px solid var(--line-2);
}

.wont li {
    display: grid;
    grid-template-columns: 48px 1fr;
    padding: 22px 0;
    border-top: 1px solid var(--line-2);
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    line-height: 1.35;
    color: var(--ink);
}

.wont .x {
    padding-top: 0.25em;
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--red);
}

/* ---------- Process ---------- */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 56px;
    list-style: none;
}

.t-item {
    position: relative;
    padding-top: 26px;
    border-top: 2px solid var(--line-2);
}

.t-item::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--line-2);
}

.t-item:first-child {
    border-top-color: var(--red);
}

.t-item:first-child::before {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 0 0 5px rgba(226, 70, 43, 0.18);
}

.t-status {
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: var(--red);
}

.t-item h3 {
    margin: 10px 0 8px;
    font-size: 1.05rem;
}

.t-item p {
    font-size: 0.92rem;
}

/* ---------- Contact ---------- */
.contact {
    background:
        radial-gradient(ellipse 50% 60% at 85% 110%, rgba(226, 70, 43, 0.12), transparent 70%),
        var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: start;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
}

.contact-info {
    margin-top: 40px;
    border-top: 1px solid var(--line-2);
}

.contact-info > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-2);
}

.contact-info dt {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
    padding-top: 3px;
}

.contact-info dd,
.contact-info address {
    font-style: normal;
    color: var(--ink);
}

.lead-box {
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: 6px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
}

.lead-done {
    padding: 24px 0 8px;
    text-align: center;
    outline: none;
}

.lead-done-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--red);
    border-radius: 50%;
    color: var(--red);
    font-size: 1.3rem;
}

.lead-done-title {
    max-width: 24em;
    margin: 20px auto 0;
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--ink);
}

.lead-done-sub {
    margin: 12px 0 24px;
    font-size: 0.9rem;
    color: var(--muted);
}

.faq a,
.contact-info a,
.form-fine a,
.lead-done-sub a {
    color: var(--ink);
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 820px;
    margin-top: 44px;
    border-top: 1px solid var(--line-2);
}

.faq details {
    border-bottom: 1px solid var(--line-2);
}

.faq summary {
    position: relative;
    padding: 22px 44px 22px 0;
    font-size: 1.06rem;
    font-weight: 500;
    color: var(--ink);
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--red);
    transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq details p {
    max-width: 40em;
    padding-bottom: 24px;
    font-size: 0.98rem;
}

/* ---------- Footer ---------- */
.footer {
    padding: 72px 0 36px;
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.footer-mark {
    font-family: var(--serif);
    font-size: clamp(5rem, 19vw, 15.5rem);
    line-height: 0.82;
    letter-spacing: -0.035em;
    color: rgba(235, 231, 222, 0.07);
    user-select: none;
}

.footer-mark span {
    opacity: 0.5;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--dim);
}

.footer-addr {
    font-style: normal;
}

.footer-row a {
    color: var(--muted);
    text-decoration: none;
}

.footer-row a:hover {
    color: var(--ink);
}

/* ---------- Reveal ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .finding {
        max-width: 560px;
    }

    .sec-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sec-label {
        position: static;
        flex-direction: row;
        gap: 12px;
    }

    .name-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .problems {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .timeline {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .lead-box {
        max-width: 640px;
    }

    .nav-inner {
        gap: 24px;
    }

    .nav-menu ul {
        gap: 20px;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        margin: 0;
        padding: 8px 32px 24px;
        background: rgba(12, 12, 11, 0.97);
        border-bottom: 1px solid var(--line);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--line);
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
        font-size: 1.05rem;
        color: var(--ink-2);
    }

    .nav-right {
        margin-left: auto;
    }

    .section {
        padding: 88px 0;
    }

    .hero {
        padding: calc(var(--nav-h) + 56px) 0 88px;
    }
}

@media (max-width: 560px) {
    .wrap {
        padding: 0 20px;
    }

    .nav-menu {
        padding: 8px 20px 24px;
    }

    .nav-cta {
        display: none;
    }

    .hero-cta .btn,
    .lead-submit .btn {
        width: 100%;
    }

    .lead-form {
        grid-template-columns: 1fr;
    }

    .lead-box {
        padding: 22px 18px;
    }

    .contact-info > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .finding-title {
        font-size: 1.2rem;
    }

    .specimen {
        max-width: 100%;
    }

    .footer-row {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .js .specimen.reveal {
        transform: rotate(-1.4deg);
    }
}
