:root {
  --editorial-max: 1680px;
  --editorial-space: clamp(96px, 11vw, 190px);
}

body {
  background: var(--wash);
}

.site-header,
.hero,
.category-index,
main,
.site-footer {
  background-color: var(--paper);
}

.site-header {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  z-index: 60;
  width: 100%;
  min-height: 92px;
  margin-inline: 0;
  padding-inline: max(var(--gutter), calc((100vw - var(--editorial-max)) / 2));
  border-bottom: 0;
  background: #fbfaf7;
  text-shadow: none;
}

.site-header::before {
  content: "";
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--editorial-max)) / 2));
  bottom: 0;
  left: max(var(--gutter), calc((100vw - var(--editorial-max)) / 2));
  height: 1px;
  background: rgba(17,16,14,.14);
}

.wordmark {
  font-size: clamp(34px, 2.55vw, 46px);
}

.mobile-menu {
  position: relative;
  z-index: 70;
  display: none;
}

.mobile-menu summary {
  padding: 8px 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::after {
  content: "+";
  display: inline-block;
  margin-left: 8px;
  color: var(--red);
}

.mobile-menu[open] summary::after {
  content: "−";
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 210px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: #fbfaf7;
  box-shadow: 0 18px 40px rgba(17,16,14,.08);
}

.mobile-menu nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-decoration: none;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.category-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: max(var(--gutter), calc((100vw - var(--editorial-max)) / 2));
  border-block: 1px solid var(--ink);
}

.category-index span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 14px 20px;
  border-right: 1px solid var(--line);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .17em;
  text-align: center;
  text-transform: uppercase;
}

.category-index span:last-child {
  border-right: 0;
}

.photo-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(18px, 2vw, 34px);
  min-height: calc(100svh - 92px);
  padding: clamp(28px, 3.3vw, 56px) max(var(--gutter), calc((100vw - var(--editorial-max)) / 2)) clamp(44px, 5vw, 76px);
  overflow: hidden;
  color: var(--ink);
  background: #fbfaf7;
}

.hero-photo-frame {
  position: relative;
  grid-column: 1 / 8;
  grid-row: 1 / 5;
  min-height: min(78svh, 900px);
  margin: 0;
  overflow: hidden;
  background: #d7d2cb;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(to bottom, transparent, rgba(17,16,14,.48));
  pointer-events: none;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(.88) contrast(.96);
  transform: translateY(var(--photo-y, 0)) scale(var(--photo-scale, 1.035));
  transform-origin: center;
  transition: filter .8s var(--ease);
  will-change: transform;
}

.hero-photo-frame:hover .hero-photo {
  filter: saturate(1) contrast(1);
}

.hero-photo-frame figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.hero-folio {
  grid-column: 8 / 13;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .17em;
  text-align: right;
  text-transform: uppercase;
}

.photo-hero .hero-heading-wrap {
  position: relative;
  inset: auto;
  z-index: 3;
  display: block;
  grid-column: 8 / 13;
  grid-row: 2;
  align-self: center;
  padding: clamp(36px, 4vw, 68px) 0;
  opacity: var(--hero-opacity, 1);
  pointer-events: none;
  transform: translateY(var(--hero-y, 0));
}

.photo-hero .hero-heading {
  display: grid;
  gap: clamp(7px, .9vh, 14px);
  width: auto;
  max-width: 5.4ch;
  margin: 0;
  font-size: clamp(72px, 6.7vw, 124px);
  line-height: .88;
  letter-spacing: -.055em;
  text-align: left;
  text-shadow: none;
}

.photo-hero .hero-heading span,
.photo-hero .hero-heading span:nth-child(2),
.photo-hero .hero-heading span:nth-child(3) {
  display: block;
  margin: 0;
}

.photo-hero .hero-heading span:nth-child(2) {
  margin-left: .38em;
}

.photo-hero .hero-heading span:nth-child(3) {
  margin-left: .08em;
  font-size: 1em;
  white-space: nowrap;
}

.photo-hero .hero-kicker,
.photo-hero .hero-copy,
.photo-hero .hero-actions {
  position: static;
  z-index: 3;
  bottom: auto;
  margin: 0;
  text-shadow: none;
  transform: none;
}

.photo-hero .hero-kicker {
  grid-column: 8 / 11;
  grid-row: 3;
  align-self: end;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .16em;
}

.photo-hero .hero-copy {
  grid-column: 11 / 13;
  grid-row: 3;
  align-self: end;
  max-width: none;
  color: var(--soft-ink);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .08em;
  text-align: left;
  text-transform: none;
}

.photo-hero .hero-actions {
  display: flex;
  grid-column: 8 / 13;
  grid-row: 4;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--ink);
}

.photo-hero .button,
.photo-hero .button-secondary {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  letter-spacing: .04em;
}

.photo-hero .button-secondary {
  color: var(--ink);
  background: transparent;
}

.photo-hero .button::before {
  display: block;
}

.photo-hero .button-secondary:hover,
.photo-hero .button-secondary:focus-visible {
  color: #fff;
}

.section {
  width: 100%;
  max-width: none;
  padding: var(--editorial-space) max(var(--gutter), calc((100vw - var(--editorial-max)) / 2));
}

.section-label,
.editorial-index,
.event-edition,
figure figcaption {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.editorial-index {
  margin: 0 0 clamp(28px, 4vw, 62px);
  color: var(--red);
}

.editorial-story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 1.75vw, 30px);
  row-gap: clamp(58px, 7vw, 116px);
  background: #fbfaf7;
}

.story-label {
  grid-column: 1 / 4;
  margin: 0;
}

.story-heading {
  grid-column: 4 / 13;
  max-width: 1120px;
}

.story-heading .statement-title {
  max-width: none;
  font-size: clamp(70px, 7.4vw, 130px);
  line-height: .92;
  letter-spacing: -.052em;
}

.story-portrait {
  grid-column: 1 / 7;
  margin: 0;
}

.story-image {
  position: relative;
  overflow: hidden;
  background: #ddd8d0;
}

.story-image img,
.programme-panorama img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .8s var(--ease);
}

.story-image--portrait {
  aspect-ratio: 4 / 5;
}

.story-image--portrait img {
  object-position: center 30%;
}

.story-portrait:hover img,
.story-detail:hover img,
.programme-panorama:hover img {
  transform: scale(1.025);
}

.story-portrait figcaption,
.story-detail figcaption,
.programme-panorama figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
}

.story-copy {
  display: grid;
  grid-column: 8 / 13;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 52px);
  align-self: start;
  margin-top: clamp(40px, 8vw, 138px);
  color: var(--soft-ink);
}

.story-copy p {
  margin: 0;
}

.story-copy-lead {
  color: var(--ink);
  font-family: "Editorial New", Georgia, serif;
  font-size: clamp(25px, 2.25vw, 40px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.story-margin-note {
  grid-column: 2 / 5;
  align-self: center;
  max-width: 27ch;
  margin: 0;
  font-family: "Editorial New", Georgia, serif;
  font-size: clamp(25px, 2.5vw, 42px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.story-detail {
  grid-column: 7 / 12;
  margin: 0;
}

.story-image--detail {
  aspect-ratio: 16 / 9;
}

.story-image--detail img {
  object-position: center 49%;
  transform: scale(1.18);
}

.story-detail:hover .story-image--detail img {
  transform: scale(1.215);
}

.event-editorial {
  background: var(--paper);
}

.event-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(46px, 6vw, 92px);
}

.event-heading-row .section-label {
  margin: 0;
}

.event-edition {
  margin: 2px 0 0;
  color: var(--soft-ink);
}

.event-editorial .experience {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 34px);
  align-items: start;
}

.event-editorial .experience-visual {
  grid-column: 1 / 8;
  min-height: 0;
  aspect-ratio: 4 / 4.7;
  margin: 0;
  border: 0;
}

.event-editorial .experience-photo {
  object-position: center 35%;
}

.event-editorial .experience-content {
  grid-column: 8 / 13;
  min-height: 100%;
  padding: 0 0 4px clamp(16px, 2.6vw, 48px);
}

.event-title-block {
  display: grid;
  gap: clamp(38px, 5vw, 82px);
}

.event-editorial .experience-number {
  font-size: clamp(55px, 5.4vw, 96px);
}

.event-editorial .experience-title {
  max-width: 8.5ch;
  margin: 0;
  font-size: clamp(58px, 5.55vw, 98px);
  line-height: .94;
  letter-spacing: -.045em;
}

.event-editorial .experience-meta {
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(70px, 10vw, 174px);
  padding-top: 24px;
}

.event-date p,
.event-description {
  margin: 0;
}

.event-description {
  max-width: 48ch;
  color: var(--soft-ink);
}

.event-copy {
  display: grid;
  justify-items: start;
  gap: 30px;
}

.event-cta {
  min-height: 52px;
  padding-inline: 20px;
}

.programme-editorial {
  background: #f3f0eb;
}

.programme-editorial .programme-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 34px);
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 126px);
}

.programme-heading {
  grid-column: 1 / 8;
}

.programme-editorial .programme-title {
  font-size: clamp(68px, 7vw, 122px);
  line-height: .9;
}

.programme-editorial .programme-intro {
  grid-column: 9 / 13;
  max-width: 36ch;
  margin: 0 0 8px;
  font-size: clamp(16px, 1.3vw, 21px);
}

.programme-panorama {
  position: relative;
  height: clamp(420px, 48vw, 730px);
  margin: 0 0 clamp(78px, 9vw, 142px);
  overflow: hidden;
  color: #fff;
  background: #cfc8bf;
}

.programme-panorama::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, rgba(17,16,14,.5));
  pointer-events: none;
}

.programme-panorama img {
  object-position: center 48%;
  transform: scale(1.04);
}

.programme-panorama:hover img {
  transform: scale(1.065);
}

.programme-panorama figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  margin: 0;
}

.programme-editorial .programme-grid {
  gap: 0;
  border-color: var(--ink);
}

.programme-editorial .programme-card {
  min-height: 0;
  padding: 30px clamp(24px, 2.4vw, 42px) 36px;
}

.programme-editorial .programme-card::before {
  display: none;
}

.programme-editorial .programme-card:hover {
  color: var(--ink);
}

.programme-editorial .programme-card:hover .card-copy {
  color: var(--soft-ink);
}

.programme-card-image {
  aspect-ratio: 4 / 3;
  margin: 30px 0 42px;
  overflow: hidden;
  background: #ddd8d0;
}

.programme-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transition: transform .9s var(--ease), filter .7s var(--ease);
}

.programme-card:hover .programme-card-image img {
  transform: scale(1.025);
}

.programme-editorial .card-title {
  margin: 0 0 24px;
  font-size: clamp(48px, 4.3vw, 76px);
}

.programme-editorial .card-copy {
  max-width: 34ch;
}

.collaborate-editorial {
  position: relative;
  min-height: min(900px, 86svh);
  overflow: hidden;
  background: var(--paper);
}

.collaborate-editorial > .editorial-index {
  position: relative;
  z-index: 2;
}

.collaborate-visual {
  position: relative;
  z-index: 2;
  width: min(38vw, 560px);
  margin: 0 0 clamp(84px, 9vw, 148px) auto;
}

.collaborate-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 48%;
  transition: transform .9s var(--ease);
}

.collaborate-visual:hover img {
  transform: scale(.985);
}

.collaborate-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
}

.collaborate-editorial .collaborate {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 34px);
  align-items: end;
}

.collaborate-editorial .collaborate-title {
  grid-column: 1 / 10;
  font-size: clamp(70px, 7.8vw, 136px);
  line-height: .9;
  letter-spacing: -.052em;
}

.collaborate-editorial .collaborate-side {
  grid-column: 9 / 13;
  margin-top: clamp(64px, 9vw, 142px);
}

.collaborate-editorial .collaborate-side p {
  max-width: 38ch;
}

.collaborate-mark {
  position: absolute;
  right: -.04em;
  bottom: -.3em;
  color: var(--blush);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(340px, 48vw, 780px);
  line-height: 1;
  pointer-events: none;
}

.site-footer {
  position: relative;
  z-index: 5;
  min-height: 290px;
  padding-inline: max(var(--gutter), calc((100vw - var(--editorial-max)) / 2));
  border-top: 1px solid rgba(255,255,255,.18);
  background: var(--ink);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .mobile-menu {
    display: block;
  }

  .photo-hero .hero-heading {
    font-size: clamp(64px, 8vw, 96px);
  }

  .photo-hero .hero-kicker {
    grid-column: 8 / 13;
  }

  .photo-hero .hero-copy {
    display: none;
  }

  .story-heading {
    grid-column: 3 / 13;
  }

  .story-portrait {
    grid-column: 1 / 8;
  }

  .story-copy {
    grid-column: 8 / 13;
    grid-template-columns: 1fr;
  }

  .story-margin-note {
    grid-column: 1 / 6;
  }

  .story-detail {
    grid-column: 6 / 13;
  }

  .event-editorial .experience-visual {
    grid-column: 1 / 7;
  }

  .event-editorial .experience-content {
    grid-column: 7 / 13;
  }

  .event-editorial .experience-title {
    font-size: clamp(58px, 7.2vw, 82px);
  }

  .programme-editorial .programme-intro {
    grid-column: 8 / 13;
  }
}

@media (max-width: 760px) {
  :root {
    --editorial-space: 94px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    width: 100%;
    min-height: 74px;
    margin-inline: 0;
    padding-inline: 20px;
  }

  .site-header::before {
    right: 20px;
    left: 20px;
  }

  .site-header .sennochakai-link {
    display: none;
  }

  .category-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 0;
  }

  .category-index span {
    min-height: 56px;
    padding-inline: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 8px;
  }

  .category-index span:nth-child(2) {
    border-right: 0;
  }

  .category-index span:nth-child(3),
  .category-index span:nth-child(4) {
    border-bottom: 0;
  }

  .photo-hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0;
    min-height: auto;
    padding: 0 20px 70px;
  }

  .hero-photo-frame {
    grid-column: 1;
    grid-row: 1;
    width: calc(100% + 40px);
    min-height: 0;
    aspect-ratio: 4 / 4.3;
    margin-left: -20px;
  }

  .hero-photo {
    object-position: center 44%;
  }

  .hero-photo-frame figcaption {
    right: 20px;
    bottom: 16px;
    left: 20px;
    font-size: 8px;
  }

  .hero-folio {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    margin-top: 22px;
    text-align: left;
  }

  .photo-hero .hero-heading-wrap {
    grid-column: 1;
    grid-row: 3;
    padding: 34px 0 46px;
  }

  .photo-hero .hero-heading {
    gap: 6px;
    max-width: none;
    font-size: clamp(64px, 18.5vw, 92px);
    line-height: .94;
  }

  .photo-hero .hero-heading span:nth-child(2) {
    margin-left: .34em;
  }

  .photo-hero .hero-kicker {
    grid-column: 1;
    grid-row: 4;
    margin-bottom: 34px;
  }

  .photo-hero .hero-actions {
    grid-column: 1;
    grid-row: 5;
  }

  .photo-hero .hero-actions .button:first-child {
    display: inline-flex;
  }

  .photo-hero .button,
  .photo-hero .button-secondary {
    min-height: 48px;
    padding-inline: 16px;
    font-size: 11px;
  }

  .section {
    padding-inline: 20px;
  }

  .editorial-story {
    display: block;
  }

  .story-label {
    margin-bottom: 58px;
  }

  .story-heading .statement-title {
    font-size: clamp(58px, 17vw, 82px);
    line-height: .94;
  }

  .story-portrait {
    margin-top: 72px;
  }

  .story-copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 54px;
  }

  .story-copy-lead {
    font-size: 30px;
  }

  .story-margin-note {
    max-width: 12ch;
    margin-top: 96px;
    font-size: 34px;
  }

  .story-detail {
    width: 84%;
    margin: 42px 0 0 auto;
  }

  .event-heading-row {
    display: block;
    margin-bottom: 52px;
  }

  .event-edition {
    margin-top: 18px;
  }

  .event-editorial .experience {
    display: block;
  }

  .event-editorial .experience-visual {
    width: 92%;
    aspect-ratio: 4 / 5;
  }

  .event-editorial .experience-content {
    min-height: auto;
    padding: 58px 0 0;
  }

  .event-title-block {
    gap: 34px;
  }

  .event-editorial .experience-number {
    font-size: 60px;
  }

  .event-editorial .experience-title {
    max-width: 9ch;
    font-size: clamp(56px, 15vw, 78px);
    line-height: .95;
  }

  .event-editorial .experience-meta {
    margin-top: 68px;
  }

  .programme-editorial .programme-head {
    display: block;
  }

  .programme-editorial .programme-title {
    font-size: clamp(60px, 16.5vw, 82px);
    line-height: .92;
  }

  .programme-editorial .programme-intro {
    margin-top: 42px;
  }

  .programme-panorama {
    width: calc(100% + 40px);
    height: 68vh;
    min-height: 520px;
    margin-left: -20px;
  }

  .programme-panorama img {
    object-position: center 42%;
    transform: scale(1.04);
  }

  .programme-panorama:hover img {
    transform: scale(1.065);
  }

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

  .programme-editorial .programme-card {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .programme-editorial .programme-card:last-child {
    border-bottom: 0;
  }

  .programme-editorial .card-title {
    margin-top: 0;
  }

  .programme-card-image {
    aspect-ratio: 16 / 10;
    margin-bottom: 34px;
  }

  .collaborate-editorial {
    min-height: 0;
  }

  .collaborate-visual {
    width: 78%;
    margin-bottom: 92px;
  }

  .collaborate-editorial .collaborate {
    display: block;
  }

  .collaborate-editorial .collaborate-title {
    font-size: clamp(58px, 16.5vw, 84px);
    line-height: .94;
  }

  .collaborate-editorial .collaborate-side {
    max-width: 390px;
    margin: 76px 0 0 auto;
  }

  .collaborate-mark {
    right: -.12em;
    bottom: -.12em;
    font-size: 360px;
  }

  .site-footer {
    min-height: 340px;
    gap: 26px;
    padding: 58px 20px 54px;
  }

  .footer-wordmark {
    font-size: clamp(50px, 15vw, 68px);
  }

  .footer-note,
  .footer-link {
    position: relative;
    z-index: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-image img,
  .programme-panorama img,
  .programme-card-image img,
  .collaborate-visual img,
  .hero-photo {
    transition: none;
  }
}
