/* ============================================================
   PORTFOLIO — Global Stylesheet
   Fonts: Syne (display) + Inter (body) via Google Fonts
   Accent: #E8A020 (warm amber)
   Theme: Dark, flat, no gradients, no shadows
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0f0f0f;
  --surface:   #191919;
  --border:    #2a2a2a;
  --text:      #e8e8e8;
  --muted:     #888888;
  --accent:    #E8A020;
  --accent-dk: #bf8010;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --nav-h:    64px;
  --max-w:    1100px;
  --gap:      clamp(24px, 5vw, 64px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p { max-width: 65ch; color: var(--text); }
p + p { margin-top: 1em; }

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

section { padding: clamp(64px, 10vw, 120px) 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.nav__logo:hover { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }

/* Work dropdown */
.nav__dropdown { position: relative; }

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
  background: none;
  border: none;
  padding: 0;
  letter-spacing: 0.01em;
}
.nav__dropdown-toggle:hover { color: var(--text); }

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 180px;
  padding: 16px 0 8px;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown-menu:hover { display: block; }

.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav__dropdown-menu a:hover { color: var(--text); background: var(--border); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px clamp(20px, 5vw, 48px);
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--text); }

@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}

.btn--accent {
  background: var(--accent);
  color: #0f0f0f;
}
.btn--accent:hover { background: var(--accent-dk); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover { border-color: var(--text); }

/* ---------- TAG / BADGE ---------- */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.tag--accent { border-color: var(--accent); color: var(--accent); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.15s;
  font-weight: 500;
}
.footer__links a:hover { color: var(--accent); }

.footer__call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__call svg { flex-shrink: 0; }

/* ---------- PAGE OFFSET (fixed nav) ---------- */
.page-body { padding-top: var(--nav-h); }

/* ============================================================
   HOME PAGE
   ============================================================ */
.hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 10vw, 120px);
  border-bottom: 1px solid var(--border);
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero__name {
  color: var(--text);
  margin-bottom: 20px;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--muted);
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 60ch;
  line-height: 1.5;
}

.hero__intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 55ch;
  margin-bottom: 40px;
}

/* ---------- PROJECT GRID ---------- */
.projects-section { }

.projects-section h2 {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

@media (max-width: 700px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* ---------- PROJECT CARD ---------- */
.project-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
  text-decoration: none;
  overflow: hidden;
}
.project-card:hover { border-color: var(--accent); }

.project-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.project-card__thumb svg {
  position: absolute;
  opacity: 0.12;
}

.project-card__thumb-label {
  position: relative;
  z-index: 1;
}

.project-card__body {
  padding: 28px;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.15s;
}
.project-card:hover .project-card__title { color: var(--accent); }

.project-card__desc {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 45ch;
  margin-bottom: 16px;
  line-height: 1.5;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card__arrow {
  font-size: 1.1rem;
  color: var(--muted);
  transition: color 0.15s, transform 0.15s;
}
.project-card:hover .project-card__arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-layout .about-photo-slider { order: -1; }
}

.hero-slider.about-photo-slider {
  aspect-ratio: 4 / 5;
  margin-top: 0;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-text h2 {
  margin-bottom: 28px;
}

.about-text p {
  color: var(--muted);
  max-width: 60ch;
}

/* ============================================================
   RESUME PAGE
   ============================================================ */
.resume-section {
  text-align: center;
  padding: clamp(80px, 14vw, 200px) 0;
}

.resume-section h1 { margin-bottom: 20px; }
.resume-section p { margin: 0 auto 40px; color: var(--muted); }

/* ============================================================
   PROJECT PAGE
   ============================================================ */
.project-hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  border-bottom: 1px solid var(--border);
}

.project-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.project-hero h1 { margin-bottom: 16px; }

.project-hero__context {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.project-meta-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.project-meta-item label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.project-meta-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* ---------- Project content ---------- */
.project-content {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 10vw, 100px);
}

.project-section {}
.project-section h3 { color: var(--text); margin-bottom: 16px; }
.project-section p { color: var(--muted); }

/* ---------- Placeholder image block ---------- */
.img-placeholder {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.img-placeholder--wide { aspect-ratio: 16 / 7; }
.img-placeholder--medium { aspect-ratio: 16 / 9; }
.img-placeholder--tall { aspect-ratio: 4 / 5; }

.img-caption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.4;
}

/* ---------- Triptych (Ajorite) ---------- */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 600px) {
  .triptych { grid-template-columns: 1fr; }
}
.triptych-item {}
.triptych-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: none;
}
.triptych-item .img-placeholder { border-top: none; }

/* ---------- Journey strip (Baylun) ---------- */
.journey-strip {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.journey-step {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 20px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.journey-step + .journey-step { border-left: none; }

.journey-step--highlight {
  border-color: var(--accent);
  background: #1a1500;
}

.journey-step__icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.journey-step__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.journey-step--highlight .journey-step__name { color: var(--accent); }

.journey-arrow {
  font-size: 1rem;
  color: var(--border);
  padding: 0 2px;
  flex-shrink: 0;
}

/* ---------- Before/After (Network, Balloyte) ---------- */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 560px) { .before-after { grid-template-columns: 1fr; } }

.ba-col__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: none;
}

.ba-col__label--after { color: var(--accent); }
.ba-col .img-placeholder { border-top: none; }

/* Jargon translation table */
.jargon-table {
  width: 100%;
  border-collapse: collapse;
}
.jargon-table th, .jargon-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  text-align: left;
  border: 1px solid var(--border);
}
.jargon-table th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: var(--surface);
}
.jargon-table td:first-child { color: var(--muted); font-family: monospace; }
.jargon-table td:last-child { color: var(--text); }
.jargon-table tr:nth-child(even) td { background: #141414; }

/* Prototype callout */
.prototype-callout {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.prototype-callout__device {
  flex-shrink: 0;
  width: 180px;
  aspect-ratio: 9 / 16;
  background: var(--border);
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prototype-callout__text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: -0.01em;
}

.prototype-callout__text p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 40ch;
}

/* ---------- Hero image slider ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 40px;
  background: var(--surface);
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero-slider__slide {
  flex: 0 0 100%;
  height: 100%;
}

.hero-slider__slide .img-placeholder {
  width: 100%;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(15, 15, 15, 0.65);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.15s ease, border-color 0.15s ease;
  z-index: 2;
}

.hero-slider:not(.hero-slider--edge):hover .hero-slider__arrow,
.hero-slider:focus-within .hero-slider__arrow {
  opacity: 1;
}

/* Edge-activated arrows (Network onboarding story slider):
   visibility is toggled by JS based on cursor proximity to the left/right edge,
   rather than by hovering the slider generally. */
.hero-slider--edge .hero-slider__arrow.is-visible {
  opacity: 1;
}

.hero-slider__arrow--prev { left: 12px; }
.hero-slider__arrow--next { right: 12px; }

.hero-slider__arrow:hover {
  background: var(--accent);
  color: #0f0f0f;
  border-color: var(--accent);
}

.hero-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232, 232, 232, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-slider__dot.active { background: var(--accent); }

/* ---------- Onboarding story slider (Network) ----------
   Sized to take up as much of the available width as it can, capped by a
   generous viewport-height ceiling so it never crops on a desktop screen -
   object-fit: contain lets any image's native aspect ratio dictate the
   visible frame instead of stretching or cutting it off. */
.hero-slider--story {
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  margin-top: 32px;
}

.hero-slider--story .hero-slider__slide img,
.hero-slider--story .hero-slider__slide .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface);
}

.hero-slider__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 40px clamp(20px, 4vw, 48px) 24px;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.94) 0%, rgba(15, 15, 15, 0.72) 50%, rgba(15, 15, 15, 0) 100%);
  pointer-events: none;
}

.hero-slider__overlay h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: -0.01em;
}

.hero-slider__overlay p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  max-width: 52ch;
  margin: 0;
}

/* ---------- Back link ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 12px 20px;
  transition: color 0.15s, border-color 0.15s;
  margin-top: clamp(48px, 8vw, 96px);
}
.back-link:hover { color: var(--text); border-color: var(--text); }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }

/* ============================================================
   WEBSITES SECTION (home page)
   ============================================================ */
.websites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (max-width: 700px) {
  .websites-grid { grid-template-columns: 1fr; }
}

.website-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
  overflow: hidden;
}
.website-card:hover { border-color: var(--accent); }

.website-card__shots {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--border);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.website-card__shot {
  border: none;
}

.website-card__shots .website-card__shot:first-child {
  position: absolute;
  inset: 0;
}

.website-card__shot--secondary {
  position: absolute;
  width: 52%;
  height: 62%;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--bg);
  z-index: 1;
}

.website-card__body {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.website-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.15s;
}
.website-card:hover .website-card__title { color: var(--accent); }

.website-card__url {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   WEBSITE DETAIL PAGE (e.g. NaijaPlug)
   ============================================================ */
.website-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.website-gallery > *:first-child { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .website-gallery { grid-template-columns: 1fr; }
}

/* ============================================================
   DESIGN HUB PAGE
   ============================================================ */
.design-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 700px) {
  .design-hub-grid { grid-template-columns: 1fr; }
}

.design-hub-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(40px, 6vw, 64px) clamp(28px, 4vw, 40px);
  transition: border-color 0.15s;
}
.design-hub-card:hover { border-color: var(--accent); }

.design-hub-card h2 {
  color: var(--text);
  margin-bottom: 12px;
  transition: color 0.15s;
}
.design-hub-card:hover h2 { color: var(--accent); }

.design-hub-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

.design-hub-card .project-card__arrow {
  font-size: 1.1rem;
  color: var(--muted);
  transition: color 0.15s, transform 0.15s;
}
.design-hub-card:hover .project-card__arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ============================================================
   MORE PAGE - masonry tab grid
   ============================================================ */

/* CSS-columns masonry: each tile's own image sets its height, so the
   layout shape follows the content instead of a fixed grid. */
.more-grid {
  columns: 2 320px;
  column-gap: 20px;
}
@media (max-width: 640px) {
  .more-grid { columns: 1; }
}

.more-tile {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s;
}
.more-tile:hover,
.more-tile:focus-visible { border-color: var(--accent); }

.more-tile .img-placeholder { width: 100%; border: none; }

/* Show Yourself Magazine keeps the site's standard rectangle shape,
   since it expands to a full page rather than a simple lightbox. */
.more-tile--rect .img-placeholder { aspect-ratio: 4 / 5; }

.more-tile__label {
  display: block;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.15s;
}
.more-tile:hover .more-tile__label { color: var(--accent); }

/* ---------- Lightbox (single-image More pieces) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: clamp(24px, 6vw, 64px);
  background: rgba(15, 15, 15, 0.94);
}
.lightbox[hidden] { display: none; }

.lightbox__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}

.lightbox__content {
  max-width: 88vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox__caption {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.lightbox__close:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- More: dedicated multi-piece page (e.g. Show Yourself Magazine) ---------- */
.more-detail-item + .more-detail-item {
  margin-top: clamp(56px, 8vw, 88px);
}
.more-detail-item h3 { color: var(--text); margin-bottom: 8px; }
.more-detail-item p { color: var(--muted); margin-bottom: 24px; }
.more-detail-item__images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.more-spread { aspect-ratio: 2 / 1; }

.more-spread-slider {
  aspect-ratio: 2 / 1;
  margin-top: 0;
}
.more-spread-slider:hover .hero-slider__arrow,
.more-spread-slider:focus-within .hero-slider__arrow {
  opacity: 1;
}
