:root {
  color-scheme: light;
  --ink: #151514;
  --muted: #6d6b65;
  --paper: #f7f5ef;
  --white: #fffefa;
  --studio: #e9ebe4;
  --rose: #e5c9c5;
  --sage: #ccd3c3;
  --line: rgba(21, 21, 20, 0.18);
  --focus: #0b5fff;
  --utility: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  --display: Georgia, "Times New Roman", "Yu Mincho", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--studio);
  font-family: var(--utility);
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.studio-bar {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 9px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(233, 235, 228, 0.96);
  backdrop-filter: blur(14px);
}

.studio-brand { display: flex; align-items: center; gap: 10px; letter-spacing: 0.08em; }
.studio-brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 14px;
}
.studio-brand strong, .studio-brand small { display: block; }
.studio-brand strong { font-size: 11px; }
.studio-brand small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.mode-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.45);
}
.mode-switch__button {
  min-width: 92px;
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.mode-switch__button.is-active { background: var(--ink); color: var(--white); }

.text-button {
  justify-self: end;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.studio-layout {
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(250px, 292px);
}

.story-panel, .inspector-panel {
  min-width: 0;
  padding: 28px 18px;
  background: var(--studio);
  overflow: auto;
}
.story-panel { border-right: 1px solid var(--line); }
.inspector-panel { border-left: 1px solid var(--line); }

.panel-heading { margin-bottom: 26px; }
.panel-heading h1, .panel-heading h2, .add-panel h2 {
  margin: 6px 0 10px;
  font-family: var(--display);
  font-weight: 400;
}
.panel-heading h1 { font-size: 27px; }
.panel-heading h2, .add-panel h2 { font-size: 23px; }
.panel-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.eyebrow { margin: 0; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; }

.section-list { margin: 0; padding: 0; list-style: none; }
.section-item { margin-bottom: 8px; }
.section-item__main {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.section-item__main:hover { background: rgba(255, 254, 250, 0.48); }
.section-item.is-selected .section-item__main { border-color: var(--ink); background: var(--white); }
.section-item.is-hidden .section-item__main { opacity: 0.52; }
.section-item__title { font-family: var(--display); font-size: 16px; }
.section-item__meta { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: 0.08em; }
.section-item__number { color: var(--muted); font-family: var(--display); font-size: 12px; }
.section-item__actions { display: grid; grid-template-columns: repeat(3, 44px); gap: 4px; justify-content: end; margin-top: 4px; }
.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.45);
  cursor: pointer;
}
.icon-button:disabled { opacity: 0.3; cursor: not-allowed; }

.add-panel { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.add-button {
  width: 100%;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.add-button:hover { background: var(--white); }
.add-panel__empty { color: var(--muted); font-size: 12px; line-height: 1.7; }

.preview-stage { min-width: 0; padding: 24px; background: #dfe1da; overflow: auto; }
.preview-frame {
  width: min(100%, 1160px);
  margin: 0 auto;
  box-shadow: 0 18px 56px rgba(35, 36, 31, 0.12);
  container-type: inline-size;
}
.preview-frame__label {
  min-height: 36px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.portfolio { background: var(--white); overflow: clip; }
.portfolio-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.portfolio-nav a { text-decoration: none; }
.portfolio-nav__name { font-family: var(--display); font-size: 15px; letter-spacing: 0.08em; }
.portfolio-nav nav { display: flex; gap: clamp(16px, 3vw, 38px); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }

.portfolio-section { position: relative; scroll-margin-top: 80px; }
.portfolio-kicker { margin: 0; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; }
.image-frame { margin: 0; overflow: hidden; background: #deded8; }
.image-frame img { height: 100%; object-fit: cover; }
.image-frame.is-image-failed { min-height: 240px; display: grid; place-items: center; }
.image-frame.is-image-failed img { display: none; }
.image-frame.is-image-failed::after { content: "IMAGE PREVIEW UNAVAILABLE"; padding: 24px; color: var(--muted); font-size: 10px; letter-spacing: 0.12em; text-align: center; }

.hero-section {
  min-height: min(880px, 92svh);
  padding: clamp(38px, 7vw, 100px) clamp(22px, 5vw, 72px) clamp(50px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.28fr);
  grid-template-rows: auto 1fr auto;
  gap: 28px clamp(30px, 6vw, 84px);
}
.hero-copy { position: relative; z-index: 1; min-width: 0; align-self: center; }
.hero-copy h2 {
  margin: 22px 0 26px;
  font-family: var(--display);
  font-size: clamp(50px, 8.6vw, 126px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.07em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.hero-copy__statement { max-width: 17em; margin: 0 0 0 auto; font-family: "Yu Mincho", var(--display); font-size: clamp(15px, 1.5vw, 20px); line-height: 2; }
.hero-image { grid-column: 2; grid-row: 1 / 4; min-height: 0; align-self: center; }
.hero-image picture { display: block; }
.hero-image img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-note { align-self: end; margin: 0; color: var(--muted); font-family: var(--display); font-size: 11px; font-style: italic; }

.works-section { padding: clamp(76px, 12vw, 180px) clamp(22px, 5vw, 72px); }
.section-heading { margin-bottom: clamp(42px, 8vw, 100px); }
.section-heading h2, .about-grid h2, .contact-grid h2 {
  margin: 18px 0 0;
  font-family: "Yu Mincho", var(--display);
  font-size: clamp(36px, 6.3vw, 86px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.04em;
}
.section-heading--split { display: grid; grid-template-columns: 0.45fr 1.3fr 0.65fr; gap: 28px; align-items: end; }
.section-heading--split h2 { margin: 0; }
.section-heading--split > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 2; }
.works-composition { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 30px); align-items: start; }
.work img { transition: transform 420ms ease; }
.work:hover img { transform: scale(1.015); }
.work figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 9px; letter-spacing: 0.08em; }
.work--portrait { grid-column: 1 / 6; }
.work--portrait img { aspect-ratio: 2 / 3; }
.work--landscape { grid-column: 7 / 13; margin-top: 14vw; }
.work--landscape img { aspect-ratio: 3 / 2; }
.work--small { grid-column: 3 / 6; margin-top: 5vw; }
.work--small img { aspect-ratio: 2 / 3; }

.full-section { padding: 0 clamp(0px, 3vw, 42px); }
.full-visual { position: relative; }
.full-visual img { min-height: 62svh; max-height: 900px; object-position: center; }
.full-visual figcaption { position: absolute; right: 24px; bottom: 20px; padding: 7px 10px; background: rgba(255, 254, 250, 0.88); font-family: var(--display); font-size: 11px; font-style: italic; }

.about-section { padding: clamp(84px, 13vw, 190px) clamp(22px, 7vw, 110px); background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 10vw, 150px); align-items: end; margin-top: 26px; }
.about-grid h2 { margin: 0; }
.about-grid p { margin: 0; font-size: 13px; line-height: 2.1; }
.about-grid .about-lead { margin-bottom: 26px; font-family: "Yu Mincho", var(--display); font-size: clamp(18px, 2vw, 26px); line-height: 1.9; }

.services-section { padding: clamp(84px, 12vw, 170px) clamp(22px, 5vw, 72px); }
.services-list { border-top: 1px solid var(--ink); }
.services-list article { display: grid; grid-template-columns: 70px 0.8fr 1.2fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.services-list span { color: var(--muted); font-family: var(--display); font-size: 12px; }
.services-list h3 { margin: 0; font-family: var(--display); font-size: clamp(24px, 3vw, 42px); font-weight: 400; }
.services-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.gallery-section { padding: clamp(82px, 12vw, 176px) clamp(22px, 5vw, 72px); background: #20211f; color: var(--white); }
.gallery-track { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.7vw, 24px); align-items: start; }
.gallery-track figure:nth-child(1) { grid-column: 1 / 8; }
.gallery-track figure:nth-child(2) { grid-column: 9 / 13; margin-top: 9vw; }
.gallery-track figure:nth-child(3) { grid-column: 3 / 9; margin-top: 3vw; }
.gallery-track figure:nth-child(4) { grid-column: 10 / 13; margin-top: -7vw; }
.gallery-track img { aspect-ratio: 3 / 2; }
.gallery-track figure:nth-child(even) img { aspect-ratio: 2 / 3; }
.gallery-section[data-gallery-layout="grid"] .gallery-track { grid-template-columns: repeat(2, 1fr); }
.gallery-section[data-gallery-layout="grid"] .gallery-track figure { grid-column: auto; margin: 0; }
.gallery-section[data-gallery-layout="full"] .gallery-track { display: block; }
.gallery-section[data-gallery-layout="full"] .gallery-track figure { margin: 0 0 18px; }
.gallery-section[data-gallery-layout="full"] .gallery-track img { aspect-ratio: 16 / 9; }
.gallery-section[data-gallery-layout="horizontal"] .gallery-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.gallery-section[data-gallery-layout="horizontal"] .gallery-track figure { flex: 0 0 min(72vw, 680px); margin: 0; scroll-snap-align: start; }
.gallery-section[data-gallery-layout="horizontal"] .gallery-track img { aspect-ratio: 3 / 2; }
.gallery-section[data-gallery-layout="filmstrip"] .gallery-track { display: flex; gap: 5px; overflow-x: auto; }
.gallery-section[data-gallery-layout="filmstrip"] .gallery-track figure { flex: 0 0 34%; margin: 0; }
.gallery-section[data-gallery-layout="filmstrip"] .gallery-track img { aspect-ratio: 2 / 3; filter: saturate(0.75); }

.contact-section { padding: clamp(90px, 14vw, 200px) clamp(22px, 7vw, 110px); background: var(--rose); }
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 10vw, 150px); align-items: end; margin-top: 34px; }
.contact-grid h2 { margin: 0; }
.contact-grid p { margin: 0 0 34px; font-size: 13px; line-height: 2; }
.contact-link { display: inline-block; padding: 8px 0; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 14px; }
.contact-grid small { display: block; margin-top: 15px; color: rgba(21, 21, 20, 0.68); font-size: 9px; line-height: 1.7; }

.social-section { padding: 42px clamp(22px, 5vw, 72px); display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.social-row { display: flex; flex-wrap: wrap; gap: 16px 34px; font-family: var(--display); font-size: 15px; }
.portfolio-footer { min-height: 118px; padding: 30px clamp(22px, 5vw, 72px); display: flex; align-items: end; justify-content: space-between; gap: 24px; font-family: var(--display); font-size: 11px; }

.field-group { margin-bottom: 25px; }
.field-group label, .field-group legend { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.field-group input, .field-group textarea, .field-group select {
  width: 100%;
  min-height: 46px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}
.field-group textarea { min-height: 112px; resize: vertical; line-height: 1.7; }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.motion-panel { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.inspector-note { padding: 15px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.choice-list { display: grid; gap: 7px; }
.choice-button {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.choice-button.is-active { border-color: var(--ink); background: var(--white); }

.noscript-note { margin: 0; padding: 14px 20px; background: #fff4bf; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

body:not(.js-ready) .story-panel,
body:not(.js-ready) .inspector-panel,
body:not(.js-ready) .mode-switch,
body:not(.js-ready) .text-button { display: none; }
body:not(.js-ready) .studio-layout { display: block; }

body[data-mode="preview"] .studio-layout { display: block; }
body[data-mode="preview"] .story-panel,
body[data-mode="preview"] .inspector-panel { display: none; }
body[data-mode="preview"] .preview-stage { padding: 0; background: var(--white); overflow: visible; }
body[data-mode="preview"] .preview-frame { width: 100%; max-width: none; box-shadow: none; }
body[data-mode="preview"] .preview-frame__label { display: none; }

.portfolio .op-gsap-title-takeover { min-height: 100%; }

@media (min-width: 761px) {
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-section {
  min-height: calc(100svh - 74px);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0;
  overflow: clip;
  background: #000;
  color: var(--white);
}
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  background: #000;
}
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .2) 48%, rgba(0, 0, 0, .04) 78%);
  pointer-events: none;
}
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-image picture,
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-image img {
  width: 100%;
  height: 100%;
}
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-image img {
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-copy {
  z-index: 2;
  align-self: end;
  width: min(92%, 760px);
  padding: clamp(36px, 7vw, 96px) clamp(24px, 6vw, 86px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
}
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-copy h2 {
  max-height: min(58svh, 610px);
  color: var(--white);
}
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-copy__statement {
  margin-left: 0;
}
body[data-mode="preview"] .portfolio:is(.op-gsap-active, .op-gsap-static)[data-gsap-template="cinema"] .hero-note {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(20px, 3vw, 42px);
  color: rgba(255, 255, 255, .78);
}
}

.contact-section { background: var(--white); }

.js-ready .portfolio-section[data-reveal] { opacity: 0; transform: translateY(18px); }
.js-ready .portfolio-section[data-reveal].is-visible { opacity: 1; transform: none; transition: opacity 520ms ease, transform 520ms ease; }

@container (max-width: 760px) {
  .portfolio-nav nav { display: none; }
  .hero-section { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-copy { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; align-items: start; }
  .hero-copy .portfolio-kicker { grid-column: 1 / -1; }
  .hero-copy h2 { writing-mode: horizontal-tb; font-size: clamp(48px, 15cqw, 98px); line-height: 0.9; }
  .hero-copy__statement { align-self: end; margin: 0 0 8px; font-size: 14px; }
  .hero-image { grid-column: 1; grid-row: auto; min-height: auto; }
  .hero-image img { aspect-ratio: 3 / 2; }
  .section-heading--split { grid-template-columns: 1fr; align-items: start; }
  .section-heading--split > p:last-child { max-width: 38em; }
  .works-composition { grid-template-columns: repeat(6, 1fr); }
  .work--portrait { grid-column: 1 / 5; }
  .work--landscape { grid-column: 2 / 7; margin-top: 5vw; }
  .work--small { grid-column: 1 / 4; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-list article { grid-template-columns: 44px 1fr; }
  .services-list p { grid-column: 2; }
}

@media (max-width: 980px) {
  .studio-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .inspector-panel { grid-column: 1; grid-row: 1; margin-top: 540px; border-left: 0; border-top: 1px solid var(--line); }
  .story-panel { grid-column: 1; grid-row: 1; max-height: 540px; }
  .preview-stage { grid-column: 2; grid-row: 1; }
}

@media (max-width: 720px) {
  .studio-bar { grid-template-columns: 1fr auto; min-height: 62px; padding: 8px 10px; }
  .studio-brand__mark { width: 38px; height: 38px; }
  .studio-brand strong { font-size: 9px; }
  .studio-brand small { font-size: 8px; }
  .mode-switch { grid-column: 2; grid-row: 1; }
  .mode-switch__button { min-width: 70px; min-height: 44px; padding: 7px 12px; }
  .text-button { grid-column: 1 / -1; width: 100%; justify-self: stretch; display: none; }
  .studio-layout { display: block; min-height: calc(100svh - 62px); }
  .story-panel, .inspector-panel { padding: 24px 16px; border: 0; overflow: visible; }
  .story-panel { max-height: none; }
  .inspector-panel { margin-top: 0; border-top: 1px solid var(--line); }
  .preview-stage { padding: 0; }
  .preview-frame { width: 100%; box-shadow: none; }
  .preview-frame__label { display: none; }
  body.js-ready[data-mode="edit"] .preview-stage { display: none; }
  body[data-mode="preview"] .studio-bar .text-button { display: none; }
  body[data-mode="preview"] .portfolio-nav { position: sticky; top: 62px; z-index: 5; background: rgba(255, 254, 250, 0.94); backdrop-filter: blur(10px); }
  .portfolio-nav { min-height: 60px; }
  .hero-section { padding-top: 42px; }
  .hero-copy { grid-template-columns: 1fr; }
  .hero-copy h2 { max-width: 100%; margin-bottom: 16px; font-size: clamp(44px, 14.5vw, 64px); overflow-wrap: anywhere; }
  .hero-copy__statement { max-width: none; }
  .hero-note { display: none; }
  .works-section, .about-section, .services-section, .gallery-section, .contact-section { padding-left: 20px; padding-right: 20px; }
  .section-heading h2, .about-grid h2, .contact-grid h2 { font-size: clamp(34px, 11vw, 52px); }
  .full-section { padding: 0; }
  .full-visual img { min-height: 50svh; }
  .gallery-section[data-gallery-layout="grid"] .gallery-track { grid-template-columns: 1fr; }
  .gallery-section[data-gallery-layout="filmstrip"] .gallery-track figure { flex-basis: 70%; }
  .social-section, .portfolio-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js-ready .portfolio-section[data-reveal] { opacity: 1; transform: none; }
}

html[data-motion="reduce"] { scroll-behavior: auto; }
html[data-motion="reduce"] *,
html[data-motion="reduce"] *::before,
html[data-motion="reduce"] *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
html[data-motion="reduce"] .js-ready .portfolio-section[data-reveal] { opacity: 1; transform: none; }

@media (forced-colors: active) {
  .mode-switch__button.is-active, .section-item.is-selected .section-item__main, .choice-button.is-active { outline: 2px solid CanvasText; }
}
