/* Local visual revision. The published stylesheet remains untouched. */
:root {
  --gdr-page-pad: clamp(22px, 5vw, 96px);
  --gdr-content: 1480px;
  --gdr-cream: #f3f0e8;
  --gdr-linen: #e8e3d7;
  --gdr-ink: #1d1d1a;
  --gdr-copper: #9b633c;
  --gdr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.home {
  width: 100%;
  max-width: none;
  margin: 0;
  box-shadow: none;
  background: var(--gdr-cream);
}

.home .page-atmosphere {
  display: none;
}

.home .site-header,
.home .site-header.is-scrolled,
.home.intro-entered .site-header {
  inset: 0 0 auto;
  width: 100%;
  padding-inline: var(--gdr-page-pad);
  transform: none;
}

.home .site-header {
  background: linear-gradient(180deg, rgb(10 10 9 / 0.84), transparent);
}

.home .site-header.is-scrolled {
  border-bottom-color: rgb(255 255 255 / 0.11);
  background: #191918;
}

.home .brand {
  width: 82px;
  height: 50px;
}

.home .brand img,
.home .site-footer__brand img {
  filter: grayscale(1) brightness(0) invert(1);
}

.home .site-nav {
  gap: clamp(22px, 2.5vw, 44px);
}

.home .prologue {
  width: 100%;
  height: 100svh;
  min-height: 0;
  background: #000;
}

.home .prologue__video,
.home .prologue:not(.is-brand-complete):not(.is-complete):not(.is-fallback-entered) .prologue__video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}

.home .prologue__fallback-image {
  visibility: hidden;
}

.home .prologue:is(.is-complete, .is-fallback-entered) .prologue__fallback-image,
.no-js .home .prologue__fallback-image {
  visibility: visible;
}

.home .prologue__video {
  transition: opacity 720ms ease;
}

.home .prologue__brand-sharp,
.home .prologue.is-brand-complete .prologue__brand-sharp {
  display: grid;
  place-items: center;
  transform: none;
  transition: opacity 420ms ease;
}

.home .prologue.is-logo-sharp .prologue__brand-sharp {
  opacity: 1;
  transition-duration: 600ms;
}

.home .prologue__brand-lockup {
  width: min(60vw, 620px);
  text-align: center;
  filter: none;
}

.home .prologue__brand-lockup img {
  position: static;
  width: 100%;
  height: auto;
  transform: none;
  filter: brightness(1.18) saturate(0.7);
}

.home .prologue__brand-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 20px);
  margin-top: clamp(2px, 1vw, 12px);
  color: #eee9dd;
  font-size: clamp(0.55rem, 0.9vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
}

.home .prologue__brand-caption::before,
.home .prologue__brand-caption::after {
  display: block;
  width: clamp(12px, 4vw, 52px);
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.7;
}

.home .prologue__identity {
  right: var(--gdr-page-pad);
  bottom: clamp(28px, 5vw, 82px);
  left: var(--gdr-page-pad);
  max-width: min(78vw, 850px);
}

.home .prologue__display-title {
  max-width: 19ch;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  line-height: 1.055;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.home .prologue__actions {
  margin-top: clamp(22px, 3vw, 38px);
}

.home .prologue__actions a {
  min-height: 48px;
  gap: 28px;
  padding-inline: 18px;
  font-size: 0.73rem;
  letter-spacing: 0.075em;
}

.home .prologue__replay {
  right: var(--gdr-page-pad);
  padding-right: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.home .about-editorial {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(44px, 6vw, 112px);
  align-items: center;
  min-height: 0;
  padding: clamp(92px, 10vw, 172px) max(var(--gdr-page-pad), calc((100vw - var(--gdr-content)) / 2));
  background: var(--gdr-cream);
}

.home .about-editorial__copy {
  max-width: 540px;
}

.home .about-editorial__copy h2 {
  font-size: clamp(2.6rem, 4vw, 5rem);
  line-height: 1.03;
}

.home .about-editorial__copy > p:not(.eyebrow) {
  margin: clamp(22px, 2.5vw, 38px) 0 28px;
  max-width: 43ch;
  color: #504d47;
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  line-height: 1.62;
}

.home .about-editorial__images {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.6fr);
  gap: clamp(10px, 1.6vw, 25px);
  align-items: end;
  height: auto;
}

.home .about-editorial__images figure {
  position: relative;
  inset: auto;
  width: 100%;
  margin: 0;
  border: 0;
}

.home .about-editorial__main-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home .about-editorial__detail-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.home .about-editorial__main-image figcaption {
  position: static;
  padding: 10px 0 0;
  background: transparent;
  color: #70685e;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.home .portfolio-intro {
  min-height: clamp(470px, 66svh, 760px);
  align-items: flex-end;
  background: #211e1a;
}

.home .portfolio-intro__inner {
  grid-template-columns: minmax(135px, 1fr) minmax(0, 2fr);
  gap: clamp(30px, 6vw, 100px);
  max-width: calc(var(--gdr-content) + 2 * var(--gdr-page-pad));
  margin-inline: auto;
  padding: 90px var(--gdr-page-pad) clamp(56px, 6vw, 102px);
}

.home .portfolio-intro h2 {
  max-width: 17ch;
  font-size: clamp(3rem, 5.2vw, 5.7rem);
  line-height: 1.04;
}

.home .portfolio-intro__copy p {
  margin-top: 22px;
  max-width: 50ch;
  line-height: 1.55;
}

.home .chapter {
  padding: clamp(96px, 9vw, 148px) var(--gdr-page-pad) clamp(98px, 10vw, 160px);
}

.home .chapter--paper {
  background: var(--gdr-cream);
}

.home .chapter--mineral {
  background: var(--gdr-linen);
}

.home .chapter--iron {
  background: #22221f;
}

.home .chapter__header,
.home .project-grid {
  max-width: var(--gdr-content);
  margin-inline: auto;
}

.home .chapter__header {
  grid-template-columns: minmax(160px, 2fr) minmax(0, 5fr) minmax(190px, 3fr);
  gap: 18px clamp(22px, 3vw, 52px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 86px);
}

.home .chapter__number {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  padding-top: 10px;
}

.home .chapter__header h2 {
  grid-column: 2;
  grid-row: 1;
  max-width: 19ch;
  font-size: clamp(2.7rem, 3.5vw, 4.2rem);
  line-height: 1.08;
}

.home .chapter__header > p:not(.chapter__number) {
  grid-column: 3;
  grid-row: 1;
  margin: 9px 0 0;
  max-width: 31ch;
  color: #5c5850;
  font-size: clamp(0.92rem, 1vw, 1.06rem);
  line-height: 1.55;
}

.home .chapter--iron .chapter__header > p:not(.chapter__number) {
  color: #c7c0b3;
}

.home .chapter__link {
  grid-column: 2;
  grid-row: 2;
  gap: 22px;
  margin-top: 0;
  border-top: 0;
  border-bottom-color: currentColor;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.home .chapter__link .icon-arrow {
  transition: transform 260ms var(--gdr-ease);
}

.home .chapter__link:hover .icon-arrow,
.home .chapter__link:focus-visible .icon-arrow {
  transform: translate(3px, -3px);
}

.home .project-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(30px, 3.5vw, 58px) clamp(16px, 2vw, 30px);
  align-items: start;
}

.home .project-grid > .project {
  grid-column: span 6;
  min-height: 0;
  margin: 0;
  overflow: visible;
}

.home .project-grid > .project:first-child {
  grid-column: span 8;
}

.home .project-grid > .project:nth-child(2) {
  grid-column: span 4;
}

.home .project-grid > .project:nth-child(3) {
  grid-column: span 4;
}

.home .project-grid > .project:nth-child(4) {
  grid-column: span 8;
}

.home .project-grid > .project:nth-child(5) {
  grid-column: 1 / -1;
}

.home .chapter--iron .project-grid > .project:first-child {
  grid-column: 1 / -1;
}

.home .chapter--iron .project-grid > .project:first-child img {
  height: min(60vw, 720px);
  object-position: center 54%;
}

.home .project__open {
  overflow: hidden;
  background: #302d28;
}

.home .project img,
.home .project--lead img,
.home .project--portrait img,
.home .project--center-wide img {
  width: 100%;
  height: clamp(300px, 34vw, 590px);
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  transform: scale(1);
  filter: none;
  transition: transform 800ms var(--gdr-ease);
}

.home .project-grid > .project:nth-child(n + 3) img {
  height: clamp(300px, 30vw, 510px);
}

.home .project-grid > .project:nth-child(5) img {
  height: clamp(330px, 36vw, 590px);
}

.home .project__open:hover img,
.home .project__open:focus-visible img {
  transform: scale(1.025);
  filter: none;
}

.home .project figcaption {
  padding-top: 13px;
}

.home .project figcaption span:first-child {
  font-size: clamp(1.04rem, 1.3vw, 1.3rem);
}

.home .project-archive-group {
  grid-column: 1 / -1;
  margin-top: clamp(12px, 2vw, 34px);
}

.home .project-archive-group__grid .project img {
  height: auto;
  aspect-ratio: 4 / 5;
}

.home .contact {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 90px clamp(50px, 7vw, 120px);
  padding: clamp(110px, 10vw, 170px) max(var(--gdr-page-pad), calc((100vw - var(--gdr-content)) / 2)) 90px;
  background: #4d3326;
}

.home .contact__lead h2 {
  max-width: 17ch;
  font-size: clamp(3rem, 5vw, 5.3rem);
}

.home .contact__action p {
  max-width: 49ch;
}

.home .site-footer {
  align-items: center;
  padding: 48px var(--gdr-page-pad);
  background: #191918;
}

.home .site-footer__brand {
  align-items: center;
  gap: 22px;
}

.home .site-footer__brand img {
  width: 74px;
  height: auto;
}

.home .site-footer > a {
  gap: 16px;
}

.icon-arrow--up { transform: rotate(-45deg); }
.icon-arrow--left { transform: rotate(-135deg); }
.icon-arrow--right { transform: rotate(45deg); }

.icon-close {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.icon-close::before,
.icon-close::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 1px;
  content: "";
  background: currentColor;
}

.icon-close::before { transform: rotate(45deg); }
.icon-close::after { transform: rotate(-45deg); }

.home .lightbox__nav .icon-arrow {
  width: 1.3rem;
  height: 1.3rem;
}

/* Content stays visible without scripting; JS enables the entrance effect. */
.home .reveal,
.home .project.reveal,
.home .project.reveal .project__open,
.home .project.reveal figcaption {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.js.motion-ready .home .reveal {
  transition: opacity 470ms ease, transform 680ms var(--gdr-ease);
}

.js.motion-ready .home .reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.js.motion-ready .home .about-editorial__detail-image {
  transition-delay: 110ms;
}

.js.motion-ready .home :target .reveal,
.js.motion-ready .home :target.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 960px) {
  .home .about-editorial {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px;
  }

  .home .chapter__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .home .chapter__number,
  .home .chapter__header h2,
  .home .chapter__header > p:not(.chapter__number),
  .home .chapter__link { grid-column: 1; grid-row: auto; }
  .home .chapter__number { padding-top: 0; }
  .home .chapter__header > p:not(.chapter__number) { margin-top: 0; max-width: 50ch; }
}

@media (max-width: 760px) {
  :root { --gdr-page-pad: clamp(20px, 5.5vw, 32px); }

  .home .site-header,
  .home .site-header.is-scrolled {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    min-height: 68px;
  }

  .home .brand { width: 68px; height: 42px; }

  .home .prologue__brand-lockup { width: min(80vw, 420px); }
  .home .prologue__brand-caption { font-size: clamp(0.5rem, 1.6vw, 0.66rem); letter-spacing: 0.17em; }
  .home .prologue__identity { max-width: none; bottom: max(32px, env(safe-area-inset-bottom)); }
  .home .prologue__display-title { max-width: 17ch; font-size: clamp(2.45rem, 9vw, 4.3rem); }
  .home .prologue__actions { margin-top: 20px; }

  .home .about-editorial {
    display: block;
    padding: 84px var(--gdr-page-pad) 90px;
  }

  .home .about-editorial__copy h2 { font-size: clamp(2.4rem, 9.6vw, 3.6rem); }
  .home .about-editorial__images { margin-top: 52px; gap: 10px; grid-template-columns: 1.5fr 0.65fr; }
  .home .about-editorial__main-image { left: auto; }
  .home .about-editorial__detail-image { width: 100%; }

  .home .portfolio-intro { min-height: 65svh; }
  .home .portfolio-intro__inner { display: block; padding: 100px var(--gdr-page-pad) 56px; }
  .home .portfolio-intro h2 { margin-top: 18px; font-size: clamp(2.9rem, 10.8vw, 4.8rem); }
  .home .portfolio-intro__copy p { margin-top: 16px; }

  .home .chapter { padding: 84px var(--gdr-page-pad) 100px; }
  .home .chapter__header { display: grid; grid-template-columns: 1fr; gap: 17px; margin-bottom: 42px; }
  .home .chapter__number,
  .home .chapter__header h2,
  .home .chapter__header > p:not(.chapter__number),
  .home .chapter__link { grid-column: 1; grid-row: auto; }
  .home .chapter__number { padding-top: 0; }
  .home .chapter__header h2 { font-size: clamp(2.55rem, 9.2vw, 3.6rem); }
  .home .chapter__header > p:not(.chapter__number) { max-width: 38ch; }
  .home .chapter__link { margin-top: 3px; }

  .home .project-grid { display: grid; grid-template-columns: 1fr; gap: 42px; }
  .home .project-grid > .project,
  .home .project-grid > .project:first-child,
  .home .project-grid > .project:nth-child(2),
  .home .project-grid > .project:nth-child(3),
  .home .project-grid > .project:nth-child(4),
  .home .project-grid > .project:nth-child(5) {
    grid-column: 1;
    width: 100%;
    margin: 0;
  }
  .home .chapter--iron .project-grid > .project:first-child img { height: auto; }
  .home .project img,
  .home .project--lead img,
  .home .project--portrait img,
  .home .project--center-wide img,
  .home .project-grid > .project:nth-child(n + 3) img,
  .home .project-grid > .project:nth-child(5) img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .home .project--portrait img { aspect-ratio: 4 / 5; }
  .home .project-archive-group { grid-column: 1; margin-top: 0; }
  .home .project-archive-group__grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .home .project-archive-group__grid .project,
  .home .project-archive-group__grid .project:nth-child(even) { width: 100%; margin: 0; }

  .home .contact { grid-template-columns: 1fr; gap: 48px; padding: 95px var(--gdr-page-pad) 66px; }
  .home .contact__lead h2 { font-size: clamp(2.9rem, 10.6vw, 4.5rem); }
  .home .contact__details { grid-column: 1; }
  .home .site-footer { align-items: flex-start; }
  .home .site-footer__brand { align-items: flex-start; }
}

@media (max-width: 480px) {
  .home .site-header { gap: 10px; }
  .home .header-contact { font-size: 0.66rem; }
  .home .header-contact .icon-arrow { display: none; }
  .home .prologue__display-title { font-size: clamp(2.35rem, 9vw, 3.5rem); }
  .home .project-archive-group__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home .reveal,
  .js.motion-ready .home .reveal,
  .js.motion-ready .home .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home .project img,
  .home .project__open:hover img { transform: none; transition: none; }
}
