/* ============================================================
   G DESIGN — Portfolio 2026 v2
   Aesthetic: Bold Minimal / Monochromatic
   Reference: moah.studio
   Fonts: Instrument Sans (body), Instrument Serif (display accent)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  /* Palette — monochromatic */
  --bg:           #ffffff;
  --bg-alt:       #f5f5f0;
  --fg:           #0a0a0a;
  --fg-soft:      #555555;
  --fg-muted:     #999999;
  --border:       #e0e0e0;
  --border-light: #f0f0f0;

  /* Typography */
  --sans:  'Instrument Sans', 'Inter', system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Georgia', serif;

  /* Layout */
  --max:   1440px;
  --pad:   clamp(20px, 5vw, 80px);

  /* Motion */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.33, 1, 0.68, 1);
  --dur:       0.7s;
  --dur-fast:  0.4s;

  /* Radius */
  --radius:    0;
  --radius-sm: 0;
}

/* ── Base ──────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow', var(--sans);
  text-transform: uppercase;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Section label — moah signature: tiny caps above big text  */
.section-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── Section divider ───────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  NAVIGATION                                              ║
   ╚══════════════════════════════════════════════════════════╝ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo-img {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.nav__logo-img.visible {
  opacity: 1;
  transform: translateY(0);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-family: 'Barlow', var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  transition: color 0.25s;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--fg);
}
.nav__contact {
  font-family: 'Barlow', var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  background: none;
  padding: 0;
  border-radius: 0;
  transition: color 0.25s;
}
.nav__contact:hover {
  color: var(--fg);
  opacity: 1;
}

/* ── Page offset for fixed nav ──────────────────────────── */
body { padding-top: 64px; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  LOGO REVEAL — Scroll-driven "DESIGN → G DES_GN"        ║
   ╚══════════════════════════════════════════════════════════╝ */
.logo-reveal {
  position: relative;
  height: 350vh;            /* 100vh visible + 250vh scroll room for letter anim */
  background: var(--bg);
}
.logo-reveal__inner {
  position: sticky;
  top: 64px;                /* below fixed nav */
  width: 100%;
  height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logo-reveal__mark {
  position: relative;
  flex: 1;
  width: 100%;
}

/* Letter animation container — blur entrance applied here */
.logo-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  isolation: isolate;
  filter: blur(30px);
  opacity: 0;
  animation: logo-unblur 2s var(--ease) 0.4s forwards;
  will-change: transform, opacity;
}
@keyframes logo-unblur {
  to {
    filter: blur(0px);
    opacity: 1;
  }
}

/* Individual SVG letters — absolutely positioned, driven by JS keyframes.
   Widths proportional to glyph bounding boxes on 1440px reference canvas. */
.logo-anim__letter {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--fg);
  will-change: transform, opacity;
  height: auto;
}
.logo-anim__letter[data-letter="D"] { width: 14.37%; }
.logo-anim__letter[data-letter="E"] { width: 13.03%; }
.logo-anim__letter[data-letter="S"] { width: 14.56%; }
.logo-anim__letter[data-letter="I"] { width: 3.69%; }
.logo-anim__letter[data-letter="G"] { width: 14.75%; z-index: -1; }
.logo-anim__letter[data-letter="N"] { width: 15.14%; }

.logo-reveal__bottom {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: logo-fade-up 0.6s var(--ease-out) 2.4s forwards;
}
@keyframes logo-fade-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.logo-reveal__scroll {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.logo-reveal__arrow {
  font-size: 16px;
  color: var(--fg-muted);
  animation: logo-bounce 2s ease-in-out 3s infinite;
}
@keyframes logo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  HERO                                                    ║
   ╚══════════════════════════════════════════════════════════╝ */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 80px;
  margin-top: -30vh;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
}
.hero__label {
  font-family: 'Barlow', var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 40px;
}
.hero__title {
  font-family: 'Barlow', var(--sans);
  font-size: clamp(48px, 9vw, 140px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--fg);
  max-width: 1200px;
  margin-bottom: 60px;
}
.hero__title em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

/* Word-cycle: vertical slide animation for hero keywords */
.word-cycle {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  /* The serif has a deeper descent than Barlow, and overflow:hidden makes this
     box align by its bottom edge — so the word rides high. Measured offset to
     put the two baselines on the same line. In em so it holds as the fluid
     title scales between 48px and 140px. */
  transform: translateY(0.118em);
}
.word-cycle > span {
  display: block;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: var(--fg-muted);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--fg);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}
.hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}
.hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TICKER MARQUEE                                          ║
   ╚══════════════════════════════════════════════════════════╝ */
.ticker-band {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 20px 0;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-ltr 50s linear infinite;
}
.ticker-band--rev .ticker-track {
  animation: ticker-rtl 70s linear infinite;
}
@keyframes ticker-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ticker-rtl {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.ticker-item {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-inline: 24px;
}
.ticker-sep {
  color: var(--fg-muted);
  opacity: 0.3;
  font-size: 8px;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  FEATURED PROJECT                                        ║
   ╚══════════════════════════════════════════════════════════╝ */
.featured {
  padding: 40px 0 0;
}
.featured__header {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  margin-bottom: 60px;
}
.featured__card {
  display: block;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  cursor: pointer;
}
.featured__card-inner {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.featured__card:hover .featured__card-inner {
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.featured__card-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.38) 0%, transparent 100%);
}
.featured__card-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}
.featured__card-arrow {
  font-size: 32px;
  font-weight: 300;
  color: #ffffff;
  transition: transform 0.3s var(--ease);
}
.featured__card:hover .featured__card-arrow {
  transform: translate(4px, -4px);
}
.featured__card-image {
  width: 100%;
  overflow: hidden;
}
.featured__card-image img {
  width: 100%;
  height: clamp(400px, 55vw, 680px);
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}
.featured__card:hover .featured__card-image img {
  transform: scale(1.02);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PROJECT GRID                                            ║
   ╚══════════════════════════════════════════════════════════╝ */
.projects-section {
  padding: 80px 0;
}
.projects-section__header {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.projects-section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.projects-section__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}
.projects-section__link:hover { color: var(--fg); }

.projects-grid {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* Project card — photo grid, name on hover */
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover img {
  transform: scale(1.05);
}
.project-card__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: 'Barlow', var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-card:hover .project-card__label {
  opacity: 1;
  transform: translateY(0);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  ABOUT SECTION                                           ║
   ╚══════════════════════════════════════════════════════════╝ */
.about {
  border-top: 1px solid var(--border);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  padding: 80px 60px 80px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}
.about__statement {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--fg);
  max-width: 540px;
}
.about__statement em {
  font-family: 'Barlow', sans-serif;
  font-style: normal;
}
.about__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 20px;
  color: var(--fg);
  border: 1.5px solid var(--fg);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.about__link:hover {
  background: var(--fg);
  color: var(--bg);
}
.about__photo {
  overflow: hidden;
  position: relative;
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  inset: 0;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  CAPABILITIES                                            ║
   ╚══════════════════════════════════════════════════════════╝ */
.capabilities {
  padding: 120px 0;
  background: var(--bg-alt);
}
.capabilities__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.capabilities__header {
  margin-bottom: 80px;
}
.capabilities__title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 20px;
  max-width: 800px;
}
.capabilities__title em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 1024px) {
  .capabilities__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .capabilities__grid { grid-template-columns: 1fr; }
}
.capability {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.capability__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.capability__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.capability__item {
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.4;
  padding-left: 20px;
  position: relative;
}
.capability__item::before {
  content: '+';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--fg-muted);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  CONTACT CTA                                             ║
   ╚══════════════════════════════════════════════════════════╝ */
.contact-cta {
  padding: 140px 0;
  border-top: 1px solid var(--border);
}
.contact-cta__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.contact-cta__text {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 900px;
}
.contact-cta__text em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}
.contact-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
  background: var(--fg);
  padding: 18px 40px;
  border-radius: var(--radius);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.contact-cta__button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Flip button: black "Let's connect" → white "g@gdesign.cc" on click */
.contact-cta__flip {
  position: relative;
  overflow: hidden;
}
.contact-cta__flip-front,
.contact-cta__flip-back {
  display: block;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.contact-cta__flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  opacity: 0;
}
.contact-cta__flip.is-flipped {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--fg);
}
.contact-cta__flip.is-flipped .contact-cta__flip-front {
  transform: translateY(-100%);
  opacity: 0;
}
.contact-cta__flip.is-flipped .contact-cta__flip-back {
  transform: translateY(0);
  opacity: 1;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  FOOTER                                                  ║
   ╚══════════════════════════════════════════════════════════╝ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer__brand-logo {
  height: 14px;
  width: auto;
  display: block;
  opacity: 0.5;
}
.footer__brand-name {
  height: 14px;
  width: auto;
  display: block;
  opacity: 0.4;
}
.footer__copy {
  font-size: 12px;
  color: var(--fg-muted);
}
.footer__links {
  display: flex;
  gap: 32px;
}
.footer__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.25s;
}
.footer__links a:hover { color: var(--fg); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  SCROLL REVEAL                                           ║
   ╚══════════════════════════════════════════════════════════╝ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  PROJECTS LISTING PAGE                                   ║
   ╚══════════════════════════════════════════════════════════╝ */
.projects-hero {
  padding: 100px 0 80px;
}
.projects-hero__title {
  font-size: clamp(56px, 10vw, 160px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 40px;
}
.projects-hero__sub {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.5;
}

/* Project list rows */
.project-list {
  border-top: 1px solid var(--border);
}
.project-row {
  display: grid;
  grid-template-columns: 1fr auto 240px;
  align-items: center;
  gap: 32px;
  padding: 40px var(--pad);
  border-bottom: 1px solid var(--border);
  max-width: var(--max);
  margin-inline: auto;
  cursor: pointer;
  transition: background 0.3s;
}
@media (max-width: 900px) {
  .project-row {
    grid-template-columns: 1fr auto;
  }
  .project-row__desc { display: none; }
}
.project-row:hover {
  background: var(--bg-alt);
}
.project-row:hover .project-row__title {
  letter-spacing: -0.01em;
}
.project-row:hover .project-row__arrow {
  transform: translate(4px, -4px);
  color: var(--fg);
}
.project-row__year {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
}
.project-row__title {
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: letter-spacing 0.3s var(--ease);
}
.project-row__arrow {
  font-size: 24px;
  font-weight: 300;
  color: var(--fg-muted);
  transition: transform 0.3s var(--ease), color 0.25s;
}
.project-row__desc {
  font-size: 14px;
  color: var(--fg-muted);
  text-align: right;
  line-height: 1.5;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PROJECT DETAIL PAGE                                     ║
   ╚══════════════════════════════════════════════════════════╝ */
.project-hero {
  padding: 80px 0 60px;
}
.project-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 48px;
  transition: color 0.2s;
}
.project-hero__back:hover { color: var(--fg); }
.project-hero__title {
  font-size: clamp(48px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 32px;
}
.project-hero__subtitle {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.4;
}

/* Full-bleed image */
.full-bleed {
  width: 100%;
  max-height: 680px;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: var(--max);
  padding-inline: var(--pad);
}
.full-bleed img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* True edge-to-edge variant — breaks out of the max-width gutter */
.full-bleed--edge {
  max-width: none;
  padding-inline: 0;
  border-radius: 0;
}
.full-bleed--edge img {
  border-radius: 0;
}

/* Problem / Solution grid */
.ps-grid {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 768px) {
  .ps-grid { grid-template-columns: 1fr; }
}
.ps-block__label {
  font-family: 'Barlow', var(--sans);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ps-block__text {
  font-size: 16px;
  color: var(--fg-soft);
  line-height: 1.75;
  max-width: 480px;
}

/* Body + sidebar layout */
.body-layout {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--pad);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
}
@media (max-width: 900px) {
  .body-layout { grid-template-columns: 1fr; }
}
.body-layout__content p {
  font-size: 17px;
  color: var(--fg-soft);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 24px;
}
.sidebar-item {
  margin-bottom: 32px;
}
.sidebar-item__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.sidebar-item__value {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.5;
}

/* Image sections */
.image-section {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  margin-bottom: 24px;
}
.image-section__media {
  border-radius: var(--radius);
  overflow: hidden;
}
.image-section__media img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}
.image-section__caption {
  padding: 16px 0;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
}

/* Image pair / trio */
.image-pair, .image-trio {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}
.image-pair { grid-template-columns: 1fr 1fr; }
.image-trio { grid-template-columns: repeat(3, 1fr); }
/* Stacked variant — one full-width image per row instead of side by side */
.image-pair--stacked { grid-template-columns: 1fr; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  BROWSER MOCKUP — fixed chrome, page scrolls inside      ║
   ╚══════════════════════════════════════════════════════════╝ */
.site-mock {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  margin-bottom: 80px;
}
.site-mock__label {
  font-family: 'Barlow', var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.site-mock__frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}
/* browser chrome bar */
.site-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f1f1f1;
  border-bottom: 1px solid var(--border);
}
.site-mock__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d4d4d4;
  flex: none;
}
.site-mock__url {
  margin-left: 12px;
  flex: 1;
  background: #fff;
  border-radius: 100px;
  padding: 5px 14px;
  font-family: 'Barlow', var(--sans);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
/* viewport — the scroll happens in here, frame stays put */
.site-mock__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.site-mock__viewport img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  animation: site-scroll 26s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
/* full capture is 7.18x the viewport height — travel the remaining 6.18x */
@keyframes site-scroll {
  0%, 8%    { transform: translateY(0); }
  50%, 58%  { transform: translateY(calc(-6.18 * (100% / 7.18))); }
  100%      { transform: translateY(0); }
}
.site-mock:hover .site-mock__viewport img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .site-mock__viewport img { animation: none; }
}
@media (max-width: 768px) {
  .image-pair, .image-trio { grid-template-columns: 1fr; }
}
.image-pair img, .image-trio img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Dev carousel — horizontal scroll with snap */
.dev-carousel {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  margin-bottom: 24px;
  position: relative;
}
.dev-carousel__main {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.dev-carousel__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.dev-carousel__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.dev-carousel__thumbs::-webkit-scrollbar { display: none; }
.dev-carousel__thumb {
  flex: 0 0 auto;
  width: 80px;
  height: 60px;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.dev-carousel__thumb:hover {
  opacity: 0.75;
}
.dev-carousel__thumb.active {
  opacity: 1;
  border-color: var(--fg);
}
.dev-carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .dev-carousel__thumb {
    width: 64px;
    height: 48px;
  }
}

/* Feature grid — 3-col with captions below each image */
.feature-grid {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-grid__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.feature-grid__caption {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  padding-top: 14px;
}

/* Next project */
.next-project {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}
.next-project__label {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.next-project__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.next-project__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  padding: 14px 28px;
  border: 1.5px solid var(--fg);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.next-project__link:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  ABOUT PAGE                                              ║
   ╚══════════════════════════════════════════════════════════╝ */
.about-hero {
  padding: 100px 0 80px;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.about-hero__photo {
  width: 100%;
  max-height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}
.about-hero__photo img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
}
.about-hero__bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 768px) {
  .about-hero__bio { grid-template-columns: 1fr; gap: 40px; }
}
.about-hero__statement {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.about-hero__statement em {
  font-family: var(--serif);
  font-style: normal;
}
.about-hero__body {
  font-size: 17px;
  color: var(--fg-soft);
  line-height: 1.8;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  CONTACT PAGE                                            ║
   ╚══════════════════════════════════════════════════════════╝ */
.contact-hero {
  padding: 100px 0 160px;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.contact-hero__title {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 60px;
}
.contact-hero__title em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}
.contact-hero__methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 768px) {
  .contact-hero__methods { grid-template-columns: 1fr; gap: 40px; }
}
.contact-method__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.contact-method__value {
  font-size: 18px;
  font-weight: 500;
  transition: color 0.25s;
}
.contact-method__value:hover { color: var(--fg-muted); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  SEO BLOCK                                               ║
   ╚══════════════════════════════════════════════════════════╝ */
.seo-block {
  padding: 4px var(--pad);
  max-width: var(--max);
  margin-inline: auto;
}
.seo-block p {
  font-size: 10px;
  line-height: 1.4;
  color: rgba(0,0,0,0.08);
  max-width: 960px;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  PROJECT NARRATIVE SECTIONS                              ║
   ╚══════════════════════════════════════════════════════════╝ */

/* Project meta — discipline tags below hero subtitle */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.project-meta__tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius);
}

/* Project background — problem statement with discipline list */
.project-background {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--pad);
  border-top: 1px solid var(--border);
}
.project-background__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .project-background__inner { grid-template-columns: 1fr; gap: 40px; }
}
.project-background__body {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--fg-soft);
  line-height: 1.75;
  max-width: 660px;
}
.project-background__body p + p {
  margin-top: 20px;
}
.project-background__roles {
  padding-top: 4px;
}
.project-background__roles-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.project-background__roles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.project-background__roles-list li {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

/* Narrative block — alternating text/image (Study, Strategy) */
.narrative-block {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--pad);
  border-top: 1px solid var(--border);
}
.narrative-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .narrative-block__inner { grid-template-columns: 1fr; gap: 32px; }
  .narrative-block--reverse .narrative-block__image { order: -1; }
}
.narrative-block--reverse .narrative-block__text { order: 2; }
.narrative-block--reverse .narrative-block__image { order: 1; }

/* Narrative block — overlay variant: full-width image, text on frosted glass panel */
.narrative-block--overlay {
  max-width: 100%;
  padding: 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.narrative-block--overlay .narrative-block__inner {
  display: block;
  position: relative;
  gap: 0;
}
.narrative-block--overlay .narrative-block__image {
  width: 100%;
}
.narrative-block--overlay .narrative-block__image img {
  width: 100%;
  height: clamp(480px, 60vw, 780px);
  object-fit: cover;
  display: block;
}
.narrative-block--overlay .narrative-block__text {
  position: absolute;
  bottom: 40px;
  left: clamp(20px, 5vw, 80px);
  max-width: 520px;
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.5);
}
@media (max-width: 768px) {
  .narrative-block--overlay .narrative-block__text {
    position: static;
    max-width: 100%;
    padding: 32px var(--pad);
  }
  .narrative-block--overlay .narrative-block__image img {
    height: 320px;
  }
}
.narrative-block__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.narrative-block__heading {
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.15;
}
.narrative-block__body {
  font-size: 16px;
  color: var(--fg-soft);
  line-height: 1.75;
}
.narrative-block__body p + p {
  margin-top: 16px;
}
.narrative-block__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
/* ── Loch Fyll: larger crops through Exploration and everything below ──
   Scoped to this page only; the other project pages keep the tighter sizing. */
.page-lochfyll .filmstrip__slide {
  width: clamp(340px, 42vw, 580px);
}
.page-lochfyll .filmstrip__slide img {
  aspect-ratio: 3 / 2;
}
.page-lochfyll .image-pair img,
.page-lochfyll .image-trio img {
  height: 580px;
}
.page-lochfyll .full-bleed img {
  height: clamp(560px, 72vw, 900px);
}
@media (max-width: 900px) {
  .page-lochfyll .image-pair img,
  .page-lochfyll .image-trio img {
    height: 380px;
  }
}

/* Stagger variant — two stacked images offset left/right so they overlap
   slightly rather than reading as a flat column */
.narrative-block__image--stagger {
  display: flex;
  flex-direction: column;
}
.narrative-block__image--stagger img {
  aspect-ratio: auto;
  object-fit: contain;
  width: 80%;
}
.narrative-block__image--stagger img:first-child {
  align-self: flex-start;
}
.narrative-block__image--stagger img:last-child {
  align-self: flex-end;
  margin-top: -10%;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .narrative-block__image--stagger img { width: 100%; }
  .narrative-block__image--stagger img:last-child { margin-top: 16px; }
}

/* Filmstrip — horizontal scroll exploration carousel */
.filmstrip {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--pad);
  border-top: 1px solid var(--border);
}
.filmstrip__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}
.filmstrip__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.filmstrip__hint {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
}
.filmstrip__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding-bottom: 12px;
}
.filmstrip__track:active { cursor: grabbing; }
.filmstrip__track::-webkit-scrollbar { display: none; }
.filmstrip__track { scrollbar-width: none; }
.filmstrip__slide img { cursor: zoom-in; }
.filmstrip__scrollbar {
  margin-top: 20px;
  height: 2px;
  background: var(--border);
  position: relative;
  cursor: pointer;
}
.filmstrip__scrollbar-thumb {
  position: absolute;
  top: -4px;
  left: 0;
  height: 10px;
  background: var(--fg);
  cursor: grab;
  transition: background 0.15s;
}
.filmstrip__scrollbar-thumb:active { cursor: grabbing; }
.filmstrip__slide {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 380px);
  scroll-snap-align: start;
}
.filmstrip__slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: var(--bg-alt);
}
.filmstrip__caption {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 10px;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .filmstrip__slide { width: 80vw; }
}

/* Testimonial — isolated centered quote */
.testimonial {
  background: var(--bg-alt);
  padding: 100px var(--pad);
  text-align: center;
}
.testimonial__inner {
  max-width: 800px;
  margin-inline: auto;
}
.testimonial__mark {
  font-family: var(--serif);
  font-size: 80px;
  color: var(--border);
  line-height: 0.5;
  margin-bottom: 24px;
  display: block;
  font-style: normal;
}
.testimonial__quote {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 32px;
}
.testimonial__attribution {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Result section — hero imagery + description */
.result-section {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--pad);
  border-top: 1px solid var(--border);
}
.result-section__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.result-section__images {
  margin-bottom: 40px;
}
.result-section__desc {
  max-width: 720px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--fg-soft);
  line-height: 1.75;
}

/* Outcomes grid — 3-col: metrics / awards / press */
.outcomes-section {
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--pad);
  border-top: 1px solid var(--border);
}
.outcomes-section__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 768px) {
  .outcomes-grid { grid-template-columns: 1fr; gap: 32px; }
}
.outcomes-col__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.outcomes-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.outcomes-col__list li {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.4;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  RESPONSIVE                                              ║
   ╚══════════════════════════════════════════════════════════╝ */
@media (max-width: 768px) {
  .nav__links { gap: 24px; }
  .nav__contact { display: none; }
  .hero { padding: 60px 0; }
  .featured__card-info { padding: 24px; }
  .featured__card-image img { height: 360px; }
  .about__photo { }
  .contact-cta { padding: 80px 0; }
}

@media (max-width: 480px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 13px; }
  .hero__label { font-size: 12px; margin-bottom: 24px; }
  .hero__bottom { flex-direction: column; gap: 24px; align-items: flex-start; }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  LIGHTBOX                                                ║
   ╚══════════════════════════════════════════════════════════╝ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox--open {
  display: flex;
}
.lightbox__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  user-select: none;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s, background 0.15s;
  user-select: none;
}
.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
  background: rgba(255,255,255,0.22);
}
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-family: var(--font-ui);
  user-select: none;
}

/* cursor on lightbox-eligible images */
.image-section img { cursor: zoom-in; }
