/* ---------- tokens ---------- */
:root {
  --matcha:      #66783a;
  --matcha-deep: #3f4d22;
  --cream:       #fdfdee;
  --line-dark:   rgba(102, 120, 58, 0.55);    /* lines on cream */
  --line-light:  rgba(253, 253, 238, 0.7);    /* lines on photo / gif */
  --line:        var(--line-dark);
  --tint:        0;                         /* matcha overlay on the gif (0–1) */
  --gutter:      clamp(14px, 2vw, 28px);
  --u:           min(1vw, 1.7778svh);   /* intro scales from this one unit, so proportions stay the same at any window size */
  --serif:  "Instrument Serif", "Times New Roman", serif;
  --script: "Mrs Saint Delafield", cursive;
  --sans:   "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--matcha-deep);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- shared: frame + bars ---------- */
.frame {
  position: absolute;
  inset: var(--gutter);
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.frame--grid {
  background:
    linear-gradient(var(--line), var(--line)) 33.333% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 66.666% 0 / 1px 100% no-repeat;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 2vw, 28px);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bar--top    { border-bottom: 1px solid var(--line); }
.bar--bottom { border-top:    1px solid var(--line); }

.brand { font-weight: 500; letter-spacing: 0.32em; }

.bar nav { display: flex; gap: clamp(14px, 2vw, 32px); }
.bar nav a { position: relative; padding-bottom: 2px; }
.bar nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s steps(4);
}
.bar nav a:hover::after { transform: scaleX(1); }


/* =====================================================
   01 / INTRO  (cream + matcha lines)
   ===================================================== */
.intro {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 620px;
  background: var(--cream);
  color: var(--matcha);
  overflow: hidden;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: minmax(150px, 34%) 1fr;
}

.cell { display: flex; border-bottom: 1px solid var(--line); }

.cell--intro {
  grid-column: 1; grid-row: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(14px, 2vw, 28px);
}
.lede  { font-family: var(--serif); font-size: clamp(1.1rem, calc(1.8 * var(--u)), 1.7rem); line-height: 1.15; max-width: 16ch; }
.meta  { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 2; }

.cell--kanji {
  grid-column: 2; grid-row: 1;
  align-items: center; justify-content: center;
  background: var(--matcha);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(3.5rem, calc(8 * var(--u)), 8rem);
  line-height: 1;
}

.polaroid {
  position: relative;
  grid-column: 3; grid-row: 1 / 3;
  justify-self: center; align-self: center;
  width: min(calc(24 * var(--u)), 340px);
  background: #fff;
  padding: 10px 10px 46px;
  rotate: 3deg;                       /* individual property so the jitter can animate it */
  box-shadow: 0 18px 40px rgba(63, 77, 34, 0.22);
  color: var(--matcha);
  z-index: 2;
}
.polaroid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 6px;
  text-align: center;
  font-family: var(--script); font-size: 2.1rem; line-height: 1;
}

.title {
  grid-column: 1 / 3; grid-row: 2;
  align-self: end;
  position: relative;
  padding: 0 clamp(14px, 2vw, 28px) clamp(14px, 2vw, 28px);
  font-family: var(--serif); font-weight: 400;
  line-height: 0.88; letter-spacing: -0.02em;
}
.title__line   { display: block; font-size: clamp(4.5rem, calc(14 * var(--u)), 15rem); }
.title__script {
  position: absolute; right: 6%; bottom: 4%;
  font-family: var(--script);
  font-size: clamp(3.5rem, calc(10 * var(--u)), 11rem);
  letter-spacing: 0; line-height: 1;
  rotate: -6deg; white-space: nowrap;
  color: var(--matcha-deep);
}


/* =====================================================
   02 / LOOP  (full-page gif)
   ===================================================== */
.loop {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--matcha);
  color: var(--cream);
}
.loop .frame { --line: var(--line-light); }

.loop__gif {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.loop__tint {
  position: absolute; inset: 0;
  background: var(--matcha);
  mix-blend-mode: multiply;
  opacity: var(--tint);
  pointer-events: none;
}

.loop__body {
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 2vw, 28px);
}
.loop__script {
  font-family: var(--script);
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.9;
  rotate: -4deg;
  transform-origin: left bottom;
  text-shadow: 0 2px 24px rgba(63, 77, 34, 0.4);
}
.loop__script:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }


/* =====================================================
   03 / WORK  (slider)
   ===================================================== */
.works {
  position: relative;
  background: var(--cream);
  color: var(--matcha-deep);
  --line: var(--line-dark);
  padding: var(--gutter);
}
.works__bar {
  border: 1px solid var(--line);
  border-bottom: 0;
}
.works .bar--bottom { border: 1px solid var(--line); border-top: 0; }

.filters { display: flex; gap: clamp(10px, 2vw, 28px); }
.filters__btn {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  opacity: .55;
  transition: opacity .2s steps(2), border-color .2s steps(2);
}
.filters__btn:hover { opacity: 1; }
.filters__btn.is-active { opacity: 1; border-color: currentColor; }

.works__stage {
  position: relative;
  border: 1px solid var(--line);
}

.track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }

.slide {
  position: relative;
  flex: 0 0 90%;
  height: min(84vh, 900px);
  min-height: 460px;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--matcha-deep);
  color: var(--cream);
}
.slide:last-child { flex-basis: 100%; }

.slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s steps(5);          /* choppy zoom */
}
.slide:hover img { transform: scale(1.03); }

/* readability gradient */
.slide::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(30, 38, 14, 0.7), rgba(30, 38, 14, 0) 55%);
  pointer-events: none;
}

.slide__tag {
  position: absolute; top: clamp(16px, 2.5vw, 32px); z-index: 2;
  right: clamp(16px, 3vw, 48px);
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
}

.slide__text {
  position: absolute; z-index: 2;
  left: clamp(16px, 3vw, 48px);
  bottom: clamp(16px, 3vw, 44px);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px;
}
.slide__text h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95; letter-spacing: -0.02em;
}
.slide__text p {
  font-size: clamp(0.8rem, 1.2vw, 1.05rem);
  letter-spacing: 0.08em;
}

.slide__btn {
  margin-top: 10px;
  padding: 14px 28px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--line-light);
  background: rgba(253, 253, 238, 0.12);
  backdrop-filter: blur(6px);
  transition: background .25s steps(2), color .25s steps(2);
}
/* stretched link: the whole slide is clickable */
.slide__btn::after { content: ""; position: absolute; inset: 0; }
.slide:hover .slide__btn { background: var(--cream); color: var(--matcha-deep); }

/* arrows */
.arrow {
  position: absolute; top: 50%; z-index: 5;
  transform: translateY(-50%);
  color: var(--cream);
  padding: 18px;
  transition: transform .3s steps(3), opacity .3s steps(3);
  filter: drop-shadow(0 1px 8px rgba(30, 38, 14, 0.35));
}
.arrow--prev { left:  clamp(8px, 2.5vw, 40px); }
.arrow--next { right: clamp(8px, 2.5vw, 40px); }
.arrow--prev:hover { transform: translate(-6px, -50%); }
.arrow--next:hover { transform: translate( 6px, -50%); }
.arrow[disabled]   { opacity: .25; pointer-events: none; }


/* =====================================================
   PROJECT PAGES  (projects/*.html)
   ===================================================== */
.project { padding: var(--gutter); min-height: 100vh; }
.project__frame { border: 1px solid var(--line-dark); --line: var(--line-dark); }

.project__head {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.project__head > * { padding: clamp(16px, 2.5vw, 36px); }
.project__head > * + * { border-left: 1px solid var(--line); }
.project__title {
  grid-column: span 2;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.9; letter-spacing: -0.02em;
  color: var(--matcha);
}
.project__head > :nth-child(2) { display: none; }
.project__meta {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 2.2;
}
.project__cover { display: block; width: 100%; max-height: 90vh; object-fit: cover; }
.project__intro {
  max-width: 62ch;
  padding: clamp(24px, 5vw, 72px) clamp(16px, 3vw, 48px);
  font-size: 1.05rem; line-height: 1.7;
}
.project__gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.project__gallery > * { width: 100%; display: block; border-bottom: 1px solid var(--line); }
.project__gallery > :nth-child(odd) { border-right: 1px solid var(--line); }
.project__gallery .wide { grid-column: 1 / -1; border-right: 0; }

.project__nav { display: flex; justify-content: space-between; }
.project__nav a {
  padding: 22px clamp(16px, 3vw, 48px);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.project__nav a:hover { background: var(--matcha); color: var(--cream); }


/* =====================================================
   STOP-MOTION  (blur-to-reveal, ~16fps, plays once)
   - entrance only: nothing keeps moving afterwards
   - --fps-speed: raise = slower, lower = faster
   ===================================================== */
:root { --fps-speed: 1; }

@keyframes pop {
  0%   { opacity: 0; filter: blur(12px); transform: translateY(16px); }
  100% { opacity: 1; filter: blur(0);    transform: translateY(0); }
}

/* "backwards" = hold the blurred start during the delay, then hand
   control back to the normal styles when it finishes (no stuck blur) */
.title__line, .title__script, .cell, .intro .bar, .polaroid {
  animation: pop calc(1s * var(--fps-speed)) steps(16, end) backwards;
}
.title__line:nth-child(2) { animation-delay: .15s; }
.cell--kanji              { animation-delay: .25s; }
.polaroid                 { animation-delay: .35s; }
.title__script            { animation-delay: .45s; }

/* slide title: quick blur-in on hover */
@keyframes flick {
  0%   { filter: blur(4px); }
  100% { filter: blur(0); }
}
.slide:hover .slide__text h2 { animation: flick .4s steps(8, end) 1; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .frame--grid {
    background: linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat;
  }
   .intro { min-height: 720px; }
  .polaroid {
    grid-column: 1 / 3; grid-row: 2;
    align-self: start; margin-top: 24px;
    width: min(46vw, 200px);
  }
  .polaroid figcaption { font-size: 1.7rem; }
  .title { grid-column: 1 / 3; }
  .title__line   { font-size: clamp(3.4rem, 16vw, 6rem); }
  .title__script { position: static; display: block; text-align: right; margin-top: -.12em; font-size: clamp(2.8rem, 13vw, 4.6rem); }
  html[lang="ja"] .title__line   { font-size: clamp(3.4rem, 15vw, 5.5rem); }
  html[lang="ja"] .title__script { font-size: clamp(2.6rem, 11vw, 4rem); right: auto; }
  .intro .bar--bottom { font-size: .6rem; letter-spacing: .1em; }
  .scroll-hint { display: none; }

  /* works */
  .works__bar { flex-wrap: wrap; justify-content: center; }
  .filters { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .works__bar > span:first-child { display: none; }
  .slide { flex-basis: 86%; height: 72svh; }
  .arrow { padding: 10px; }
  .arrow svg { width: 40px; }

  .project__head { grid-template-columns: 1fr; }
  .project__title { grid-column: auto; }
  .project__head > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .project__gallery { grid-template-columns: 1fr; }
  .project__gallery > :nth-child(odd) { border-right: 0; }
}

/* ---------- project page videos ---------- */
.project__intro a { text-decoration: underline; }

.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.embed--v { aspect-ratio: 9 / 16; max-width: 420px; margin: 0 auto; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.videos { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.videos--grid  { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.videos--mixed { grid-template-columns: 2fr 1fr; }
.videos__col   { display: grid; gap: 1px; align-content: start; background: var(--line); }
.videos__col:last-child { background: var(--cream); padding: 16px; align-content: center; }

@media (max-width: 760px) {
  .videos--mixed { grid-template-columns: 1fr; }
}
/* =====================================================
   NEW SECTIONS (about, services, clients, photos, contact)
   ===================================================== */
.panel { background: var(--cream); color: var(--matcha-deep); --line: var(--line-dark); padding: 0 var(--gutter) var(--gutter); }
.panel__frame { border: 1px solid var(--line); }
.panel__title {
  font-family: var(--serif); font-weight: 400; color: var(--matcha);
  font-size: clamp(2.6rem, 6vw, 6rem); line-height: .95; letter-spacing: -0.02em;
}

/* about */
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.about__grid > * { padding: clamp(16px, 2.5vw, 36px); }
.about__grid > * + * { border-left: 1px solid var(--line); }
.about__text p { font-size: 1rem; line-height: 1.7; margin-bottom: 1em; max-width: 52ch; }
.facts { list-style: none; }
.facts li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6;
}
.facts li:first-child { padding-top: 0; }
.facts li span:first-child { opacity: .6; flex: none; }
.facts li span:last-child { text-align: right; }

/* services + contact links */
.services { list-style: none; }
.services li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(16px, 2.2vw, 30px) clamp(16px, 2.5vw, 36px);
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 3.2rem); letter-spacing: -0.01em;
  transition: background .2s steps(3), color .2s steps(3);
}
.services li:hover { background: var(--matcha); color: var(--cream); }
.services small { font-family: var(--sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .7; text-align: right; }
.services--links li { padding: 0; }
.services--links a { display: block; width: 100%; padding: clamp(16px, 2.2vw, 30px) clamp(16px, 2.5vw, 36px); }

/* logos */
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 6vw, 80px); padding: clamp(28px, 5vw, 64px);
}
.logos img { height: clamp(40px, 6vw, 72px); width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: opacity .2s steps(3); }
.logos img:hover { filter: none; opacity: 1; }

/* photos */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); }
.photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--matcha-deep); color: var(--cream); }
.photos > a + a .photo { border-left: 1px solid var(--line); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s steps(5); }
.photo:hover img { transform: scale(1.03); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,38,14,.65), rgba(30,38,14,0) 50%); pointer-events: none; }
.photo figcaption {
  position: absolute; z-index: 2; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px);
  font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1;
}
.photo small { display: block; margin-top: 8px; font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }

/* contact */
.contact__body { padding: clamp(24px, 4vw, 56px) clamp(16px, 2.5vw, 36px); display: grid; gap: 20px; justify-items: start; }
.contact__body p { max-width: 48ch; line-height: 1.6; }
.btn {
  padding: 14px 28px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid currentColor; transition: background .2s steps(3), color .2s steps(3);
}
.btn:hover { background: var(--matcha); color: var(--cream); border-color: var(--matcha); }

/* language toggle */
.lang { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 10px; transition: background .2s steps(3), color .2s steps(3); }
.lang:hover { background: var(--matcha); color: var(--cream); }

/* japanese typography: fonts without kanji fall back to a mincho/gothic */
html[lang="ja"] {
  --serif:  "Instrument Serif", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --script: "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:   "DM Sans", "Hiragino Sans", "Yu Gothic", sans-serif;
}
html[lang="ja"] .about__text p { line-height: 1.9; }
html[lang="ja"] .title__line   { font-size: clamp(4rem, calc(11 * var(--u)), 12rem); }
html[lang="ja"] .title__script { font-size: clamp(3rem, calc(8 * var(--u)), 9rem); right: 3%; }

/* scroll reveal: same blur-to-reveal stop-motion as the intro */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: pop 1s steps(16, end) backwards; }
@media (scripting: none) { .reveal { opacity: 1; } }

@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__grid > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .photos { grid-template-columns: 1fr; }
  .photos > a + a .photo { border-left: 0; border-top: 1px solid var(--line); }
  .services li { flex-wrap: wrap; }
}
/* logo marquee */
.marquee {
  --item: 170px; --gap: 64px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0;       /* room so the grown logo isn't clipped */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee var(--dur, 40s) linear infinite;
}
.marquee__track img {
  flex: none; width: var(--item); height: 72px; margin-right: var(--gap);
  object-fit: contain;
  filter: grayscale(1); opacity: .7;
  transition: transform .25s steps(5), filter .25s steps(5), opacity .25s steps(5);
}
.marquee__track img:hover { transform: scale(1.3); filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(var(--shift, -50%)); } }

@media (max-width: 760px) { .marquee { --item: 130px; --gap: 44px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}
.arrow svg { width: 80px; height: auto; stroke-width: 3; }

@media (max-width: 760px) {
  .arrow svg { width: 52px; stroke-width: 3.5; }
}
/* captioned project cards */
.groupbar {
  padding: 12px clamp(16px, 2.5vw, 36px);
  border-top: 1px solid var(--line);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
}
.videos--cards { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.card { background: var(--cream); }
.card--wide { grid-column: 1 / -1; }
.cap { padding: 16px clamp(16px, 2.5vw, 28px) 26px; display: grid; gap: 6px; }
.cap h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.05; }
.cap span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; line-height: 1.6; }
.cap p { font-size: .95rem; line-height: 1.6; }
.cap a { text-decoration: underline; }
.videos--ig { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.embed-ig { background: var(--cream); padding: 16px; display: flex; justify-content: center; }
.embed-ig .instagram-media { margin: 0 !important; min-width: 0 !important; max-width: 540px !important; width: 100% !important; }
/* photo gallery page */
.gallery__title { padding: clamp(16px, 2.5vw, 36px); border-bottom: 1px solid var(--line); }
.gallery { columns: 3; column-gap: var(--gutter); padding: var(--gutter); }
.gallery img { display: block; width: 100%; height: auto; margin-bottom: var(--gutter); cursor: zoom-in; break-inside: avoid; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(30, 38, 14, .94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox__btn { position: absolute; color: var(--cream); font-size: 2.4rem; line-height: 1; padding: 18px; }
.lightbox__close { top: 8px; right: 12px; }
.lightbox__prev  { left: 8px;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 8px; top: 50%; transform: translateY(-50%); }

/* homepage photo cards are links now */
.photos > a { display: block; }

@media (max-width: 760px) {
  .gallery { columns: 2; }
}