:root {
  color-scheme: light;
  --ink: #101114;
  --paper: #f5f6f8;
  --white: #fff;
  --accent: #2457ed;
  --sky: #9ab7ff;
  --muted: #626673;
  --line: #dce0e7;
  --dark-line: #2e3038;
  --shell: 1280px;
  --display: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
::selection { background: var(--accent); color: white; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.shell { width: min(calc(100% - 96px), var(--shell)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 2000; padding: 12px 20px; background: white; color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; color: white; background: #101114f5; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--dark-line); backdrop-filter: blur(18px); }
.nav-shell { height: 90px; display: flex; align-items: center; gap: 36px; }
.brand { font: 800 2rem/1 var(--display); letter-spacing: -.07em; }
.brand span { color: var(--sky); font: 500 .8rem/1 var(--display); vertical-align: top; margin-left: 5px; letter-spacing: 0; }
.site-nav { display: flex; gap: 30px; margin-inline: auto; }
.site-nav a { position: relative; color: #bcbfc9; font-size: .875rem; padding: 9px 0; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: white; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 1px; width: 100%; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid #595d67; border-radius: 6px; min-height: 44px; padding: 0 20px; font-size: .875rem; transition: background .2s; }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid #595d67; background: transparent; border-radius: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: white; transition: transform .2s; }
.hero { padding: 114px 0 0; background: var(--ink); color: white; overflow: hidden; }
.hero-topline { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 26px; border-bottom: 1px solid var(--dark-line); }
.hero-topline p { margin: 0; display: flex; align-items: center; gap: 12px; color: #bcbfc9; font-size: .8125rem; }
.status-dot { flex-shrink: 0; display: inline-block; width: 7px; height: 7px; background: #9fe3b4; border-radius: 50%; box-shadow: 0 0 0 4px #9fe3b410; }
.location-mark { color: var(--sky); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 50px; padding: 65px 0 72px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 26px; font-size: .875rem; color: #bcbfc9; }
.eyebrow span { color: #636671; }
.hero h1 { margin: 0; font: 500 clamp(3.5rem, 6.1vw, 6rem)/1.06 var(--display); letter-spacing: -.075em; }
.hero h1 em { color: var(--sky); font-style: normal; }
.hero-lede { max-width: 455px; margin: 28px 0 0; font-size: 1.0625rem; line-height: 1.8; color: #bcbfc9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 0 23px; border: 1px solid transparent; border-radius: 6px; font-size: .875rem; font-weight: 550; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: #396afa; }
.button-ghost { border-color: #535761; color: white; }
.button-ghost:hover { background: #252730; }
.hero-portrait { position: relative; margin: 0 0 8px 16px; }
.hero-portrait::before { content: ""; position: absolute; inset: 18px -16px -18px 18px; border: 1px solid #567bc9; border-radius: 120px 8px 8px 8px; }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: .91; background: #23252b; border-radius: 120px 8px 8px 8px; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.portrait-frame::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #090b10ed); pointer-events: none; }
.portrait-caption { position: absolute; z-index: 1; inset: auto 26px 23px; display: grid; gap: 5px; }
.portrait-caption > span { font-size: .75rem; letter-spacing: .1em; color: #d0d4dd; }
.portrait-caption strong { display: flex; align-items: center; justify-content: space-between; font: 500 1.35rem var(--display); }
.portrait-caption i { color: var(--sky); }
.portrait-note { position: absolute; z-index: 2; left: -35px; top: 24px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; background: #dce7ff; border: 1px solid #eaf0ff; color: var(--ink); border-radius: 7px; box-shadow: 0 8px 35px #0002; font-size: .8125rem; line-height: 1.5; }
.portrait-note > i { font-size: 1.5rem; color: var(--accent); }
.portrait-note strong { font-weight: 550; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--dark-line); padding: 27px 0 30px; gap: 24px; }
.hero-proof { display: flex; align-items: center; gap: clamp(30px, 5vw, 75px); }
.hero-proof > div { display: grid; gap: 6px; }
.hero-proof strong { font: 500 1.8rem/1.2 var(--display); letter-spacing: -.05em; }
.hero-proof strong span { color: var(--sky); }
.hero-proof > div > span { font-size: .8125rem; color: #a9adb8; }
.scroll-cue { display: flex; align-items: center; gap: 17px; color: #bcbfc9; font-size: .8125rem; }
.scroll-cue i { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #535761; border-radius: 50%; color: white; }
.ticker { padding: 23px 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #e9edf5; }
.ticker-track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px; width: min(calc(100% - 48px), 1320px); margin: auto; color: #4e5462; font-size: .8125rem; }
.ticker-track [aria-hidden="true"] { display: none; }
.ticker-track i { color: var(--accent); font-size: .8rem; font-style: normal; }
.section-kicker { margin: 0 0 25px; color: var(--accent); font-size: .8125rem; font-weight: 550; letter-spacing: .07em; text-transform: uppercase; }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 90px; align-items: end; margin-bottom: 60px; }
.section-heading .section-kicker { grid-column: 1 / -1; }
.section-heading h2, .about-copy h2, .experience-intro h2, .contact-inner h2 { margin: 0; font: 500 clamp(2.8rem, 4.6vw, 4.6rem)/1.1 var(--display); letter-spacing: -.065em; }
.section-heading > p:last-child { max-width: 420px; margin: 0 0 3px; color: var(--muted); }
.featured-project { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 580px; margin: 0 0 32px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
.project-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.project-index { position: absolute; top: 23px; right: 25px; color: #737985; font-size: .8125rem; }
.project-type { margin: 0 0 17px; color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.project-copy h3 { margin: 0 0 21px; font: 550 clamp(2.5rem, 3.8vw, 3.8rem)/1.1 var(--display); letter-spacing: -.065em; }
.project-copy > p:not(.project-type) { margin: 0; color: var(--muted); }
.project-outcomes { display: grid; gap: 10px; padding: 0; margin: 25px 0 0; list-style: none; font-size: .875rem; }
.project-outcomes li { display: flex; gap: 9px; align-items: baseline; }
.project-outcomes i { color: var(--accent); }
.tag-row, .mini-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.tag-row span, .mini-tags span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: .75rem; }
.project-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.project-links a, .text-link { display: inline-flex; align-items: center; gap: 16px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: .875rem; font-weight: 550; }
.project-links a:hover, .text-link:hover { color: var(--accent); }
.project-visual { position: relative; overflow: hidden; min-height: 540px; }
.visual-arrow { position: absolute; z-index: 2; top: 22px; right: 22px; width: 46px; height: 46px; display: grid; place-items: center; background: white; border-radius: 50%; color: var(--ink); transition: transform .3s; }
.project-visual:hover .visual-arrow { transform: rotate(45deg); }
.breeders-visual { background: #f3d5b3; }
.breeders-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.breeders-visual:hover img { transform: scale(1.035); }
.budget-project { color: white; background: #181a20; border-color: #181a20; }
.budget-project .project-copy > p { color: #bcbfc9; }
.budget-project .project-outcomes i { color: #ffad70; }
.budget-project .tag-row span { border-color: #50545f; }
.budget-project .project-links a:hover { color: #ffad70; }
.budget-visual { display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding: 45px 7% 0; background: #ef813a; }
.budget-visual img { width: 48%; height: 520px; object-fit: cover; object-position: top; border-radius: 22px 22px 0 0; box-shadow: 0 20px 50px #64220035; transition: transform .4s; }
.budget-visual .phone-one { transform: translateY(30px) rotate(-5deg); }
.budget-visual .phone-two { transform: translateY(75px) rotate(5deg); }
.budget-visual:hover .phone-one { transform: translateY(15px) rotate(-3deg); }
.budget-visual:hover .phone-two { transform: translateY(55px) rotate(3deg); }
.more-work-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 100px 0 35px; }
.more-work-heading .section-kicker { margin: 0; }
.more-work-heading h3 { margin: 0; font: 500 clamp(1.8rem, 3vw, 2.8rem)/1.2 var(--display); letter-spacing: -.055em; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; }
.card-image { height: 230px; overflow: hidden; border-bottom: 1px solid var(--line); background: #e7eaf0; }
.card-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .45s; }
.project-card:hover .card-image img { transform: scale(1.04); }
.card-body { padding: 27px; }
.card-body > span { color: var(--accent); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.card-body h4 { margin: 10px 0 13px; font: 600 1.35rem/1.3 var(--display); letter-spacing: -.04em; }
.card-body p { margin: 0; color: var(--muted); font-size: 1rem; }
.text-project-card { border-top: 3px solid #7b9aff; }
.services-section { background: #e9edf5; border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid #c7cdda; }
.service-card { padding: 34px 24px 0; border-right: 1px solid #c7cdda; }
.service-card:first-child { padding-left: 0; }
.service-card:last-child { border-right: 0; padding-right: 0; }
.service-card > i { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 45px; border: 1px solid #c7cdda; border-radius: 10px; background: #f5f7fc; color: var(--accent); font-size: 1.5rem; }
.service-card h3 { margin: 0 0 15px; font: 600 1.35rem/1.3 var(--display); letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.about-section { background: var(--ink); color: white; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 85px; }
.about-photo { position: relative; align-self: stretch; min-height: 580px; overflow: hidden; border-radius: 8px; background: #23252b; }
.about-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about-photo::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, #101114dd); }
.about-photo span { position: absolute; bottom: 25px; left: 24px; right: 24px; z-index: 1; font-size: .8125rem; color: #e0e3eb; }
.about-copy .section-kicker { color: var(--sky); }
.about-copy h2 { font-size: clamp(2.4rem, 3.7vw, 3.8rem); }
.about-copy > p:not(.section-kicker) { color: #bcbfc9; }
.about-copy .about-lead { margin-top: 30px; font-size: 1.125rem; color: #f1f3f8 !important; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0; }
.skill-cloud span { padding: 7px 12px; border: 1px solid #474b56; border-radius: 4px; color: #d9dce4; font-size: .875rem; }
.skill-cloud span:first-child, .skill-cloud span:nth-child(2) { border-color: #687da9; background: #9ab7ff12; color: var(--sky); }
.language-row { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 25px; }
.language-row span { display: flex; align-items: center; gap: 9px; font-size: .875rem; }
.language-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.about-copy .text-link { color: var(--sky); }
.experience-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.experience-intro { position: sticky; top: 130px; }
.experience-intro > p:not(.section-kicker) { color: var(--muted); margin-top: 25px; }
.education-card { display: grid; gap: 9px; margin-top: 40px; padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.education-card span { color: var(--accent); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.education-card strong { font-size: 1rem; font-weight: 550; }
.education-card p { margin: 0; color: var(--muted); font-size: .875rem; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { position: relative; display: grid; gap: 16px; padding: 32px 0 34px 25px; border-bottom: 1px solid var(--line); }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 42px; width: 7px; height: 7px; background: #b1bbd0; border-radius: 50%; }
.timeline-item:first-child::before { background: var(--accent); box-shadow: 0 0 0 4px #2457ed15; }
.timeline-date { color: var(--muted); font-size: .8125rem; }
.timeline-item > div:last-child > p:first-child { margin: 0 0 8px; color: var(--accent); font-size: .875rem; }
.timeline-item h3 { margin: 0 0 15px; font: 600 1.5rem/1.25 var(--display); letter-spacing: -.04em; }
.timeline-item > div:last-child > p:not(:first-child) { margin: 0; color: var(--muted); }
.mini-tags { margin-top: 20px; }
.contact-section { padding: 100px 0 90px; background: #dae5ff; }
.contact-inner { position: relative; }
.contact-inner h2 { font-size: clamp(3.5rem, 8vw, 8rem); }
.contact-inner h2 em { font-style: normal; color: var(--accent); }
.contact-inner > p:not(.section-kicker) { max-width: 500px; margin: 30px 0; color: #455372; }
.contact-email { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 100%; padding-bottom: 13px; border-bottom: 1px solid #8293b8; font: 500 clamp(1rem, 2.6vw, 2rem)/1.5 var(--display); letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-email i { flex-shrink: 0; color: var(--accent); }
.contact-email:hover { color: var(--accent); }
.contact-meta { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 50px; }
.contact-meta a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .875rem; }
.contact-meta a:hover { color: var(--accent); }
.site-footer { padding: 28px 0; color: #bcbfc9; background: var(--ink); }
.site-footer .shell { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer p, .site-footer a { margin: 0; font-size: .8125rem; }
.site-footer a { color: white; }
@media (min-width: 1500px) { .hero-grid { padding-block: 90px; } }
@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 64px), var(--shell)); }
  .hero-grid { grid-template-columns: 1.45fr 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(3.3rem, 6.3vw, 5rem); }
  .portrait-note { left: -22px; padding: 11px 13px; }
  .hero-proof { gap: 35px; }
  .featured-project { grid-template-columns: 1fr 1fr; }
  .project-copy { padding: 40px 30px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .experience-layout { gap: 45px; }
  .section-heading { gap: 0 45px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .section { padding: 80px 0; }
  .nav-shell { height: 74px; }
  .brand { font-size: 1.8rem; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 74px 0 auto; display: grid; gap: 0; padding: 15px 20px 24px; background: var(--ink); border-bottom: 1px solid var(--dark-line); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .2s, transform .2s, visibility .2s; }
  .site-nav a { padding: 14px; font-size: 1rem; }
  .site-nav a::after { display: none; }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-top: 90px; }
  .hero-topline > p:last-child { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding: 40px 0 50px; gap: 50px; }
  .hero h1 { font-size: clamp(3.2rem, 9.2vw, 5.8rem); }
  .hero-lede { max-width: 540px; }
  .hero-portrait { width: min(80%, 440px); margin: 0 auto; }
  .portrait-frame { aspect-ratio: 1.12; }
  .hero-bottom { align-items: start; }
  .hero-proof { width: 100%; justify-content: space-between; gap: 20px; }
  .scroll-cue { display: none; }
  .hero-proof strong { font-size: 1.5rem; }
  .hero-proof > div > span { font-size: .75rem; }
  .ticker-track { gap: 8px 16px; }
  .section-heading { grid-template-columns: 1fr; gap: 0; margin-bottom: 38px; }
  .section-heading > p:last-child { margin-top: 25px; }
  .featured-project { grid-template-columns: 1fr; }
  .project-visual { order: -1; min-height: 0; height: auto; aspect-ratio: 1.4; }
  .breeders-visual img { object-fit: cover; }
  .budget-visual { align-items: start; }
  .budget-visual img { height: auto; width: 38%; }
  .project-copy { padding: 45px 30px 35px; }
  .more-work-heading { display: block; margin-top: 65px; }
  .more-work-heading h3 { margin-top: 20px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
  .service-card { padding-top: 25px; }
  .service-card:nth-child(2) { border-right: 0; padding-right: 0; }
  .service-card:nth-child(3) { padding-left: 0; }
  .service-card > i { margin-bottom: 25px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { min-height: 0; aspect-ratio: 1.3; }
  .about-photo img { object-position: center 15%; }
  .experience-layout { grid-template-columns: 1fr; }
  .experience-intro { position: static; }
  .contact-section { padding: 80px 0; }
  .site-footer .shell > p:nth-child(2) { display: none; }
}
@media (max-width: 480px) {
  .nav-shell { gap: 12px; }
  .nav-cta { padding-inline: 12px; gap: 12px; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 4.3rem); }
  .eyebrow { font-size: .8125rem; gap: 10px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero-proof > div:last-child { grid-column: 1 / -1; }
  .hero-portrait { width: calc(100% - 35px); }
  .portrait-caption { inset-inline: 20px; }
  .portrait-caption > span { font-size: .75rem; letter-spacing: .04em; }
  .portrait-note { left: -14px; }
  .project-grid, .service-grid { grid-template-columns: 1fr; }
  .card-image { height: 240px; }
  .service-card { padding: 25px 0 0; border-right: 0; border-top: 1px solid #c7cdda; }
  .service-card:first-child { border-top: 0; }
  .project-copy { padding-inline: 24px; }
  .section-heading h2 { font-size: 2.7rem; }
  .contact-email { gap: 10px; }
  .contact-meta { gap: 10px 24px; }
  .site-footer .shell { flex-wrap: wrap; }
}
/* Motion is opt-in through JS; content stays visible if scripting is unavailable. */
.hero-line { display: block; }
.hero-proof strong .stat-number { color: white; font-variant-numeric: tabular-nums; }
.ticker-group { display: contents; }
.ticker-copy { display: none; }
.ticker-group > i { display: inline-block; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 1100; height: 3px; background: var(--sky); pointer-events: none; transform: scaleX(0); transform-origin: left; opacity: 0; }
.motion-enabled .reading-progress { opacity: 1; }
.motion-enabled .hero { position: relative; isolation: isolate; }
.motion-enabled .hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 75% 40%, #2457ed17, transparent 55%); animation: ambient-light 9s ease-in-out infinite alternate; pointer-events: none; }
.motion-enabled .status-dot { animation: status-breathe 3s ease-in-out infinite; }
.motion-enabled .portrait-note { animation: note-float 5s ease-in-out infinite; }
.motion-enabled .hero-portrait { transform: perspective(1100px) translateY(var(--portrait-scroll, 0px)) rotateX(var(--portrait-y, 0deg)) rotateY(var(--portrait-x, 0deg)); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.motion-enabled .scroll-cue i { animation: scroll-nudge 2.6s ease-in-out infinite; }
.motion-enabled .ticker-track { width: max-content; max-width: none; flex-wrap: nowrap; justify-content: flex-start; gap: 0; animation: skills-marquee 38s linear infinite; }
.motion-enabled .ticker-group { display: flex; flex: 0 0 auto; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; }
.motion-enabled .ticker-track .ticker-copy { display: flex; }
.motion-enabled .ticker-track i { display: inline-block; }
.motion-enabled .ticker:hover .ticker-track, .motion-enabled .ticker:focus-within .ticker-track { animation-play-state: paused; }
.motion-enabled .project-card { transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s, border-color .4s; }
.motion-enabled .service-card { transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.motion-enabled .service-card > i { transition: transform .4s, background .3s, color .3s; }
.motion-enabled .skill-cloud span { transition: transform .25s, background .25s, border-color .25s; }
.motion-enabled .button i, .motion-enabled .nav-cta i, .motion-enabled .project-links i, .motion-enabled .text-link i, .motion-enabled .contact-email i, .motion-enabled .contact-meta i { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.motion-enabled .button-primary { position: relative; overflow: hidden; }
.motion-enabled .button-primary::after { content: ""; position: absolute; inset: -20% auto -20% -65%; width: 45%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, #ffffff35, transparent); transition: left .6s; pointer-events: none; }
.motion-enabled .button-primary:is(:hover, :focus-visible)::after { left: 130%; }
.motion-enabled .button:is(:hover, :focus-visible) i { transform: translate(2px, -2px); }
.motion-enabled :is(.nav-cta, .project-links a, .text-link, .contact-email):is(:hover, :focus-visible) i { transform: translate(4px, -4px); }
.motion-enabled .contact-meta a:is(:hover, :focus-visible) i { transform: translateY(-3px); }
.motion-enabled .timeline-item::before { transition: box-shadow .3s, background .3s; }
.motion-enabled .timeline-item:hover::before { background: var(--accent); box-shadow: 0 0 0 6px #2457ed12; }
.motion-background *, .motion-background *::before, .motion-background *::after { animation-play-state: paused !important; }
@supports (background-clip: text) {
  .motion-enabled .hero h1 em { background: linear-gradient(105deg, #9ab7ff 15%, #dce7ff 40%, #9ab7ff 65%); background-size: 220% 100%; background-clip: text; color: transparent; animation: headline-light 7s ease-in-out infinite; }
}
@media (hover: hover) and (pointer: fine) {
  .motion-enabled .project-card:hover { transform: translateY(-7px); border-color: #a8bbed; box-shadow: 0 18px 35px #15316a12; }
  .motion-enabled .service-card:hover { transform: translateY(-5px); }
  .motion-enabled .service-card:hover > i { transform: rotate(-7deg) scale(1.06); background: var(--accent); color: white; }
  .motion-enabled .skill-cloud span:hover { transform: translateY(-4px); border-color: var(--sky); background: #9ab7ff15; }
}
@media (max-width: 800px) {
  .motion-enabled .hero-portrait { transform: none; }
  .motion-enabled .ticker-track { animation-duration: 48s; }
}
@keyframes skills-marquee { to { transform: translateX(-50%); } }
@keyframes note-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes scroll-nudge { 0%, 70%, 100% { transform: translateY(0); } 35% { transform: translateY(6px); } }
@keyframes status-breathe { 0%, 100% { box-shadow: 0 0 0 4px #9fe3b410; } 50% { box-shadow: 0 0 0 8px #9fe3b408; } }
@keyframes ambient-light { from { opacity: .35; } to { opacity: 1; } }
@keyframes headline-light { 0%, 100% { background-position: 100% 50%; } 50% { background-position: 0% 50%; } }

/* Mouse-only accents keep the native cursor and never intercept input. */
.cursor-effects { position: fixed; inset: 0; z-index: 1500; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .18s; contain: strict; }
.cursor-effects * { pointer-events: none; }
.motion-enabled.cursor-active .cursor-effects { opacity: 1; }
.cursor-ring { position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #6694ffcc; border-radius: 50%; background: #2457ed06; box-shadow: 0 0 18px #2457ed12; transition: width .28s, height .28s, background .28s, border-color .28s, box-shadow .28s; }
.cursor-ring > span { color: #fff; font-size: 1.7rem; line-height: 1; opacity: 0; transform: scale(.6) rotate(-30deg); transition: opacity .2s, transform .3s; }
.cursor-ring.cursor-link { width: 54px; height: 54px; border-color: #9ab7ff; background: #2457ed1a; box-shadow: 0 0 22px #2457ed22; }
.cursor-ring.cursor-project { width: 70px; height: 70px; background: #2457ede8; border-color: #b5caff; box-shadow: 0 8px 30px #10111430; }
.cursor-ring.cursor-project > span { opacity: 1; transform: scale(1) rotate(0deg); }
.cursor-trail { position: absolute; left: 0; top: 0; width: var(--trail-size); height: var(--trail-size); border-radius: 50%; background: #82a9ff; opacity: var(--trail-opacity); box-shadow: 0 0 10px #4e7dff55; }
.cursor-ripple { position: absolute; width: 34px; height: 34px; border: 1px solid #7ca1ff; border-radius: 50%; box-shadow: 0 0 15px #2457ed22; }
@media (hover: hover) and (pointer: fine) and (min-width: 801px) {
  .motion-enabled :is(.button, .nav-cta) { translate: var(--magnet-x, 0px) var(--magnet-y, 0px); transition: translate .25s cubic-bezier(.16, 1, .3, 1), transform .25s, background .25s, border-color .25s; }
  .motion-enabled .project-card { position: relative; transform: perspective(1000px) rotateX(var(--card-rx, 0deg)) rotateY(var(--card-ry, 0deg)); }
  .motion-enabled .project-card:hover { transform: perspective(1000px) translateY(-7px) rotateX(var(--card-rx, 0deg)) rotateY(var(--card-ry, 0deg)); box-shadow: 0 22px 45px #15316a1a; }
  .motion-enabled :is(.featured-project, .service-card, .contact-section) { position: relative; }
  .motion-enabled :is(.project-card, .featured-project, .service-card)::after { content: ""; position: absolute; z-index: 3; inset: 0; border-radius: inherit; background: radial-gradient(320px circle at var(--spot-x, 50%) var(--spot-y, 50%), #5084ff22, transparent 70%); box-shadow: inset 0 0 0 1px #86a7ff35; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .motion-enabled :is(.hero, .contact-section)::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 50%), #5688ff22, transparent 75%); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .motion-enabled :is(.project-card, .featured-project, .service-card, .hero, .contact-section).spotlight-active::after { opacity: 1; }
}
@media (hover: none), (pointer: coarse), (max-width: 800px) {
  .cursor-effects { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor-effects { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
