:root {
    color-scheme: dark;
    --parallax-slow: 0px;
    --parallax-mid: 0px;
    --bg: #1b1d21;
    --bg-deep: #111214;
    --surface: rgba(42, 44, 49, 0.9);
    --surface-solid: #26282d;
    --surface-raised: #2d3036;
    --text: #eef0f4;
    --muted: #b8bbc2;
    --quiet: #8b8e98;
    --line: rgba(188, 190, 196, 0.18);
    --line-strong: rgba(111, 156, 255, 0.46);
    --blue: #6f9cff;
    --blue-deep: #3574f0;
    --violet: #c77dbb;
    --cyan: #56c7d8;
    --orange: #cf8e6d;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(107, 156, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 156, 255, 0.032) 1px, transparent 1px),
        radial-gradient(circle at 12% 4%, rgba(53, 116, 240, 0.14), transparent 26%),
        radial-gradient(circle at 90% 30%, rgba(199, 125, 187, 0.09), transparent 28%),
        var(--bg);
    background-size: 48px 48px, 48px 48px, auto, auto, auto;
    color: var(--text);
    font-family: "Aptos", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
[hidden] { display: none !important; }

.ambient { position: fixed; z-index: -2; width: 420px; height: 420px; border-radius: 50%; filter: blur(130px); pointer-events: none; }
.ambient-one { top: -220px; left: -140px; background: rgba(53, 116, 240, 0.2); }
.ambient-two { right: -220px; bottom: 5%; background: rgba(199, 125, 187, 0.13); }
.parallax-scene { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.parallax-orbit { position: absolute; top: 9vh; right: -10vw; width: min(720px, 56vw); aspect-ratio: 1.8; border: 1px solid rgba(107, 156, 255, 0.14); border-radius: 50%; transform: translate3d(0, var(--parallax-mid), 0) rotate(-10deg); }
.parallax-ridge { position: absolute; right: -30vw; bottom: -35vh; left: -30vw; height: 64vh; transform-origin: center bottom; }
.ridge-back { background: linear-gradient(155deg, rgba(53, 116, 240, 0.11), rgba(91, 75, 138, 0.22)); clip-path: polygon(0 60%, 18% 45%, 36% 66%, 56% 33%, 76% 59%, 100% 38%, 100% 100%, 0 100%); transform: translate3d(0, var(--parallax-mid), 0); }
.ridge-front { bottom: -43vh; background: linear-gradient(180deg, rgba(37, 40, 47, 0.74), rgba(14, 15, 18, 0.96)); clip-path: polygon(0 54%, 17% 68%, 38% 44%, 58% 72%, 77% 46%, 100% 62%, 100% 100%, 0 100%); transform: translate3d(0, var(--parallax-slow), 0); }

.site-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 40px));
    min-height: 62px;
    margin: 0 auto;
    border-bottom: 1px solid var(--line);
}

.identity { display: inline-flex; align-items: center; gap: 11px; color: var(--muted); font-weight: 700; text-decoration: none; }
.identity:hover { color: var(--text); }
.identity-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--blue-deep); color: white; font-size: 0.78rem; letter-spacing: -0.04em; box-shadow: 0 8px 24px rgba(53, 116, 240, 0.25); }

.lang-btns { display: flex; width: 116px; padding: 3px; gap: 2px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--blue); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26); transition: width 240ms ease, background 180ms ease; }
.lang-btns:hover, .lang-btns:focus-within { width: 286px; background: rgba(22, 23, 26, 0.96); }
.lang-btns button { flex: 1 1 0; min-width: 0; min-height: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 0.875rem; font-weight: 750; cursor: pointer; white-space: nowrap; transition: opacity 160ms ease, color 160ms ease, background 160ms ease, padding 220ms ease, flex-basis 220ms ease; }
.lang-btns:not(:hover):not(:focus-within) button:not(.active) { flex: 0 0 0; width: 0; padding-inline: 0; opacity: 0; pointer-events: none; }
.lang-btns:not(:hover):not(:focus-within) button.active { flex: 1 1 100%; color: var(--bg-deep); }
.lang-btns button.active { background: var(--blue); color: var(--bg-deep); }
.lang-btns:hover button:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.45fr); gap: clamp(28px, 5vw, 68px); align-items: center; padding: clamp(38px, 6vh, 68px) 0 42px; }
.hero-copy { max-width: 850px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.13em; line-height: 1.3; text-transform: uppercase; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
h1, h2, h3, h4 { font-family: "Aptos Display", "Segoe UI", Arial, sans-serif; }
h1 { max-width: 900px; margin: 0; font-size: clamp(2.45rem, 5vw, 4.35rem); font-weight: 720; letter-spacing: -0.048em; line-height: 1.02; text-wrap: balance; }
h1::after { display: block; width: 130px; height: 3px; margin-top: 18px; background: linear-gradient(90deg, var(--blue), var(--violet), var(--orange)); content: ""; }
.hero-intro { max-width: 780px; margin: 19px 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.55; text-wrap: pretty; }
.portrait-shell { width: min(280px, 100%); place-self: end center; }
.photo { display: block; width: 100%; height: auto; filter: saturate(0.72) contrast(1.03) drop-shadow(0 22px 30px rgba(0, 0, 0, 0.26)); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 66%, rgba(0, 0, 0, 0.7) 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 66%, rgba(0, 0, 0, 0.7) 82%, transparent 100%); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid var(--line); border-radius: 11px; background: rgba(45, 48, 54, 0.7); color: var(--text); font: inherit; font-size: 0.88rem; font-weight: 750; line-height: 1.25; text-decoration: none; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.button:hover { border-color: var(--line-strong); background: var(--surface-raised); transform: translateY(-2px); }
.button-primary { border-color: transparent; background: var(--blue-deep); color: white; box-shadow: 0 10px 30px rgba(53, 116, 240, 0.22); }
.button-primary:hover { background: var(--blue); color: var(--bg-deep); }
.availability { margin: 17px 0 0; color: var(--quiet); font-size: 0.82rem; }

section:not(.hero) { margin-top: clamp(76px, 10vw, 120px); }
.section-heading { display: grid; grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 7px; }
h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 680; letter-spacing: -0.045em; line-height: 1.04; text-wrap: balance; }
h3, .project-title { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.25rem); line-height: 1.1; letter-spacing: -0.025em; }
h4 { margin: 0 0 12px; color: var(--text); font-size: 1rem; }
.section-intro { max-width: 850px; margin: -6px 0 28px auto; color: var(--muted); font-size: 1.04rem; text-wrap: pretty; }

.project-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(107, 156, 255, 0.035), transparent 46%), var(--surface); box-shadow: 0 20px 64px rgba(0, 0, 0, 0.17); }
.project-card::before { position: absolute; top: 0; left: 0; width: 130px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); content: ""; }
.project-card p { color: var(--muted); text-wrap: pretty; }
.featured-project { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); align-items: stretch; background: radial-gradient(circle at 90% 10%, rgba(199, 125, 187, 0.12), transparent 24%), var(--surface-solid); }
.project-content { min-width: 0; padding: clamp(25px, 4vw, 44px); }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-bottom: 16px; color: var(--quiet); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.status { display: inline-flex; width: max-content; max-width: 100%; align-items: center; min-height: 25px; padding: 3px 9px; border: 1px solid rgba(107, 156, 255, 0.35); border-radius: 999px; background: rgba(53, 116, 240, 0.09); color: var(--blue); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase; }
.status-active { border-color: rgba(106, 171, 115, 0.38); background: rgba(106, 171, 115, 0.11); color: #8bd394; }
.project-lead { font-size: 1.04rem; }
.feature-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.build-list { margin: 0; padding-left: 19px; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.build-list li::marker { color: var(--blue); }
.feature-grid p { margin: 0; font-size: 0.91rem; }
.project-visual { display: flex; min-width: 0; margin: 0; padding: 24px; flex-direction: column; justify-content: center; background: var(--bg-deep); }
.project-visual img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.project-visual figcaption { padding: 12px 0 0; color: var(--muted); font-size: 0.8rem; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.project-grid > .project-card { padding: clamp(24px, 3.6vw, 36px); }
.project-with-image { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr); }
.project-with-image > img { display: block; width: 100%; height: auto; align-self: center; border-left: 1px solid var(--line); }
.stack { color: var(--text) !important; font-size: 0.84rem; font-weight: 700; line-height: 1.55; }
.note { padding-left: 14px; border-left: 2px solid var(--orange); font-size: 0.86rem; }
.cache-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 20px 0; color: var(--quiet); font-family: Consolas, "Cascadia Mono", monospace; font-size: 0.76rem; }
.cache-flow span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg-deep); }
.cache-flow b { color: var(--violet); }
.contribution { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.contribution summary { width: max-content; max-width: 100%; color: var(--blue); font-weight: 750; cursor: pointer; }
.contribution p { margin-bottom: 0; }

.experiments-section, .thinking-section { padding-top: 8px; border-top: 1px solid var(--line); }
.language-showcase { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.6fr); gap: clamp(16px, 3vw, 36px); padding: clamp(16px, 3vw, 36px); align-items: center; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(ellipse at 10% 50%, rgba(111, 156, 255, 0.09), transparent 55%), var(--bg-deep); }
.tool-preview { display: block; min-width: 0; text-decoration: none; }
.preview-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 1rem; }
.preview-heading > span { color: var(--blue); transition: transform 180ms ease; }
.tool-preview:hover .preview-heading > span { transform: translate(2px, -2px); }
.preview-description { display: block; margin: -4px 0 20px; color: var(--muted); font-size: 0.9rem; }
.tool-preview img { display: block; width: 100%; height: auto; border: 6px solid #303440; border-radius: 16px; transition: border-color 180ms ease; }
.tool-preview:hover img, .tool-preview:focus-visible img { border-color: var(--blue); }
.tool-preview-phone { width: 100%; max-width: 340px; justify-self: center; }
.tool-preview-phone img { border-radius: 28px; box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35); }
.grammar-previews { display: grid; gap: 26px; min-width: 0; }
.technical-details summary { color: var(--blue); cursor: pointer; font-size: 1rem; font-weight: 700; }
.technical-details .build-list { margin-top: 14px; }
.quiz-technical-details { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; border-radius: 8px; background: var(--blue); color: var(--bg-deep); }
.skip-link:focus { top: 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.tool-grid a { display: flex; min-height: 155px; padding: 17px; flex-direction: column; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease; }
.tool-grid a:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tool-grid strong { margin-top: auto; font-size: 1.02rem; }
.tool-grid a > span:last-child { color: var(--muted); font-size: 0.875rem; }
.experiments-stack { margin-top: 18px; text-align: center; }

.story-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 18px; }
.story-copy { padding: clamp(25px, 4vw, 42px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.story-copy p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.story-copy p + p { margin-top: 18px; }
.exploring-card { padding: clamp(25px, 4vw, 36px); border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(145deg, rgba(53, 116, 240, 0.12), rgba(199, 125, 187, 0.06)), var(--surface-solid); }
.exploring-card h3 { color: var(--blue); font-size: 1.45rem; }
.exploring-card p { margin-bottom: 0; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.principles article { min-height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(38, 40, 45, 0.74); }
.principles span { color: var(--violet); font-family: Consolas, monospace; font-size: 0.75rem; }
.principles p { margin: 24px 0 0; color: var(--text); font-weight: 700; line-height: 1.4; }
.ai-note { margin: 18px 0 0; padding: 18px 20px; border-left: 3px solid var(--cyan); background: rgba(86, 199, 216, 0.05); color: var(--muted); }
.ai-note strong { color: var(--text); }

.learning-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); max-width: 820px; margin-inline: auto; gap: 26px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.learning-card img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 12px; }
.learning-card .eyebrow { margin-bottom: 7px; }
.learning-card h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.learning-card p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); }
.learning-card .button { margin-top: 15px; }
.certificate-preview { position: relative; display: block; min-width: 0; width: 100%; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.certificate-preview:hover img, .certificate-preview:focus-visible img { box-shadow: 0 0 0 3px var(--blue); }
.certificate-open-icon { position: absolute; right: 8px; bottom: 8px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 6px; background: #202228; color: white; font-size: 20px; line-height: 1; }

.contact-section { max-width: 900px; margin-inline: auto; text-align: center; }
.contact-section > p:not(.eyebrow):not(.final-line) { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 1.05rem; }
.contact-actions { justify-content: center; }
.final-line { margin: 34px 0 0; color: var(--quiet); font-family: Consolas, "Cascadia Mono", monospace; font-size: 0.78rem; }
.final-line span + span { display: inline-block; margin-left: 8px; }
footer { width: min(1180px, calc(100% - 40px)); margin: 76px auto 0; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 0.8rem; text-align: center; }

.certificate-dialog { width: min(1180px, calc(100% - 24px)); height: min(900px, calc(100dvh - 24px)); max-height: calc(100dvh - 24px); max-width: none; padding: 16px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); }
.certificate-dialog[open] { display: flex; flex-direction: column; }
.certificate-dialog::backdrop { background: rgba(5, 6, 8, 0.84); backdrop-filter: blur(8px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 4px 4px 13px; }
.dialog-header h2 { font-size: 1.15rem; letter-spacing: -0.01em; }
.dialog-close { display: grid; flex-shrink: 0; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-deep); color: var(--text); font-size: 1.45rem; cursor: pointer; }
.certificate-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding-bottom: 12px; }
.certificate-page-title { flex: 1; margin: 0; color: var(--muted); font-size: 0.875rem; }
.certificate-pdf { color: var(--blue); font-size: 0.875rem; text-underline-offset: 4px; }
.certificate-carousel { display: flex; flex: 1; min-height: 0; width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; background: var(--bg-deep); }
.certificate-carousel::-webkit-scrollbar { display: none; }
.certificate-slide { flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.certificate-image-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.certificate-dialog .certificate-image-button img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.certificate-carousel.is-zoomed { overflow-x: hidden; scroll-snap-type: none; }
.certificate-slide.is-zoomed { overflow: auto; overscroll-behavior: contain; }
.certificate-slide.is-zoomed .certificate-image-button { width: 250%; height: 250%; cursor: zoom-out; }
.certificate-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 12px; }
.certificate-pages { display: flex; gap: 8px; }
.certificate-pages button, .certificate-arrow { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-deep); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.certificate-arrow { font-size: 1.7rem; line-height: 1; }
.certificate-pages button[aria-pressed="true"] { background: var(--blue); color: var(--bg-deep); border-color: var(--blue); }
.certificate-arrow:disabled { opacity: 0.3; cursor: default; }
.certificate-pages button:hover, .certificate-arrow:not(:disabled):hover { border-color: var(--blue); }
.certificate-hint { margin: 8px 0 0; color: var(--muted); font-size: 0.875rem; text-align: center; }
@media (max-width: 680px) {
    .certificate-dialog { padding: 12px; }
    .certificate-page-title { flex-basis: 100%; }
    .certificate-toolbar .button { margin-right: auto; }
    .certificate-navigation { gap: 12px; }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1fr) 220px; }
    .featured-project, .project-with-image { grid-template-columns: minmax(0, 1fr); }
    .project-visual img { min-height: 0; height: auto; }
    .project-with-image > img { min-height: 0; height: auto; border-top: 1px solid var(--line); border-left: 0; }
    .tool-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .language-showcase { grid-template-columns: 1fr; gap: 30px; }
    .tool-preview-phone { max-width: 300px; }
    .site-header { width: min(calc(100% - 28px), 1180px); }
    .identity > span:last-child { display: none; }
    main, footer { width: min(calc(100% - 28px), 1180px); }
    .lang-btns, .lang-btns:hover, .lang-btns:focus-within { width: min(278px, calc(100vw - 78px)); background: rgba(22, 23, 26, 0.96); }
    .lang-btns:not(:hover):not(:focus-within) button:not(.active) { flex: 1 1 0; width: auto; padding-inline: 7px; opacity: 1; pointer-events: auto; }
    .lang-btns:not(:hover):not(:focus-within) button.active { flex: 1 1 0; }
    .lang-btns button { padding-inline: 5px; font-size: 0.875rem; }
    .hero { grid-template-columns: 1fr; gap: 8px; padding-top: 34px; }
    .hero-copy { display: contents; }
    .hero .eyebrow { order: 1; }
    .hero h1 { order: 2; font-size: clamp(2.15rem, 11vw, 3.15rem); }
    .hero-intro { order: 3; }
    .portrait-shell { order: 4; width: min(260px, 76vw); margin: 5px auto -10px; }
    .hero-actions { order: 5; }
    .availability { order: 6; }
    .actions .button { flex: 1 1 170px; }
    section:not(.hero) { margin-top: 76px; }
    .section-heading { grid-template-columns: 1fr; gap: 5px; }
    h2 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
    .section-intro { margin-left: 0; }
    .feature-grid, .project-grid, .story-grid, .principles { grid-template-columns: 1fr; }
    .project-content, .project-grid > .project-card { padding: 23px; }
    .cache-flow { align-items: flex-start; flex-direction: column; }
    .cache-flow b { margin-left: 20px; transform: rotate(90deg); }
    .tool-grid { grid-template-columns: 1fr; }
    .tool-grid a { min-height: 132px; }
    .learning-card { grid-template-columns: 1fr; }
    .learning-card img { height: auto; max-height: 260px; object-fit: contain; background: white; }
}

@media (max-width: 390px) {
    .site-header, main, footer { width: calc(100% - 24px); }
    .lang-btns, .lang-btns:hover, .lang-btns:focus-within { width: calc(100vw - 66px); }
    h1 { letter-spacing: -0.04em; }
    .project-card { border-radius: 18px; }
    .project-content, .project-grid > .project-card { padding: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .parallax-orbit, .parallax-ridge { transform: none !important; }
}
