@font-face {
  font-family: "Roobert";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/roobert-trial-light.otf") format("opentype");
}
@font-face {
  font-family: "Roobert";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/roobert-trial-medium.otf") format("opentype");
}
:root {
  --bg: #fff;
  --ink: #1d1b20;
  --placeholder: #ffd8e4;
  --footer-bg: #f3edf7;
  --button-bg: #e6e0e9;
  --page-gutter: 48px;
  --section-space: 96px;
  --section-edge: 192px;
  --first-card-space: 192px;
  color-scheme: light;
}
:root[data-theme="dark"] { --bg: #0f0d13; --ink: #e6e0e9; --footer-bg: #211f26; --button-bg: #36343b; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Roobert", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; font-weight: inherit; }
h1, h2, h3, .details-link, .footer-note { letter-spacing: -0.01em; }
strong { font-weight: 500; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; flex-shrink: 0; }
.container { width: calc(100% - var(--page-gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 12px 16px; background: var(--ink); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
[tabindex="-1"]:focus { outline: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-block: 16px; }
.brand { font-size: 16px; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.theme-toggle { position: relative; flex: none; width: 52px; height: 32px; padding: 4px; border: 0; border-radius: 100px; background: var(--ink); cursor: pointer; transition: background-color 650ms ease-in-out, box-shadow 320ms ease-in-out; }
.theme-toggle[hidden] { display: none; }
.theme-toggle::before { content: ""; position: absolute; inset: -6px 0; }
.theme-toggle__thumb { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); transform: translateX(0); transition: transform 180ms ease, background-color 650ms ease-in-out; }
[data-theme="dark"] .theme-toggle__thumb { transform: translateX(20px); }
.theme-dark { display: none; }
[data-theme="dark"] .theme-light { display: none; }
[data-theme="dark"] .theme-dark { display: block; }
.theme-toggle__thumb .theme-light, .theme-toggle__thumb .theme-dark { display: block; grid-area: 1 / 1; transition: opacity 650ms ease-in-out; }
.theme-toggle__thumb .theme-light { opacity: 1; }
.theme-toggle__thumb .theme-dark { opacity: 0; }
[data-theme="dark"] .theme-toggle__thumb .theme-light { opacity: 0; }
[data-theme="dark"] .theme-toggle__thumb .theme-dark { opacity: 1; }
.hero { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 48px; min-height: calc(100svh - 64px); padding-block: 48px 32px; }
.hero h1 { width: 100%; max-width: 1146px; font-size: 80px; line-height: 1.2; }
.story-link, .back-to-top, .education-heading { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; line-height: 26px; }
.story-link, .back-to-top { min-height: 26px; }
.mobile-break { display: none; }
.arrow-down { transform: rotate(90deg); }
.role-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; padding-block: var(--section-space); }
.image-placeholder { width: 100%; aspect-ratio: 736 / 453; background: var(--placeholder); }
.role-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 16px; }
.role-details { width: 100%; }
.role-details h2 { font-size: 32px; line-height: 1.5; }
.role-date { margin-top: 4px; font-size: 16px; line-height: 2; }
.details-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; font-size: 24px; font-weight: 500; line-height: 38px; }
.role-card--first { padding-top: var(--first-card-space); }
.role-card--reverse .image-placeholder { grid-column: 2; grid-row: 1; }
.role-card--reverse .role-copy { grid-column: 1; grid-row: 1; }
.role-card:last-child { padding-bottom: var(--section-edge); }
.education { display: flex; flex-direction: column; gap: 72px; padding-block: var(--section-space) var(--section-edge); }
.education-list { display: grid; gap: 32px; margin: 0; padding: 0; list-style: none; }
.education-list h3 { font-size: 32px; line-height: 1.5; }
.education-list p { font-size: 16px; line-height: 2; }
.site-footer { background: var(--footer-bg); color: var(--ink); padding-block: var(--section-space); }
.footer-inner { display: flex; flex-direction: column; gap: 96px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { flex: 1; min-width: 0; }
.footer-copy h2 { font-size: 32px; line-height: 51px; }
.footer-copy p { font-size: 16px; line-height: 26px; }
.footer-copy a { font-weight: 500; }
.footer-note { color: var(--ink); font-size: 12px; line-height: 2; }
.back-to-top { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; background: var(--button-bg); color: var(--ink); }
.back-to-top img { transform: rotate(-90deg); }
body, .site-footer, .footer-note, .back-to-top { transition: background-color 650ms ease-in-out, color 650ms ease-in-out; }
@media (hover: hover) {
  .brand:hover, .details-link:hover, .story-link:hover, .back-to-top:hover, .footer-copy a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .theme-toggle:hover { box-shadow: 0 0 0 4px #80808033; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  :root { --page-gutter: 24px; --first-card-space: 144px; }
  .hero { padding-bottom: 24px; }
  .hero h1 { max-width: 918px; font-size: 64px; line-height: 77px; }
  .image-placeholder { aspect-ratio: 428 / 264; }
}
@media (min-width: 840px) and (max-width: 1199px) {
  :root { --page-gutter: 24px; --section-space: 72px; --section-edge: 144px; --first-card-space: 96px; }
  .role-card { gap: 24px; }
  .image-placeholder { aspect-ratio: 416.5 / 257; }
  .hero h1 { font-size: 48px; line-height: 58px; }
}
@media (min-width: 1600px) {
  .header-inner { padding-block: 32px; }
  .hero { min-height: calc(100svh - 96px); }
}
@media (min-width: 600px) and (max-width: 839px) {
  .hero { padding-bottom: 48px; }
}
@media (max-width: 839px) {
  :root { --page-gutter: 32px; --section-space: 48px; --section-edge: 96px; --first-card-space: 96px; }
  .image-placeholder { aspect-ratio: 536 / 331; }
  .hero h1 { font-size: 48px; line-height: 58px; }
  .role-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .role-card--reverse .image-placeholder, .role-card--reverse .role-copy { grid-column: auto; grid-row: auto; }
  .role-copy { padding: 0; gap: 24px; }
  .back-to-top { display: none; }
}
@media (max-width: 599px) {
  :root { --page-gutter: 16px; --section-space: 32px; --section-edge: 72px; --first-card-space: 72px; }
  .image-placeholder { aspect-ratio: 328 / 202; }
  .hero h1 { font-size: 32px; line-height: 38px; }
  .story-link { flex-direction: column; align-items: flex-start; gap: 8px; }
  .role-details h2, .education-list h3, .footer-copy h2 { font-size: 24px; }
  .details-link { font-size: 16px; line-height: 26px; }
  .footer-copy h2 { line-height: 38px; }
  .education-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mobile-break { display: initial; }
  .education-list { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .site-footer, .footer-note, .back-to-top, .theme-toggle, .theme-toggle__thumb, .theme-toggle__thumb img { transition: none; }
}
@media print {
  :root { --bg: #fff; --ink: #000; }
  .theme-toggle, .skip-link, .back-to-top { display: none; }
  .hero { min-height: auto; }
  .role-card { break-inside: avoid; }
  .site-footer { background: #fff; color: #000; }
}
/* Responsive layout from the supplied Figma frames. */
:root { --placeholder: #ff0004; --button-bg: #fef7ff; }
:root[data-theme="dark"] { --button-bg: #3b383e; }
.header-inner { min-height: 56px; padding-block: 16px; }
.brand { line-height: 24px; }
.theme-toggle { width: 48px; height: 22px; padding: 2px; }
.theme-toggle__thumb { width: 18px; height: 18px; transition: background-color 650ms ease-in-out; }
.theme-toggle__thumb img { width: 14px; height: 14px; }
[data-theme="dark"] .theme-toggle__thumb { transform: translateX(26px); }
.hero { position: relative; min-height: calc(100svh - 56px); padding-right: 96px; }
.hero h1 { max-width: none; font-size: 96px; line-height: 1.2; }
.hero > .social-links { position: absolute; right: 0; bottom: 96px; flex-direction: column; }
.social-links { display: flex; gap: 16px; }
.social-links img { width: 48px; height: 48px; }
.role-card { display: block; position: relative; padding-block: 48px; }
.role-card--first { padding-top: 192px; }
.role-copy { min-height: 930px; padding: 32px 48px 48px; border-radius: 24px; background: var(--placeholder); justify-content: space-between; align-items: flex-end; }
.role-details h2 { font-size: 48px; line-height: 1.5; }
.role-date { margin: 0; font-size: 24px; }
.details-link { background: var(--button-bg); border-radius: 40px; padding: 16px 32px; line-height: 36px; gap: 8px; transition: background-color 650ms ease-in-out, color 650ms ease-in-out; }
.role-card:last-child { padding-bottom: 96px; }
.education { display: grid; grid-template-columns: 480px 1fr; gap: 32px; padding-block: 96px 192px; }
.education-heading { display: block; font-size: 24px; font-weight: 300; line-height: 1.5; }
.education-heading img { display: none; }
.education-list h3 { line-height: 1.2; }
.site-footer, .project-page .site-footer { padding-block: 24px; }
.footer-inner { display: grid; grid-template-columns: 480px 1fr; gap: 72px 32px; }
.footer-brand { grid-column: 1; grid-row: 1 / span 2; font-size: 24px; font-weight: 500; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-copy h2, .project-page .footer-copy h2 { font-size: 32px; line-height: 1.2; }
.footer-copy p { line-height: 2; }
.footer-copy a { font-weight: 300; }
.footer-note { grid-column: 2; }
.back-to-top { display: none; }
@media (min-width: 1200px) and (max-width: 1599px) {
 .hero h1 { font-size: 80px; line-height: 1.2; }
 .role-copy { min-height: 762px; padding: 24px 32px 32px; }
 .role-details h2 { font-size: 32px; }
 .role-date { font-size: 16px; }
 .role-card--first { padding-top: 192px; }
 .education, .footer-inner { grid-template-columns: 39% 1fr; }
}
@media (min-width: 840px) and (max-width: 1199px) {
 .hero h1 { font-size: 64px; }
 .role-copy { min-height: 536px; padding: 24px 32px 32px; }
 .role-details h2 { font-size: 32px; }
 .role-date { font-size: 16px; }
 .education, .footer-inner { grid-template-columns: 39% 1fr; }
}
@media (max-width: 839px) {
 .hero { padding-right: 0; justify-content: flex-start; }
 .hero h1 { font-size: 40px; }
 .hero > .social-links { bottom: 32px; flex-direction: row; }
 .role-copy { min-height: 536px; padding: 24px 32px 32px; }
 .role-details h2 { font-size: 32px; }
 .role-date { font-size: 16px; }
 .education { display: flex; gap: 64px; padding-block: 96px 144px; }
 .footer-inner { display: flex; gap: 72px; }
 .footer-brand { display: none; }
}
@media (max-width: 599px) {
 .hero h1 { font-size: 24px; line-height: 1.2; }
 .hero { gap: 48px; }
 .story-link { flex-direction: row; align-items: center; }
 .role-card--first { padding-top: 96px; }
 .role-copy { min-height: 479px; padding: 16px 24px 24px; }
 .role-details h2 { font-size: 24px; }
 .details-link { font-size: 24px; align-self: stretch; justify-content: center; padding-inline: 16px; }
 .education-list h3 { font-size: 24px; line-height: 1.5; }
 .site-footer, .project-page .site-footer { padding-block: 16px 32px; }
}
@media (prefers-reduced-motion: no-preference) {
 .scroll-reveal { opacity: 0; transform: translateY(32px); transition: opacity 900ms cubic-bezier(.65,0,.35,1), transform 900ms cubic-bezier(.65,0,.35,1); }
 .scroll-reveal.is-visible, .scroll-reveal:focus-within { opacity: 1; transform: translateY(0); }
}
@media (min-width: 840px) {
 .hero > .hero-social { bottom: 32px; height: 272px; width: 48px; justify-content: flex-end; }
 .hero-social a { position: relative; z-index: 1; width: 48px; height: 48px; }
 .hero-social a img { visibility: hidden; }
 .hero-social .hero-social__art { position: absolute; inset: 0; width: 48px; height: 272px; pointer-events: none; }
}
@media (max-width: 839px) { .hero-social__art { display: none !important; } }
/* Figma artwork is clipped into independent track and symbol layers. */
.theme-toggle { width: 55px; height: 22px; padding: 0; border-radius: 0; background: transparent; transition: none; }
.theme-toggle:hover { box-shadow: none; }
.theme-toggle::before { inset: -11px -5px; }
.theme-toggle__art { position: absolute; top: 0; right: 0; }
.theme-toggle__art--dark { top: 1px; opacity: 0; }
.theme-toggle__art--light { opacity: 1; }
[data-theme="dark"] .theme-toggle__art--dark { opacity: 1; }
[data-theme="dark"] .theme-toggle__art--light { opacity: 0; }
.social-links a { display: block; flex: none; transform-origin: center; transition: transform 260ms cubic-bezier(.65,0,.35,1); }
.social-links a:focus-visible { transform: scale(1.15); border-radius: 50%; }
@media (hover: hover) { .social-links a:hover { transform: scale(1.15); } }
@media (min-width: 840px) { .hero-social a img { visibility: visible; } }
.scroll-stack { position: relative; padding-top: 192px; padding-bottom: 60svh; }
.scroll-stack .role-card { position: sticky; top: calc(64px + var(--stack-index) * 24px); padding: 0; margin-bottom: 96px; z-index: calc(1 + var(--stack-index)); }
.scroll-stack .role-card:last-child { margin-bottom: 0; }
.scroll-stack .role-copy { min-height: min(930px, calc(100svh - 200px)); transform-origin: top center; will-change: transform; box-shadow: 0 -8px 32px #00000014; }
@media (max-width: 1599px) { .scroll-stack .role-copy { min-height: min(762px, calc(100svh - 200px)); } }
@media (max-width: 839px) { .scroll-stack { padding-top: 96px; } .scroll-stack .role-copy { min-height: min(536px, calc(100svh - 180px)); } .scroll-stack .role-card { top: calc(32px + var(--stack-index) * 24px); } }
@media (max-width: 599px) { .scroll-stack .role-copy { min-height: min(479px, calc(100svh - 160px)); } }
@media (prefers-reduced-motion: reduce) { .social-links a { transition: none; } }
@media print { .scroll-stack { padding-block: 0; } .scroll-stack .role-card { position: static; } .scroll-stack .role-copy { transform: none !important; } }
/* Shared scroll release is controlled by scroll-stack.js. */
.scroll-stack .role-card { position: relative; top: auto; will-change: transform; }
.scroll-stack .role-copy { will-change: transform, filter; }
.theme-toggle__art { transition: opacity 650ms ease-in-out, transform 650ms cubic-bezier(.65,0,.35,1); }
.theme-toggle__art--light { transform: translateX(0); }
.theme-toggle__art--dark { transform: translateX(-28px); }
[data-theme="dark"] .theme-toggle__art--light { transform: translateX(28px); }
[data-theme="dark"] .theme-toggle__art--dark { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .theme-toggle__art { transition: none; } }
@media print { .scroll-stack .role-card { transform: none !important; } .scroll-stack .role-copy { filter: none !important; } }

.theme-toggle__track { position: absolute; right: 0; top: 0; pointer-events: none; transition: opacity 650ms ease-in-out; }
.theme-toggle__track--light { clip-path: inset(0 0 0 24px); opacity: 1; }
.theme-toggle__track--dark { top: 1px; clip-path: inset(0 22px 0 0); opacity: 0; }
.theme-toggle__art--light { clip-path: inset(0 26px 0 0); }
.theme-toggle__art--dark { clip-path: inset(0 0 0 35px); transform: translateX(-27px); }
[data-theme="dark"] .theme-toggle__art--light { transform: translateX(27px); }
[data-theme="dark"] .theme-toggle__track--light { opacity: 0; }
[data-theme="dark"] .theme-toggle__track--dark { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .theme-toggle__track { transition: none; } }
/* Figma footer's text-and-arrow control, aligned with the contact heading. */
.footer-inner { position: relative; }
.back-to-top, .project-page .back-to-top { display: inline-flex; align-items: center; gap: 8px; position: absolute; top: 0; right: 0; width: auto; height: auto; min-height: 26px; background: transparent; border-radius: 0; font-size: 16px; font-weight: 500; line-height: 26px; white-space: nowrap; }
.back-to-top img { transform: rotate(-90deg); }
.footer-cta { padding-right: 150px; }
@media (max-width: 839px) {
 .back-to-top, .project-page .back-to-top { position: static; align-self: flex-start; order: 3; }
 .footer-cta { padding-right: 0; }
}
@media print { .back-to-top, .project-page .back-to-top { display: none; } }
.back-to-top { z-index: 1; }

/* Dark track: 24px long, 2px thick, with the original moon artwork. */
.theme-toggle__track--dark { width: 24px; height: 2px; top: 10px; right: 22px; clip-path: none; background: #e6e0e9; border-radius: 0; }
/* Full HD and 4K layouts from Figma 5218:3292 and 5218:3396. */
@media (min-width: 1920px) {
 :root { --page-gutter: 64px; }
 .header-inner { min-height: 64px; }
 .brand { line-height: 32px; }
 .hero { min-height: calc(100svh - 64px); }
 .hero h1 { max-width: 1336px; }
 .story-link { font-weight: 300; line-height: 32px; }
 .hero > .hero-social { width: 64px; height: 336px; gap: 16px; bottom: 32px; }
 .hero-social a { width: 64px; height: 64px; display: grid; place-items: center; }
 .hero-social a img { transform: scale(1.333333); }
 .role-copy, .scroll-stack .role-copy { min-height: min(685px, calc(100svh - 200px)); }
 .education, .footer-inner { grid-template-columns: 608px minmax(0, 1fr); }
}
@media (min-width: 3840px) {
 .header-inner { min-height: 128px; }
 .brand { font-size: 32px; line-height: 64px; }
 .theme-toggle { transform: scale(2); transform-origin: right center; }
 .hero { min-height: calc(100svh - 128px); padding-right: 144px; }
 .hero h1 { max-width: 2632px; font-size: 192px; }
 .story-link { font-size: 32px; line-height: 64px; min-height: 64px; gap: 20px; }
 .story-link img { transform: rotate(90deg) scale(2); margin-inline: 12px; }
 .hero > .hero-social { width: 96px; height: 448px; gap: 32px; }
 .hero-social a { width: 96px; height: 96px; }
 .hero-social a img { transform: scale(2); }
 .scroll-stack { padding-top: 384px; }
 .scroll-stack .role-card { margin-bottom: 192px; }
 .role-copy, .scroll-stack .role-copy { min-height: min(1418px, calc(100svh - 400px)); padding: 64px 96px 96px; }
 .role-details h2 { font-size: 96px; }
 .role-date { font-size: 48px; }
 .details-link { font-size: 48px; line-height: 72px; border-radius: 64px; padding: 24px 48px 24px 64px; gap: 28px; }
 .details-link img { transform: scale(2); margin-inline: 12px; }
 .education { grid-template-columns: 1216px minmax(0, 1fr); padding-block: 192px 384px; }
 .education-heading { font-size: 48px; }
 .education-list h3 { font-size: 64px; }
 .education-list p { font-size: 32px; }
 .site-footer { padding-block: 96px; }
 .footer-inner { grid-template-columns: 1216px minmax(0, 1fr); row-gap: 144px; }
 .footer-brand { font-size: 48px; }
 .footer-copy h2 { font-size: 64px; }
 .footer-copy p { font-size: 32px; }
 .footer-note { font-size: 24px; }
 .footer-cta { padding-right: 300px; }
 .footer-cta .social-links { gap: 32px; }
 .footer-cta .social-links a { display: grid; place-items: center; width: 96px; height: 96px; }
 .footer-cta .social-links img { transform: scale(2); }
 .back-to-top { font-size: 32px; line-height: 64px; min-height: 64px; gap: 20px; }
 .back-to-top img { transform: rotate(-90deg) scale(2); margin-inline: 12px; }
}
/* Reveal the header when scrolling back up. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); transform: translateY(0); transition: transform 420ms cubic-bezier(.65,0,.35,1), background-color 650ms ease-in-out; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:focus-within { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
@media print { .site-header { position: static; transform: none; } }
@media (max-width: 600px) {
 .back-to-top, .project-page .back-to-top { display: none; }
}
.mouse-cursor { position: fixed; left: 0; top: 0; z-index: 2000; pointer-events: none; mix-blend-mode: difference; opacity: 0; }
.mouse-cursor::before { content: ''; display: block; width: 56px; height: 56px; border-radius: 50%; background: #fff; opacity: 1; transform: translate(-50%, -50%); transition: width 260ms ease, height 260ms ease; }
.mouse-cursor.is-visible { opacity: 1; }
.mouse-cursor.is-interactive::before { width: 91px; height: 91px; }
@media (hover: hover) and (pointer: fine) {
 html, html *, html *::before, html *::after { cursor: none !important; }
}
@media (prefers-reduced-motion: reduce) { .mouse-cursor, .mouse-cursor::before { transition: none; } }
@media print { .mouse-cursor { display: none; } }
.hero-action-4k { display: none; }
@media (min-width: 3840px) {
 .hero > .hero-social { width: 124px; height: 564px; gap: 48px; justify-content: flex-start; bottom: 32px; }
 .hero-social a { width: 124px; height: 124px; }
 .hero-social a .theme-light, .hero-social a .theme-dark { display: none; }
 .hero-social a .hero-action-4k { display: block; width: 124px; height: 124px; transform: none; }
 [data-theme="dark"] .hero-action-4k { filter: invert(1); }
}
/* Footer layouts from the landing and project Figma frames. */
.site-footer, .project-page .site-footer { padding: 48px 48px 96px; }
.footer-inner { width: 100%; display: grid; grid-template-columns: 480px minmax(0, 1fr) max-content; gap: 32px; align-items: start; }
.footer-brand { display: block; grid-column: 1; grid-row: 1; font-size: 24px; font-weight: 500; line-height: 1.5; }
.footer-note { grid-column: 2; grid-row: 1; padding: 0; font-size: 24px; line-height: 2; }
.back-to-top, .project-page .back-to-top { position: static; grid-column: 3; grid-row: 1; align-self: start; order: initial; }
.project-page .footer-inner { grid-template-columns: 640px minmax(0, 1fr) max-content; column-gap: 0; }
.project-page .footer-note { font-size: 16px; }
@media (min-width: 1920px) {
 .site-footer, .project-page .site-footer { padding-inline: 64px; }
 .footer-inner { grid-template-columns: 576px minmax(0, 1fr) max-content; }
 .footer-note { font-size: 16px; }
}
@media (min-width: 3840px) {
 .site-footer, .project-page .site-footer { padding-block: 96px; }
 .footer-inner, .project-page .footer-inner { grid-template-columns: 1216px minmax(0, 1fr) max-content; column-gap: 32px; }
 .footer-brand { font-size: 48px; }
 .footer-note, .project-page .footer-note { font-size: 32px; }
 .back-to-top, .project-page .back-to-top { font-size: 32px; line-height: 64px; gap: 8px; }
 .back-to-top img { width: 48px; height: 48px; margin: 0; transform: rotate(-90deg); }
}
@media (min-width: 1200px) and (max-width: 1599px) {
 .footer-inner { grid-template-columns: 471px minmax(0, 1fr) max-content; }
 .footer-note { font-size: 16px; }
 .project-page .site-footer, .project-page .site-footer { padding: 24px 24px 96px; }
 .project-page .footer-inner { grid-template-columns: 495px minmax(0, 1fr) max-content; column-gap: 32px; }
 .project-page .footer-note { font-size: 12px; }
 .project-page .footer-brand { line-height: 1.6; }
}
@media (min-width: 601px) and (max-width: 1199px) {
 .site-footer, .project-page .site-footer { padding: 24px 24px 64px; }
 .footer-inner { grid-template-columns: minmax(0, 1fr) max-content; gap: 16px 32px; }
 .footer-brand { grid-column: 1; grid-row: 1; }
 .footer-note { grid-column: 1; grid-row: 2; font-size: 12px; }
 .back-to-top, .project-page .back-to-top { grid-column: 2; grid-row: 1; }
 .project-page .footer-inner { grid-template-columns: min(343px, 38vw) minmax(0, 1fr) max-content; gap: 24px; }
 .project-page .footer-brand { font-size: 16px; line-height: 1.6; }
 .project-page .footer-note { grid-column: 2; grid-row: 1; font-size: 12px; }
 .project-page .back-to-top { grid-column: 3; }
}
@media (max-width: 600px) {
 .site-footer, .project-page .site-footer { padding: 24px 24px 48px; }
 .footer-inner, .project-page .footer-inner { display: flex; flex-direction: column; gap: 16px; }
 .footer-brand { font-size: 24px; line-height: 1.5; }
 .footer-note, .project-page .footer-note { font-size: 12px; }
 .back-to-top, .project-page .back-to-top { display: none; }
 .project-page .site-footer, .project-page .site-footer { padding: 24px 32px 48px; }
 .project-page .footer-inner { gap: 24px; }
 .project-page .footer-brand { font-size: 16px; line-height: 1.6; }
}
@media (max-width: 399px) {
 .site-footer, .project-page .site-footer { padding-bottom: 32px; }
 .project-page .site-footer, .project-page .site-footer { padding: 16px 16px 32px; }
}
/* Hero contact actions stay in viewport while fading with scroll progress. */
.hero > .hero-social { position: fixed; right: var(--page-gutter); z-index: 90; }

.mouse-cursor.is-pressed::before { width: 35px; height: 35px; }
