/* =========================================================
   MIN K. Portfolio — 1rem = 10 design px at 1440 (Figma frame width)
   ========================================================= */

/* every design font ships with the site so visitors see the Figma fonts without installing anything */
@font-face {
  font-family: "Pretendard Variable";
  src: url("../assets/fonts/PretendardVariable.woff2") format("woff2-variations"),
       url("../assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("../assets/fonts/SFProDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SF Pro Display";
  src: url("../assets/fonts/SFProDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Diptyque";
  src: url("../assets/fonts/Diptyque-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Diptyque";
  src: url("../assets/fonts/Diptyque-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #141414;
  --fg: #fbfbfb;
  --fg-2: #f1f0ea;
  --fg-3: #e7e7e7;
  --muted: #d9d9d9;
  --gray: #a3a3a3;
  --line: #848484;
  --accent: #2478ff;

  --font-sf: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Pretendard Variable", Pretendard, sans-serif;
  --font-pre: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --font-helv: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Diptyque", "EB Garamond", Garamond, "Times New Roman", serif;

  --m: 4.2rem;   /* side margin */
  --g: 1.6rem;   /* column gutter */
  --ease-io: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-out: cubic-bezier(0, 0, 0.58, 1);
  --ease-in: cubic-bezier(0.42, 0, 1, 1);
  --dur: 0.3s;
}

/* scales with the window up to 1920px (1rem = 13.33px); wider screens keep that size, centered */
html {
  font-size: clamp(5.4px, calc(100vw / 144), 13.3334px);
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-pre);
  font-size: max(14px, 1.5rem);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* fade in only after an in-site page change (flag set by main.js), so a first visit renders at rest */
html.is-entering body { animation: page-in var(--dur) var(--ease-io) both; }

body.is-leaving {
  opacity: 0;
  transition: opacity var(--dur) var(--ease-io);
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* decorative shapes bleed past the edges; clip them horizontally only */
main { overflow-x: clip; }

/* land anchor jumps on the section titles, not on the big top paddings */
#about { scroll-margin-top: -10.4rem; }
#projects { scroll-margin-top: -32.8rem; }
#work { scroll-margin-top: -26rem; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout primitives ---------- */

.wrap {
  position: relative;
  width: 100%;
  max-width: 144rem;
  margin-inline: auto;
  padding-inline: var(--m);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
}

.stage {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 144rem;
  margin-inline: auto;
  pointer-events: none;
}

/* rotated decorative groups, mirrored from Figma frame → rotated inner → svg */
.shape {
  position: absolute;
  left: calc(var(--x) * 1rem);
  top: calc(var(--y) * 1rem);
  width: calc(var(--w) * var(--s, 1) * 1rem);
  height: calc(var(--h) * var(--s, 1) * 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.shape__in {
  position: relative;
  flex: none;
  width: calc(var(--iw) * var(--s, 1) * 1rem);
  height: calc(var(--ih) * var(--s, 1) * 1rem);
  transform: rotate(var(--r, 0deg));
}
.shape__in img {
  position: absolute;
  left: var(--il, 0);
  top: var(--it, 0);
  width: var(--iW, 100%);
  height: var(--iH, 100%);
  max-width: none;
}

/* image crop box — mirrors Figma image fills */
.media {
  position: relative;
  overflow: hidden;
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- header ---------- */

/* fixed so it can come back on scroll-up; once the page has scrolled it gets a plain dark band
   (a blend mode here forced the whole page to repaint on every scroll frame) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: calc(4.3rem + env(safe-area-inset-top, 0px));
  padding-bottom: 0;
  align-items: start;
  will-change: transform;
  transition: transform 0.5s var(--ease-io), background-color var(--dur) var(--ease-io), box-shadow var(--dur) var(--ease-io), padding var(--dur) var(--ease-io);
}
.site-header.is-solid {
  padding-top: calc(2rem + env(safe-area-inset-top, 0px));
  padding-bottom: 2rem;
  background-color: rgba(20, 20, 20, 0.92);
  /* extends the band past the 1920px content width without adding scroll overflow */
  box-shadow: 0 0 0 100vmax rgba(20, 20, 20, 0.92);
  clip-path: inset(0 -100vmax);
}
.site-header.is-hidden { transform: translateY(-120%); }
.logo {
  grid-column: 1 / span 2;
  margin-left: -0.6rem;
  font-family: var(--font-sf);
  font-weight: 400;
  font-size: max(22px, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
  white-space: nowrap;
  justify-self: start;
  transition: opacity var(--dur) var(--ease-io);
}
.logo:hover { opacity: 0.7; }
.gnb { display: contents; }
.gnb a {
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: max(12px, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: var(--fg-2);
  justify-self: start;
  transition: color var(--dur) var(--ease-out);
}
.gnb a:nth-child(1) { grid-column: 5 / span 2; }
.gnb a:nth-child(2) { grid-column: 9 / span 2; }

/* ---------- shared bits ---------- */

.label {
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: max(13px, 1.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.8);
}
.list-sm {
  font-family: var(--font-sf);
  font-weight: 400;
  font-size: max(13px, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.info {
  display: flex;
  flex-direction: column;
  gap: 2.9rem;
}
.dot {
  display: inline-block;
  flex: none;
}

/* ---------- MAIN: hero ---------- */

.hero {
  position: relative;
  height: 100.2rem;
}
.hero .stage { overflow: visible; }
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 25.2rem;
}
.hero__title {
  grid-column: 5 / -1;
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: 11.2rem;
  line-height: 10.4rem;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.hero__title > span { display: block; }
.hero__title > span:first-child { padding-left: 11.7rem; }
.hero__title > span:last-child { padding-left: 18.7rem; }
.hero__sub {
  grid-column: 5 / -1;
  margin-top: 0.7rem;
  margin-right: 22.9rem;
  font-weight: 300;
  font-size: max(12px, 1.8rem);
  line-height: 1.8;
  letter-spacing: -0.02em;
  text-align: right;
  white-space: nowrap;
}

/* Figma moved the right-hand dot 17.6px further down than its frame; offset given in the rotated (27.42deg) space */
.s-hero-r .shape__dot { left: calc(0.81rem * var(--s, 1)); top: calc(1.562rem * var(--s, 1)); }
.s-hero-tl { --x: 9.661; --y: 15.2; --w: 40.1565; --h: 36.4284; --iw: 32.8077; --ih: 26.1247; --r: 21.77deg; --iW: 102.38%; --iH: 103.66%; }
.s-hero-tr { --x: 107.1; --y: -2.7; --w: 34.84; --h: 34.3287; --iw: 28.8954; --ih: 28.1944; --r: 13.95deg; }
.s-hero-l  { --x: -2.7; --y: 56.103; --w: 35.156; --h: 34.3215; --iw: 28.3689; --ih: 29.4862; --r: 76.88deg; }
.s-hero-r  { --x: 78.783; --y: 54.883; --w: 52.9378; --h: 59.0275; --iw: 34.3988; --ih: 48.6529; --r: 27.42deg; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 78.7rem;
  width: 7.2rem;
  height: 7.2rem;
  transform: translateX(-50%);
  border: 1px solid #909090;
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: cue-border 1.6s var(--ease-in) infinite alternate;
}
.scroll-cue img {
  grid-area: 1 / 1;
  width: 4.5rem;
  height: 4.5rem;
}
.scroll-cue img + img { animation: cue-fade 1.6s var(--ease-in) infinite alternate; }
@keyframes cue-border { from { border-color: #909090; } to { border-color: #d9d9d9; } }
@keyframes cue-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- MAIN: about ---------- */

.about {
  padding-top: 22.4rem;
}
.about__head { align-items: start; }
.about__role,
.about__name {
  font-size: max(18px, 2.6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.about__role { grid-column: 9 / span 2; font-weight: 400; }
.about__name { grid-column: 11 / span 2; font-weight: 500; }

.contact {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: subgrid;
  margin-top: 4.36rem;
  font-weight: 300;
  font-size: max(14px, 1.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--fg-3);
}
.contact__title { grid-column: 1 / -1; }
.contact__item {
  display: flex;
  flex-direction: column;
  gap: 1.48rem;
  margin-top: 2.48rem;
}
.contact__item:nth-of-type(1) { grid-column: 1 / span 3; }
.contact__item:nth-of-type(2) { grid-column: 4 / span 3; }
.contact__key { display: flex; align-items: center; gap: 0.5rem; }
.contact__key .dot { width: 6px; height: 6px; }
.contact a { transition: color var(--dur) var(--ease-out); }
.contact a:hover { color: var(--accent); }

.statement {
  position: relative;
  margin-top: 39.38rem;
}
.s-about { --x: 33.3; --y: -16.885; --w: 53.9764; --h: 53.9764; --iw: 38.1833; --ih: 38.1833; --r: 43.33deg; }
.statement__who {
  grid-column: 11 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: -1.6rem;
  font-weight: 500;
  font-size: max(16px, 2.6rem);
  line-height: 0.9;
  letter-spacing: 0.3em;
  color: rgba(251, 251, 251, 0.6);
  white-space: nowrap;
}
.statement__who .dot { width: 6px; height: 6px; }
.statement__title {
  position: relative;
  grid-column: 6 / -1;
  margin-top: 5.96rem;
  font-family: var(--font-sf);
  font-weight: 400;
  font-size: 7rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.statement__text {
  position: relative;
  grid-column: 9 / -1;
  margin-top: 6rem;
  font-size: max(14px, 1.5rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* ---------- MAIN: projects list ---------- */

.projects { padding-top: 44.8rem; }
.section-title {
  grid-column: 1 / -1;
  font-family: var(--font-sf);
  font-weight: 400;
  font-size: max(36px, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.projects__body {
  margin-top: 5.75rem;
  align-items: start;
}
.projects__body .info:nth-child(1) { grid-column: 1 / span 2; }
.projects__body .info:nth-child(2) { grid-column: 3 / span 2; }

.plist {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: subgrid;
  row-gap: 1px;
}
.plist > li {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
}
.plist__row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  position: relative;
  padding: calc(1.4rem + 1px) 0 1.4rem;
  transition: color var(--dur) var(--ease-out);
}
/* the row rule is a pseudo-element so it can draw in on scroll */
.plist__row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  transform-origin: 0 50%;
}
.plist__num,
.plist__name {
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: max(15px, 2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.plist__num { grid-column: 1; }
.plist__name { grid-column: 2 / span 3; }
.plist__cat {
  grid-column: 5 / -1;
  font-size: max(13px, 1.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
a.plist__row:hover { color: var(--accent); }

/* ---------- MAIN: awards ---------- */

.awards { padding-top: 20.7rem; }
.awards .section-title { font-family: var(--font-sf); }
.alist {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  margin-top: 13.3rem;
}
.alist__row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  position: relative;
}
.alist__row--2 { margin-top: 15.6rem; }
.alist__row--3 { margin-top: 15.1rem; }
/* 2px rule ending in a 10.7px dot, drawn from the left margin */
.alist__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--len);
  height: 0.2rem;
  margin-top: -0.1rem;
  background: var(--fg);
  transform-origin: 0 50%;
}
.alist__line::after {
  content: "";
  position: absolute;
  right: -0.533rem;
  top: 50%;
  width: 1.067rem;
  height: 1.067rem;
  margin-top: -0.533rem;
  border-radius: 50%;
  background: var(--fg);
}
.alist__row--1 .alist__line { --len: 43.2rem; }
.alist__row--2 .alist__line { --len: 21.6rem; }
.alist__row--3 .alist__line { --len: 36.5rem; }
.alist__name {
  grid-column: 1 / span 7;
  justify-self: end;
  font-family: var(--font-pre);
  font-weight: 500;
  font-size: max(24px, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.alist__row--3 .alist__name { margin-right: -0.9rem; }
.alist__desc {
  grid-column: 9 / -1;
  font-family: var(--font-sf);
  font-size: max(13px, 2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* ---------- MAIN: select projects ---------- */

.work { padding-top: 44.2rem; padding-bottom: 8.4rem; }
.work .section-title { font-family: var(--font-pre); }
.chips {
  grid-column: 1 / -1;
  display: flex;
  gap: 2rem;
  margin-top: 3.35rem;
}
.chip {
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--fg);
  border-radius: 2.5rem;
  font-size: max(11px, 1.3rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  transition: background-color var(--dur) var(--ease-io), color var(--dur) var(--ease-io);
}
.chip:hover { background: rgba(251, 251, 251, 0.12); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  row-gap: 9.3rem;
  margin-top: 6.7rem;
}
.card {
  display: block;
  transition: opacity var(--dur) var(--ease-io);
}
.card.is-dim { opacity: 0.15; pointer-events: none; }
.card--feeld { grid-column: 1 / span 4; }
.card--epilog { grid-column: 5 / span 4; }
.card--story { grid-column: 1 / span 4; grid-row: 2; }
.card--diptyque { grid-column: 5 / span 4; grid-row: 2; }
.card--uplus { grid-column: 9 / span 4; grid-row: 2; }

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 441 / 406;
  container-type: inline-size;
}
.card__media > img.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card--story .card__media > img.cover { object-position: 50% 40.5%; }
.card--diptyque .card__media > img.cover { object-position: 50% 41.9%; }
a.card .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-io);
}
a.card:hover .card__media::after,
a.card:focus-visible .card__media::after { opacity: 1; }

.card__cap {
  position: relative;
  margin-top: 4.8rem;
  padding-left: 3.8rem;
}
.card__cap .dot {
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 1.3rem;
  height: 1.3rem;
}
.card__title {
  font-weight: 500;
  font-size: max(18px, 2.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.card__note {
  margin-left: 1.2rem;
  font-family: var(--font-sf);
  font-weight: 400;
  font-size: max(11px, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.card__desc {
  margin-top: 1.38rem;
  font-size: max(13px, 1.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--muted);
}

/* U+ ONE card */
.card--uplus .card__media > img.cover { object-position: 50% 65.5%; }
/* tint sits above the photo (which gets its own layer from the zoom/settle transforms) */
.card--uplus .card__media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(rgba(92, 18, 44, 0.39), rgba(92, 18, 44, 0.39));
}
.uplus__title {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 8.16cqw;
  transform: translateX(-50%);
  font-weight: 500;
  font-size: 12.47cqw;
  line-height: 1.3;
  letter-spacing: -0.06em;
  color: #fff;
  white-space: nowrap;
}
.uplus__icon {
  position: absolute;
  z-index: 2;
  left: 77.78cqw;
  top: 70.52cqw;
  width: 16.33cqw;
  height: 16.55cqw;
  border-radius: 2.27cqw;
  box-shadow: 0 0.07cqw 3.56cqw 0.27cqw rgba(166, 5, 87, 0.24);
  object-fit: cover;
}

/* Nordly card */
.card--nordly .card__media { background: #010101; }
.nordly__bg,
.nordly__reflect {
  position: absolute;
  max-width: none;
  object-fit: cover;
}
.nordly__bg { left: 15.87cqw; top: -28.34cqw; width: 143.31cqw; height: 90.25cqw; opacity: 0.8; }
.nordly__reflect { left: -48.75cqw; top: 53.51cqw; width: 105.67cqw; height: 73.02cqw; opacity: 0.7; transform: scaleX(-1); filter: blur(1.89cqw); }
.nordly__mark { position: absolute; left: 15.87cqw; top: 35.37cqw; width: 9.505cqw; height: 9.47cqw; object-fit: cover; }
.nordly__logo { position: absolute; left: 23.6cqw; top: 39.26cqw; width: 60.63cqw; height: 17.34cqw; object-fit: cover; }

/* ---------- MAIN: connect ---------- */

.connect {
  position: relative;
  height: 116.58rem;
}
.s-connect-square { --x: 46.7; --y: 42.78; --w: 50.568; --h: 50.568; --iw: 50.568; --ih: 50.568; }
.s-connect-circle { --x: 81.9; --y: 43.78; --w: 49.5964; --h: 49.5964; --iw: 35.347; --ih: 35.347; --r: 37.82deg; --il: -2.2%; --iW: 102.4%; --iH: 103.21%; }
.connect__title {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 63.58rem;
  transform: translateX(-50%);
  font-weight: 400;
  font-size: 10.0256rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  min-height: 18rem;
  background: rgba(54, 54, 54, 0.44);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.site-footer .grid {
  padding-top: 5.4rem;
  padding-bottom: 4rem;
  align-items: start;
  font-size: max(12px, 1.3rem);
  line-height: 1.2;
  color: var(--fg-2);
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.foot-col--copy { grid-column: 1 / span 3; font-weight: 300; padding-top: 0.1rem; gap: 1rem; }
.foot-col--nav { grid-column: 5 / span 2; }
.foot-col--sns { grid-column: 9 / span 2; }
.foot-col a { justify-self: start; align-self: flex-start; transition: color var(--dur) var(--ease-out); }
.foot-col a:hover { color: var(--accent); }

.to-top {
  grid-column: 11 / span 2;
  position: relative;
  width: 4rem;
  height: 4rem;
  min-width: 32px;
  min-height: 32px;
  border: 0.556px solid #909090;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.to-top img {
  grid-area: 1 / 1;
  width: 62.5%;
  height: 62.5%;
  transform: rotate(180deg);
  transition: opacity var(--dur) var(--ease-out);
}
.to-top img + img { opacity: 0; }
.to-top:hover,
.to-top:focus-visible { background: #fff; }
.to-top:hover img:first-child,
.to-top:focus-visible img:first-child { opacity: 0; }
.to-top:hover img + img,
.to-top:focus-visible img + img { opacity: 1; }

/* =========================================================
   PROJECT DETAIL PAGES
   ========================================================= */

.p-hero { position: relative; }
.p-title {
  padding-top: 10.7rem;
  align-items: end;
}
.p-title h1 {
  grid-column: 5 / span 7;
  font-family: var(--font-sf);
  font-weight: 400;
  font-size: max(34px, 8.7rem);
  line-height: 1.19;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.p-title__year {
  grid-column: 12;
  justify-self: end;
  font-size: max(13px, 1.8rem);
  line-height: 1.2;
  color: var(--fg-2);
  white-space: nowrap;
}
.p-title__rule {
  grid-column: 5 / -1;
  height: 1px;
  margin-top: 1.7rem;
  margin-left: -0.2rem;
  background: url("../assets/common/title-line.svg") no-repeat 0 0 / 100% 100%;
}
.p-title__index {
  grid-column: 5 / -1;
  margin-top: 1.7rem;
  font-size: max(13px, 1.8rem);
  line-height: 1.2;
}
.p-hero__img {
  grid-column: 5 / -1;
  margin-top: 2.65rem;
  aspect-ratio: 900 / 651;
}
.p-hero__big {
  position: absolute;
  z-index: 2;
  left: 3.2rem;
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: 13.9rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
}
.p-hero__big span { display: block; }

.p-meta {
  margin-top: 6.6rem;
  align-items: start;
}
.p-about { align-items: start; }
.p-about__kicker {
  grid-column: 1 / span 3;
  font-family: var(--font-sf);
  font-size: max(11px, 1.3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gray);
}
.p-about__body {
  display: flex;
  flex-direction: column;
}
.p-about__body p {
  margin-top: 3.5rem;
  font-weight: 300;
  font-size: max(14px, 1.5rem);
  line-height: 1.6;
  word-break: keep-all;
}
.p-about__body p + p { margin-top: 2.4rem; }
.indent { text-indent: 3.7em; }

.p-sec-title {
  font-family: var(--font-helv);
  font-weight: 400;
  font-size: max(26px, 4.5rem);
  line-height: 0.91;
  letter-spacing: -0.05em;
}
.p-text {
  font-size: max(14px, 1.6rem);
  line-height: 1.6;
  word-break: keep-all;
}

/* ---------- 10 STORYTELLING ---------- */

.story .p-hero__big { top: 43.9rem; }
.story .p-hero__big span + span { padding-left: 23.6rem; }
.story .p-meta .info:nth-child(1) { grid-column: 9 / span 2; }
.story .p-meta .info:nth-child(2) { grid-column: 11 / span 2; }
.story .p-about { margin-top: 8.85rem; }
.story .p-about__body { grid-column: 5 / span 4; }

.process {
  margin-top: 19.86rem;
  align-items: start;
}
.process .p-sec-title { grid-column: 1 / span 4; grid-row: 1; }
.process__text {
  grid-column: 1 / span 4;
  grid-row: 1;
  align-self: end;
  width: 33.2rem;
  max-width: 100%;
  margin-left: 0.3rem;
  font-weight: 300;
  color: #eee;
}
.poster {
  grid-row: 1;
  position: relative;
  width: 43.9742rem;
  max-width: calc(100% + 0.2rem);
  aspect-ratio: 439.742 / 622.29;
  overflow: hidden;
  background: #e5e5e5;
  color: #000;
  container-type: inline-size;
  font-family: var(--font-pre);
  font-weight: 200;
  line-height: normal;
}
.poster--a8 { grid-column: 5 / span 4; margin-left: -0.2rem; }
.poster--a7 { grid-column: 9 / span 4; margin-left: 0.16rem; }
.poster .ab { position: absolute; white-space: nowrap; }
.poster .tiny { font-size: 1.681cqw; line-height: 1.6; }
.poster .r { text-align: right; transform: translateX(-100%); }
.poster .grp { position: absolute; display: flex; align-items: center; justify-content: center; }
.poster .grp > div { position: relative; flex: none; }
.poster .grp img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }

.split { align-items: start; }
.split .p-sec-title { grid-column: 1 / span 4; }
.split__text { display: contents; }
.split__a,
.split__b { display: block; }
.split__a { grid-column: 5 / span 4; }
.split__b { grid-column: 9 / span 4; }

.pure { margin-top: 40.2rem; }
.pure .split__a { max-width: 43.2rem; }
.pure__img {
  grid-column: 1 / -1;
  margin-top: 5.91rem;
  aspect-ratio: 1357 / 857;
}
.pure__img img { object-position: 50% 29.4%; }

.palette { margin-top: 24.9rem; }
.palette .split__b { margin-top: 10.2rem; }
.pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  margin-top: 6.8rem;
}
.pair > .media { grid-column: span 6; aspect-ratio: 670 / 589; }
.pair--error > .media:first-child img { object-position: 50% 0; }
.pair--error > .media:last-child img { object-position: 50% 99.1%; }

.trio {
  margin-top: 24rem;
  grid-template-rows: 33.6rem auto;
  align-items: start;
}
.trio__cap {
  grid-column: 9 / -1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
  color: rgba(251, 251, 251, 0.59);
}
.trio > .media { aspect-ratio: 440 / 623; }
.trio > .media:nth-of-type(1) { grid-column: 1 / span 4; grid-row: 1 / 3; }
.trio > .media:nth-of-type(2) { grid-column: 5 / span 4; grid-row: 2; }
.trio > .media:nth-of-type(3) { grid-column: 9 / span 4; grid-row: 2; }

.wide {
  grid-column: 1 / -1;
  margin-top: 16.2rem;
  aspect-ratio: 1356 / 907;
}
.pair--tall { margin-top: 3.6rem; }
.pair--tall > .media { aspect-ratio: 670 / 837; }

/* ---------- next project ---------- */

.next {
  text-align: center;
}
.next__label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: max(15px, 2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.next__label .dot { width: 0.8rem; height: 0.8rem; min-width: 6px; min-height: 6px; }
.next__link {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 6.5rem auto 0;
  font-size: max(40px, 10.0256rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
  transition: color var(--dur) var(--ease-out);
}
.next__link:hover,
.next__link:focus-visible { color: var(--accent); }
.story .next { margin-top: 39.4rem; padding-bottom: 73.6rem; }
.diptyque .next { margin-top: 41.3rem; padding-bottom: 43.4rem; }

/* ---------- DIPTYQUE : MEMORY ---------- */

.diptyque .p-hero__big { top: 48.1rem; }
.diptyque .p-meta .info:nth-child(1) { grid-column: 5 / span 2; }
.diptyque .p-meta .info:nth-child(2) { grid-column: 7 / span 2; }
.diptyque .p-about { margin-top: 11.35rem; }
.diptyque .p-about__body { grid-column: 8 / span 4; }
.diptyque .indent { text-indent: 4.2em; }

.ws-holder {
  grid-column: 2 / span 10;
  margin-top: 11.5rem;
}

/* Web Showing artboard — every value is cqw of its 1128px design width */
.ws {
  position: relative;
  aspect-ratio: 1128 / 6265.1;
  overflow: hidden;
  background: #f3f2ee;
  color: #070707;
  container-type: inline-size;
  font-family: var(--font-serif);
  font-weight: 400;
}
.ws .ab { position: absolute; }
.ws .crop { overflow: hidden; }
.ws .crop > img { position: absolute; max-width: none; }
.ws .cover > img { width: 100%; height: 100%; object-fit: cover; }
.ws .nw { white-space: nowrap; }
.ws .big { font-size: 14.375cqw; line-height: normal; white-space: nowrap; }
.ws .h { font-size: 2.9167cqw; line-height: normal; white-space: nowrap; }
.ws .body { font-size: 1.0417cqw; line-height: 1.36; }
.ws .body2 { font-size: 1.0417cqw; line-height: 1.35; }
.ws .sm { font-size: 0.7639cqw; line-height: 1.2; letter-spacing: -0.01em; }
.ws .sans { font-family: var(--font-pre); }
.ws-path { position: absolute; overflow: visible; }
.ws-path text { font-family: var(--font-serif); fill: #f1f0ea; }
.ws-foot {
  position: absolute;
  left: 0;
  top: 542.917cqw;
  width: 100%;
  height: 12.5cqw;
  background: rgba(2, 2, 2, 0.93);
  border: 0.0738cqw solid #525252;
  color: #f1f0ea;
  font-family: var(--font-pre);
  font-size: 0.9027cqw;
  line-height: normal;
}
.ws-foot .ab { white-space: nowrap; }
.ws-foot .btn {
  position: absolute;
  border: 0.0386cqw solid #909090;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.memory-img {
  grid-column: 1 / -1;
  margin-top: 13.8rem;
  aspect-ratio: 1356 / 1243;
}
/* crop matched to the Figma render: whole laptop with wall above and pedestal below */
.memory-img img { object-position: 50% 44.5%; }

/* =========================================================
   INTERACTIONS — web-only motion layered on the Figma layout
   ========================================================= */

/* link underline that draws in from the left */
.gnb a,
.contact a,
.foot-col a {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size 0.35s var(--ease-out), color var(--dur) var(--ease-out);
}
.gnb a:hover,
.gnb a:focus-visible,
.contact a:hover,
.foot-col a:hover { background-size: 100% 1px; }

/* reading progress on project pages */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  will-change: transform;
  transform-origin: 0 50%;
  pointer-events: none;
}

/* hero: frames and circles drift apart with the pointer — the circle slips out of its frame */
/* moved by main.js through style.translate; own GPU layers so moving them never repaints the page */
.hero .shape,
.shape__dot { will-change: translate; }
.hero .shape__in { animation: shape-sway 9s var(--ease-io) infinite alternate; }
.hero .shape:nth-child(2) .shape__in { animation-duration: 11s; animation-delay: -3s; }
.hero .shape:nth-child(3) .shape__in { animation-duration: 13s; animation-delay: -6s; }
.hero .shape:nth-child(4) .shape__in { animation-duration: 10s; animation-delay: -2s; }
@keyframes shape-sway {
  from { rotate: -3deg; }
  to { rotate: 3deg; }
}
.scroll-cue { transition: scale 0.4s var(--ease-out); }
.scroll-cue:hover { scale: 1.08; }

/* project list: focus the hovered row, float a preview for rows with a page */
.plist > li { transition: opacity var(--dur) var(--ease-io); }
.plist:hover > li:not(:hover) { opacity: 0.35; }
.plist__name { transition: translate 0.45s var(--ease-out); }
.plist__row:hover .plist__name { translate: 1.6rem 0; }
a.plist__row .plist__cat::after {
  content: "\2197";
  display: inline-block;
  margin-left: 0.8rem;
  opacity: 0;
  translate: -0.6rem 0;
  transition: opacity var(--dur) var(--ease-out), translate var(--dur) var(--ease-out);
}
a.plist__row:hover .plist__cat::after { opacity: 1; translate: 0 0; }
.plist-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 28rem;
  aspect-ratio: 441 / 406;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  scale: 0.85;
  transition: opacity var(--dur) var(--ease-io), scale 0.45s var(--ease-out);
}
.plist-preview.is-on { opacity: 1; scale: 1; }
.plist-preview img { width: 100%; height: 100%; object-fit: cover; }

/* cards: image eases in, a VIEW ring follows the pointer */
.card__media > img.cover { transition: transform 0.9s var(--ease-out); }
a.card:hover .card__media > img.cover { transform: scale(1.05); }
.card__view {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 9.6rem;
  height: 9.6rem;
  min-width: 64px;
  min-height: 64px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: max(11px, 1.3rem);
  letter-spacing: 0.12em;
  color: #fff;
  pointer-events: none;
  transform: translate(calc(-50% + var(--vx, 0px)), calc(-50% + var(--vy, 0px)));
  opacity: 0;
  scale: 0.4;
  transition: opacity var(--dur) var(--ease-io), scale 0.45s var(--ease-out), transform 0.18s linear;
}
a.card:hover .card__view { opacity: 1; scale: 1; }

/* connect: the red circle chases the pointer, the title copies the email */
.connect .shape { will-change: translate; }
.connect__copy {
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  cursor: copy;
  transition: color var(--dur) var(--ease-out);
}
.connect__copy:hover { color: #fff; }
.connect__hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 76rem;
  transform: translateX(-50%);
  font-family: var(--font-sf);
  font-weight: 500;
  font-size: max(11px, 1.3rem);
  letter-spacing: 0.24em;
  color: rgba(251, 251, 251, 0.6);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-io);
}
.connect:hover .connect__hint,
.connect:has(.connect__copy:focus-visible) .connect__hint { opacity: 1; }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(3.2rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  gap: 0.4rem;
  padding: 1.4rem 2.4rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: max(13px, 1.4rem);
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  translate: -50% 1.6rem;
  transition: opacity var(--dur) var(--ease-io), translate 0.45s var(--ease-out);
}
.toast.is-on { opacity: 1; translate: -50% 0; }
.toast strong { font-family: var(--font-sf); font-weight: 500; letter-spacing: 0.12em; }

/* next project: a rule draws under the title */
.next__link { position: relative; }
.next__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.4rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--ease-out);
}
.next__link:hover::after,
.next__link:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }

/* posters: hovering 01 knocks the grid out of alignment, hovering 02 snaps it back */
.poster { cursor: pointer; }
.poster .grp,
.poster .grp > div { transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.poster--a8:is(:hover, .is-shifted) .grp { transform: translate(var(--mx), var(--my)) rotate(var(--mr)); }
.poster--a8 .grp:nth-of-type(1) { --mx: -4.22cqw; --my: -6.97cqw; --mr: -8.39deg; }
.poster--a8 .grp:nth-of-type(2) { --mx: -3.64cqw; --my: 3.17cqw; --mr: 0deg; }
.poster--a8 .grp:nth-of-type(3) { --mx: -2.95cqw; --my: 6.41cqw; --mr: 17.11deg; }
.poster--a8 .grp:nth-of-type(4) { --mx: -2.46cqw; --my: -3.33cqw; --mr: 2.18deg; }
.poster--a8 .grp:nth-of-type(5) { --mx: -0.17cqw; --my: 2.84cqw; --mr: -25.5deg; }
.poster--a8 .grp:nth-of-type(6) { --mx: -4.52cqw; --my: 15.52cqw; --mr: 0deg; }
.poster--a8 .grp:nth-of-type(7) { --mx: 0.29cqw; --my: 1.01cqw; --mr: -2.52deg; }
.poster--a8 .grp:nth-of-type(8) { --mx: 2.66cqw; --my: -0.42cqw; --mr: 1.34deg; }
.poster--a8 .grp:nth-of-type(9) { --mx: 1.22cqw; --my: -0.41cqw; --mr: -1.44deg; }
.poster--a7:is(:hover, .is-shifted) .grp { transform: translate(var(--ax), var(--ay)); }
.poster--a7:is(:hover, .is-shifted) .grp > div { transform: none !important; }
.poster--a7 .grp:nth-of-type(1) { --ax: 4.22cqw; --ay: 6.97cqw; }
.poster--a7 .grp:nth-of-type(2) { --ax: 2.46cqw; --ay: 3.33cqw; }
.poster--a7 .grp:nth-of-type(3) { --ax: -0.29cqw; --ay: -1.01cqw; }
.poster--a7 .grp:nth-of-type(4) { --ax: 2.95cqw; --ay: -6.41cqw; }
.poster--a7 .grp:nth-of-type(5) { --ax: 4.52cqw; --ay: -15.52cqw; }
.poster--a7 .grp:nth-of-type(6) { --ax: -1.22cqw; --ay: 0.41cqw; }
.poster--a7 .grp:nth-of-type(7) { --ax: 3.64cqw; --ay: -3.17cqw; }
.poster--a7 .grp:nth-of-type(8) { --ax: 0.17cqw; --ay: -2.84cqw; }
.poster--a7 .grp:nth-of-type(9) { --ax: -2.66cqw; --ay: 0.42cqw; }

/* poster trio: the one under the pointer stays lit */
.trio > .media { transition: opacity 0.4s var(--ease-io); }
.trio:hover > .media:not(:hover) { opacity: 0.4; }

/* scroll-linked motion where the browser supports it; elsewhere the page simply stays still */
@supports (animation-timeline: view()) {
  .section-title,
  .statement__title,
  .statement__text,
  .plist > li,
  .card,
  .p-sec-title,
  .split__a,
  .split__b,
  .process__text,
  .poster,
  .p-about__body,
  .p-meta .info,
  .media,
  .next__link {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  .media > img,
  .card__media > img.cover {
    animation: settle linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
  }
  .s-about .shape__in {
    animation: frame-turn linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  .ws-float {
    animation: bottle-float linear both;
    animation-timeline: view();
  }
  .p-hero__big {
    animation: big-drift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
  .p-hero__img > img {
    animation: hero-zoom linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
}
@keyframes rise {
  from { translate: 0 5rem; }
  to { translate: 0 0; }
}
@keyframes settle {
  from { scale: 1.12; }
  to { scale: 1; }
}
@keyframes frame-turn {
  from { rotate: -20deg; }
  to { rotate: 16deg; }
}
@keyframes bottle-float {
  from { translate: 0 4cqw; }
  to { translate: 0 -4cqw; }
}
@keyframes big-drift {
  to { translate: 0 -16rem; }
}
@keyframes hero-zoom {
  to { scale: 1.08; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1023px) {
  .about__role { grid-column: 7 / span 3; }
  .about__name { grid-column: 10 / -1; }
  .statement__who { grid-column: 9 / -1; }
  .statement__text { grid-column: 7 / -1; }
  .projects__body .info { margin-bottom: 4rem; }
}

@media (max-width: 767px) {
  html { font-size: calc(100vw / 39); }
  :root { --m: 2rem; --g: 1.2rem; }
  #about { scroll-margin-top: 0; }
  #projects { scroll-margin-top: -8rem; }
  #work { scroll-margin-top: -6rem; }
  body { font-size: 1.4rem; }

  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid > * { grid-column: 1 / -1; }

  /* header */
  .site-header { padding-top: calc(2.4rem + env(safe-area-inset-top, 0px)); display: flex; justify-content: space-between; align-items: center; }
  .logo { font-size: 2.6rem; margin-left: -0.2rem; }
  .gnb { display: flex; gap: 2.4rem; }
  .gnb a { font-size: 1.2rem; }

  /* hero */
  .hero { height: max(72rem, 100svh); }
  .hero__inner { padding-top: 0; position: absolute; left: 0; right: 0; top: 40%; transform: translateY(-50%); }
  .hero__title { font-size: 4.8rem; line-height: 4.7rem; }
  .hero__title > span:first-child { padding-left: 5rem; }
  .hero__title > span:last-child { padding-left: 8rem; }
  .hero__sub { grid-column: 1 / -1; margin-top: 1.6rem; margin-right: 0; font-size: 1.3rem; line-height: 1.6; white-space: normal; word-break: keep-all; text-wrap: balance; }
  .s-hero-tl { --x: -4; --y: 9; --s: 0.5; }
  .s-hero-tr { --x: 22; --y: -2; --s: 0.55; }
  .s-hero-l  { --x: -6; --y: 46; --s: 0.55; }
  .s-hero-r  { --x: 14; --y: 44; --s: 0.55; }
  .scroll-cue { top: auto; bottom: 6rem; width: 5.6rem; height: 5.6rem; }
  .scroll-cue img { width: 3.5rem; height: 3.5rem; }

  /* about */
  .about { padding-top: 6rem; }
  .about__head { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__role { grid-column: 1; font-size: 2rem; }
  .about__name { grid-column: 2; font-size: 2rem; }
  .contact { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); margin-top: 4rem; font-size: 1.5rem; }
  .contact__item:nth-of-type(1) { grid-column: 1; }
  .contact__item:nth-of-type(2) { grid-column: 2; }
  .contact__item { word-break: break-all; }
  .statement { margin-top: 22rem; }
  .s-about { --x: 2; --y: -15; --s: 0.48; }
  .statement__who { grid-column: 1 / -1; justify-self: end; margin-left: 0; font-size: 1.8rem; }
  .statement__title { margin-top: 5rem; font-size: 3.8rem; }
  .statement__text { margin-top: 4rem; font-size: 1.4rem; }

  /* projects list */
  .projects { padding-top: 16rem; }
  .section-title { font-size: 4.2rem; }
  .projects__body { margin-top: 3.6rem; row-gap: 3.2rem; }
  .projects__body .info { margin-bottom: 0; gap: 1.6rem; }
  .projects__body .info:nth-child(1) { grid-column: 1 / span 2; }
  .projects__body .info:nth-child(2) { grid-column: 3 / span 2; }
  .label, .list-sm { font-size: 1.3rem; }
  .plist { grid-template-columns: 4rem minmax(0, 1fr) auto; column-gap: 1.2rem; }
  .plist__row { padding: calc(1.5rem + 1px) 0 1.5rem; }
  .plist__num, .plist__name { font-size: 1.6rem; }
  .plist__num { grid-column: 1; }
  .plist__name { grid-column: 2; white-space: normal; }
  .plist__cat { grid-column: 3; font-size: 1.2rem; text-align: right; color: var(--muted); }

  /* select projects */
  .work { padding-top: 14rem; padding-bottom: 0; }
  .chips { gap: 1rem; margin-top: 2.4rem; }
  .chip { font-size: 1.2rem; padding: 0.6rem 1.4rem; }
  .cards { margin-top: 3.2rem; row-gap: 5rem; }
  .card--feeld, .card--epilog, .card--story, .card--diptyque, .card--uplus { grid-column: 1 / -1; grid-row: auto; }
  .card__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.8rem; }
  .card__note { margin-left: 0; font-size: 1.2rem; }

  /* awards */
  .awards { padding-top: 14rem; }
  .alist { margin-top: 4rem; row-gap: 3.2rem; }
  .alist__row { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; margin-top: 0; padding-left: 4.4rem; }
  .alist__row .alist__line { --len: 2.8rem; top: 1.1rem; margin-top: -0.1rem; }
  .alist__name, .alist__desc { grid-column: 1; justify-self: start; margin-right: 0; }
  .alist__name { font-size: 2.4rem; }
  .alist__desc { font-size: 1.4rem; color: var(--muted); }
  .card__cap { margin-top: 1.8rem; padding-left: 2.6rem; }
  .card__cap .dot { width: 1rem; height: 1rem; top: 0.4rem; }
  .card__title { font-size: 2rem; }
  .card__desc { margin-top: 1rem; font-size: 1.4rem; }

  /* connect */
  .connect { height: 64rem; }
  .s-connect-square { --x: 4; --y: 18; --s: 0.52; }
  .s-connect-circle { --x: 16.5; --y: 18.5; --s: 0.52; }
  .connect__title { top: 30.7rem; font-size: 3.5rem; }
  .connect__hint { top: 36.4rem; font-size: 1.1rem; }
  .plist:hover > li:not(:hover) { opacity: 1; }
  .plist__row:hover .plist__name { translate: 0 0; }

  /* footer */
  .site-footer .grid { padding-top: 3.6rem; padding-bottom: 3.6rem; row-gap: 2.8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .grid { font-size: 1.2rem; }
  .foot-col--copy { grid-column: 1 / -1; }
  .foot-col--nav { grid-column: 1; }
  .foot-col--sns { grid-column: 2; }
  .to-top { position: absolute; right: var(--m); top: 3.2rem; }

  /* detail pages */
  .p-title { padding-top: 11rem; }
  .p-title h1 { grid-column: 1 / -1; font-size: 3.8rem; white-space: normal; }
  .p-title__year { grid-column: 1 / -1; justify-self: start; display: none; }
  .p-title__rule { grid-column: 1 / -1; margin-top: 1.4rem; margin-left: 0; }
  .p-title__index { margin-top: 1.2rem; font-size: 1.4rem; }
  .p-hero__img { grid-column: 1 / -1; margin-top: 2.4rem; }
  .p-hero__big { position: relative; left: auto; top: auto !important; margin: -6.6rem 0 0 -0.4rem; padding-inline: var(--m); font-size: 6rem; }
  .story .p-hero__big span + span { padding-left: 10rem; }

  .p-meta { margin-top: 5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story .p-meta .info:nth-child(1), .diptyque .p-meta .info:nth-child(1) { grid-column: 1; }
  .story .p-meta .info:nth-child(2), .diptyque .p-meta .info:nth-child(2) { grid-column: 2; }
  .p-meta .info { gap: 1.6rem; }
  .story .p-about, .diptyque .p-about { margin-top: 6rem; row-gap: 2.4rem; }
  .story .p-about__body, .diptyque .p-about__body { grid-column: 1 / -1; }
  .p-about__kicker { font-size: 1.2rem; }
  .p-about__body p { margin-top: 1.6rem; font-size: 1.4rem; }
  .p-about__body p + p { margin-top: 1.4rem; }

  .p-sec-title { font-size: 3rem; }
  .p-text { font-size: 1.4rem; }

  .process { margin-top: 12rem; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4rem; }
  .process .p-sec-title { grid-column: 1 / -1; grid-row: 1; }
  .process__text { grid-column: 1 / -1; grid-row: 2; width: auto; margin-left: 0; }
  .poster { grid-row: 3; width: auto; max-width: none; margin-left: 0; }
  .poster--a8 { grid-column: 1; margin-left: 0; }
  .poster--a7 { grid-column: 2; }

  .split { row-gap: 0; }
  .split .p-sec-title { margin-bottom: 2.4rem; }
  .split__text { display: block; text-indent: 3.7em; }
  .split__a,
  .split__b { display: inline; text-indent: 0; }
  .pure { margin-top: 12rem; }
  .pure .split__a { max-width: none; }
  .palette .split__b { margin-top: 0; }
  .pure__img { margin-top: 3.2rem; }

  .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.8rem; margin-top: 3.2rem; }
  .pair > .media { grid-column: span 1; }
  .trio { margin-top: 8rem; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 0.8rem; row-gap: 1.6rem; }
  .trio__cap { grid-column: 1 / -1; grid-row: 1; justify-self: start; text-align: left; }
  .trio > .media:nth-of-type(1) { grid-column: 1; grid-row: 2; }
  .trio > .media:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .trio > .media:nth-of-type(3) { grid-column: 3; grid-row: 2; }
  .wide { margin-top: 6rem; }
  .pair--tall { margin-top: 1.2rem; }

  .ws-holder { margin-top: 6rem; }
  .memory-img { margin-top: 4rem; }

  .next__label { font-size: 1.4rem; }
  .next__link { margin-top: 2.4rem; font-size: 3.8rem; }
  .story .next, .diptyque .next { margin-top: 14rem; padding-bottom: 14rem; }
}

/* touch screens: no hover-only affordances, show the copy hint up front */
@media (hover: none) {
  .card__view,
  .plist-preview { display: none; }
  .connect__hint { opacity: 1; }
  .trio:hover > .media:not(:hover) { opacity: 1; }
}

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