/* ==========================================================================
   SHIVANG MATHUR — AUTOMOTIVE & TRANSPORTATION DESIGN PORTFOLIO
   Minimalist Borderless Monochrome System (Dark / Light / Split Themes)
   ========================================================================== */

:root {
  --bg: #070707;
  --bg-elevated: #111111;
  --bg-placeholder: #0e0e0e;
  --ink: #ffffff;
  --ink-muted: #9a9aa0;
  --ink-subtle: #64646c;

  --header-bg: rgba(7, 7, 7, 0.78);
  --header-ink: #ffffff;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-creative: 'Caveat', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --container: 100%;
  --gutter: clamp(14px, 1.8vw, 28px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Light theme (for sketch-heavy or bright projects) */
body[data-theme="light"] {
  --bg: #ffffff;
  --bg-elevated: #f5f5f7;
  --bg-placeholder: #f2f2f4;
  --ink: #0a0a0a;
  --ink-muted: #5a5a62;
  --ink-subtle: #8a8a93;

  --header-bg: rgba(255, 255, 255, 0.85);
  --header-ink: #0a0a0a;
}

/* Split theme: crisp white header + intro band -> pure black showcase below */
body[data-theme="split"] {
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-ink: #0a0a0a;
}

body[data-theme="split"] .project-intro-band {
  background: #ffffff;
  color: #0a0a0a;
  --ink: #0a0a0a;
  --ink-muted: #55555d;
  --ink-subtle: #8a8a93;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-size: 0.8125rem; /* 13px quiet studio base */
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   HEADER & NAVIGATION (Borderless)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  color: var(--header-ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

/* On Homepage, header floats cleanly over the full-bleed 100vh hero */
.site-header.is-overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(7, 7, 7, 0.62), rgba(7, 7, 7, 0));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.brand-mark-svg {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.brand-name-text {
  display: inline-block;
  max-width: 340px;
  overflow: hidden;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.28s var(--ease), max-width 0.35s var(--ease), transform 0.28s var(--ease);
}

/* Collapse name on scroll, leaving only the logo symbol */
.site-header.is-scrolled .brand-name-text {
  opacity: 0;
  max-width: 0;
  transform: translateX(-6px);
  pointer-events: none;
}

.site-header.is-scrolled .brand-mark {
  gap: 0;
}

.site-header.is-overlay.is-scrolled {
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.72;
  transition: opacity 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
}

/* ==========================================================================
   HOMEPAGE — EDGE-TO-EDGE HERO (70VH, NAME + CV STACKED HIGHER ON RIGHT)
   ========================================================================== */
.creative-display {
  font-family: var(--font-creative);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.full-bleed-hero {
  position: relative;
  width: 100vw;
  height: 70svh;
  min-height: 430px;
  max-height: 680px;
  overflow: hidden;
  background: #070707;
}

.full-bleed-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.full-bleed-media video,
.full-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.full-bleed-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(7, 7, 7, 0.82) 0%,
    rgba(7, 7, 7, 0.42) 48%,
    rgba(7, 7, 7, 0.14) 100%
  );
  pointer-events: none;
}

.full-bleed-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 64px;
  padding-bottom: 24px;
  padding-right: clamp(28px, 10vw, 170px);
  color: #ffffff;
}

.hero-right-stack {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header-name-graphic {
  height: clamp(54px, 6.2vw, 86px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.hero-tagline {
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
}

.hero-cv-overlay {
  width: 100%;
}

.hero-cv-overlay .cv-list {
  gap: 8px;
}

.hero-cv-overlay .cv-role {
  color: #ffffff;
}

.hero-cv-overlay .cv-org {
  color: rgba(255, 255, 255, 0.68);
}

.hero-cv-overlay .cv-years {
  color: rgba(255, 255, 255, 0.48);
}

/* ==========================================================================
   HOMEPAGE — EXPANDING IMAGE HEADER + BOX-FREE 3-WIDE SYMBOL GRID
   ========================================================================== */
.works-section {
  padding: clamp(22px, 3vw, 38px) 0 clamp(64px, 8vw, 110px);
}

.section-header-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 54px);
  overflow: visible;
}

.header-projects-graphic {
  height: clamp(56px, 6.5vw, 94px);
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  transform: scale(0.84);
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.08s linear;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.project-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 52px) clamp(16px, 2.5vw, 36px);
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: clamp(16px, 2.2vw, 28px) 12px;
  text-align: center;
  transition: transform 0.32s var(--ease), opacity 0.25s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-4px);
}

.card-emblem-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 220px;
}

.emblem-img {
  max-width: 185px;
  max-height: 185px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

.project-card:hover .emblem-img,
.project-card:hover .emblem-placeholder {
  transform: scale(1.06);
}

.emblem-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s var(--ease);
}

.emblem-placeholder svg {
  width: clamp(104px, 11vw, 148px);
  height: clamp(104px, 11vw, 148px);
  stroke: var(--ink);
  fill: none;
  opacity: 0.9;
}

.card-bottom {
  margin-top: 14px;
  text-align: center;
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
  transition: color 0.22s ease;
}

.project-card:hover .card-title {
  color: var(--ink);
}

/* ==========================================================================
   HOMEPAGE — ABOUT & CV SECTION (Borderless)
   ========================================================================== */
.about-section {
  padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.cv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cv-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  font-size: 0.8rem;
}

.cv-role {
  font-weight: 600;
  color: var(--ink);
}

.cv-org {
  color: var(--ink-muted);
  grid-column: 1;
  font-size: 0.76rem;
}

.cv-years {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-subtle);
  white-space: nowrap;
}

/* ==========================================================================
   PROJECT CASE STUDY PAGE (Borderless)
   ========================================================================== */
.project-intro-band {
  padding: clamp(32px, 4.5vw, 56px) 0 clamp(26px, 3.5vw, 44px);
}

.project-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}

.project-kicker {
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.project-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.project-summary {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 20px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-subtle);
  margin-bottom: 2px;
}

.spec-value {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
}

/* Sticky Sub-Navigation for Dual-Vehicle Mahindra Thesis */
.duo-subnav {
  position: sticky;
  top: 78px;
  z-index: 80;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body[data-theme="light"] .duo-subnav {
  background: rgba(255, 255, 255, 0.92);
}

.duo-subnav-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
}

.duo-tab {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.duo-tab:hover,
.duo-tab.active {
  background: #ffffff;
  color: #070707;
}

body[data-theme="light"] .duo-tab {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(10, 10, 10, 0.75);
}

body[data-theme="light"] .duo-tab:hover,
body[data-theme="light"] .duo-tab.active {
  background: #0a0a0a;
  color: #ffffff;
}

/* Full-Bleed Hero & Gallery Sections */
.project-hero-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.case-section {
  padding: clamp(34px, 4.5vw, 60px) 0;
}

.case-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 20px;
  margin-bottom: clamp(14px, 2vw, 22px);
}

.case-section-title {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.case-section-note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  max-width: 58ch;
}

/* Vehicle Divider Banner (inside Mahindra Thesis) */
.vehicle-chapter-banner {
  padding: clamp(24px, 3vw, 40px) 0 clamp(14px, 2vw, 22px);
}

.vehicle-chapter-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px clamp(16px, 3vw, 40px);
  align-items: baseline;
}

.vehicle-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* Media Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}

.stack-media {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 18px);
}

/* Media Slot (Borderless) */
.media-slot {
  position: relative;
  width: 100%;
  background: var(--bg-placeholder);
  overflow: hidden;
  cursor: zoom-in;
}

.media-slot.ratio-16-9 { aspect-ratio: 16 / 9; }
.media-slot.ratio-3-2  { aspect-ratio: 3 / 2; }
.media-slot.ratio-4-3  { aspect-ratio: 4 / 3; }
.media-slot.ratio-1-1  { aspect-ratio: 1 / 1; }

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.media-slot:hover img {
  transform: scale(1.018);
}

.media-caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.66);
  color: #ffffff;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.media-slot.is-placeholder {
  cursor: default;
}

.placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  gap: 6px;
}

.placeholder-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.8;
}

.placeholder-path {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-subtle);
  max-width: 92%;
  word-break: break-all;
}

/* Project Prev / Next Pagination (Borderless) */
.project-pagination {
  padding: clamp(28px, 4vw, 52px) 0;
}

.pagination-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  transition: opacity 0.25s ease;
}

.page-nav-link:hover {
  opacity: 0.7;
}

.page-nav-link.next {
  text-align: right;
  align-items: flex-end;
}

.page-nav-title {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.3vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   SKETCHBOOK PAGE — MARQUEE & THUMBNAIL SLIDESHOW (Borderless)
   ========================================================================== */
.marquee-band {
  overflow: hidden;
  padding: clamp(14px, 2vw, 22px) 0;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  padding-right: clamp(24px, 3vw, 44px);
  white-space: nowrap;
}

.marquee-item.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-muted);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.slideshow-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slideshow-stage {
  position: relative;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.slideshow-btn:hover {
  background: #ffffff;
  color: #000000;
}

.slideshow-btn.prev { left: 12px; }
.slideshow-btn.next { right: 12px; }

.thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-item {
  flex: 0 0 68px;
  height: 68px;
  background: var(--bg-placeholder);
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-subtle);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item.active,
.thumb-item:hover {
  opacity: 1;
}

/* ==========================================================================
   GALLERY PAGE — EDITORIAL PHOTO JOURNAL
   ========================================================================== */
.gallery-journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(16px, 2vw, 28px);
}

.gallery-story-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-story-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.gallery-story-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.gallery-story-desc {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 56ch;
}

/* ==========================================================================
   CONTACT PAGE (Borderless)
   ========================================================================== */
.contact-section {
  padding: clamp(44px, 6vw, 84px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
}

.contact-row a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 5, 5, 0.96);
  color: #ffffff;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px clamp(14px, 3vw, 36px);
}

.lightbox.open {
  display: flex;
}

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-close {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
  background: #ffffff;
  color: #000000;
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 14px 44px;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.lightbox-nav:hover {
  background: #ffffff;
  color: #000000;
}

.lightbox-nav.prev { left: 0; }
.lightbox-nav.next { right: 0; }

.lightbox-bottom {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #a8a8b0;
  padding-top: 6px;
}

/* ==========================================================================
   FOOTER (Borderless)
   ========================================================================== */
.site-footer {
  padding: 28px 0 36px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .project-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .full-bleed-content,
  .project-intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-cv-overlay {
    justify-self: start;
    max-width: 100%;
  }

  .project-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .project-tile-grid,
  .gallery-journal-grid,
  .grid-2,
  .pagination-grid,
  .vehicle-chapter-grid {
    grid-template-columns: 1fr;
  }

  .full-bleed-content {
    padding-right: var(--gutter);
  }

  .full-bleed-hero {
    height: auto;
    min-height: 78svh;
  }

  .page-nav-link.next {
    text-align: left;
    align-items: flex-start;
  }

  .lightbox-stage {
    padding: 12px 0;
  }

  .lightbox-nav {
    top: auto;
    bottom: 8px;
    transform: none;
  }
}
