@font-face {
  font-family: Geist;
  src: url("assets/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f5f6fa;
  --surface: #fff;
  --surface-soft: #eef0f8;
  --ink: #14182a;
  --muted: #4e5870;
  --line: #d9deeb;
  --accent: #3448cf;
  --accent-hover: #2738ae;
  --accent-soft: #e5eaff;
  --on-accent: #fff;
  --navy: #191d40;
  --panel-text: #f0f2ff;
  --panel-muted: #c4cbed;
  --panel-line: #484f7c;
  --focus: #4058ec;
  --error: #a7283a;
  --radius: 16px;
  --motion-quick: 150ms;
  --motion-panel: 260ms;
  --motion-entrance: 480ms;
  --motion-out: cubic-bezier(.16, 1, .3, 1);
  --rail: 13.125rem;
  --offset: clamp(1rem, 2.3vw, 2.5rem);
  font: 100%/1.6 Geist, system-ui, sans-serif;
  scroll-behavior: smooth;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111523;
  --surface: #181e2f;
  --surface-soft: #222a40;
  --ink: #f1f3ff;
  --muted: #bdc6dc;
  --line: #313b55;
  --accent: #a6b3ff;
  --accent-hover: #bec7ff;
  --accent-soft: #273462;
  --on-accent: #131a37;
  --navy: #1c2340;
  --focus: #b3bfff;
  --error: #ff9aa2;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button, input, select, textarea { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent-soft); color: var(--ink); }
section, #library { scroll-margin-top: 1.75rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.09; letter-spacing: -.035em; text-wrap: balance; }
p { color: var(--muted); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--surface); color: var(--accent); }

.sidebar {
  position: fixed;
  z-index: 2;
  inset: var(--offset) auto var(--offset) var(--offset);
  width: var(--rail);
  overflow: auto;
  scrollbar-width: thin;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sidebar-main { min-height: 100%; display: flex; flex-direction: column; padding: 1.15rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; line-height: 1.15; text-decoration: none; }
.monogram { display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border-radius: 10px; width: 2.5rem; height: 2.5rem; flex: none; font-weight: 700; letter-spacing: -.035em; }
.sidebar-name { margin: .1rem 0 1.25rem; }
.portrait { width: 100%; height: clamp(6rem, 19vh, 9rem); object-fit: cover; object-position: center 34%; border-radius: 11px; background: #fff; border: 1px solid var(--line); }
.role { margin: .66rem 0 1.05rem; font-size: .875rem; line-height: 1.45; }
.nav-links { display: grid; gap: .12rem; }
.nav-links a { padding: .55rem .72rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 550; }
.nav-links a:hover { color: var(--ink); background: var(--surface-soft); }
.nav-links a[aria-current] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.sidebar-foot { padding-top: 1.2rem; margin-top: auto; }
.socials { display: flex; gap: .75rem; flex-wrap: wrap; padding: .6rem 0; border-top: 1px solid var(--line); }
.socials a { font-size: .875rem; font-weight: 550; color: var(--muted); text-decoration: none; }
.socials a:hover { text-decoration: underline; color: var(--accent); }
.theme-button { border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: .45rem .7rem; font-size: .875rem; font-weight: 600; text-align: left; }
.theme-button:hover { background: var(--surface-soft); }
.mobile-bar { display: none; }

main {
  width: min(calc(100% - var(--rail) - 3 * var(--offset) - 1.5rem), 75rem);
  margin: 0 auto 0 calc(var(--rail) + 2 * var(--offset) + 1.5rem);
}
.hero { display: grid; grid-template-columns: minmax(0, 1.44fr) minmax(16.5rem, 1fr); gap: clamp(1.75rem, 3.8vw, 4rem); align-items: center; padding: clamp(2.85rem, 4.75vw, 5.1rem) 0 clamp(2.45rem, 3.65vw, 3.85rem); }
.hero h1 { font-size: clamp(2.75rem, 4.8vw, 5.1rem); font-weight: 690; letter-spacing: -.04em; line-height: 1.015; text-wrap: wrap; }
.hero h1 em { display: block; font-style: normal; color: var(--accent); }
.hero-copy p { max-width: 43ch; margin-top: 1.3rem; font-size: clamp(1.03rem, 1.5vw, 1.18rem); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .8rem; }
.hero-copy .actions { margin-top: 1.55rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.9rem; padding: .55rem 1.05rem; border-radius: 9px; border: 1px solid transparent; font-weight: 650; line-height: 1.3; text-decoration: none; }
.primary { color: var(--on-accent); background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.secondary:hover { background: var(--surface-soft); }
.text-link { color: var(--accent); font-weight: 650; text-underline-offset: .28em; }

.flow {
  position: relative;
  min-width: 0;
  background-color: var(--navy);
  background-image: radial-gradient(circle at 1px 1px, #535981 1px, transparent 0);
  background-size: 20px 20px;
  color: var(--panel-text);
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border-radius: var(--radius);
}
.flow :focus-visible { outline-color: #bac6ff; }
.flow-heading { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 1px solid var(--panel-line); }
.flow-heading h2 { font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.flow-heading span { font-size: .875rem; color: var(--panel-muted); }
.flow-stages { list-style: none; display: grid; gap: .56rem; position: relative; margin: 0; padding: 0; }
.flow-stages::before { content: ""; position: absolute; top: 1.6rem; bottom: 1.6rem; left: 1.62rem; width: 1px; background: #8e9fef; }
.flow-stages li { position: relative; display: grid; grid-template-columns: 2.15rem minmax(0, 1fr); align-items: center; gap: .65rem; padding: .57rem .62rem; border: 1px solid var(--panel-line); border-radius: 9px; background: #252b50; line-height: 1.35; }
.flow-stages li:last-child { background: #353f71; border-color: #7789db; }
.flow-stages strong { display: block; font-size: .95rem; font-weight: 650; }
.flow-stages div > span { display: block; margin-top: .08rem; color: var(--panel-muted); font-size: .875rem; }
.stage-icon { display: grid; place-items: center; width: 2rem; aspect-ratio: 1; border-radius: 7px; background: #3c487f; color: #d7deff; }
.stage-icon::before, .stage-icon::after { content: ""; grid-column: 1; grid-row: 1; }
.stage-input::before { width: .86rem; height: 1rem; border: 1.5px solid; border-radius: 2px; }
.stage-input::after { width: .43rem; height: .35rem; border-block: 1.5px solid; }
.stage-route::before { width: .75rem; height: .75rem; border: 1.5px solid; transform: rotate(45deg); border-radius: 2px; }
.stage-route::after { width: .17rem; height: .17rem; background: currentColor; border-radius: 50%; }
.stage-follow::before { width: .97rem; height: .72rem; border: 1.5px solid; border-radius: 2px; }
.stage-follow::after { width: .45rem; height: .45rem; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-.13rem) rotate(45deg); }
.stage-book::before { width: .92rem; height: .84rem; border: 1.5px solid; border-radius: 2px; }
.stage-book::after { width: .92rem; height: 1px; background: currentColor; transform: translateY(-.13rem); }

.section { padding: 2.35rem 0 3rem; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section h2 { font-size: clamp(1.85rem, 3.3vw, 3.1rem); font-weight: 680; }
.featured-work { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.feature-copy { padding: clamp(1.2rem, 3vw, 2.4rem); align-self: center; }
.feature-copy h3 { font-size: clamp(1.65rem, 3.15vw, 2.65rem); margin-top: .52rem; text-wrap: wrap; }
.feature-copy p { margin: .85rem 0 1.2rem; max-width: 45ch; }
.status { display: block; color: var(--muted); font-size: .875rem; font-weight: 600; }
.feature-art, .card-art { display: block; min-width: 0; width: 100%; border: 0; padding: 0; text-align: initial; background: var(--surface-soft); position: relative; overflow: hidden; }
.feature-art { min-height: 17rem; }
.feature-art img { width: 100%; height: 100%; max-height: 28rem; position: absolute; inset: 0; object-fit: cover; object-position: center top; }
.feature-art:focus-visible, .card-art:focus-visible { outline-offset: -4px; }
.feature-placeholder { display: grid; align-content: center; padding: 2rem; background: var(--accent-soft); color: var(--ink); }
.feature-placeholder span { display: block; margin-top: .45rem; font-size: 1.05rem; color: var(--muted); }
.work-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.work-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.card-art { aspect-ratio: 16 / 8.5; }
.card-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.card-art.is-workflow img { object-fit: contain; padding: .5rem; }
.card-main { padding: 1.2rem 1.35rem; }
.card-main h3 { margin: .3rem 0 .55rem; font-size: 1.35rem; text-wrap: wrap; }
.link-button { border: 0; background: transparent; color: var(--accent); padding: .4rem 0; font-weight: 650; text-decoration: underline; text-underline-offset: .25em; }
.card-main .link-button { margin-top: .6rem; }

.library-heading { align-items: center; }
.search { flex: 0 1 21rem; }
.search input, .form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: .65rem .8rem; border: 1px solid var(--line); background: var(--surface);
  border-radius: 8px; font-size: 1rem; line-height: 1.4;
}
.search input::placeholder { color: var(--muted); }
.filters { display: flex; gap: .45rem; flex-wrap: wrap; }
.filters button, .contact-options button { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .47rem .8rem; min-height: 2.55rem; font-size: .9rem; font-weight: 600; }
.filters button:hover, .contact-options button:hover { background: var(--surface-soft); }
.filters button[aria-pressed="true"], .contact-options button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.library-count { margin-top: .85rem; margin-bottom: .38rem; color: var(--muted); font-size: .875rem; }
.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .7rem 1.2rem; min-width: 0; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.project-row h3 { font-size: 1.08rem; text-wrap: wrap; margin: .15rem 0; }
.project-row p { font-size: .93rem; max-width: 72ch; }
.project-row button { white-space: nowrap; font-size: .9rem; }
.empty { padding: 1rem 0; }

.service-list { margin: 0; }
.service-list > div { display: grid; grid-template-columns: minmax(11rem, .8fr) minmax(0, 1.2fr); gap: .5rem 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.service-list dt { font-size: 1.13rem; font-weight: 650; }
.service-list dd { margin: 0; color: var(--muted); }
.process { background: var(--surface-soft); border-radius: var(--radius); margin-top: 1.35rem; padding: 1.25rem; }
.process h3 { font-size: 1.25rem; }
.process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding-left: 1.25rem; margin: .85rem 0 .1rem; }
.process li::marker { color: var(--accent); font-weight: 700; }
.process li span { display: block; color: var(--muted); }
.about { display: grid; grid-template-columns: minmax(6rem, 12rem) minmax(0, 1fr); align-items: center; gap: clamp(1.1rem, 3vw, 2.6rem); }
.about img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.about p { max-width: 65ch; margin-top: .8rem; }
.about .text-link { display: inline-block; margin-top: .8rem; }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem, 3vw, 2.5rem); }
.contact-intro p { margin: .75rem 0 .8rem; max-width: 42ch; }
.contact-intro a { color: var(--accent); font-weight: 650; overflow-wrap: anywhere; }
.contact-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.contact-options { display: flex; flex-wrap: wrap; gap: .5rem; padding: .85rem; border-bottom: 1px solid var(--line); }
.contact-panel { padding: clamp(1rem, 2.7vw, 1.5rem); }
.contact-panel h3 { font-size: 1.35rem; }
.contact-panel p { margin: .5rem 0 1rem; }
.calendar { margin-top: 1rem; }
.calendar iframe { display: block; width: 100%; height: 680px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-grid label { min-width: 0; font-weight: 600; font-size: .9rem; }
.form-grid label > span { color: var(--muted); font-weight: 400; }
.form-grid label > :is(input, select, textarea) { display: block; margin-top: .2rem; font-weight: 400; }
.form-grid textarea { resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.form-note { font-size: .9rem; }
#form-result:empty { display: none; }
#form-result[data-error="true"] { color: var(--error); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .7rem 1rem; border-top: 1px solid var(--line); padding: 1.3rem 0 2rem; }
.footer span { font-size: .9rem; color: var(--muted); }
.footer a { font-size: .9rem; color: var(--accent); }

dialog { position: fixed; border: 1px solid var(--line); background: var(--surface); color: var(--ink); margin: 0 0 0 auto; max-width: min(100%, 46rem); max-height: 100dvh; height: 100dvh; width: min(100%, 46rem); inset: 0 0 0 auto; padding: 0; overflow: auto; }
dialog::backdrop { background: #0c11266e; }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; position: sticky; top: 0; z-index: 1; background: var(--surface); border-bottom: 1px solid var(--line); padding: .7rem 1.2rem; }
.close-button { position: relative; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); background: var(--surface-soft); border-radius: 9px; }
.close-button::before, .close-button::after { position: absolute; content: ""; top: 50%; left: 50%; width: .95rem; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.close-button::after { transform: translate(-50%, -50%) rotate(-45deg); }
.case-study article { padding: clamp(1.1rem, 4vw, 2.5rem); }
.case-study h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); text-wrap: wrap; margin: .45rem 0 .8rem; }
.case-study article p { margin-bottom: .85rem; max-width: 67ch; }
.case-study .case-summary { font-size: 1.08rem; color: var(--ink); }
.case-study img { width: 100%; border: 1px solid var(--line); border-radius: 12px; }
.case-study figure { margin: 1.25rem 0; }
.case-study figure a { display: inline-block; margin-top: .55rem; }
.case-study .actions { margin: 1.05rem 0 .7rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1rem 0; }
.tags li { padding: .27rem .6rem; color: var(--muted); background: var(--surface-soft); border-radius: 6px; font-size: .875rem; }
.mobile-menu { width: min(22rem, 100%); }
.mobile-menu .sidebar-main { min-height: calc(100dvh - 4.2rem); }
.mobile-menu .portrait { width: 8.5rem; height: 7.5rem; }

@media (min-width: 1680px) {
  main { margin-left: max(calc(var(--rail) + 2 * var(--offset) + 1.5rem), calc((100vw - 75rem + var(--rail)) / 2)); }
}
@media (max-width: 980px) {
  .sidebar { display: none; }
  .mobile-bar { position: sticky; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: .7rem; min-height: 3.75rem; border-bottom: 1px solid var(--line); background: var(--surface); padding: .45rem var(--offset); }
  .menu-button { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; display: grid; place-content: center; gap: .23rem; }
  .menu-button span { width: 1rem; height: 1.5px; background: currentColor; }
  main { width: auto; margin: 0 var(--offset); }
  section, #library { scroll-margin-top: 4.8rem; }
  .hero { padding: 2.65rem 0 3rem; }
  .hero h1 { font-size: clamp(2.6rem, 6.25vw, 4.6rem); }
}
@media (max-width: 660px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.3rem; gap: 1.4rem; }
  .hero h1 { font-size: clamp(2.35rem, 8.5vw, 3.65rem); }
  .hero-copy p { margin-top: .9rem; }
  .hero-copy .actions { margin-top: 1rem; }
  .flow-heading { margin-bottom: .65rem; }
  .flow-stages { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .flow-stages::before { display: none; }
  .flow-stages li { grid-template-columns: 1fr; gap: .3rem; padding: .48rem .55rem; }
  .flow-stages strong { font-size: .875rem; }
  .stage-icon { display: none; }
  .flow-stages div > span { font-size: .8125rem; }
  .flow-stages li:nth-child(3) { grid-area: 2 / 1; }
  .section { padding: 1.8rem 0 2.15rem; }
  .featured-work, .work-pair, .contact { grid-template-columns: 1fr; }
  .feature-art { grid-row: 1; min-height: 12rem; }
  .work-pair { gap: .75rem; }
  .search { flex-basis: 100%; }
  .project-row { grid-template-columns: 1fr; gap: .12rem; }
  .project-row button { justify-self: start; }
  .service-list > div, .process ol { grid-template-columns: 1fr; }
  .process ol { gap: .58rem; }
  .about { grid-template-columns: 1fr; }
  .about img { width: 7.5rem; }
  .form-grid { grid-template-columns: 1fr; }
}
.project-preview-link { background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; }
.case-study figure .project-preview-link { margin-top: .55rem; }
.project-viewer {
  inset: 0;
  width: min(calc(100% - 1.5rem), 68rem);
  max-width: none;
  height: fit-content;
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  border-radius: var(--radius);
}
.project-viewer .drawer-heading { padding: .85rem clamp(1rem, 2.5vw, 1.45rem); }
.project-viewer .drawer-heading h2 { font-size: clamp(1.15rem, 2.3vw, 1.55rem); text-wrap: wrap; }
.project-viewer .close-button { flex: none; }
.viewer-project { font-size: .9rem; margin-top: .25rem; }
.viewer-content { padding: clamp(1rem, 2.5vw, 1.45rem); }
.viewer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; }
.viewer-note { font-size: .88rem; margin: .45rem 0 .9rem; }
.viewer-frame, .viewer-content img { border-radius: 10px; border: 1px solid var(--line); }
.viewer-frame { display: block; width: 100%; height: min(60dvh, 45rem); background: var(--surface-soft); }
.viewer-frame.viewer-video { aspect-ratio: 16 / 9; height: auto; max-height: 65dvh; background: #131827; }
.viewer-content img { margin-inline: auto; }

@keyframes portfolio-arrive {
  from { opacity: .2; transform: translateY(13px); }
}
@keyframes flow-connect {
  from { opacity: 0; transform: scaleY(0); }
}
@keyframes drawer-arrive {
  from { opacity: .6; transform: translateX(28px); }
}
@keyframes viewer-arrive {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
}
@keyframes backdrop-arrive {
  from { opacity: 0; }
}
@keyframes portfolio-soft-fade {
  from { opacity: .78; }
}

:root[data-motion="on"]:not(:has(main section:target:not(#top))) {
  .hero-copy > *,
  .hero .flow {
    animation: portfolio-arrive var(--motion-entrance) var(--motion-out) both;
  }
  .hero-copy p { animation-delay: 55ms; }
  .hero-copy .actions { animation-delay: 100ms; }
  .hero .flow { animation-delay: 50ms; }
  .hero .flow-stages::before {
    animation: flow-connect 360ms var(--motion-out) 155ms both;
    transform-origin: top;
  }
  .hero .flow-stages li {
    animation: portfolio-arrive 340ms var(--motion-out) both;
    animation-delay: calc(100ms + var(--flow-step, 0) * 50ms);
  }
  .hero .flow-stages li:nth-child(2) { --flow-step: 1; }
  .hero .flow-stages li:nth-child(3) { --flow-step: 2; }
  .hero .flow-stages li:nth-child(4) { --flow-step: 3; }
}

:root[data-motion="on"] {
  section:target > .section-heading { animation: portfolio-arrive 300ms var(--motion-out); }
  dialog[open] { animation: drawer-arrive var(--motion-panel) var(--motion-out); }
  .project-viewer[open] { animation-name: viewer-arrive; }
  dialog[open]::backdrop { animation: backdrop-arrive var(--motion-panel) var(--motion-out); }
  dialog[data-closing]::backdrop { opacity: 0; animation: none; transition: opacity var(--motion-quick) ease-out; }

  .button, .nav-links a, .theme-button, .contact-options button, .filters button,
  .journey-systems button, .journey-views button, .journey-play, .journey-config-tabs button,
  .journey-node .journey-tile {
    transition: background-color var(--motion-quick), border-color var(--motion-quick),
      color var(--motion-quick), box-shadow var(--motion-quick);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="on"]) { scroll-behavior: auto; }
  :root[data-motion="reduced"]:not(:has(main section:target:not(#top))) :is(.hero-copy, .hero .flow),
  :root[data-motion="reduced"] section:target > .section-heading,
  :root[data-motion="reduced"] dialog[open] {
    animation: portfolio-soft-fade var(--motion-quick) ease-out;
  }
}
