/* ============================================
   Atelier SNS - Architecture Website
   ============================================ */

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

:root {
  --color-bg: #f2eee6;
  --color-paper: #fbf9f4;
  --color-surface: #e7e0d4;
  --color-surface-strong: #ddd3c3;
  --color-text: #171512;
  --color-text-light: #5d584f;
  --color-text-muted: #878073;
  --color-border: rgba(23, 21, 18, 0.14);
  --color-dark: #1b1916;
  --color-dark-border: rgba(255, 250, 242, 0.16);
  --color-dark-text: #f4efe7;
  --font-en: "Cormorant Garamond", serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --header-height: 82px;
  --page-pad: clamp(24px, 4vw, 60px);
  --max-site: 1440px;
  --max-copy: 760px;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-jp);
  font-weight: 300;
  color: var(--color-text);
  background: linear-gradient(180deg, #f5f1e9 0%, var(--color-bg) 100%);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.section {
  padding: clamp(88px, 11vw, 156px) var(--page-pad);
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.section-title {
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

/* Works header */
.works-header {
  max-width: var(--max-site);
  margin: 0 auto clamp(44px, 6vw, 72px);
}

.works-header-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  padding-bottom: clamp(20px, 3vw, 28px);
}

.works-heading {
  display: flex;
  flex-direction: column;
}

.works-heading-jp {
  font-family: var(--font-jp);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.works-heading-en {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
}

.works-header-right {
  text-align: right;
  flex-shrink: 0;
}

.works-header-authority {
  font-family: var(--font-jp);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.works-header-scope {
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.works-header-media {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
}



.media-bar-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.media-bar-scroll {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
  width: max-content;
  animation: mediaScroll 25s linear infinite;
}

.media-bar-scroll:hover {
  animation-play-state: paused;
}

@keyframes mediaScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.media-bar-logo {
  display: block;
  height: 28px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease-out);
}

.media-bar-logo:hover,
.media-bar-logo:focus-visible {
  opacity: 1;
}

.media-bar-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
}

.header.scrolled {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.logo-sub {
  font-family: var(--font-en);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: clamp(22px, 3vw, 40px);
  list-style: none;
}

.nav-list a {
  position: relative;
  padding-bottom: 4px;
  font-family: var(--font-en);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 100%;
}

.hamburger {
  display: none;
  width: 32px;
  height: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), top 0.3s var(--ease-out), bottom 0.3s var(--ease-out);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 28px) var(--page-pad) 42px;
  overflow: hidden;
  display: flex;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 42%;
  opacity: 0;
  transition: opacity 1.6s var(--ease-in-out);
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.24) 0%, rgba(12, 10, 8, 0.18) 30%, rgba(12, 10, 8, 0.56) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-site);
  margin: 0 auto;
  min-height: calc(100svh - var(--header-height) - 70px);
  display: grid;
  align-content: end;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-copy {
  max-width: 720px;
  color: #fff;
}

.hero-kicker {
  margin-bottom: 18px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(3.2rem, 11vw, 7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.08em;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.18em;
}

/* Works */
.works {
  background: transparent;
  padding-top: clamp(48px, 6vw, 80px);
}

.works-editorial {
  max-width: var(--max-site);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 34px);
}

.work-card {
  display: block;
}

.work-card-media {
  overflow: hidden;
  background: var(--color-surface);
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.work-card:hover .work-card-media img,
.work-card:focus-visible .work-card-media img {
  transform: scale(1.03);
}

.work-card-info {
  padding-top: 16px;
}

.work-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.work-card-category,
.work-card-location,
.work-card-year {
  font-family: var(--font-en);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.work-card-location {
  position: relative;
  padding-left: 14px;
}

.work-card-location::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-text-muted);
  transform: translateY(-50%);
}

.work-card-year {
  position: relative;
  padding-left: 14px;
}

.work-card-year::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-text-muted);
  transform: translateY(-50%);
}

.work-card-title {
  margin-top: 8px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.work-card-desc {
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 0.84rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
}

.work-card-link::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}

.work-card:hover .work-card-link::before,
.work-card:focus-visible .work-card-link::before {
  width: 38px;
}


/* Featured pinned scroll */
.featured-scroll {
  position: relative;
  height: 400vh;
  max-width: var(--max-site);
  margin: 0 auto clamp(24px, 3vw, 34px);
}

.featured-sticky {
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.featured-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--color-surface);
}

.featured-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6%) scale(1.02);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
  z-index: 0;
}

.featured-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 2;
}

.featured-panel.exiting {
  opacity: 0;
  transform: translateY(0) scale(0.97);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  z-index: 1;
}

.featured-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-panel.active img {
  animation: featuredKenBurns 8s var(--ease-out) forwards;
}

@keyframes featuredKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

.featured-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 0;
  flex-shrink: 0;
}

.featured-info {
  flex: 1;
}

.featured-title {
  margin-top: 8px;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.featured-desc {
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.featured-counter {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-en);
  color: var(--color-text-muted);
  padding-bottom: 6px;
}

.featured-counter-current {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: opacity 0.3s var(--ease-out);
}

.featured-counter-sep {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.featured-counter-total {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.featured-progress {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-top: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.featured-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-text);
  transition: width 0.15s var(--ease-out);
}

.work-card--2 { grid-column: 1 / span 5; }
.work-card--2 .work-card-media { aspect-ratio: 4 / 5; }

.work-card--3 { grid-column: 6 / -1; }
.work-card--3 .work-card-media { aspect-ratio: 16 / 10; }

.work-card--4 { grid-column: 1 / span 4; }
.work-card--4 .work-card-media { aspect-ratio: 4 / 5; }

.work-card--5 { grid-column: 5 / span 4; }
.work-card--5 .work-card-media { aspect-ratio: 4 / 5; }

.work-card--6 { grid-column: 9 / -1; }
.work-card--6 .work-card-media { aspect-ratio: 4 / 5; }

.work-card--7 { grid-column: 1 / span 4; }
.work-card--7 .work-card-media { aspect-ratio: 4 / 5; }

.work-card--8 { grid-column: 5 / span 4; }
.work-card--8 .work-card-media { aspect-ratio: 4 / 5; }

.work-card--9 { grid-column: 9 / -1; }
.work-card--9 .work-card-media { aspect-ratio: 4 / 5; }

/* Architect */
.architect {
  background: #fff;
}

.architect-shell {
  max-width: min(940px, 100%);
  margin: 0 auto;
}

.architect-header {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.architect-intro {
  padding-bottom: 0;
}

.architect-lead {
  max-width: none;
  font-size: 1rem;
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

.architect-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 0;
}

.architect-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.architect-essay-grid {
  margin-top: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 32px);
}

.architect-essay-item {
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--color-border);
}

.architect-essay-num {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-surface-strong);
  margin-bottom: 16px;
}

.architect-essay-title {
  margin-bottom: 14px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.architect-essay-item p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text-light);
}

.architect-essay-footer {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(23, 21, 18, 0.12);
}

.architect-footer-row {
  display: grid;
  grid-template-columns: minmax(150px, 200px) 1fr;
  gap: clamp(28px, 4vw, 44px);
  align-items: stretch;
}

.architect-portrait {
  overflow: hidden;
  margin: 0;
  height: 100%;
}

.architect-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.architect-quote {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  letter-spacing: 0.08em;
  line-height: 1.65;
}

.architect-signature {
  margin-top: 18px;
  font-family: var(--font-en);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.architect-footer-lead {
  margin-top: 18px;
  font-size: 0.92rem;
  line-height: 2;
  color: var(--color-text-light);
}

.architect-career-inline {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  line-height: 2;
  color: var(--color-text-light);
}

/* Contact */
.contact {
  background: var(--color-dark);
  color: var(--color-dark-text);
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-headline .section-label {
  color: rgba(244, 239, 231, 0.5);
}

.contact-title {
  font-family: var(--font-jp);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--color-dark-text);
}

.contact-lead {
  margin-top: 20px;
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(244, 239, 231, 0.7);
}

.contact-cta {
  margin-top: clamp(32px, 5vw, 48px);
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--color-dark-border);
  border-bottom: 1px solid var(--color-dark-border);
}

.contact-email {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-dark-text);
  border-bottom: 1px solid rgba(244, 239, 231, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease-out);
}

.contact-email:hover,
.contact-email:focus-visible {
  border-color: var(--color-dark-text);
}

.contact-details {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
}

.contact-detail {
  text-align: center;
}

.contact-detail-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 231, 0.45);
}

.contact-detail a,
.contact-detail p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(244, 239, 231, 0.78);
}

.contact-detail a:hover {
  color: var(--color-dark-text);
}

/* Footer */
.footer {
  padding: 36px var(--page-pad) 44px;
  background: var(--color-dark);
  border-top: 1px solid var(--color-dark-border);
}

.footer-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .logo-main,
.footer .logo-sub {
  color: var(--color-dark-text);
}

.footer .logo-sub {
  opacity: 0.62;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 231, 0.72);
  transition: color 0.3s var(--ease-out);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-dark-text);
}

.footer-copy {
  font-size: 0.74rem;
  color: rgba(244, 239, 231, 0.56);
}

/* Work Detail */
.work-hero {
  position: relative;
  min-height: 70svh;
  background-size: cover;
  background-position: center 42%;
}

.work-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.52) 100%);
}

.work-hero-content {
  position: absolute;
  left: 50%;
  bottom: clamp(44px, 6vw, 78px);
  width: min(var(--max-site), calc(100% - (var(--page-pad) * 2)));
  transform: translateX(-50%);
  color: #fff;
}

.work-hero-category {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.work-hero-title {
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.work-hero-subtitle {
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.work-hero-note {
  margin-top: 10px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  opacity: 0.84;
}

.work-detail {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: clamp(68px, 9vw, 116px) var(--page-pad);
}

.work-overview {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

.work-description {
  grid-column: span 7;
  max-width: none;
  font-size: 1rem;
  line-height: 2.1;
  color: var(--color-text-light);
}

.work-info-table {
  grid-column: 9 / -1;
  display: grid;
  grid-template-columns: 110px 1fr;
  border-top: 1px solid var(--color-border);
}

.work-info-label,
.work-info-value {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.86rem;
  line-height: 1.8;
}

.work-info-label {
  color: var(--color-text-muted);
}

.work-supplementals {
  max-width: var(--max-site);
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-panel {
  padding: 20px 22px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
}

.work-panel-label {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.work-panel-text {
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--color-text-light);
}

.work-publications {
  display: grid;
  gap: 10px;
}

.work-publication {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.work-publication:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.work-publication strong {
  display: block;
  font-family: var(--font-en);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.work-publication span {
  display: inline-block;
  margin-top: 3px;
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.work-publication small {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.work-credits {
  display: grid;
  gap: 10px;
}

.work-credit {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.work-credit:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.work-credit dt {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.work-credit dd {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--color-text);
}

.work-gallery {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  gap: clamp(18px, 2vw, 26px);
}

.work-gallery img {
  width: 100%;
  height: auto;
  background: var(--color-surface);
}

.work-gallery-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 26px);
}

.work-cta {
  max-width: 1060px;
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.work-cta p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

.work-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 64px;
  font-family: var(--font-en);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.work-back::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}

.work-back:hover::before,
.work-back:focus-visible::before {
  width: 40px;
}

/* Progressive enhancement */
.js .fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .architect-essay-grid,
  .work-overview {
    grid-template-columns: 1fr;
  }

  .work-info-table {
    grid-column: auto;
  }

  .work-description {
    grid-column: auto;
  }

  .work-supplementals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .architect-footer-row {
    grid-template-columns: 1fr;
  }

  .architect-portrait {
    max-width: 200px;
    aspect-ratio: 3 / 4;
  }

  .hamburger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(250, 246, 239, 0.96);
    backdrop-filter: blur(12px);
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .nav-list a {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 28px;
  }

  .hero-inner {
    gap: 30px;
  }

  .hero-kicker {
    font-size: 0.7rem;
  }

  .hero-title {
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    letter-spacing: 0.12em;
    line-height: 1.8;
  }

  .works-editorial {
    grid-template-columns: 1fr;
  }

  .work-card--2,
  .work-card--3,
  .work-card--4,
  .work-card--5,
  .work-card--6,
  .work-card--7,
  .work-card--8,
  .work-card--9 {
    grid-column: auto;
  }

  .work-card-media,
  .work-card--2 .work-card-media,
  .work-card--3 .work-card-media,
  .work-card--4 .work-card-media,
  .work-card--5 .work-card-media,
  .work-card--6 .work-card-media,
  .work-card--7 .work-card-media,
  .work-card--8 .work-card-media,
  .work-card--9 .work-card-media {
    aspect-ratio: 4 / 3;
  }

  .work-gallery-2col {
    grid-template-columns: 1fr;
  }

  .work-credit {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .fade-in {
    opacity: 1;
    transform: none;
  }
}
