:root {
  --black: #000;
  --white: #fff;
  --didot: Didot, "Linotype Didot", "Didot LT STD", "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --serif: var(--didot);
  --sans: var(--didot);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--black); background: var(--white); font-family: var(--didot); font-weight: 400; overflow-x: hidden; }
a { color: inherit; }
img { display: block; width: 100%; }
button { color: inherit; font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; padding: 0.65rem 0.9rem; background: var(--white); border: 1px solid var(--black); font-size: 0.875rem; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; display: flex; align-items: flex-start; justify-content: space-between; width: 100%; height: 64px; padding: 18px 6.25vw 0; background: var(--white); }
.brand { font-family: var(--didot); font-size: clamp(1.45rem, 2.05vw, 1.8rem); font-weight: 400; line-height: 0.9; letter-spacing: -0.02em; text-decoration: none; text-transform: uppercase; }
.brand-mobile, .menu-toggle { display: none; }
.desktop-nav { display: flex; align-items: flex-start; gap: 2rem; font-size: 0.75rem; line-height: 1; }
.desktop-nav a { text-decoration: none; }
.nav-group { display: flex; align-items: baseline; gap: 0.35rem; }
.nav-heading { text-transform: uppercase; }
.nav-heading.active { font-style: italic; }
.desktop-nav a:not(.nav-heading) { color: #555; }
.desktop-nav a:hover, .desktop-nav .active-sub { color: var(--black); }

.project-list { width: 87.5%; margin: 0 6.25%; padding-top: 88px; }
.project-list::after { content: ""; display: table; clear: both; }
.project-card { position: relative; display: block; float: left; width: 20%; margin-right: 6.666%; margin-bottom: 6.666%; color: var(--black); text-decoration: none; }
.project-card:nth-child(4n) { margin-right: 0; }
.project-card:nth-child(4n + 1), .project-card:nth-child(4n + 3) { margin-top: -6.666%; }
.project-card:nth-child(1), .project-card:nth-child(3) { margin-top: 0; }
.project-card:nth-child(2), .project-card:nth-child(4) { margin-top: 6.666%; }

.image-frame { position: relative; overflow: hidden; aspect-ratio: 224 / 319; background: #efefef; }
.image-frame img { height: 100%; object-fit: cover; opacity: 0.12; transition: opacity 900ms ease; }
body.is-ready .image-frame img { opacity: 1; }
.project-title { position: absolute; z-index: 2; left: 0; width: max-content; max-width: 140%; margin: 0; color: var(--black); font-family: var(--didot); font-size: clamp(1.0375rem, calc(1.4vw - 1px), 1.2875rem); font-weight: 300; line-height: 1.08; letter-spacing: 0; -webkit-font-smoothing: antialiased; opacity: 0; transition: opacity 200ms ease-in; pointer-events: none; }
.project-card:nth-child(odd) .project-title { bottom: -2.1rem; }
.project-card:nth-child(even) .project-title { top: -2.3rem; }
.project-card:hover .project-title, .project-card:focus-visible .project-title { opacity: 1; }
.project-card:focus, .project-card:focus-visible { outline: 0; }
.mobile-menu { display: none; }

.press-page { width: 87.5%; margin: 0 6.25%; padding: 112px 0 7rem; }
.press-list { display: grid; gap: clamp(8rem, 13vw, 14rem); }
.press-feature { display: grid; grid-template-columns: minmax(240px, 30vw) minmax(250px, 1fr); align-items: start; column-gap: clamp(3.5rem, 9vw, 10rem); }
.press-visual { display: block; width: 100%; max-width: 430px; text-decoration: none; }
.press-visual img { height: auto; aspect-ratio: 1100 / 1430; object-fit: contain; background: #efefef; }
.press-visual--cover img { aspect-ratio: 1523 / 2107; }
.press-copy { max-width: 33rem; padding-top: clamp(3rem, 8vw, 8.5rem); }
.press-publication, .press-date { margin: 0; font-family: var(--sans); font-size: 0.82rem; line-height: 1.35; }
.press-publication { margin-bottom: 1.15rem; }
.press-title { max-width: 10ch; margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 6.8vw, 7.5rem); font-weight: 300; line-height: 0.78; letter-spacing: -0.055em; }
.press-title--long { max-width: 13ch; font-size: clamp(2.75rem, 4.5vw, 5.4rem); line-height: 0.86; letter-spacing: -0.045em; }
.press-date { margin-top: 2rem; color: #555; }
.press-link { display: inline-block; margin-top: 4rem; padding: 0.65rem 0; font-family: var(--sans); font-size: 0.88rem; line-height: 1; text-decoration: none; border-bottom: 1px solid currentColor; }
.press-link:hover { border-bottom-color: transparent; }

.about-page { width: 87.5%; margin: 0 6.25%; padding: 112px 0 8rem; }
.about-layout { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr); align-items: start; gap: clamp(4rem, 9vw, 10rem); }
.about-portrait { margin: 0; }
.about-portrait img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.about-copy { max-width: 39rem; padding-top: clamp(1.5rem, 4vw, 4.5rem); }
.about-title { max-width: 8ch; margin: 0 0 2.6rem; font-family: var(--didot); font-size: clamp(3.9rem, 7vw, 8rem); font-weight: 400; line-height: 0.78; letter-spacing: -0.045em; }
.about-role { margin: 0 0 2.4rem; font-size: 1rem; line-height: 1.35; }
.about-body { max-width: 36rem; }
.about-body p { margin: 0 0 1.15rem; font-size: clamp(1rem, 1.15vw, 1.16rem); line-height: 1.48; }
.about-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.8rem 3.5rem; margin-top: clamp(4rem, 7vw, 7rem); padding-top: 2rem; border-top: 1px solid #bbb; }
.about-contact h2 { grid-column: 1 / -1; margin: 0 0 0.2rem; font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 400; line-height: 1; letter-spacing: -0.035em; }
.contact-block { margin: 0; font-size: 1rem; line-height: 1.55; }
.contact-block strong { display: block; margin-bottom: 0.5rem; font-weight: 400; }
.contact-block a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 1.25rem; }
.social-links a { min-height: 44px; display: inline-flex; align-items: center; }

.project-detail-header { justify-content: flex-start; }
.project-close { position: absolute; top: 10px; right: calc(6.25vw - 6px); display: block; width: 44px; height: 44px; color: var(--black); text-decoration: none; }
.project-close span { position: absolute; top: 22px; left: 11px; display: block; width: 22px; height: 1px; background: currentColor; }
.project-close span:first-child { transform: rotate(45deg); }
.project-close span:last-child { transform: rotate(-45deg); }
.project-gallery { width: min(76vw, 1080px); margin: 0 auto; padding: 118px 0 9rem; }
.project-gallery h1 { margin: 0 0 2.5rem; color: var(--black); font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 4.8rem); font-weight: 300; line-height: 0.95; letter-spacing: -0.045em; -webkit-font-smoothing: antialiased; }
.gallery-images { display: grid; gap: clamp(4.5rem, 7vw, 7.5rem); }
.gallery-image { margin: 0; }
.gallery-image img { height: auto; background: #efefef; }

@media (max-width: 1100px) and (min-width: 651px) {
  .project-card, .project-card:nth-child(4n), .project-card:nth-child(4n + 1), .project-card:nth-child(4n + 3) { width: 28%; margin-right: 8%; margin-bottom: 8%; margin-top: 0; }
  .project-card:nth-child(3n) { margin-right: 0; }
  .project-card:nth-child(3n + 1), .project-card:nth-child(3n + 3) { margin-top: -8%; }
  .project-card:nth-child(1), .project-card:nth-child(3) { margin-top: 0; }
  .project-card:nth-child(2) { margin-top: 8%; }
  .project-card:nth-child(odd) .project-title, .project-card:nth-child(even) .project-title { top: -2.2rem; bottom: auto; }
  .project-card:nth-child(3n + 1) .project-title, .project-card:nth-child(3n + 3) .project-title { top: auto; bottom: -2rem; }
}

@media (max-width: 650px) {
  .site-header { height: 71px; align-items: flex-start; justify-content: center; padding: 20px 20px 0; }
  .brand-desktop, .desktop-nav { display: none; }
  .brand-mobile { display: block; margin-top: 0.05rem; font-size: 1.85rem; font-weight: 400; line-height: 0.95; letter-spacing: -0.02em; }
  .menu-toggle { position: absolute; top: 10px; left: 14px; display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 6px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: #999; }
  .project-list { width: auto; margin: 0 20px; padding-top: 110px; }
  .project-card, .project-card:nth-child(n) { float: none; width: 100%; margin: 0 0 70px; padding-top: 48px; }
  .project-title, .project-card:nth-child(odd) .project-title, .project-card:nth-child(even) .project-title { top: 0; bottom: auto; width: 100%; max-width: 100%; font-size: 24px; font-weight: 300; line-height: 29px; letter-spacing: 0; opacity: 1; }
  .project-card:nth-child(even) .project-title { text-align: right; }
  .image-frame { aspect-ratio: 224 / 319; }
  .mobile-menu { position: fixed; z-index: 50; inset: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 76px 20px 30px; background: var(--white); font-family: var(--serif); transform: translateX(-100%); visibility: hidden; transition: transform 460ms cubic-bezier(0.76, 0, 0.24, 1), visibility 460ms; }
  .mobile-menu.is-open { transform: translateX(0); visibility: visible; }
  .mobile-menu > a { font-size: 1.6rem; line-height: 1.45; text-decoration: none; }
  .menu-context { display: grid; margin-top: 2rem; font-size: 1.6rem; line-height: 1.45; }
  .menu-close { position: absolute; top: 10px; left: 14px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .menu-close span { position: absolute; left: 9px; top: 22px; width: 22px; height: 1px; background: #777; }
  .menu-close span:first-child { transform: rotate(45deg); }
  .menu-close span:last-child { transform: rotate(-45deg); }
  .press-page { width: auto; margin: 0 20px; padding: 126px 0 5rem; }
  .press-feature { display: flex; flex-direction: column; gap: 0; }
  .press-list { gap: 7rem; }
  .press-copy { display: contents; }
  .press-publication { order: 1; margin: 0 0 0.7rem; font-size: 0.78rem; }
  .press-title { order: 2; max-width: none; margin: 0 0 2.35rem; font-size: clamp(3rem, 15vw, 4.15rem); line-height: 0.82; }
  .press-title--long { font-size: clamp(2.3rem, 10.8vw, 3rem); line-height: 0.9; letter-spacing: -0.035em; }
  .press-visual { order: 3; max-width: none; }
  .press-date { order: 4; margin-top: 1rem; font-size: 0.78rem; }
  .press-link { order: 5; align-self: flex-start; margin-top: 2.3rem; min-height: 44px; }
  .about-page { width: auto; margin: 0 20px; padding: 126px 0 5.5rem; }
  .about-layout { display: flex; flex-direction: column; gap: 0; }
  .about-copy { display: contents; }
  .about-title { order: 1; max-width: none; margin: 0 0 2rem; font-size: clamp(3.6rem, 17vw, 5.1rem); line-height: 0.8; }
  .about-role { order: 2; margin-bottom: 2.2rem; font-size: 0.95rem; }
  .about-portrait { order: 3; margin-bottom: 3rem; }
  .about-body { order: 4; }
  .about-body p { font-size: 1rem; line-height: 1.52; }
  .about-contact { order: 5; grid-template-columns: 1fr; gap: 2rem; margin-top: 3.7rem; padding-top: 1.5rem; }
  .about-contact h2 { grid-column: auto; margin-bottom: 0.25rem; font-size: 2.3rem; }
  .project-detail-header { justify-content: center; }
  .project-close { right: 14px; }
  .project-gallery { width: auto; margin: 0 20px; padding: 126px 0 5.5rem; }
  .project-gallery h1 { margin-bottom: 1.9rem; font-size: 2rem; font-weight: 300; line-height: 1; letter-spacing: -0.035em; }
  .gallery-images { gap: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .image-frame img { opacity: 1; }
}
