:root {
    color-scheme: light;
    --paper: #f5f3ec;
    --surface: #fffefa;
    --ink: #1d2b24;
    --muted: #4c5b52;
    --accent: #28583f;
    --accent-dark: #19432e;
    --line: #d7d9d0;
    --soft-green: #e8eee6;
    --tag-text: #274b36;
    --wash: #eeede5;
    --nav-bg: rgba(245, 243, 236, .97);
    --line-strong: #aeb8aa;
    --focus: #a3512f;
    --button-bg: #19432e;
    --button-text: #fffefa;
    --contact-bg: #19432e;
    --contact-muted: #d7e2d8;
    --footer-bg: #153a29;
    --vermilion: #a8342a;
    --gold: #9a7b2f;
    --seal-text: #fff6e8;
    --content-width: 1160px;
}

[data-theme="dark"] {
    color-scheme: dark;
    --paper: #131914;
    --surface: #1c241e;
    --ink: #edf1ec;
    --muted: #bec8bf;
    --accent: #9dc5a7;
    --accent-dark: #c0ddc5;
    --line: #38453b;
    --soft-green: #28372d;
    --tag-text: #d5e7d8;
    --wash: #19211b;
    --nav-bg: rgba(19, 25, 20, .97);
    --line-strong: #536356;
    --focus: #f2b996;
    --button-bg: #d3e7d6;
    --button-text: #1b2a20;
    --contact-bg: #10261a;
    --contact-muted: #d0ded1;
    --footer-bg: #0d2015;
    --vermilion: #c9523f;
    --gold: #cfae66;
    --seal-text: #fff6e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
::selection { background: #c7d9c8; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.container { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; transform: translateY(-150%); padding: 10px 16px; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: translateY(0); }

.navbar { position: fixed; z-index: 1000; inset: 0 0 auto; background: var(--nav-bg); border-bottom: 1px solid var(--line); }
.nav-container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -.06em; }
.logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-dark); }
.nav-controls { display: flex; align-items: center; gap: 12px; }
.language-switch, .view-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); background: var(--surface); }
.language-button, .view-button { min-width: 38px; min-height: 44px; padding: 5px 9px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; }
.language-button[aria-pressed="true"], .view-button[aria-pressed="true"] { background: var(--accent-dark); color: var(--paper); }
.theme-toggle { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; }
.theme-dot { width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; background: var(--accent); }
.menu-toggle { display: none; }

.hero { padding: 158px 0 100px; border-bottom: 1px solid var(--line); }
.hero { position: relative; overflow: hidden; }
.hero-3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-3d canvas { display: block; }
.hero-3d::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--paper) 30%, color-mix(in srgb, var(--paper) 62%, transparent) 60%, transparent 85%); }
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 680px) { .hero-3d::after { background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 86%, transparent), color-mix(in srgb, var(--paper) 48%, transparent)); } }
.hero .profile-note { background: color-mix(in srgb, var(--paper) 84%, transparent); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); border-radius: 12px; padding-right: 18px; }
@media (max-width: 900px) { .hero-3d { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(255px, .65fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent-dark); font-size: .76rem; font-weight: 750; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-line { width: 25px; height: 1px; flex: 0 0 auto; background: var(--accent); }
.hero h1, .section-heading h2, .contact-layout h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
.hero h1 { max-width: 760px; font-size: clamp(3rem, 7vw, 5.85rem); line-height: .99; }
.open-badge { width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 12px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--accent-dark); font-size: .82rem; font-weight: 650; line-height: 1.4; }
.open-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 3px rgba(47, 158, 91, .22); }
.hero-role { margin: 24px 0 16px; color: var(--accent-dark); font-size: clamp(1.12rem, 2vw, 1.45rem); font-weight: 650; }
.hero-role > span[aria-hidden="true"] { color: var(--muted); padding-inline: 4px; }
.hero-desc { max-width: 690px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; font-size: .94rem; font-weight: 650; }
.button-primary { background: var(--button-bg); color: var(--button-text); }
.button-primary:hover { filter: brightness(.92); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: var(--accent-dark); font-weight: 650; }
.text-link:hover, .note-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.profile-note { padding: 25px 0 24px 26px; border-left: 1px solid var(--line-strong); }
.note-label { margin: 0 0 16px; color: var(--accent-dark); font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.profile-note dl { margin: 0; }
.profile-note dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.profile-note dt { color: var(--muted); font-size: .78rem; }
.profile-note dd { margin: 2px 0 0; font-size: .94rem; font-weight: 650; line-height: 1.45; }
.note-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--accent-dark); font-size: .9rem; font-weight: 650; }

.section { padding: 96px 0; }
.section-heading { max-width: 730px; margin-bottom: 42px; }
.section-heading h2, .contact-layout h2 { font-size: clamp(2.25rem, 4.5vw, 3.55rem); line-height: 1.08; }
.section-heading > p:last-child { max-width: 670px; margin: 16px 0 0; color: var(--muted); }
.featured-section { background: var(--wash); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { min-width: 0; display: flex; flex-direction: column; padding: 25px 24px 22px; background: var(--surface); border: 1px solid var(--line); }
.project-view { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: -14px 0 18px; }
.project-view-label { color: var(--muted); font-size: .8rem; font-weight: 600; }
.view-button { min-width: 54px; }
.project-grid.is-list { grid-template-columns: 1fr; max-width: 920px; }
.project-grid.is-list .project-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "meta meta" "title desc" "tech links"; gap: 0 24px; align-items: start; }
.project-grid.is-list .project-thumb { display: block; margin: -25px -24px 20px; }
.project-thumb img { display: block; width: 100%; aspect-ratio: 800 / 416; object-fit: cover; }
.project-grid.is-list .project-thumb { display: none; }
.demo-accounts { margin-top: 16px; padding: 12px 14px; background: var(--wash); border: 1px solid var(--line); font-size: .82rem; }
.demo-accounts > p:first-child { margin: 0 0 8px; color: var(--accent-dark); font-size: .68rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.demo-accounts ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.demo-accounts code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; overflow-wrap: anywhere; }
.demo-accounts .demo-pass { margin: 9px 0 0; }
.project-grid.is-list .demo-accounts { display: none; }
.project-topline { grid-area: meta; }
.project-grid.is-list .project-card h3 { grid-area: title; margin: 16px 0 0; }
.project-grid.is-list .project-card > p { grid-area: desc; align-self: center; }
.project-grid.is-list .tech-list { grid-area: tech; margin: 14px 0 0; }
.project-grid.is-list .project-links { grid-area: links; align-self: end; margin-top: 14px; }
.project-topline { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--accent-dark); font-size: .72rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.project-topline span:first-child { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; letter-spacing: 0; }
.project-card h3, .work-sample h3 { margin: 20px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.project-card > p, .work-sample > p { margin: 0; color: var(--muted); font-size: .94rem; }
.tech-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0; padding: 0; list-style: none; }
.tech-list li { padding: 4px 9px; background: var(--soft-green); color: var(--tag-text); font-size: .76rem; font-weight: 600; line-height: 1.5; }
.project-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); }
.project-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--accent-dark); font-size: .84rem; font-weight: 650; }
.project-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.experience-section { background: var(--paper); }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; margin: 0; padding: 0; list-style: none; }
.work-list li { position: relative; padding-left: 16px; color: var(--muted); font-size: .91rem; }
.work-list li::before { position: absolute; top: .7em; left: 0; width: 5px; height: 5px; background: var(--accent); content: ""; }
.work-samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.work-sample { min-width: 0; padding: 25px 24px 20px; border: 1px solid var(--line); }
.sample-label { color: var(--accent-dark) !important; font-size: .72rem !important; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.work-sample h3 { margin-top: 10px; }
.contribution { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.contribution h4 { margin: 0 0 5px; color: var(--ink); font-size: .79rem; letter-spacing: .04em; text-transform: uppercase; }
.contribution p { margin: 0; color: var(--muted); font-size: .9rem; }
.work-sample .client-list { margin-top: 15px; font-size: .84rem; }
.client-list strong { color: var(--ink); }
.work-sample .tech-list { margin: 14px 0 0; }
.domain-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.domain-label { color: var(--accent-dark); font-size: .74rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.domain-strip > span:not(:first-child)::before { content: "·"; margin-right: 10px; color: var(--accent); }

.experience-section .section-heading::after { display: block; width: 168px; height: 24px; margin-top: 26px; background: radial-gradient(circle at 50% 100%, transparent 0 38%, var(--gold) 39% 46%, transparent 47% 60%, var(--gold) 61% 68%, transparent 69%) 0 0 / 24px 12px, radial-gradient(circle at 50% 100%, var(--paper) 0 38%, var(--gold) 39% 46%, var(--paper) 47% 60%, var(--gold) 61% 68%, transparent 69%) 12px 12px / 24px 12px; content: ""; opacity: .7; }

.timeline, .tl-children { margin: 0; padding: 0; list-style: none; }
.timeline { --rail: 26px; --pad: 76px; --step: 28px; position: relative; margin-bottom: 40px; padding-top: 8px; }
.timeline::before { position: absolute; top: 30px; bottom: 20px; left: calc(var(--rail) - 1px); width: 2px; background: linear-gradient(var(--gold), var(--line-strong)); content: ""; }
.tl-item { --seal: 52px; --depth: 0; position: relative; padding: 0 0 26px var(--pad); }
.tl-item:last-child { padding-bottom: 4px; }
.tl-children { margin: 20px 0 0 calc(var(--step) - var(--pad)); }
.tl-group { padding: 4px 22px 22px; border: 3px double var(--gold); background: var(--wash); }
.tl-group > .tl-card { padding: 14px 0 0; border: 0; background: none; }
.tl-group > .tl-children { --rail: 20px; --pad: 60px; --step: 26px; position: relative; margin: 24px 0 0; }
.tl-group > .tl-children::before { position: absolute; top: 20px; bottom: 20px; left: calc(var(--rail) - 1px); width: 2px; background: linear-gradient(var(--gold), var(--line-strong)); content: ""; }
.tl-group > .tl-children > .tl-item { --seal: 40px; --depth: 0; }
.tl-group .tl-children .tl-children > .tl-item { --seal: 30px; --depth: 1; }
.tl-item::after { position: absolute; top: calc(var(--seal) / 2); left: calc(var(--rail) - var(--depth) * var(--step)); width: calc(var(--pad) - var(--rail) + var(--depth) * var(--step)); border-top: 1px solid var(--gold); content: ""; }
.tl-seal { position: absolute; z-index: 1; top: 0; left: calc(var(--rail) - var(--seal) / 2 - var(--depth) * var(--step)); width: var(--seal); height: var(--seal); display: grid; place-items: center; background: var(--vermilion); color: var(--seal-text); line-height: 0; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--vermilion); }
.tl-milestone .tl-seal { border-radius: 50%; }
.tl-seal svg { width: 52%; height: 52%; }
.tl-card { padding: 18px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--vermilion); }
.tl-edu > .tl-card { border-top-color: var(--gold); }
.tl-milestone > .tl-card { padding: 14px 18px; border-top-color: var(--gold); }
.tl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 6px; }
.tl-date { color: var(--vermilion); font-family: Georgia, "Times New Roman", serif; font-size: .95rem; font-weight: 700; letter-spacing: .06em; }
.tl-level { padding: 1px 8px; border: 1px solid var(--line-strong); color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tl-card h3, .tl-card h4, .tl-card h5 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.3; }
.tl-card h3 { font-size: 1.5rem; }
.tl-card h4 { font-size: 1.22rem; }
.tl-card h5 { font-size: 1.02rem; }
.tl-desc { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.tl-card .work-list { grid-template-columns: 1fr; margin-top: 14px; }
.tl-card .work-list li::before { top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.tl-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.tl-metrics li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-strong); background: var(--wash); }
.tl-metrics strong { color: var(--vermilion); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.2; }
.tl-metrics span { color: var(--muted); font-size: .78rem; line-height: 1.45; }

.cert-section { border-top: 1px solid var(--line); background: var(--paper); }
.cert-section .section-heading { margin-bottom: 28px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.cert-card { min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 16px 16px 20px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.cert-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.cert-thumb img { width: 142.5%; max-width: none; height: 100%; margin-left: -21.25%; display: block; object-fit: cover; }
.cert-body .text-link { min-height: 40px; margin-top: 6px; font-size: .88rem; }
.cert-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 600; }
.cert-issuer { margin: 2px 0 0; color: var(--muted); font-weight: 600; }

.skills-section { background: var(--wash); }
.skills-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(38px, 8vw, 110px); align-items: start; }
.skills-layout .section-heading { margin-bottom: 0; }
.skill-group { padding: 18px 0 22px; border-top: 1px solid var(--line); }
.skill-group h3 { margin: 0; font-size: .91rem; font-weight: 700; }
.skill-group .tech-list { margin: 12px 0 0; }

.contact-section { background: var(--contact-bg); color: #fffefa; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr); gap: 60px; align-items: end; }
.contact-layout .eyebrow { color: #c5d9c9; }
.contact-layout .eyebrow-line { background: #c5d9c9; }
.contact-layout h2 { max-width: 670px; }
.contact-layout > div:first-child > p:last-child { max-width: 620px; margin: 18px 0 0; color: var(--contact-muted); }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; }
.contact-links a, .contact-links > span { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: #fffefa; font-size: .92rem; }
.contact-links a { border-bottom: 1px solid rgba(255, 255, 255, .28); }
.contact-links a:hover { border-color: #fffefa; }
.contact-links > span { color: var(--contact-muted); }
.footer { padding: 20px 0; background: var(--footer-bg); color: var(--contact-muted); font-size: .8rem; }
.footer .container { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr); gap: 36px; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-grid.is-list { grid-template-columns: 1fr; }
    .tl-metrics { grid-template-columns: 1fr; }
    .skills-layout { gap: 40px; }
}
@media (max-width: 680px) {
    html { scroll-padding-top: 72px; }
    .container { width: min(var(--content-width), calc(100% - 36px)); }
    .nav-container { min-height: 64px; }
    .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
    .menu-toggle span { width: 17px; height: 1px; background: var(--ink); }
    .nav-menu { position: absolute; inset: 64px 0 auto; display: grid; gap: 14px; padding: 8px 18px 18px; background: var(--paper); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; }
    .nav-menu.open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .nav-links { display: grid; gap: 0; }
    .nav-links li { border-top: 1px solid var(--line); }
    .nav-links a { width: 100%; min-height: 48px; }
    .nav-controls { justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
    .language-button { min-width: 44px; min-height: 44px; }
    .hero { padding: 122px 0 68px; }
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .hero h1 { max-width: 520px; font-size: clamp(2.85rem, 13vw, 4.5rem); }
    .hero-role { margin-top: 20px; }
    .hero-desc { font-size: 1rem; }
    .profile-note { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 18px 0 12px; border-top: 1px solid var(--line-strong); border-left: 0; }
    .note-label { grid-column: 1 / -1; margin-bottom: 8px; }
    .profile-note dl { display: contents; }
    .profile-note dl div { min-width: 0; }
    .profile-note dd { overflow-wrap: anywhere; }
    .note-link { grid-column: 1 / -1; }
    .section { padding: 70px 0; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h2, .contact-layout h2 { font-size: clamp(2.15rem, 10vw, 3.25rem); }
    .project-grid, .work-samples, .skills-layout, .contact-layout { grid-template-columns: 1fr; }
    .project-grid.is-list .project-card { grid-template-columns: 1fr; grid-template-areas: "meta" "title" "desc" "tech" "links"; gap: 0; }
    .project-grid.is-list .project-card h3 { margin-top: 16px; }
    .project-grid.is-list .project-card > p { margin-top: 8px; }
    .project-grid.is-list .project-links { margin-top: 14px; }
    .project-card:last-child { grid-column: auto; width: auto; }
    .timeline { --rail: 20px; --pad: 52px; --step: 14px; }
    .tl-item { --seal: 40px; }
    .tl-group { padding: 2px 14px 16px; }
    .tl-group > .tl-children { --rail: 16px; --pad: 46px; --step: 12px; }
    .tl-group > .tl-children > .tl-item { --seal: 32px; }
    .tl-group .tl-children .tl-children > .tl-item { --seal: 26px; }
    .tl-card { padding: 14px 15px 16px; }
    .tl-card h3 { font-size: 1.25rem; }
    .tl-card h4 { font-size: 1.08rem; }
    .work-list { grid-template-columns: 1fr; gap: 10px; }
    .domain-strip { align-items: flex-start; flex-direction: column; gap: 2px; }
    .domain-strip > span:not(:first-child)::before { margin-right: 8px; }
    .contact-layout { gap: 30px; }
    .footer .container { flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
