:root {
  --blue: #4b56cc;
  --blue-light: #7880d6;
  --ink: #20245b;
  --muted: #5a5f80;
  --paper: #f8f9ff;
  --lavender: #e6e8fa;
  --surface: #ffffff;
  --section-surface: #e9ebfa;
  --border-subtle: #d8dcec;
  --text-subtle: #616685;
  --text-accent: #4b56cc;
  --focus-inner: #ffffff;
  --focus-outer: #20245b;
  --display: 'Outfit', sans-serif;
  --body: 'Hanken Grotesk', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body, button { font-size: 16px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #bac1ff; color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus-outer); outline-offset: 3px; box-shadow: 0 0 0 3px var(--focus-inner); }
.wrap { width: min(100% - 96px, 1344px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 16px; background: white; color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main:focus { outline: none; }

.header { position: sticky; top: 16px; z-index: 20; height: 72px; margin-top: 16px; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 12px 0 24px; border: 1px solid #d7daf1; border-radius: 14px; background: #fdfdffed; box-shadow: 0 8px 28px #242a5b0d; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; color: var(--blue); font-family: var(--body); font-size: 23px; font-weight: 800; letter-spacing: -.07em; white-space: nowrap; }
.brand > span > span { color: var(--blue-light); }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.nav > a:not(.nav-contact) { color: #43486b; }
.nav > a:not(.nav-contact):hover { color: var(--blue); }
.nav-contact, .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 14px 18px; border-radius: 8px; background: var(--blue); color: white; font-size: 14px; font-weight: 700; transition: background .2s, transform .2s; }
.nav-contact:hover, .button-primary:hover { background: #343fa9; }
.nav-contact span[aria-hidden], .button span[aria-hidden] { font-size: 19px; line-height: 1; }
.menu-toggle { display: none; }

.hero { overflow: hidden; padding-top: 44px; }
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 5%; min-height: 580px; }
.hero-copy { position: relative; z-index: 1; padding: 40px 0 65px; }
.hero-intro { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: var(--text-accent); font-size: 14px; font-weight: 700; }
.hero-intro span { font-size: 21px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
.hero h1 { max-width: 650px; margin-bottom: 25px; font-size: clamp(57px, 6.1vw, 88px); font-weight: 600; line-height: 1.02; letter-spacing: -.06em; }
.hero-description { max-width: 490px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { min-height: 56px; padding: 16px 20px; }
.button:hover { transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 20px; padding: 8px 0; border-bottom: 1px solid currentColor; font-weight: 700; font-size: 14px; }
.link-arrow span[aria-hidden] { font-size: 18px; transition: transform .2s; }
.link-arrow:hover span[aria-hidden] { transform: translate(3px, -3px); }
.hero-visual { position: relative; min-width: 0; height: 530px; }
.visual-backdrop { position: absolute; inset: 23px 0 26px 35px; border-radius: 46% 46% 12px 12px; background: #dfe2fa; }
.hero-site { position: absolute; top: 76px; left: 4%; width: 76%; overflow: hidden; border: 6px solid white; border-radius: 11px; background: white; box-shadow: 0 20px 55px #424a9230; animation: arrive .8s both; }
.hero-site img { width: 100%; }
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 30px; padding: 0 11px; background: white; color: #5e6381; font-size: 9px; }
.browser-dots { display: flex; gap: 4px; }
.browser-dots i { width: 5px; height: 5px; border-radius: 50%; background: #c9cad2; }
.hero-note { position: absolute; top: 32px; right: 0; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 7px; background: var(--blue); box-shadow: 0 10px 30px #3f489e30; color: white; font-size: 12px; line-height: 1.35; transform: rotate(4deg); animation: note-arrive .8s .15s both; }
.note-icon { font-size: 27px; }
.hero-schedule { position: absolute; right: 0; bottom: 50px; width: 54%; padding: 19px; border: 5px solid white; border-radius: 10px; background: #f9faff; box-shadow: 0 18px 48px #323d8530; animation: arrive .8s .22s both; }
.schedule-head { display: flex; justify-content: space-between; color: #292f5e; font-size: 14px; font-weight: 800; }
.schedule-dots { color: #8b90ad; }
.hero-schedule > p { margin: 6px 0 14px; color: #5e6381; font-size: 11px; }
.schedule-item { display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 9px; border-radius: 6px; background: white; color: #34395f; font-size: 10px; }
.schedule-date { display: grid; place-items: center; min-width: 33px; height: 36px; border-radius: 5px; background: #eff0fc; color: var(--blue); font-size: 13px; font-weight: 800; line-height: 1; }
.schedule-item small { display: block; margin-top: 3px; color: #5e6381; font-size: 8px; font-weight: 500; }
.schedule-item i { display: grid; place-items: center; width: 19px; height: 19px; margin-left: auto; border-radius: 50%; background: #dff2e8; color: #31835c; font-style: normal; }
.schedule-concept { display: block; margin-top: 11px; color: #5e6381; font-size: 9px; }
.hero-visual-caption { position: absolute; right: 0; bottom: 0; left: 35px; display: flex; justify-content: space-between; gap: 10px; color: #666b8c; font-size: 11px; font-weight: 700; }
.hero-visual-caption span:last-child { text-align: right; }
.hero-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border-subtle); color: var(--text-subtle); font-size: 12px; font-weight: 600; }
.hero-footer a { color: var(--ink); }
.hero-footer a span { margin-left: 10px; }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes note-arrive { from { opacity: 0; transform: translateY(12px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(4deg); } }

.section-space { padding: 130px 0; }
.section-label { margin-bottom: 21px; color: var(--text-accent); font-size: 14px; font-weight: 800; }
.section-intro, .projects-heading, .process-heading { display: grid; grid-template-columns: 1.1fr .55fr; align-items: end; gap: 13%; }
.section-intro h2, .projects-heading h2, .about h2, .process h2, .contact h2 { margin-bottom: 0; font-size: clamp(43px, 5vw, 68px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; }
.section-intro > p, .projects-heading > p, .process-heading > p { max-width: 380px; margin-bottom: 4px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.service-list { margin-top: 68px; border-top: 1px solid var(--border-subtle); }
.service { display: grid; grid-template-columns: 100px 1fr .5fr; align-items: center; gap: 30px; min-height: 170px; padding: 28px 0; border-bottom: 1px solid var(--border-subtle); }
.service h3 { margin-bottom: 10px; font-size: clamp(24px, 2.3vw, 32px); font-weight: 600; letter-spacing: -.035em; }
.service p { max-width: 570px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.service-example { padding-left: 20px; border-left: 1px solid var(--border-subtle); color: var(--text-subtle); font-size: 14px; line-height: 1.5; }
.service-mark { position: relative; display: grid; place-items: center; width: 67px; height: 67px; border-radius: 16px; background: #e6e8fa; }
.mark-site span:first-child { position: absolute; width: 36px; height: 27px; border: 2px solid var(--blue); border-radius: 4px; }
.mark-site span:nth-child(2) { position: absolute; width: 32px; height: 2px; margin-top: -13px; background: var(--blue); }
.mark-site span:nth-child(3) { position: absolute; width: 14px; height: 2px; margin: 9px 0 0 -12px; background: var(--blue-light); }
.mark-system { grid-template-columns: 10px 10px; grid-template-rows: 10px 10px; gap: 5px; align-content: center; justify-content: center; }
.mark-system span { width: 10px; height: 10px; border: 2px solid var(--blue); border-radius: 2px; }
.mark-system span:last-child { background: var(--blue); }
.mark-connect span { position: absolute; width: 23px; height: 15px; border: 2px solid var(--blue); border-radius: 12px; transform: rotate(-45deg); }
.mark-connect span:first-child { margin: 7px 8px 0 0; }.mark-connect span:last-child { margin: 0 0 7px 8px; }

.projects { background: var(--section-surface); }
.projects-heading { margin-bottom: 55px; }
.featured-project { display: grid; grid-template-columns: 1.5fr .7fr; overflow: hidden; border-radius: 12px; background: var(--surface); }
.project-image { display: grid; place-items: center; min-height: 480px; padding: 65px; background: #d3c4b4; }
.project-browser { width: 100%; overflow: hidden; border: 6px solid white; border-radius: 9px; background: white; box-shadow: 0 18px 45px #69534430; }
.project-browser img { width: 100%; }
.project-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 42px; }
.project-type { display: inline-block; color: var(--text-accent); font-size: 13px; font-weight: 800; }
.project-copy h3, .concept-copy h3 { margin: 20px 0 15px; font-size: clamp(33px, 3vw, 44px); font-weight: 600; line-height: 1.1; letter-spacing: -.045em; }
.project-copy p, .concept-copy p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.project-link { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border-subtle); font-weight: 800; font-size: 14px; }
.project-link span[aria-hidden] { color: var(--text-accent); font-size: 21px; }
.concept-project { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: center; padding: 80px 0 0; }
.concept-copy { max-width: 430px; }
.concept-copy .link-arrow { margin-top: 14px; }
.concept-visual { display: grid; place-items: center; min-height: 390px; padding: 35px; border-radius: 12px; background: #cdd2f3; }
.concept-card { width: min(100%, 480px); padding: 25px; border-radius: 12px; background: #fff; box-shadow: 0 20px 55px #5963a42b; }
.concept-card-top { display: flex; justify-content: space-between; gap: 10px; }
.concept-card-top div { display: flex; flex-direction: column; gap: 5px; }
.concept-card-top div > span { color: #5e6381; font-size: 11px; }
.concept-card-top strong { color: #2c315f; font-size: 17px; }
.concept-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #edeffc; color: var(--blue); }
.concept-days { display: flex; gap: 8px; margin: 25px 0; }
.concept-days span { flex: 1; padding: 8px 0; border-radius: 6px; background: #f4f5fc; color: #5e6381; text-align: center; font-size: 10px; line-height: 1.5; }
.concept-days b { color: #2d3262; font-size: 15px; }
.concept-days .selected { background: var(--blue); color: #ffffff; }.concept-days .selected b { color: white; }
.concept-event { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #ebedf5; color: #5e6381; font-size: 11px; }
.concept-event div { flex: 1; }.concept-event strong, .concept-event small { display: block; }.concept-event strong { color: #2e335f; font-size: 12px; }.concept-event small { margin-top: 4px; color: #35764f; }.concept-event > span:last-child { color: #35764f; }
.concept-foot { margin-top: 12px; color: #5e6381; font-size: 10px; }

.about-layout { display: grid; grid-template-columns: .8fr 1fr; gap: 12%; align-items: center; }
.about-emblem { display: flex; position: relative; align-items: center; justify-content: center; min-height: 455px; overflow: hidden; border-radius: 12px; background: #d8dcf7; color: var(--blue); font-family: var(--display); font-size: clamp(85px, 12vw, 164px); font-weight: 600; letter-spacing: -.025em; }
.about-emblem strong { color: #6974d1; font-weight: 600; }.about-emblem span:last-of-type { color: var(--blue); }
.about-emblem p { position: absolute; bottom: 23px; left: 25px; margin: 0; color: #424da7; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.about-copy { max-width: 650px; }.about-copy h2 { margin-bottom: 26px; }.about-copy > p:not(.section-label) { max-width: 550px; color: var(--muted); font-size: 17px; line-height: 1.7; }.about-copy .link-arrow { margin-top: 10px; }
.process { padding-top: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin: 65px 0 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { padding-top: 22px; border-top: 1px solid #bcc1dd; }.steps li > span { color: var(--text-accent); font-size: 13px; font-weight: 800; }.steps h3 { margin: 42px 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }.steps p { max-width: 240px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.contact { overflow: hidden; background: var(--blue); color: white; }
.contact-layout { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 50px; min-height: 470px; padding-block: 90px; }
.contact-layout > div:first-child { position: relative; z-index: 1; }.contact-label { margin-bottom: 20px; color: #f0f1ff; font-size: 14px; font-weight: 700; }.contact h2 { font-size: clamp(48px, 6vw, 84px); }.contact-layout > div:first-child > p:not(.contact-label) { max-width: 440px; margin: 25px 0 30px; color: #e2e4ff; font-size: 17px; line-height: 1.6; }.button-light { background: white; color: var(--ink); }.button-light:hover { background: #e6e8fa; }
.contact-art { display: flex; align-items: center; color: #a1a9f1; font-family: var(--display); font-size: clamp(110px, 17vw, 230px); font-weight: 500; letter-spacing: -.15em; line-height: 1; opacity: .65; }.contact-art span:nth-child(2) { color: #d0d4ff; }
.contact-email { margin-top: 22px; color: #f0f1ff; font-size: 15px; line-height: 1.5; }
.contact-email a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer { background: var(--paper); }.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 110px; color: var(--text-subtle); font-size: 13px; }.footer p { margin: 0; }.footer a:last-child { color: var(--ink); font-weight: 700; }

@media (max-width: 1050px) {
  .wrap { width: min(100% - 64px, 1344px); }.nav { gap: 22px; }.hero-grid { gap: 3%; }.hero h1 { font-size: clamp(55px, 6.4vw, 70px); }.hero-visual { height: 450px; }.hero-site { top: 80px; }.hero-schedule { bottom: 30px; }.section-space { padding: 100px 0; }.process { padding-top: 0; }.project-image { min-height: 360px; padding: 40px; }.project-copy { padding: 30px; }.about-emblem { min-height: 390px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 92px; }.wrap { width: calc(100% - 40px); }.header { top: 12px; height: 60px; margin-top: 12px; }.header-inner { padding: 0 8px 0 16px; border-radius: 12px; }.brand { font-size: 21px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 1px solid #d3d7eb; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }.menu-toggle span { width: 18px; height: 2px; background: currentColor; transition: transform .2s; }.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 90px); overflow-y: auto; padding: 14px; border: 1px solid #d7daf1; border-radius: 12px; background: #fdfdff; box-shadow: 0 14px 28px #20245b1a; }.nav.is-open { display: flex; }.nav > a:not(.nav-contact) { padding: 15px 6px; border-bottom: 1px solid #e8eaf4; }.nav-contact { margin-top: 14px; }
  .hero { padding-top: 24px; }.hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }.hero-copy { padding: 42px 0 22px; }.hero-intro { margin-bottom: 22px; }.hero h1 { max-width: 520px; font-size: clamp(49px, 10.7vw, 72px); }.hero-description { font-size: 16px; }.hero-actions { flex-wrap: wrap; gap: 15px 22px; margin-top: 27px; }.hero-visual { height: 390px; margin: 12px 0 25px; }.visual-backdrop { inset: 30px 0 20px 20px; }.hero-site { top: 70px; left: 0; width: 80%; }.hero-note { top: 35px; padding: 10px; font-size: 10px; }.note-icon { font-size: 22px; }.hero-schedule { right: 0; bottom: 38px; width: 62%; padding: 13px; }.hero-visual-caption { left: 20px; font-size: 10px; }.hero-footer { font-size: 11px; }.hero-footer > span { display: none; }
  .section-space { padding: 78px 0; }.section-intro, .projects-heading, .process-heading { display: block; }.section-intro h2, .projects-heading h2, .about h2, .process h2 { font-size: clamp(42px, 9vw, 60px); }.section-intro > p, .projects-heading > p, .process-heading > p { margin-top: 22px; font-size: 16px; }.service-list { margin-top: 45px; }.service { grid-template-columns: 60px 1fr; gap: 18px; min-height: 0; padding: 26px 0; }.service-mark { width: 55px; height: 55px; border-radius: 13px; }.service h3 { font-size: 25px; }.service p { font-size: 15px; }.service-example { grid-column: 2; padding-left: 0; border: 0; font-size: 13px; }.service-example br { display: none; }
  .projects-heading { margin-bottom: 35px; }.featured-project { grid-template-columns: 1fr; }.project-image { min-height: 0; padding: 35px 25px; }.project-copy { min-height: 235px; padding: 27px; }.project-copy h3, .concept-copy h3 { font-size: 34px; }.concept-project { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-top: 65px; }.concept-visual { min-height: 0; padding: 25px 18px; }.concept-card { padding: 20px; }.about-layout { display: flex; flex-direction: column-reverse; gap: 40px; align-items: stretch; }.about-copy > p:not(.section-label) { font-size: 16px; }.about-emblem { min-height: 320px; font-size: 145px; }.process { padding-top: 0; }.steps { grid-template-columns: 1fr 1fr; gap: 30px 20px; margin-top: 45px; }.steps h3 { margin-top: 26px; font-size: 21px; }.steps p { font-size: 14px; }
  .contact-layout { display: block; min-height: 0; padding-block: 75px; }.contact h2 { font-size: clamp(45px, 10vw, 70px); }.contact-art { position: absolute; right: 0; bottom: 18px; font-size: 95px; opacity: .25; }.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-block: 30px; }.footer-inner p { grid-column: 1 / -1; grid-row: 2; }.footer-inner > span { grid-row: 3; }.footer-inner > a:last-child { grid-column: 2; grid-row: 3; text-align: right; }
}
@media (max-width: 380px) { .hero h1 { font-size: 47px; }.hero-visual { height: 350px; }.hero-schedule { width: 67%; }.concept-card-top strong { font-size: 15px; } }
@media (max-height: 400px) { .header { position: relative; top: auto; } html { scroll-padding-top: 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* O seletor fica junto à navegação, também em telas pequenas. */
.nav { margin-left: auto; }
.theme-toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: 18px; padding: 0; border: 1px solid #d3d7eb; border-radius: 8px; background: transparent; color: #303665; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: #e9ebfa; }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-icon-sun { display: none; }
[data-theme='dark'] .theme-icon-sun { display: block; }
[data-theme='dark'] .theme-icon-moon { display: none; }

/* Interfaces ilustradas e a captura do projeto conservam suas próprias cores. */
:root[data-theme='dark'] { color-scheme: dark; --ink: #f0f1ff; --muted: #c0c4de; --paper: #14172b; --lavender: #30365a; --surface: #292f49; --section-surface: #1c2037; --border-subtle: #414861; --text-subtle: #c0c4de; --text-accent: #b1b9ff; }
[data-theme='dark'] .header-inner { border-color: #424865; background: #1d2137ed; box-shadow: 0 8px 28px #080a1c55; }
[data-theme='dark'] .brand { color: #aeb6ff; }
[data-theme='dark'] .brand > span > span { color: #c3c9ff; }
[data-theme='dark'] .nav > a:not(.nav-contact) { color: #e1e3f5; }
[data-theme='dark'] .nav > a:not(.nav-contact):hover { color: #b7bfff; }
[data-theme='dark'] .theme-toggle, [data-theme='dark'] .menu-toggle { border-color: #555b79; color: #f0f1ff; }
[data-theme='dark'] .theme-toggle:hover { background: #343a59; }
[data-theme='dark'] .hero-intro, [data-theme='dark'] .section-label, [data-theme='dark'] .project-type, [data-theme='dark'] .project-link span[aria-hidden], [data-theme='dark'] .steps li > span { color: #b1b9ff; }
[data-theme='dark'] .visual-backdrop { background: #313858; }
[data-theme='dark'] .hero-visual-caption, [data-theme='dark'] .hero-footer, [data-theme='dark'] .service-example, [data-theme='dark'] .footer-inner { color: #c0c4de; }
[data-theme='dark'] .hero-footer, [data-theme='dark'] .service-list, [data-theme='dark'] .service, [data-theme='dark'] .service-example, [data-theme='dark'] .project-link, [data-theme='dark'] .steps li { border-color: #414861; }
[data-theme='dark'] .projects { background: #1c2037; }
[data-theme='dark'] .featured-project { background: #292f49; }
[data-theme='dark'] .concept-visual { background: #383f68; }
[data-theme='dark'] .about-emblem { background: #343b64; color: #bec5ff; }
[data-theme='dark'] .about-emblem strong { color: #9ba7f4; }
[data-theme='dark'] .about-emblem span:last-of-type, [data-theme='dark'] .about-emblem p { color: #d0d5ff; }
[data-theme='dark'] .footer { background: #14172b; }
[data-theme='dark'] .button-light, [data-theme='dark'] .skip-link { color: #20245b; }
[data-theme='dark'] ::selection { background: #7880d6; color: #fff; }

.theme-animate body, .theme-animate .header-inner, .theme-animate .projects, .theme-animate .featured-project, .theme-animate .concept-visual, .theme-animate .about-emblem, .theme-animate .footer { transition: background-color .3s, border-color .3s, color .3s; }
.service, .project-browser, .concept-card, .steps li { transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.motion-in { animation: scroll-arrive .65s cubic-bezier(.22,1,.36,1); }
@keyframes scroll-arrive { from { opacity: .65; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) {
  .service-mark { transition: transform .25s; }
  .service:hover .service-mark { transform: rotate(-6deg) scale(1.05); }
  .project-image:hover .project-browser, .concept-visual:hover .concept-card { transform: translateY(-5px); }
}
@media (max-width: 900px) {
  .header-inner { gap: 8px; }
  .theme-toggle { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #d3d7eb; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-toggle span { width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 110px); overflow-y: auto; margin-left: 0; padding: 14px; border: 1px solid #d7daf1; border-radius: 12px; background: #fdfdff; box-shadow: 0 14px 28px #20245b1a; }
  .nav.is-open { display: flex; }
  .nav > a:not(.nav-contact) { padding: 15px 6px; border-bottom: 1px solid #e8eaf4; }
  .nav-contact { margin-top: 14px; }
  [data-theme='dark'] .nav { border-color: #424865; background: #20243b; box-shadow: 0 14px 28px #080a1c55; }
  [data-theme='dark'] .nav > a:not(.nav-contact) { border-bottom-color: #414861; }
}
@media (prefers-reduced-motion: reduce) { .motion-in { animation: none; } }
@media (max-width: 760px) { .about-emblem { font-size: clamp(80px, 24vw, 145px); } }
@media (forced-colors: active) { :focus-visible { outline-color: Highlight; box-shadow: none; } }
