@font-face {
  font-family: "Arkhip";
  src: url("../assets/fonts/Arkhip.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../assets/fonts/Gotham-Book.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Sukhumvit";
  src: url("../assets/fonts/SukhumvitSet.ttc") format("truetype");
  font-display: swap;
}
:root {
  --ink: #20201e;
  --olive: #3f4639;
  --olive-dark: #30372c;
  --cream: #f4f0e9;
  --sand: #d9d0c3;
  --white: #fbfaf7;
  --accent: #ede937;
  --page: clamp(22px, 5vw, 78px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--cream);
  font-family: "Sukhumvit", "Leelawadee UI", sans-serif; line-height: 1.65;
}
body.lightbox-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.story-header {
  position: absolute; z-index: 10; top: 0; left: 0; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%;
  height: 92px; padding: 0 var(--page); color: white;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.story-brand {
  display: grid; width: max-content; font-family: "Arkhip", sans-serif;
  font-size: 12px; line-height: .78; letter-spacing: .1em;
}
.story-brand small { margin-top: 5px; font-family: "Gotham"; font-size: 5px; letter-spacing: .5em; }
.back-link, .contact-link { font-family: "Gotham"; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.contact-link { justify-self: end; }
.story-hero {
  position: relative; min-height: clamp(300px, 36svh, 390px); overflow: hidden;
  color: white; background: var(--olive-dark); isolation: isolate;
}
body.portfolio-page--portrait .story-hero {
  background:
    radial-gradient(circle at 74% 28%, rgba(237, 233, 55, .13), transparent 28%),
    linear-gradient(135deg, #3f4639 0%, #23271f 58%, #171914 100%);
}
.story-hero__shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(0deg, rgba(17,20,15,.88), rgba(17,20,15,.18) 70%, rgba(17,20,15,.34)); }
body.portfolio-page--portrait .story-hero__shade { background: linear-gradient(90deg, rgba(17,20,15,.82), rgba(17,20,15,.38) 58%, rgba(17,20,15,.12)); }
.story-hero__content {
  position: absolute; z-index: 3; top: 125px; right: var(--page); left: var(--page);
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  column-gap: clamp(24px, 3.8vw, 70px); align-items: end; text-align: left;
}
.story-hero__content p {
  grid-column: 1; margin: 0 0 16px; font-family: "Gotham"; font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
}
.story-hero__content h1 {
  grid-column: 1; max-width: none; margin: 0; font-family: "Arkhip", "Gotham"; font-size: clamp(42px, 5.1vw, 82px);
  font-weight: 400; line-height: .93; letter-spacing: -.02em; white-space: nowrap;
}
.story-hero__content > span {
  grid-column: 2; grid-row: 1 / span 2; display: block; max-width: none; margin: 0 0 8px;
  color: rgba(255,255,255,.74); font-size: clamp(15px, 1vw, 18px); text-align: right; white-space: nowrap;
}
.story-scroll {
  position: absolute; z-index: 3; right: var(--page); bottom: 24px;
  font-family: "Gotham"; font-size: 8px; letter-spacing: .17em; text-transform: uppercase;
}
.story-intro {
  display: grid; grid-template-columns: minmax(160px, .3fr) 1fr; gap: 45px;
  padding: clamp(72px, 9vw, 125px) var(--page) clamp(54px, 7vw, 88px); background: var(--cream);
}
.story-index { font-family: "Gotham"; font-size: 9px; letter-spacing: .18em; }
.story-copy h2 {
  max-width: 860px; margin: 0; font-family: "Arkhip", "Gotham"; font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 400; line-height: 1.12; color: var(--olive);
}
.story-paragraphs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px;
  max-width: 900px; margin-top: 60px; padding-top: 35px; border-top: 1px solid rgba(32,32,30,.2);
}
.story-paragraphs p { margin: 0; color: #5f5a52; font-size: clamp(16px, 1.4vw, 20px); }
.story-gallery {
  column-count: 5; column-gap: clamp(10px, 1.4vw, 18px);
  padding: 0 var(--page) clamp(100px, 13vw, 190px); background: var(--cream);
}
.story-photo, .story-photo--1, .story-photo--2, .story-photo--3, .story-photo--4, .story-photo--5 {
  display: inline-block; width: 100%; margin: 0 0 clamp(10px, 1.4vw, 18px); break-inside: avoid;
}
.story-photo button { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.story-photo img { height: auto; object-fit: contain; transition: transform .8s var(--ease); }
.story-photo button:hover img { transform: scale(1.02); }
.story-photo figcaption { margin-top: 10px; color: #777168; font-size: 12px; }
.empty-gallery { padding: 60px; color: #777168; border: 1px solid rgba(32,32,30,.18); text-align: center; }
.story-cta { padding: clamp(72px, 9vw, 130px) var(--page); color: white; background: var(--olive); }
.story-cta > p { font-family: "Gotham"; font-size: 9px; letter-spacing: .18em; }
.story-cta h2 {
  max-width: 900px; margin: 24px 0 30px; font-family: "Arkhip", "Gotham"; font-size: clamp(34px, 5.2vw, 74px);
  font-weight: 400; line-height: 1.04;
}
.story-cta__copy {
  display: grid; gap: 18px; max-width: 720px; margin: 0 0 50px;
  color: rgba(255,255,255,.78); font-size: clamp(17px, 1.5vw, 22px);
}
.story-cta__copy p { margin: 0; }
.story-cta > a {
  display: inline-flex; min-width: 250px; justify-content: space-between; padding: 17px 20px;
  color: var(--ink); background: var(--accent); font-family: "Gotham"; font-size: 9px; letter-spacing: .13em; text-transform: uppercase;
}
.story-footer {
  display: flex; justify-content: space-between; padding: 30px var(--page); color: rgba(255,255,255,.55);
  background: #1d201b; font-family: "Gotham"; font-size: 7px; letter-spacing: .12em; text-transform: uppercase;
}
.lightbox {
  position: fixed; z-index: 100; inset: 0; display: grid; grid-template-columns: 70px 1fr 70px;
  align-items: center; visibility: hidden; color: white; background: rgba(16,18,15,.96); opacity: 0;
  transition: opacity .3s, visibility .3s;
}
.lightbox.open { visibility: visible; opacity: 1; }
.lightbox button { border: 0; color: white; background: none; cursor: pointer; }
.lightbox__close { position: absolute; z-index: 2; top: 18px; right: 24px; font-size: 36px; }
.lightbox__previous, .lightbox__next { height: 100%; font-size: 28px; }
.lightbox__stage { display: grid; max-height: 92vh; place-items: center; }
.lightbox__stage img { width: auto; max-width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox__stage p { margin: 10px 0 0; color: rgba(255,255,255,.7); font-size: 12px; }
@media (max-width: 1180px) {
  .story-gallery { column-count: 4; }
}
@media (max-width: 920px) {
  .story-hero__content {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }
  .story-hero__content > span {
    grid-column: 1; grid-row: auto; max-width: 720px; text-align: left; white-space: normal;
  }
  .story-gallery { column-count: 3; }
}
@media (max-width: 760px) {
  .story-header { grid-template-columns: 1fr auto; height: 72px; }
  .back-link { display: none; }
  .story-hero { min-height: clamp(320px, 42svh, 380px); }
  .story-hero__content {
    top: 77px; right: var(--page); left: var(--page); display: block; text-align: left;
  }
  .story-hero__content h1 { font-size: clamp(48px, 15vw, 76px); }
  .story-hero__content > span { margin-top: 22px; text-align: left; white-space: normal; }
  .story-scroll { display: none; }
  .story-intro { grid-template-columns: 1fr; gap: 30px; }
  .story-paragraphs { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .story-gallery { column-count: 2; column-gap: 10px; }
  .story-photo, .story-photo--1, .story-photo--2, .story-photo--3, .story-photo--4, .story-photo--5 { margin-bottom: 10px; }
  .story-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .lightbox { grid-template-columns: 42px 1fr 42px; }
}
