/* ===== Tokens ===== */
:root {
  --page: #ffffff;
  --paper: #ecebe8;
  --surface: #f5f5f5;
  --ink: #121212;
  --ink-2: #303030;
  --grey: #5e5e5e;
  --mute: #969696;
  --line: #d2d2d0;
  --dark: #181818;
  --dark-ink: #f5f5f5;
  --dark-grey: #a5a5a5;
  --mark: #6b3a35;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --f-head: "Work Sans", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(1.75rem, 1.1rem + 2.9vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  --fs-h3: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-statement: clamp(1.125rem, 1rem + 0.7vw, 1.5rem);

  --gut: 16px;
  --hh: 56px;
  --sec: 56px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { overflow-wrap: break-word; }

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

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gut);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.grid > * { min-width: 0; }

/* ===== Type ===== */
.label {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}
.label-ink { color: var(--ink); }

.display {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.h2 {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.lede {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34em;
}

.statement {
  font-family: var(--f-body);
  font-size: var(--fs-statement);
  line-height: 1.45;
  color: var(--ink);
  max-width: 30em;
}

.section .label + .h2 { margin-top: 16px; }
.section .h2 + .lede,
.section .h2 + .statement { margin-top: 20px; }

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn .arr {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.btn:hover .arr,
.btn:focus-visible .arr { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #ffffff; }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 0.85em);
  height: 1px;
  background: currentColor;
  transform-origin: left;
}
.text-link:hover::after,
.text-link:focus-visible::after { animation: relink 0.3s var(--ease); }
.text-link--plain {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
}

@keyframes relink {
  0% { transform: scaleX(1); transform-origin: right; }
  49.9% { transform: scaleX(0); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--page);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1440px;
  height: var(--hh);
  margin: 0 auto;
  padding: 0 var(--gut);
  transition: height 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled .header-inner { height: 48px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  min-width: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand-role { display: none; color: var(--grey); }

.nav ul { display: flex; gap: 14px; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 0.85em);
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-about { display: none; }

/* ===== Hero ===== */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 600px;
  min-height: max(600px, 100vh);
  min-height: max(600px, 100svh);
  padding-top: calc(var(--hh) + 28px);
}
.hero-text { flex: 0 0 auto; }
.hero-label { margin-bottom: 16px; }

.display .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.display .line-inner { display: block; }

.hero-sub {
  margin-top: 20px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--grey);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
}

.strip-wrap {
  margin-top: auto;
  padding-top: 32px;
  width: 100%;
  overflow: hidden;
}
.strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}
.strip::-webkit-scrollbar { display: none; }

.tile {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 206px;
  height: 232px;
  overflow: hidden;
  background: var(--surface);
  scroll-snap-align: start;
  transition: opacity 0.5s var(--ease);
}
.tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1421 / 1600;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.tile:focus-visible { outline-offset: -3px; }
.tile:hover img,
.tile:focus-visible img { transform: scale(1.04); }
@media (hover: hover) {
  .strip:hover .tile:not(:hover) { opacity: 0.6; }
}
.strip:focus-within .tile:not(:focus-within) { opacity: 0.6; }

.strip-meta { display: none; }

/* Hero intro */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tileIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes imgIn { from { transform: scale(1.06); } to { transform: scale(1); } }

html.js .hero-label { animation: fadeIn 0.4s linear backwards; }
html.js .display .line-inner {
  animation: lineUp 0.7s var(--ease) backwards;
  animation-delay: calc(var(--l, 0) * 90ms + 60ms);
}
.display .line:nth-child(1) .line-inner { --l: 0; }
.display .line:nth-child(2) .line-inner { --l: 1; }
html.js .hero-sub { animation: riseIn 0.5s var(--ease) 0.38s backwards; }
html.js .hero-actions { animation: riseIn 0.5s var(--ease) 0.46s backwards; }
html.js .tile {
  animation: tileIn 0.9s var(--ease) backwards;
  animation-delay: calc(300ms + var(--i, 0) * 60ms);
}
html.js .tile img {
  animation: imgIn 0.9s var(--ease) backwards;
  animation-delay: calc(300ms + var(--i, 0) * 60ms);
}

/* ===== Sections ===== */
.section { padding: var(--sec) 0; }
.paper { background: var(--paper); }

/* Reveal */
.rv {
  transition:
    opacity 0.6s var(--ease) var(--d, 0ms),
    transform 0.6s var(--ease) var(--d, 0ms);
}
html.js .reveal-group:not(.in) .rv {
  opacity: 0;
  transform: translateY(16px);
}

/* ===== Services / Call sheet ===== */
.services { padding-top: 40px; }

.sheet {
  position: relative;
  margin-top: 32px;
  padding-left: 18px;
  --p: 1;
}
.sheet-track {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  overflow: hidden;
}
.sheet-fill {
  position: absolute;
  inset: 0;
  background: var(--mark);
  transform: scaleY(var(--p));
  transform-origin: top;
}

.sheet-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--ink);
  border-radius: 2px;
  margin-bottom: 24px;
}
.sheet-cell {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}
.sheet-cell:first-child { border-top: 0; }
.sheet-cell dd {
  font-size: 0.9375rem;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.sheet-mail {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sheet-rows { border-bottom: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 10px;
  padding: 20px 10px 22px 6px;
  transition: background-color 0.25s var(--ease);
}
.row > * { min-width: 0; }
.row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
  transition: transform 0.5s var(--ease) var(--d, 0ms);
}
.row-num {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  color: var(--mute);
  transition: color 0.25s var(--ease);
}
.row-name {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.3;
}
.row-name-in {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.row-desc {
  grid-column: 2;
  margin-top: 6px;
  color: var(--ink-2);
}
.row-num, .row-name, .row-desc {
  transition:
    opacity 0.6s var(--ease) calc(var(--d, 0ms) + 120ms),
    transform 0.6s var(--ease) calc(var(--d, 0ms) + 120ms),
    color 0.25s var(--ease);
}
html.js .sheet-rows:not(.in) .row::before { transform: scaleX(0); }
html.js .sheet-rows:not(.in) .row-num,
html.js .sheet-rows:not(.in) .row-name,
html.js .sheet-rows:not(.in) .row-desc {
  opacity: 0;
  transform: translateY(16px);
}
@media (hover: hover) {
  .row:hover { background: var(--surface); }
  .row:hover .row-num { color: var(--ink); transition-delay: 0ms; }
  .row:hover .row-name-in { transform: translateX(8px); }
}

.sheet-foot { margin-top: 24px; }

/* ===== Recent ===== */
.recent-head { margin-bottom: 28px; }
.frame {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.frame-45 { aspect-ratio: 4 / 5; }
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-camera {
  object-position: 100% 50%;
  filter: saturate(0.7);
}
.img-about { object-position: 50% 20%; }
.caption { margin-top: 10px; }
.recent-fig { margin-bottom: 28px; }

.facts { margin-top: 28px; border-bottom: 1px solid var(--line); }
.fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.fact dd { color: var(--ink-2); }

/* ===== Notes ===== */
.notes-items { margin-top: 36px; }
.note {
  padding: 20px 0 22px;
  border-top: 1px solid var(--ink);
}
.note p { margin-top: 10px; color: var(--ink-2); }

/* ===== Work ===== */
.work { background: var(--dark); color: var(--dark-ink); }
.work .label { color: var(--dark-grey); }
.work .h2 { color: var(--dark-ink); }
.work .lede { color: var(--dark-ink); opacity: 0.86; }
.work :focus-visible { outline-color: var(--dark-ink); }

.work-counter { display: none; }

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 40px;
  margin-top: 36px;
}
.card { min-width: 0; scroll-margin-top: 72px; }
.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1421 / 1600;
  background: #222222;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s var(--ease) var(--cd, 0ms);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card-cap {
  padding-top: 14px;
  transition:
    opacity 0.6s var(--ease) calc(var(--cd, 0ms) + 240ms),
    transform 0.6s var(--ease) calc(var(--cd, 0ms) + 240ms);
}
html.js .card:not(.in) .card-media { clip-path: inset(0 0 100% 0); }
html.js .card:not(.in) .card-cap { opacity: 0; transform: translateY(16px); }

.card-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.card-num {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  color: var(--dark-grey);
  flex: 0 0 auto;
}
.card-title {
  min-width: 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--dark-ink);
}
.card-title span {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: background-size 0.3s var(--ease);
}
.card-role {
  margin-top: 4px;
  padding-left: calc(var(--fs-h3) * 1.2 + 12px);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--dark-grey);
}
@media (hover: hover) {
  .card:hover .card-media img { transform: scale(1.02); }
  .card:hover .card-title span { background-size: 100% 1px; }
}

.work-foot { margin-top: 48px; }
.work-note { color: var(--dark-grey); font-size: 0.9375rem; }
.work-foot .text-link { margin-top: 8px; color: var(--dark-ink); }

/* ===== About ===== */
.about-head { margin-bottom: 28px; }
.about-fig { margin-bottom: 28px; }
.body-copy { margin-top: 20px; color: var(--ink-2); max-width: 36em; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  margin-top: 40px;
}
.stat {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.stat-val {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.stat-label {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--grey);
}

/* ===== Contact ===== */
.contact-cta { margin-top: 28px; }
.contact-links { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-form-wrap { margin-top: 44px; }

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 12px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 2px 2px 0 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--mark); outline-offset: 0; }

.chips-field legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.2;
  transition: background-color 0.15s linear, color 0.15s linear;
}
.chip input:checked + span { background: var(--ink); color: #ffffff; }
.chip input:focus-visible + span { outline: 2px solid var(--mark); outline-offset: 2px; }
@media (hover: hover) {
  .chip:hover span { background: var(--surface); }
  .chip:hover input:checked + span { background: var(--ink); }
}
.form-submit { padding-top: 4px; }

.notice {
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--page);
}
.notice:focus { outline: none; }
.notice:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; }
.notice-title {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.3;
}
.notice-text { margin-top: 10px; color: var(--ink-2); overflow-wrap: anywhere; }
.notice-text a { text-underline-offset: 3px; }
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 20px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--page);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 32px;
  padding-bottom: 168px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* ===== Mobile contact bar ===== */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 var(--gut);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--page);
  border-top: 1px solid var(--line);
  transition: transform 0.3s var(--ease), visibility 0s linear 0s;
}
html.js .mbar:not(.is-on) {
  transform: translateY(105%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

/* ===== 600px+ ===== */
@media (min-width: 600px) {
  .brand-role { display: inline; }
  .nav .nav-about { display: list-item; }
  .nav ul { gap: 24px; }
}

/* ===== 768px+ (12 columns) ===== */
@media (min-width: 768px) {
  :root { --gut: 24px; --hh: 64px; --sec: 90px; }

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

  .mbar { display: none; }

  /* Hero */
  .hero { padding-top: calc(var(--hh) + clamp(40px, 9vh, 90px)); }
  .hero-text {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
  }
  .hero-text > * { min-width: 0; }
  .hero-label, .display { grid-column: 1 / 11; }
  .hero-sub { grid-column: 1 / 7; margin-top: 32px; }
  .hero-actions {
    grid-column: 8 / 13;
    justify-content: flex-end;
    align-self: end;
    margin-top: 32px;
  }
  .tile { width: 220px; height: 248px; }
  .strip-wrap { padding-top: 48px; }
  .strip-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 72px;
    padding: 0 var(--gut);
  }

  /* Services */
  .services { padding-top: 90px; }
  .services-head {
    grid-column: 1 / 5;
    position: sticky;
    top: calc(var(--hh) + 32px);
    align-self: start;
    padding-right: 12px;
  }
  .sheet { grid-column: 5 / 13; margin-top: 0; padding-left: 24px; }
  .sheet-head { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet-cell {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 6px;
    padding: 14px 16px 16px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .sheet-cell:first-child { border-left: 0; }
  .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 5fr);
    column-gap: 20px;
    padding: 24px 16px 26px 12px;
  }
  .row-desc { grid-column: auto; margin-top: 0; }
  .sheet-foot { margin-top: 32px; }

  /* Recent */
  .recent-fig { grid-column: 1 / 5; grid-row: 1 / 4; margin-bottom: 0; align-self: start; }
  .recent-head { grid-column: 6 / 13; grid-row: 1; margin-bottom: 28px; }
  .recent-body { grid-column: 6 / 13; grid-row: 2; }
  .fact { grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 20px; padding: 18px 0; }

  /* Notes */
  .notes-head { grid-column: 1 / 9; }
  .notes-items {
    grid-column: 1 / 13;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 72px;
  }
  .notes-items > * { min-width: 0; }

  /* Work */
  .work-side {
    grid-column: 1 / 4;
    position: sticky;
    top: calc(var(--hh) + 32px);
    align-self: start;
  }
  .work-counter { display: block; margin-top: 56px; }
  .counter-swap { transition: opacity 0.2s linear; }
  .counter-swap.is-swap { opacity: 0; }
  .count-num {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: var(--fs-h2);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--dark-ink);
  }
  .count-total { color: var(--dark-grey); }
  .count-title {
    margin-top: 12px;
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark-grey);
  }
  .work-main { grid-column: 5 / 13; }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 64px;
    margin-top: 0;
    padding-bottom: 80px;
  }
  .card:nth-child(even) { position: relative; top: 80px; }
  .work-foot { margin-top: 56px; }

  /* About */
  .about-fig { grid-column: 1 / 5; grid-row: 1 / 5; margin-bottom: 0; align-self: start; }
  .about-head { grid-column: 6 / 13; grid-row: 1; }
  .about-body { grid-column: 6 / 13; grid-row: 2; }
  .stats { grid-column: 6 / 13; grid-row: 3; margin-top: 56px; }

  /* Contact */
  .contact-side { grid-column: 1 / 6; }
  .contact-form-wrap { grid-column: 7 / 13; margin-top: 0; }
  .notice { padding: 32px; }

  /* Footer */
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 72px;
  }
  .footer-copy { order: 1; }
  .footer-role { order: 2; text-align: center; }
  .footer-links { order: 3; justify-content: flex-end; }
}

/* ===== 1024px+ ===== */
@media (min-width: 1024px) {
  :root { --sec: 130px; }
  .hero-actions { grid-column: 9 / 13; }
  .strip { scroll-snap-type: none; }
  .sheet { padding-left: 32px; }
}

/* ===== 1200px+ ===== */
@media (min-width: 1200px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }

  html.js .reveal-group:not(.in) .rv,
  html.js .sheet-rows:not(.in) .row-num,
  html.js .sheet-rows:not(.in) .row-name,
  html.js .sheet-rows:not(.in) .row-desc,
  html.js .card:not(.in) .card-cap { transform: none; }
  html.js .sheet-rows:not(.in) .row::before { transform: none; }
  html.js .card:not(.in) .card-media { clip-path: none; opacity: 0; }

  .rv, .row-num, .row-name, .row-desc, .card-cap, .card-media {
    transition: opacity 0.2s linear !important;
  }
  .tile img, .card-media img, .row-name-in, .btn, .btn .arr { transition: none !important; }
  .tile:hover img, .tile:focus-visible img,
  .card:hover .card-media img,
  .row:hover .row-name-in,
  .btn:hover .arr, .btn:active { transform: none !important; }
  .sheet { --p: 1 !important; }
}

/* 사진 판 고르기용 감싸개 (optimize_images.py): 배치에 끼지 않음 */
picture{display:contents}
