:root {
  color-scheme: light;
  --background: #f7f7f5;
  --surface: #ffffff;
  --card: #ffffff;
  --text: #111113;
  --muted: #4a4648;
  --accent: #6d2735;
  --accent-hover: #541d29;
  --accent-soft: #e9dadf;
  --slate: #45606f;
  --line: #d6d1d3;
  --line-strong: #1c191a;
  --case-card-border: #91858c;
  --on-accent: #ffffff;
  --nav: #f7f7f5;
  --scroll-thumb: #897b84;
  --scroll-hover: #6d2735;
  --scroll-active: #541d29;
  --radius: 0;
  --content: 1360px;
  --gutter: clamp(20px, 3.5vw, 48px);
  --section-space: clamp(64px, 7vw, 112px);
  --placeholder: #e9dadf;
  --font-body: 'Archivo', Arial, sans-serif;
  --font-heading: 'Space Grotesk', 'Arial Narrow', sans-serif;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --background: #171417;
  --surface: #242024;
  --card: #302a30;
  --text: #f5f1f0;
  --muted: #cec3c8;
  --accent: #f08ea4;
  --accent-hover: #ffc2cf;
  --accent-soft: #472936;
  --slate: #a9c7d0;
  --line: #897b84;
  --line-strong: #e8d9df;
  --case-card-border: #867a82;
  --on-accent: #21161b;
  --nav: #171417;
  --scroll-thumb: #897b84;
  --scroll-hover: #f08ea4;
  --scroll-active: #ffc2cf;
  --placeholder: #302a30;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-gutter: stable; scrollbar-color: var(--scroll-thumb) var(--surface); scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--surface); }
*::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 2px solid var(--surface); border-radius: 10px; }
*::-webkit-scrollbar-thumb:hover { background: var(--scroll-hover); }
*::-webkit-scrollbar-thumb:active { background: var(--scroll-active); }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent-soft); color: var(--text); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }
ul { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button:not(:disabled) { cursor: pointer; }
a:hover { color: var(--accent); }
a:active, button:not(:disabled):active { opacity: .8; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 20px; transform: translateY(-180%); background: var(--background); padding: 14px 20px; border: 1px solid var(--accent); }
.skip-link:focus { transform: none; }
.navigation { position: sticky; top: 0; z-index: 20; background: var(--nav); border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font-size: 16px; font-weight: 600; letter-spacing: -.5px; }
.wordmark-role { color: var(--muted); font-weight: 400; }
.nav-links, .nav-tools, .language-switch { display: flex; align-items: center; }
.nav-links { gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { padding-block: 14px; }
.nav-tools { gap: 20px; font-size: 12px; }
.language-switch { gap: 2px; }
.language-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 5px; color: var(--muted); }
.language-switch a[aria-current='page'] { color: var(--text); font-weight: 600; }
.language-switch span { color: var(--muted); }
.nav-tools button { border: 0; background: transparent; color: var(--muted); min-height: 44px; padding: 10px 5px; }
.nav-tools button:hover { color: var(--accent); }
.language-switch button[aria-pressed='true'] { color: var(--text); font-weight: 600; }
.hero { min-height: 80svh; display: flex; flex-direction: column; text-align: left; position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0 0 0 40%; z-index: -1; pointer-events: none; opacity: .5; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(ellipse at 75% 45%, #000 0, transparent 65%); }
.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(100px, 10.65vw, 200px) clamp(36px, 4.26vw, 80px); }
.hero-bottom { border-top: 1px solid var(--line); }
.hero-bottom-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: clamp(20px, 2.13vw, 40px); padding-block: clamp(24px, 2.13vw, 40px); }
.eyebrow { font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .07em; color: var(--slate); }
.hero .eyebrow { margin-bottom: clamp(32px, 4vw, 75px); text-transform: uppercase; letter-spacing: .15em; font-size: clamp(10px, .64vw, 12px); }
h1 { font-size: clamp(48px, 6vw, 104px); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
.hero h1 .secondary-line { color: var(--accent); font-weight: 700; }
.secondary-line { display: block; color: var(--muted); }
.hero-description { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; max-width: 570px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 12px 25px; border-radius: var(--radius); border: 2px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.4; transition: background .18s, color .18s, border-color .18s; }
.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); box-shadow: 3px 3px 0 var(--line-strong); }
.primary:focus-visible { box-shadow: 0 0 0 2px var(--background); }
:root[data-theme='dark'] .primary { box-shadow: 3px 3px 0 var(--line-strong); }
:root[data-theme='dark'] .primary:focus-visible { box-shadow: 0 0 0 2px var(--background); }
.hero .button { justify-self: start; margin: 0; }
.outline { border-color: var(--line-strong); color: var(--text); background: var(--surface); }
.outline:not(:disabled):hover { border-color: var(--accent); color: var(--accent); }
button:disabled { cursor: not-allowed; color: var(--muted); }
.scroll-link { justify-self: end; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; text-align: right; }
.section { padding-block: var(--section-space); }
.work { background: var(--surface); }
.capabilities { background: var(--accent-soft); }
.section-heading h2, .contact h2 { font-size: clamp(36px, 4vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-intro { font-size: 19px; line-height: 1.6; letter-spacing: -.02em; color: var(--muted); margin-top: 20px; }
.work { padding-bottom: clamp(48px, 5vw, 80px); background: var(--background); }
.work-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; gap: 40px; padding-block: clamp(24px, 3.2vw, 60px); }
.work-heading h2 { text-align: right; font-size: clamp(28px, 3.7vw, 64px); line-height: 1.08; }
.work-heading .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 8px; }
.work-heading .section-intro { font-size: clamp(14px, .94vw, 17.6px); margin-top: 0; }
.project-stack { display: grid; gap: 24px; isolation: isolate; }
.project-stack-spacer { display: none; }
.project-card { position: relative; min-width: 0; }
.project-card-surface { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(20px, 3vw, 48px); min-width: 0; background: var(--card); border: 1px solid var(--case-card-border); border-radius: 8px; padding: clamp(16px, 2vw, 32px); transform-origin: center top; transition: border-color .18s, box-shadow .18s; }
.project-card-surface:hover, .project-card-surface:focus-within { border-color: var(--accent); box-shadow: 2px 2px 0 var(--accent); }
.image-placeholder { background: var(--placeholder); }
.project-media-link { display: block; min-width: 0; }
.project-image { display: block; object-fit: contain; background: var(--placeholder); aspect-ratio: 16 / 9; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.project-index { color: var(--slate); font-size: 12px; font-weight: 600; letter-spacing: .08em; margin-bottom: 20px; }
.project-card h3 { font-size: clamp(24px, 2.2vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; overflow-wrap: anywhere; }
.project-card p { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; color: var(--muted); margin-top: 14px; margin-bottom: 20px; }
.project-card .project-category { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 600; color: var(--slate); margin: 0 0 12px; }
.project-card .button { min-height: 44px; max-width: 100%; padding: 9px 22px; font-size: 14px; text-align: center; overflow-wrap: anywhere; }
.project-stack[data-stacked='true'] { display: block; padding-bottom: 0; view-timeline-name: --project-stack-progress; view-timeline-axis: block; }
.project-stack[data-stacked='true'] .project-card { position: sticky; top: calc(var(--stack-top) + (var(--stack-layer) - 1) * var(--stack-peek)); z-index: var(--stack-layer); height: var(--panel-height); }
.project-stack[data-stacked='true'] .project-card-surface { height: 100%; }
.project-stack[data-stacked='true'] .project-stack-spacer { display: block; height: var(--stack-hold); }
.project-stack[data-stack-motion='js'] .project-card-surface { transform: scale(var(--stack-js-scale, 1)); }
@keyframes project-stack-shrink { to { transform: scale(var(--stack-target-scale)); } }
@supports (animation-timeline: view()) {
  .project-stack[data-stack-motion='css'] .project-card:not(:last-of-type) .project-card-surface {
    animation: project-stack-shrink 1s linear both;
    animation-timeline: --project-stack-progress;
    animation-range: exit-crossing calc((var(--stack-layer) - 1) / var(--stack-count) * 100%) exit-crossing calc(var(--stack-layer) / var(--stack-count) * 100%);
  }
}
.about { display: grid; grid-template-columns: 38% minmax(0, 62%); border-block: 1px solid var(--line); }
.about-figure { margin: 0; position: relative; display: flex; flex-direction: column; min-height: clamp(560px, 53.7vw, 1007px); border-right: 1px solid var(--line); }
.portrait-placeholder { flex: 1; min-height: 400px; }
.portrait-image { width: 100%; height: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: center; }
.about-figure figcaption { padding: 12px var(--gutter); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; }
.about-content { min-width: 0; padding: var(--section-space) var(--gutter); }
.about .section-heading h2 { font-size: clamp(30px, 4vw, 72px); line-height: 1; }
.about .secondary-line { color: var(--accent); font-weight: 700; text-transform: lowercase; }
.about-copy { padding-top: 40px; }
.about-copy > p, .about-copy > .lead { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; letter-spacing: 0; color: var(--muted); margin-bottom: 24px; }
.about-bottom { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.companies { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; font-weight: 500; margin-top: 16px; }
.companies li { border: 1px solid var(--line); padding: 8px 16px; }
.about-bottom .button { min-height: 33px; padding: 8px 16px; font-size: 12px; }
.education-list { display: grid; gap: 20px; margin-top: 20px; line-height: 1.5; font-size: 15px; }
.education-list strong { display: block; font-weight: 600; }
.education-list span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.split-heading .section-intro { max-width: 350px; margin: 0; }
.capability-list { margin-top: 50px; }
.capability-list > li { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 108px; padding-block: 27px; border-top: 1px solid var(--line); }
.capability-list > li:last-child { border-bottom: 1px solid var(--line); }
.capability-list h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.035em; }
.capability-list h3 { flex: 1; }
.capability-list > li > p { flex: 1; max-width: 600px; color: var(--muted); line-height: 1.65; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tags li { border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 14px; color: var(--muted); font-size: 12px; }
.contact { padding-top: var(--section-space); }
.contact-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: clamp(32px, 4.26vw, 80px); }
.contact h2 { font-size: clamp(36px, 4.6vw, 86px); line-height: 1.08; margin-top: 16px; }
.contact h2 .secondary-line { color: var(--accent); }
.contact .button { margin-top: 28px; }
.contact-links { display: flex; flex-direction: column; align-items: flex-end; text-align: right; justify-self: stretch; gap: 10px; }
.contact-links .eyebrow { margin-bottom: 8px; }
.contact-links > a, .contact-links > button { font-size: clamp(18px, 1.4vw, 26.3px); letter-spacing: -.025em; }
.contact-links button { border: 0; background: none; padding: 2px 0; }
.nav-links a:hover, .footer-bottom a:hover, .contact-links a:hover, .scroll-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.availability { display: flex; justify-content: space-between; gap: 24px; padding-block: 70px 32px; font-size: 12px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; font-size: 12px; color: var(--muted); }
.contact > .footer-bottom { margin-top: 80px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.footer-bottom a { padding-block: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.case-study-main { padding-top: clamp(56px, 6vw, 100px); }
.case-hero { max-width: 1200px; padding-bottom: 64px; }
.case-hero h1 { font-size: clamp(36px, 4.5vw, 76px); line-height: 1.08; margin-top: 24px; }
.case-summary { color: var(--muted); font-size: clamp(18px, 1.4vw, 23px); line-height: 1.65; margin-top: 32px; max-width: 850px; }
.case-facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.fact-item { display: flex; flex-direction: column; gap: 8px; }
.fact-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact-value { font-size: 16px; }
.case-hero > img { display: block; width: 100%; height: auto; margin-top: 40px; background: var(--surface); }
.case-body { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(220px, 1fr); gap: clamp(32px, 5vw, 80px); padding-bottom: 64px; }
.case-content { min-width: 0; }
.case-content h2 { font-size: clamp(27px, 2.1vw, 36px); font-weight: 600; letter-spacing: -.03em; margin-block: 48px 20px; }
.case-content > h2:first-child { margin-top: 0; }
.case-content p { font-size: 17px; line-height: 1.8; color: var(--muted); margin-bottom: 24px; }
.case-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.case-content img { display: block; width: 100%; height: auto; margin-block: 32px 12px; }
.case-content figure { margin: 32px 0; }
.case-content figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); }
.case-results { padding-block: 24px 64px; }
.case-results .container { max-width: 1200px; }
.case-results .container > div { max-width: 800px; }
.case-results h2 { font-size: clamp(27px, 2.1vw, 36px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 20px; }
.case-results p { font-size: 17px; line-height: 1.8; color: var(--muted); }
.case-content > div { margin-bottom: 32px; }
.case-content > div > p { font-size: 14px; }
.case-content .acesso-protegido { background: var(--surface); padding: 28px; border: 1px solid var(--line); margin-top: 48px; }
.acesso-protegido h2 { margin-top: 0; font-size: 26px; }
.case-rail > div { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.case-rail h2 { font-size: 20px; margin-bottom: 20px; }
.case-rail ul { padding-left: 18px; list-style: disc; }
.case-rail li { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.case-next { padding-block: 64px; background: var(--surface); }
.case-next > .container { max-width: 1200px; }
.case-next > .container > h2 { font-size: 28px; font-weight: 600; margin-bottom: 24px; }
.case-next > .container > div { display: flex; flex-wrap: wrap; gap: 24px; }
.related-project { flex: 1; min-width: min(100%, 280px); border: 1px solid var(--line); padding: 28px; background: var(--background); }
.related-project h3 { font-size: 24px; line-height: 1.3; margin-block: 14px 24px; font-weight: 600; }
.related-project .project-meta { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.case-footer { padding-top: 48px; }
.not-found { min-height: 65vh; padding-block: 100px; }
.not-found h1 { font-size: clamp(36px, 6vw, 72px); }
.not-found p { margin-block: 24px; line-height: 1.6; }
@media (max-width: 1100px) {
  .nav-inner { flex-wrap: wrap; gap: 0 20px; padding-top: 8px; }
  .nav-tools { margin-left: auto; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: clamp(14px, 4vw, 40px); }
  html { scroll-padding-top: 140px; }
}
@media (max-width: 900px) {
  .wordmark-role { display: none; }
  .nav-inner { gap: 16px; }
  .nav-tools { gap: 10px; }
  .nav-links { gap: 18px; }
  .hero-main { padding-top: 130px; }
  .hero-description { max-width: 420px; }
  .about-content { padding-block: 80px; }
  .about-copy { padding-top: 28px; }
  .contact-main { gap: 24px; }
}
@media (max-width: 760px) {
  .project-card-surface { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .project-index { margin-bottom: 12px; }
}
@media (max-width: 600px) {
  .nav-inner { flex-wrap: wrap; column-gap: 12px; row-gap: 0; padding-top: 8px; }
  .wordmark { font-size: 15px; }
  .nav-tools { margin-left: auto; }
  .theme-switch { font-size: 11px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
  html { scroll-padding-top: 120px; }
  .hero { min-height: 600px; }
  .hero::before { inset-inline-start: 15%; opacity: .3; }
  .hero-main { padding-top: 100px; }
  .hero .eyebrow { max-width: none; font-size: 10px; line-height: 1.8; }
  h1 { font-size: clamp(32px, 8.8vw, 48px); }
  .hero-bottom-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 24px 16px; }
  .hero-description { grid-column: 1 / -1; max-width: none; }
  .hero-actions { grid-column: 1 / -1; }
  .hero .button { grid-column: 1; }
  .scroll-link { grid-column: 1 / -1; }
  .work-heading { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; }
  .work-heading h2 { font-size: clamp(23px, 5.8vw, 35px); }
  .work-heading .section-intro { font-size: 13px; }
  .work-heading .eyebrow { font-size: 10px; }
  .project-card-surface { padding: 16px; }
  .about { grid-template-columns: 1fr; }
  .about-figure { min-height: 0; border-right: 0; }
  .portrait-placeholder { aspect-ratio: 712 / 1007; min-height: 0; flex: none; }
  .portrait-image { height: auto; aspect-ratio: 4 / 5; flex: none; }
  .about-content { padding: 56px var(--gutter); }
  .split-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .capability-list > li { flex-direction: column; align-items: flex-start; gap: 18px; }
  .tags { justify-content: flex-start; }
  .contact-links > a { overflow-wrap: anywhere; }
  .contact-main { grid-template-columns: 1fr; gap: 48px; }
  .contact-links { align-items: flex-end; text-align: right; }
  .availability { padding-top: 50px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-bottom nav { justify-content: flex-start; gap: 16px; }
  .case-body { grid-template-columns: 1fr; }
  .case-hero { padding-bottom: 40px; }
  .case-content p { font-size: 16px; }
  .case-facts { gap: 24px; }
  .case-next { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media (forced-colors: active) { html { scrollbar-color: auto; } .button { border: 1px solid ButtonText; } .project-card-surface { background: Canvas; border-color: CanvasText; } }

/* Motion is progressive enhancement: without JavaScript all content stays visible. */
.hero-line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-line { display: block; }
.motion-enabled .hero .eyebrow { animation: hero-fade .55s both cubic-bezier(.16,1,.3,1); }
.motion-enabled .hero-line-mask:first-child .hero-line { animation: hero-rise .78s .08s both cubic-bezier(.16,1,.3,1); }
.motion-enabled .hero-line-mask:last-child .hero-line { animation: hero-rise .78s .18s both cubic-bezier(.16,1,.3,1); }
.motion-enabled .hero-description { animation: hero-fade .65s .3s both cubic-bezier(.16,1,.3,1); }
.motion-enabled .hero-actions { animation: hero-fade .65s .4s both cubic-bezier(.16,1,.3,1); }
.motion-enabled .scroll-link { animation: hero-fade .65s .48s both cubic-bezier(.16,1,.3,1); }
@keyframes hero-rise { from { opacity: 0; transform: translateY(85%); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
[data-motion-pending] { opacity: 0; transform: translateY(22px); }
[data-reveal] { transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
.contact-anchor { display: block; height: 0; }
body[data-footer-reveal] .page-shell { position: relative; z-index: 2; background: var(--background); margin-bottom: var(--footer-height); }
body[data-footer-reveal] > footer { position: fixed; inset: auto 0 0; z-index: 1; width: 100%; background: var(--background); border-top: 1px solid var(--line); }
body[data-footer-reveal] .case-footer { padding-top: 0; }
@media (max-width: 900px) {
  body[data-footer-reveal] .page-shell { margin-bottom: 0; }
  body[data-footer-reveal] > footer { position: relative; inset: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-enabled .hero .eyebrow, .motion-enabled .hero-line, .motion-enabled .hero-description, .motion-enabled .hero-actions, .motion-enabled .scroll-link { animation: none; }
  [data-motion-pending] { opacity: 1; transform: none; }
  [data-reveal] { transition: none; }
  .project-stack[data-stacked='true'] { display: grid; gap: 24px; }
  .project-stack[data-stacked='true'] .project-card { position: relative; top: auto; height: auto; margin-bottom: 0; }
  .project-card-surface { animation: none !important; transform: none !important; }
}
