:root {
  --paper: #f3efe7;
  --paper-deep: #e8e1d6;
  --sand: #ddd5c9;
  --ink: #171717;
  --grey: #817b72;
  --line: rgba(23, 23, 23, 0.18);
  --red: #b64035;
  --deep-red: #772a26;
  --serif: "Instrument Serif", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.11;
  z-index: 20;
  background-image: url("assets/process-paper-texture.webp");
  background-size: 600px auto;
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: transparent; z-index: 100; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--red); transform-origin: left; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 4.4vw;
  z-index: 50;
  transition: background 0.4s ease, padding 0.4s ease, border 0.4s ease;
}
.site-header.is-scrolled { padding-top: 18px; padding-bottom: 18px; background: rgba(243,239,231,0.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; flex-direction: column; gap: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; line-height: 1; }
.brand__cn { font-family: var(--sans); letter-spacing: 0.12em; font-size: 10px; color: var(--grey); }
.desktop-nav { display: flex; align-items: flex-start; gap: 32px; }
.desktop-nav a { display: flex; flex-direction: column; gap: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; transition: color 0.25s ease; }
.desktop-nav a small { font-family: var(--sans); font-size: 10px; color: var(--grey); }
.desktop-nav a:hover, .desktop-nav a.is-current { color: var(--red); }
.desktop-nav a.is-current small { color: var(--red); }
.menu-toggle { display: none; background: none; border: 0; padding: 0; cursor: pointer; align-items: center; gap: 11px; }
.menu-toggle__label { font: 11px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.menu-toggle__lines { display: grid; gap: 4px; width: 18px; }
.menu-toggle__lines i { height: 1px; width: 100%; display: block; background: currentColor; }

.mobile-menu { position: fixed; inset: 0; background: var(--ink); color: var(--paper); z-index: 80; padding: 26px 6vw; display: flex; flex-direction: column; transform: translateY(-100%); transition: transform 0.7s var(--ease); }
.mobile-menu.is-open { transform: translateY(0); }
body.menu-is-open, body.modal-is-open { overflow: hidden; }
.mobile-menu__top { display: flex; justify-content: space-between; font: 11px var(--mono); letter-spacing: 0.08em; }
.mobile-menu__close { border: 0; background: none; color: var(--paper); font-size: 30px; font-weight: 200; cursor: pointer; line-height: 0.7; }
.mobile-menu nav { margin-top: auto; margin-bottom: auto; display: grid; gap: 22px; }
.mobile-menu nav a { display: grid; grid-template-columns: 42px 1fr auto; align-items: baseline; border-bottom: 1px solid rgba(243,239,231,0.22); padding-bottom: 15px; }
.mobile-menu nav b { font: 11px var(--mono); color: var(--red); font-weight: 400; }
.mobile-menu nav span { font: 48px var(--serif); }
.mobile-menu nav em { font: normal 12px var(--sans); color: rgba(243,239,231,0.6); }
.mobile-menu__footer { font: 11px var(--mono); color: rgba(243,239,231,0.6); max-width: 230px; line-height: 1.6; }

.section-pad { padding: 150px 4.4vw; position: relative; }
.hero { min-height: 100svh; display: grid; grid-template-columns: 10% minmax(0, 1fr) minmax(300px, 38%); grid-template-rows: 1fr auto; gap: 4vw; align-items: center; padding-top: 150px; padding-bottom: 42px; }
.hero__rail { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding-top: 13px; }
.eyebrow, .kicker, .section-mark, .project-count, .image-index, .image-caption, .hero__bottom, .site-footer, .principles span, .principles small, .project-year, .project-name p { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.065em; }
.eyebrow { font-size: 10px; color: var(--grey); writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__vertical { writing-mode: vertical-rl; text-orientation: upright; font-family: var(--serif); font-size: clamp(26px, 3vw, 47px); letter-spacing: 0.12em; line-height: 1.3; color: var(--red); }
.hero__copy { padding-bottom: 26px; }
.kicker { font-size: 10px; color: var(--grey); margin: 0 0 24px; }
h1, h2, h3, p { margin-top: 0; }
h1, .display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.035em; }
h1 { font-size: clamp(54px, 7vw, 118px); line-height: 0.91; margin: 0 0 30px; max-width: 810px; }
h1 i, .display i { font-style: italic; }
.hero__description { font-size: 15px; line-height: 1.65; max-width: 320px; color: #4d4942; margin-bottom: 34px; }
.arrow-link { display: inline-flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--ink); padding-bottom: 9px; font: 11px var(--mono); text-transform: uppercase; letter-spacing: 0.055em; transition: color 0.25s ease, border-color 0.25s ease; }
.arrow-link span:nth-child(2) { font-family: var(--sans); font-size: 11px; color: var(--grey); text-transform: none; }
.arrow-link b { font-size: 17px; font-weight: 400; transition: transform 0.3s var(--ease); }
.arrow-link:hover { color: var(--red); border-color: var(--red); }
.arrow-link:hover b { transform: translate(4px, -4px); }
.hero__media { position: relative; align-self: center; }
.media-frame { position: relative; overflow: hidden; background: var(--paper-deep); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame--hero { aspect-ratio: 4 / 5; }
.hero__media:hover .media-frame img { transform: scale(1.025); }
.image-index { position: absolute; left: 17px; bottom: 14px; color: rgba(243,239,231,0.8); font-size: 9px; }
.red-stamp { position: absolute; width: 53px; height: 53px; display: grid; place-items: center; background: var(--red); color: var(--paper); font-family: var(--serif); font-size: 26px; line-height: 1; }
.red-stamp--hero { right: -20px; bottom: 48px; transform: rotate(7deg); }
.hero__bottom { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; color: var(--grey); font-size: 9px; }
.hero__bottom span:last-child { margin-left: auto; }
.scroll-line { width: 100px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.scroll-line i { display: block; width: 26%; height: 100%; background: var(--red); animation: scrollCue 2.4s ease-in-out infinite; }
@keyframes scrollCue { 0%,100% { transform: translateX(-100%); } 50% { transform: translateX(390%); } }

.section-mark { display: flex; align-items: center; gap: 12px; color: var(--grey); font-size: 10px; }
.section-mark i { width: 34px; height: 1px; display: block; background: var(--red); }
.section-mark span:last-child { font-family: var(--sans); font-size: 11px; text-transform: none; }
.manifesto { display: grid; grid-template-columns: 10% minmax(0, 1fr) 24%; gap: 4vw; border-top: 1px solid var(--line); }
.manifesto__content { padding-top: 7vw; }
.display { font-size: clamp(52px, 7.2vw, 112px); line-height: 0.9; margin-bottom: 50px; }
.manifesto__lower { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; max-width: 600px; }
.manifesto__lower p { max-width: 350px; font-size: 14px; line-height: 1.75; color: #4d4942; }
.cn-note { font-family: var(--serif); color: var(--red); font-size: 27px; writing-mode: vertical-rl; text-orientation: upright; letter-spacing: 0.12em; }
.manifesto__image { padding-top: 15vw; }
.manifesto__image img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; filter: contrast(1.05); }
.image-caption { color: var(--grey); font-size: 9px; line-height: 1.6; display: block; margin-top: 12px; }

.projects { border-top: 1px solid var(--line); overflow: visible; }
.section-heading { display: grid; grid-template-columns: 10% minmax(0, 1fr) auto; align-items: start; gap: 4vw; }
.section-heading .display { font-size: clamp(50px, 6.6vw, 102px); margin: 35px 0 70px; }
.project-count { font-size: 9px; color: var(--grey); padding-top: 6px; }
.project-index { border-top: 1px solid var(--ink); position: relative; z-index: 2; }
.project-row { display: grid; grid-template-columns: 10% minmax(0, 1fr) 12% 15%; align-items: center; min-height: 128px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; transition: background 0.35s ease, padding 0.35s var(--ease); outline: none; }
.project-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); transition: width 0.35s var(--ease); }
.project-row:hover, .project-row:focus-visible, .project-row.is-active { background: rgba(221,213,201,0.56); padding-left: 14px; }
.project-row:hover::before, .project-row:focus-visible::before, .project-row.is-active::before { width: 3px; }
.project-number { font: 12px var(--mono); color: var(--red); }
.project-name h3 { font: 400 clamp(29px, 3.6vw, 55px)/0.95 var(--serif); letter-spacing: -0.02em; margin: 0 0 9px; }
.project-name p { font-size: 9px; color: var(--grey); margin: 0; }
.project-year { font-size: 10px; color: var(--grey); }
.project-open { display: flex; justify-content: flex-end; align-items: center; gap: 13px; font: 10px var(--mono); color: var(--grey); }
.project-open b { font: 22px var(--serif); font-weight: 400; color: var(--ink); transition: transform 0.3s var(--ease), color 0.3s ease; }
.project-row:hover .project-open, .project-row:focus-visible .project-open { color: var(--red); }
.project-row:hover .project-open b, .project-row:focus-visible .project-open b { transform: translate(4px, -4px); color: var(--red); }
.project-row__mobile-image { display: none; }
.floating-preview { position: fixed; z-index: 40; right: 7vw; top: 48%; width: min(28vw, 340px); aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; transform: translate(10px, 20px) rotate(2deg); transition: opacity 0.35s ease, transform 0.55s var(--ease); background: var(--paper-deep); }
.floating-preview.is-visible { opacity: 1; transform: translate(0, 0) rotate(2deg); }
.floating-preview img { width: 100%; height: 100%; object-fit: cover; }
.floating-preview__label { position: absolute; bottom: 12px; left: 12px; color: white; font: 9px var(--mono); letter-spacing: 0.08em; }

.notes { border-top: 1px solid var(--line); }
.notes .section-heading .display { margin-bottom: 60px; }
.notes-grid { display: grid; grid-template-columns: 1.15fr 0.76fr 0.76fr; grid-template-rows: auto auto; gap: 24px; align-items: start; }
.note-card { margin: 0; position: relative; }
.note-card img { width: 100%; object-fit: cover; background: var(--paper-deep); }
.note-card--wide { grid-row: span 2; }
.note-card--wide img { aspect-ratio: 4 / 5; }
.note-card--tall img { aspect-ratio: 3 / 4; }
.note-card--small img { aspect-ratio: 1 / 1; }
.note-card--offset { transform: translateY(48px); }
.note-card figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; font: 9px var(--mono); color: var(--grey); }
.note-card figcaption small { font: 9px var(--mono); text-align: right; }

.practice { border-top: 1px solid var(--line); }
.practice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; margin-top: 100px; padding-left: 14%; }
.practice__intro .display { font-size: clamp(48px, 5.6vw, 90px); margin-bottom: 0; }
.practice__body { padding-top: 24px; max-width: 450px; }
.practice__body > p { font-size: 16px; line-height: 1.7; max-width: 390px; color: #4d4942; }
.principles { border-top: 1px solid var(--ink); margin-top: 66px; }
.principles div { display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.principles strong { grid-row: 1 / span 2; font: 25px var(--serif); color: var(--red); }
.principles span { font-size: 10px; color: var(--ink); }
.principles small { font-size: 9px; color: var(--grey); margin-top: 6px; text-transform: none; letter-spacing: 0; }

.contact { background: var(--red); color: var(--paper); min-height: 76vh; display: flex; align-items: center; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background-image: url("assets/process-paper-texture.webp"); opacity: 0.08; mix-blend-mode: screen; pointer-events: none; }
.contact__content { position: relative; padding-left: 14%; max-width: 1000px; }
.contact .kicker { color: rgba(243,239,231,0.65); }
.contact .display { font-size: clamp(55px, 8.2vw, 126px); margin-bottom: 75px; }
.contact__action { display: flex; align-items: center; gap: 55px; }
.contact__action > span { font: 40px var(--serif); letter-spacing: 0.12em; }
.arrow-link--light { color: var(--paper); border-color: var(--paper); }
.arrow-link--light span:nth-child(2) { color: rgba(243,239,231,0.76); }
.arrow-link--light:hover { color: var(--ink); border-color: var(--ink); }
.contact__stamp { position: absolute; right: 8vw; top: 14%; font: clamp(120px, 25vw, 390px) var(--serif); color: rgba(23,23,23,0.12); transform: rotate(9deg); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 23px 4.4vw; font-size: 9px; color: var(--grey); }
.site-footer span:last-of-type { color: var(--red); }
.site-footer a:hover { color: var(--red); }

.project-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 5vw; visibility: hidden; pointer-events: none; }
.project-modal.is-open { visibility: visible; pointer-events: auto; }
.project-modal__backdrop { position: absolute; inset: 0; background: rgba(23,23,23,0.74); opacity: 0; transition: opacity 0.45s ease; }
.project-modal.is-open .project-modal__backdrop { opacity: 1; }
.project-modal__panel { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.65fr); max-width: 980px; width: 100%; max-height: 88vh; background: var(--paper); transform: translateY(25px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.45s ease; }
.project-modal.is-open .project-modal__panel { transform: translateY(0); opacity: 1; }
.project-modal__image { background: var(--paper-deep); min-height: 430px; }
.project-modal__image img { width: 100%; height: 100%; object-fit: cover; }
.project-modal__details { padding: 52px 45px; display: flex; flex-direction: column; justify-content: flex-end; }
.project-modal__details h2 { font: 400 clamp(45px, 6vw, 78px)/0.9 var(--serif); letter-spacing: -0.04em; margin: 0 0 26px; }
.project-modal__details > p:not(.kicker) { color: #4d4942; font-size: 14px; line-height: 1.7; margin: 0 0 30px; }
.project-modal__details > span { font: 10px var(--mono); color: var(--grey); }
.modal-note { color: var(--red) !important; margin-bottom: 8px; }
.modal-navigation { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 14px; }
.modal-navigation button { border: 0; background: none; padding: 0; cursor: pointer; font: 10px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.modal-navigation button:hover { color: var(--red); }
.project-row:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.project-modal__close { position: absolute; z-index: 2; right: 18px; top: 16px; border: 0; background: none; font-size: 31px; line-height: 1; cursor: pointer; }

.loader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 4.4vw; background: var(--ink); color: var(--paper); transition: opacity 0.7s ease, visibility 0.7s ease; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__top { display: flex; justify-content: space-between; font: 10px var(--mono); letter-spacing: 0.08em; color: rgba(243,239,231,0.72); }
.loader__word { margin: auto 0; font: clamp(58px, 9vw, 140px)/0.82 var(--serif); letter-spacing: -0.04em; }
.loader__word i { color: var(--red); }
.loader__line { width: min(420px, 60vw); height: 1px; background: rgba(243,239,231,0.22); overflow: hidden; }
.loader__line span { display: block; width: 25%; height: 100%; background: var(--red); animation: loaderLine 1.2s var(--ease) forwards; }
@keyframes loaderLine { to { transform: translateX(300%); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.22s; }
.reveal--delay-3 { transition-delay: 0.34s; }

@media (max-width: 900px) {
  .site-header { padding: 23px 5vw; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .section-pad { padding-left: 5vw; padding-right: 5vw; }
  .hero { grid-template-columns: 12% minmax(0, 1fr) minmax(230px, 34%); gap: 3vw; }
  .hero__vertical { font-size: 30px; }
  .manifesto { grid-template-columns: 12% minmax(0, 1fr) 27%; gap: 3vw; }
  .section-heading { grid-template-columns: 12% minmax(0, 1fr) auto; gap: 3vw; }
  .project-row { grid-template-columns: 12% minmax(0, 1fr) 11% 18%; }
  .floating-preview { right: 4vw; width: 30vw; }
  .practice__grid { padding-left: 12%; gap: 6vw; }
  .contact__content { padding-left: 12%; }
}

@media (max-width: 640px) {
  .section-pad { padding-top: 100px; padding-bottom: 100px; }
  .site-header { padding-top: 22px; padding-bottom: 22px; }
  .site-header.is-scrolled { padding-top: 15px; padding-bottom: 15px; }
  .hero { min-height: auto; padding-top: 142px; padding-bottom: 30px; display: grid; grid-template-columns: 1fr 36px; grid-template-rows: auto auto auto; gap: 30px 14px; align-items: start; }
  .hero__rail { grid-column: 2; grid-row: 1 / span 2; align-items: center; padding-top: 0; }
  .hero__rail .eyebrow { display: none; }
  .hero__vertical { font-size: 25px; }
  .hero__copy { grid-column: 1; grid-row: 1; padding: 0; }
  .kicker { margin-bottom: 18px; font-size: 9px; }
  h1 { font-size: clamp(50px, 14vw, 76px); line-height: 0.91; margin-bottom: 25px; }
  .hero__description { font-size: 14px; max-width: 280px; margin-bottom: 28px; }
  .hero__media { grid-column: 1 / -1; grid-row: 2; width: calc(100% - 28px); }
  .media-frame--hero { aspect-ratio: 4 / 5; }
  .red-stamp--hero { width: 44px; height: 44px; right: -12px; bottom: 28px; font-size: 21px; }
  .hero__bottom { grid-column: 1 / -1; grid-row: 3; gap: 10px; font-size: 8px; }
  .scroll-line { width: 55px; }
  .hero__bottom span:last-child { margin-left: 0; }

  .manifesto { display: grid; grid-template-columns: 1fr 34px; gap: 18px; }
  .manifesto > .section-mark { grid-column: 2; grid-row: 1 / span 2; writing-mode: vertical-rl; height: 190px; align-items: flex-start; }
  .manifesto > .section-mark i { width: 1px; height: 28px; }
  .manifesto__content { grid-column: 1; grid-row: 1; padding-top: 0; }
  .manifesto__content .display { font-size: clamp(51px, 14vw, 78px); margin-bottom: 42px; }
  .manifesto__lower { display: block; }
  .manifesto__lower p { font-size: 14px; }
  .cn-note { display: block; margin-top: 26px; font-size: 23px; }
  .manifesto__image { grid-column: 1; grid-row: 2; padding-top: 30px; width: 78%; }

  .section-heading { display: block; }
  .section-heading .section-mark { margin-bottom: 45px; }
  .section-heading .display { font-size: clamp(50px, 14vw, 76px); margin: 0 0 45px; }
  .project-count { display: block; margin-bottom: 18px; }
  .project-row { display: grid; grid-template-columns: 36px 1fr auto; grid-template-rows: auto auto auto; min-height: 0; padding: 23px 0; gap: 0 11px; }
  .project-row:hover, .project-row:focus-visible, .project-row.is-active { padding-left: 10px; }
  .project-number { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 4px; }
  .project-name { grid-column: 2; grid-row: 1; }
  .project-name h3 { font-size: 32px; margin-bottom: 8px; }
  .project-name p { font-size: 8px; }
  .project-year { grid-column: 3; grid-row: 1; align-self: start; padding-top: 5px; font-size: 9px; }
  .project-open { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; margin-top: 18px; font-size: 9px; }
  .project-row__mobile-image { display: block; grid-column: 2 / -1; grid-row: 3; margin-top: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.7s var(--ease), opacity 0.4s ease, margin 0.7s var(--ease); }
  .project-row.is-active .project-row__mobile-image { max-height: 430px; margin-top: 20px; opacity: 1; }
  .project-row__mobile-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .floating-preview { display: none; }

  .notes .section-heading .display { margin-bottom: 40px; }
  .notes-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; margin-right: -5vw; padding-right: 5vw; gap: 15px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .notes-grid::-webkit-scrollbar { display: none; }
  .note-card, .note-card--wide, .note-card--tall, .note-card--small { flex: 0 0 76vw; transform: none; scroll-snap-align: start; }
  .note-card img, .note-card--wide img, .note-card--tall img, .note-card--small img { aspect-ratio: 4 / 5; }
  .note-card figcaption { display: block; line-height: 1.6; }
  .note-card figcaption small { display: block; text-align: left; margin-top: 3px; }

  .practice__grid { display: block; margin-top: 65px; padding-left: 0; }
  .practice__intro .display { font-size: clamp(50px, 13vw, 73px); margin-bottom: 48px; }
  .practice__body { padding-top: 0; }
  .practice__body > p { font-size: 15px; }
  .principles { margin-top: 52px; }

  .contact { min-height: 78vh; padding-top: 95px; padding-bottom: 95px; }
  .contact__content { padding-left: 0; }
  .contact .display { font-size: clamp(54px, 14vw, 82px); margin-bottom: 55px; }
  .contact__action { display: block; }
  .contact__action > span { display: block; font-size: 31px; margin-bottom: 28px; }
  .contact__stamp { right: -15vw; top: 21%; font-size: 240px; }
  .loader { padding: 22px 5vw; }
  .loader__word { font-size: clamp(58px, 15vw, 84px); }
  .site-footer { display: grid; grid-template-columns: 1fr auto; padding: 20px 5vw; line-height: 1.5; }
  .site-footer a { grid-column: 1 / -1; margin-top: 15px; }

  .project-modal { padding: 18px; }
  .project-modal__panel { display: block; max-height: 92vh; overflow-y: auto; }
  .project-modal__image { min-height: 280px; aspect-ratio: 4 / 5; }
  .project-modal__details { padding: 30px 25px 35px; }
  .project-modal__details h2 { font-size: 58px; }
}

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