/* ============================================
   PORTRAITS BY JOSIAH
   Editorial portrait photographer
   Inherits from Josiah Crowell master brief v2.0
============================================ */

:root {
  --bg-primary: #0D0D0D;
  --bg-elevated: #131313;
  --bg-deep: #080808;

  --text-primary: #EDEAE4;
  --text-secondary: rgba(237, 234, 228, 0.82);
  --text-tertiary: rgba(237, 234, 228, 0.68);
  --text-muted: rgba(237, 234, 228, 0.55);
  --text-faint: rgba(237, 234, 228, 0.45);

  --border-subtle: rgba(237, 234, 228, 0.13);
  --border-faint: rgba(237, 234, 228, 0.08);
  --border-medium: rgba(237, 234, 228, 0.25);

  --accent-red: #CC0001;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', Helvetica, Arial, sans-serif;

  --section-padding-y: 88px;
  --section-padding-x: 48px;
  --label-column: 160px;
  --label-gap: 40px;
  --max-width: 1320px;
  --inner-max: 1140px;

  --nav-height: 88px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; padding: 0; }

.hidden-field { display: none; }

/* ============================================
   NAV
============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-faint);
  height: var(--nav-height);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px var(--section-padding-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.nav-logo { display: inline-flex; align-items: center; justify-self: start; }
.nav-logo img { height: 64px; width: auto; }
.nav-inquire {
  justify-self: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color 0.2s ease;
}
.nav-inquire:hover { color: var(--accent-red); }
.nav-links { display: flex; gap: 36px; align-items: center; justify-self: end; }
.nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent-red); }
.nav-links a.current { color: var(--text-primary); }
.nav-toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav-toggle span {
  display: block; width: 20px; height: 1px;
  background: var(--text-primary);
  position: absolute; left: 8px;
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

/* ============================================
   MOSAIC — JS-driven masonry
   Images are positioned absolutely by JS into the
   currently-shortest column. Zero vertical gaps ever.
   Every image's true aspect ratio is preserved.
============================================ */
.mosaic-section {
  padding-top: calc(var(--nav-height) + 6px);
  padding-bottom: 24px;
}
.mosaic {
  position: relative;
  width: 100%;
  padding: 0 4px;
  overflow: hidden;
  /* Height set by JS after layout */
}
.mosaic-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, 0.5) 45%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 5;
}

/* ============================================
   ABOUT INTERSTITIAL — fixed overlay, scroll-triggered.
   Pinned to the viewport. Mosaic scrolls behind it.
   Toggled visible/hidden by JS at scroll thresholds.
============================================ */
.about-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0)    0%,
    rgba(13, 13, 13, 0.88) 22%,
    rgba(13, 13, 13, 0.94) 38%,
    rgba(13, 13, 13, 0.94) 62%,
    rgba(13, 13, 13, 0.88) 78%,
    rgba(13, 13, 13, 0)    100%
  );
}
.about-interstitial.visible { opacity: 1; }
.about-interstitial-inner {
  max-width: 760px;
  padding: 0 var(--section-padding-x);
  text-align: center;
}
.about-interstitial-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 28px;
}
.about-interstitial-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  margin: 0 0 32px;
  max-width: 22ch;
  margin-inline: auto;
}
.about-interstitial-body {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 auto 16px;
  max-width: 58ch;
}
.about-interstitial-body:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .about-interstitial-eyebrow { margin-bottom: 20px; }
  .about-interstitial-title { margin-bottom: 22px; }
}
.mosaic-item {
  position: absolute;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-deep);
  display: block;
  padding: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  /* top/left/width/height set by JS */
}
.mosaic-item.placed {
  opacity: 1;
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-item:focus-visible { outline: 2px solid var(--accent-red); outline-offset: -2px; z-index: 2; }

/* Classes kept for JS compatibility — no CSS effect, sizing is done in JS */
.mosaic-item.size-hero {}
.mosaic-item.size-large {}

/* ============================================
   MOSAIC STORY TILES — navigable cards scattered through the feed
   Image on top + meta block below. Taller than standard portrait tiles
   so they register as "different" visually.
============================================ */
.mosaic-item.story-tile {
  cursor: pointer;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--accent-red);
  transition: opacity 0.5s ease, box-shadow 0.3s ease;
}
.mosaic-item.story-tile:hover {
  box-shadow: 0 0 0 1px var(--accent-red);
}
.mosaic-item.story-tile:hover .story-tile-image img {
  transform: scale(1.04);
}
.mosaic-item.story-tile:hover .story-tile-title {
  color: var(--text-primary);
}
.mosaic-item.story-tile:hover .story-tile-cta {
  color: var(--text-primary);
}
.mosaic-item.story-tile:hover .story-tile-cta span {
  transform: translateX(4px);
}
.story-tile-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  flex: 0 0 auto;
  width: 100%;
}
.story-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-tile-meta {
  flex: 1 1 auto;
  padding: clamp(10px, 1.1vw, 16px) clamp(12px, 1.3vw, 20px);
  border-top: 1px solid var(--border-faint);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 0;
}
.story-tile-sublabel {
  font-family: var(--font-sans);
  font-size: clamp(8px, 0.7vw, 10px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-red);
}
.story-tile-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.1;
  margin: 0;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.story-tile-cta {
  font-family: var(--font-sans);
  font-size: clamp(8px, 0.65vw, 10px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}
.story-tile-cta span { transition: transform 0.3s ease; }

.mosaic-footnote {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding: 0 var(--section-padding-x);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
}

/* ============================================
   SECTIONS (label grid)
============================================ */
.section {
  padding: var(--section-padding-y) var(--section-padding-x);
  border-top: 1px solid var(--border-subtle);
}
.section-inner { max-width: var(--max-width); margin: 0 auto; width: 100%; }
.label-grid {
  display: grid;
  grid-template-columns: var(--label-column) 1fr;
  column-gap: var(--label-gap);
  align-items: start;
}
.label {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 6px;
}
.content { max-width: var(--inner-max); }
.section-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--text-secondary);
  margin: 0 0 36px;
  line-height: 1.5;
}
.section-aside {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* About */
.thesis {
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 48px;
  max-width: 22ch;
}
.thesis-small {
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 24px;
  max-width: 28ch;
}
.bio p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 18px;
  max-width: 58ch;
}
.bio p:last-child { margin-bottom: 0; }

/* ============================================
   STORIES
============================================ */
.section-stories { padding-bottom: calc(var(--section-padding-y) - 24px); }
.stories-grid {
  max-width: var(--max-width);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.stories-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stories-archive-link {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.stories-archive-link:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.stories-archive-link span { transition: transform 0.3s ease; }
.stories-archive-link:hover span { transform: translateX(4px); }
.story-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border-faint);
  transition: border-color 0.3s ease;
  overflow: hidden;
}
.story-card:hover { border-color: var(--border-medium); }
.story-card:hover .story-image img { transform: scale(1.04); }
.story-card:hover .story-cta { color: var(--text-primary); }
.story-card:hover .story-cta span { transform: translateX(4px); }
.story-image { overflow: hidden; aspect-ratio: 4 / 5; }
.story-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-meta { padding: 28px 32px 32px; border-top: 1px solid var(--border-faint); }
.story-sublabel {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-red);
  display: block;
  margin-bottom: 12px;
}
.story-title { font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0 0 18px; }
.story-cta {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.story-cta span { transition: transform 0.3s ease; }
.stories-footnote { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-subtle); }

/* ============================================
   INQUIRE FORM
============================================ */
.section-inquire-thesis {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  max-width: none;
  margin: 0 0 64px;
}
.inquire-copy {
  font-size: 21px; line-height: 1.65;
  color: var(--text-secondary);
  font-family: var(--font-display);
  max-width: 60ch;
  margin: 0 0 56px;
}
.inquiry-form { max-width: none; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-row-2 .form-field { margin-bottom: 0; }
.form-field label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-field input, .form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  padding: 10px 0;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.form-field textarea {
  border: 1px solid var(--border-medium);
  padding: 14px 16px;
  resize: vertical;
  min-height: 160px;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent-red); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-faint); font-style: italic; }

/* Two-column grid: left holds stacked inputs, right holds tall message */
.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 40px;
  align-items: stretch;
}
.inquiry-form-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.inquiry-form-left .form-field { margin-bottom: 0; }
.inquiry-form-right { display: flex; }
.inquiry-form-right .form-field-message {
  flex: 1 1 auto;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
.inquiry-form-right .form-field-message textarea {
  flex: 1 1 auto;
  min-height: 0;
  resize: none;
}

/* Footer row: submit button + direct email line */
.inquiry-form-footer {
  margin-top: 16px;
}
.submit-btn {
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--accent-red);
  padding: 16px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background 0.25s ease, color 0.25s ease;
}
.submit-btn:hover { background: var(--accent-red); border-color: var(--accent-red); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-btn-arrow {
  color: var(--accent-red);
  transition: transform 0.25s ease, color 0.25s ease;
  font-size: 14px;
  line-height: 1;
}
.submit-btn:hover .submit-btn-arrow {
  color: var(--text-primary);
  transform: translateX(4px);
}
.inquiry-direct {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-secondary);
}
.inquiry-direct a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.inquiry-direct a:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

/* ============================================
   FOOTER
============================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  padding: 64px var(--section-padding-x) 24px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-col-brand { display: flex; flex-direction: column; gap: 20px; max-width: 360px; align-items: flex-start; }
.footer-logo { height: 80px; width: auto; align-self: flex-start; }
.footer-tagline {
  font-style: italic; font-size: 17px;
  color: var(--text-muted);
  margin: 0; line-height: 1.5;
}
.footer-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.footer-col a { color: var(--text-secondary); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text-primary); }
.footer-muted { color: var(--text-muted); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================
   EGM CREDIT BLOCK - canonical Made-by-End-Goal-Media
   attribution. Bottom-right of footer.
============================================ */
.egm-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-faint);
  transition: color 0.25s ease;
  line-height: 1;
}
.egm-credit-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
.egm-credit-text {
  font-family: 'Oswald', 'Inter', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.25s ease;
}
.egm-credit-arrow {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--accent-red);
  margin-left: 2px;
  transition: transform 0.25s ease, color 0.25s ease;
  display: inline-block;
}
.egm-credit:hover .egm-credit-text { color: var(--text-secondary); }
.egm-credit:hover .egm-credit-icon { opacity: 1; }
.egm-credit:hover .egm-credit-arrow { transform: translateX(4px); }

.footer-bottom a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--text-primary); }

/* ============================================
   STICKY FOOTER BAR — appears after ~10% scroll,
   hides when the real footer reaches viewport.
============================================ */
.sticky-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-faint);
  height: var(--nav-height);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sticky-footer.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.sticky-footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.sticky-footer-logo img { height: 64px; width: auto; }
.sticky-footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.sticky-footer-links a,
.sticky-footer-cta {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.sticky-footer-links a:hover,
.sticky-footer-cta:hover {
  color: var(--text-primary);
}
.sticky-footer-cta {
  color: var(--accent-red);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .sticky-footer-links { gap: 18px; }
  .sticky-footer-links a { font-size: 9px; letter-spacing: 0.18em; }
}
@media (max-width: 640px) {
  .sticky-footer-links { display: none; }
  .sticky-footer-inner { padding: 0 var(--section-padding-x); gap: 16px; }
  .sticky-footer-logo img { height: 42px; }
}

/* ============================================
   LIGHTBOX
============================================ */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-image-wrap { max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto; height: auto;
  object-fit: contain;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: var(--text-primary);
  font-size: 24px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s ease;
  opacity: 0.7;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 20px; right: 20px; font-size: 28px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE — TABLET (< 900px)
============================================ */
@media (max-width: 900px) {
  :root {
    --section-padding-y: 72px;
    --section-padding-x: 32px;
    --label-column: 100px;
    --label-gap: 24px;
  }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-inquire { font-size: 13px; letter-spacing: 0.2em; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(14px);
    padding: 24px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  /* Mosaic column count handled by JS (reads viewport width) */

  .stories-grid { grid-template-columns: 1fr; gap: 32px; }
  .stories-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .inquiry-form-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .inquiry-form-right .form-field-message textarea { min-height: 240px; resize: vertical; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col-brand { grid-column: 1 / -1; }
}

/* ============================================
   RESPONSIVE — MOBILE (< 640px)
============================================ */
@media (max-width: 640px) {
  :root {
    --nav-height: 68px;
    --section-padding-y: 56px;
    --section-padding-x: 22px;
  }
  body { font-size: 17px; }
  .nav-inner { padding: 10px var(--section-padding-x); }
  .nav-logo img { height: 48px; }

  /* Mosaic column count handled by JS (reads viewport width) */

  .label-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .label { padding-top: 0; }
  .thesis { font-size: 28px; margin-bottom: 32px; }
  .thesis-small { font-size: 22px; margin-bottom: 20px; }
  .section-inquire-thesis { font-size: 30px; margin-bottom: 24px; }
  .inquire-copy { font-size: 18px; margin-bottom: 36px; }
  .section-intro { font-size: 18px; margin-bottom: 28px; }

  .form-row-2 { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row-2 .form-field { margin-bottom: 20px; }
  .inquiry-form-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .inquiry-form-right .form-field-message textarea { min-height: 220px; resize: vertical; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-col-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }

  .lightbox { padding: 20px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .story-meta { padding: 22px 24px 26px; }
  .story-title { font-size: 26px; }
}
