/* =============================================
   JOSIAH CROWELL - STYLES
   Editorial dark palette, 110px label grid
   Canonical red #CC0001
   ============================================= */

/* =============================================
   SELF-HOSTED FONTS
   Eliminates render-blocking Google Fonts request.
   font-display: swap shows fallback text immediately,
   then swaps to webfont when loaded. Prevents invisible
   text during font download (the "FOIT" problem).
   ============================================= */

/* Cormorant Garamond - display serif for headlines and tagline italics */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorantgaramond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorantgaramond-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorantgaramond-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorantgaramond-italic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorantgaramond-italic-500.woff2') format('woff2');
}

/* Inter - sans-serif for body text and labels */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
}

/* Oswald - End Goal Media credit line only */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/oswald-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/oswald-600.woff2') format('woff2');
}

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

  /* Text */
  --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);

  /* Borders */
  --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 */
  --accent-red: #CC0001;
  --bronze: #C9A87C;

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

  /* Spacing */
  --section-padding-y: 80px;
  --section-padding-x: 48px;
  --label-column: 140px;
  --label-gap: 40px;
  --max-width: 1320px;
}

/* =============================================
   RESET + BASE
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */

.label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}

.label-accent {
  color: var(--accent-red);
}

.label-muted {
  color: var(--text-muted);
}

.text-dim {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-tertiary);
}

em {
  font-style: italic;
}

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-mark {
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-signature {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity 0.25s ease;
}

.nav-mark:hover .nav-signature {
  opacity: 0.8;
}

.nav-mark-faded {
  opacity: 0.4;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent-red);
}

.nav-links a.nav-primary {
  font-weight: 600;
  letter-spacing: 0.2em;
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* =============================================
   SECTIONS - SHARED
   ============================================= */

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
  border-top: 0.5px solid var(--border-subtle);
}

.section-elevated {
  background: var(--bg-elevated);
}

.section-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--label-column) 1fr;
  gap: var(--label-gap);
  align-items: start;
}

.label-sticky {
  padding-top: 6px;
}

.section-body {
  max-width: 1140px;
}

.section-body p {
  margin-bottom: 1.15em;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.section-intro {
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  color: var(--text-tertiary);
  margin-bottom: 40px !important;
  max-width: 540px;
  line-height: 1.5;
}

/* =============================================
   CONSULTING PAGE
   ============================================= */

/* Hero variant for sub-pages (smaller name, headline-style) */
.hero-page {
  padding: 80px var(--section-padding-x) 70px;
}

.page-headline {
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 920px;
  margin-bottom: 36px;
}

.hero-cta {
  margin-top: 40px;
}

/* Consulting list (bullet points with editorial feel) */
.consulting-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}

.consulting-list li {
  padding: 14px 0 14px 24px;
  position: relative;
  border-bottom: 0.5px solid var(--border-faint);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.consulting-list li:last-child {
  border-bottom: none;
}

.consulting-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 10px;
  height: 0.5px;
  background: var(--accent-red);
}

/* Pull quote for emotional beats */
.pull-quote {
  font-size: 26px;
  font-style: italic;
  color: var(--text-primary);
  padding: 32px 0 4px;
  margin-top: 8px !important;
  border-top: 0.5px solid var(--border-subtle);
  max-width: 640px;
  line-height: 1.35;
}

/* Engagement blocks (three service tiers) */
.engagement {
  padding: 28px 0;
  border-bottom: 0.5px solid var(--border-subtle);
}

.engagement:first-of-type {
  padding-top: 0;
}

.engagement:last-of-type {
  border-bottom: 0.5px solid var(--border-subtle);
}

.engagement-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin: 0 0 6px;
  flex-wrap: wrap;
}

.engagement-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-primary);
}

.engagement-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent-red);
  letter-spacing: -0.01em;
}

.engagement-price-soft {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0;
}

.engagement-meta {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--accent-red);
  margin: 0 0 14px !important;
}

.engagement p:last-child {
  margin-bottom: 0;
}

.engagement-footnote {
  margin-top: 32px !important;
  padding-top: 24px;
  border-top: 0;
  font-size: 18px;
  color: var(--text-tertiary);
  max-width: 660px;
}

/* Case studies (proof section) */
.case-study {
  padding: 28px 0;
  border-bottom: 0.5px solid var(--border-subtle);
}

.case-study:first-of-type {
  padding-top: 0;
}

.case-study:last-of-type {
  border-bottom: none;
}

.case-study-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--text-primary);
}

.case-study-meta {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 16px !important;
}

.case-study p:last-child {
  margin-bottom: 0;
}

/* Testimonial blockquote */
.testimonial {
  margin: 0;
  padding: 20px 0 0;
  border-left: 2px solid var(--accent-red);
  padding-left: 22px;
}

.testimonial p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 14px !important;
}

.testimonial footer {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   ABOUT LAYOUT (portrait + copy)
   ============================================= */

.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 980px;
}

.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-deep);
  border: 0.5px solid var(--border-faint);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) brightness(0.95) contrast(1.02);
}

/* =============================================
   HERO
   ============================================= */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--section-padding-x) 100px;
}

.hero-meta {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 48px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 132px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.hero-thesis {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 560px;
}

/* =============================================
   BOOK SECTION
   ============================================= */

/* Brain background texture - centered behind content, matches wisdomforgebook.com treatment */
.section-book {
  position: relative;
  overflow: hidden;
}

.section-book::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/brain-bg.png?v=4');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: min(1100px, 92%) auto;
  pointer-events: none;
  z-index: 0;
}

.section-book .section-grid {
  position: relative;
  z-index: 1;
}

.book-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

/* ---- 3D Spinning Book ---- */

.book-3d-wrapper {
  --book-front: url('images/cover-front.png');
  --book-back: url('images/cover-back.png');
  --book-spine: url('images/cover-spine.png');
  --bw: 290px;
  --bh: 395px;
  --bd: 35px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.book-copy {
  padding-top: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-copy .label {
  display: block;
  margin-bottom: 14px;
}

@keyframes bookCarousel {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

@keyframes bookShadowCarousel {
  0%   { transform: translateX(-50%) scaleX(0.9); opacity: 0.5; }
  25%  { transform: translateX(-45%) scaleX(0.6); opacity: 0.3; }
  50%  { transform: translateX(-50%) scaleX(0.9); opacity: 0.5; }
  75%  { transform: translateX(-55%) scaleX(0.6); opacity: 0.3; }
  100% { transform: translateX(-50%) scaleX(0.9); opacity: 0.5; }
}

.book-scene {
  perspective: 1600px;
  width: var(--bw);
  height: var(--bh);
  position: relative;
}

.book-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: bookCarousel 22s linear infinite;
}

.book-scene:hover .book-3d,
.book-scene:hover .book-3d-shadow {
  animation-play-state: paused;
}

.book-face {
  position: absolute;
  backface-visibility: visible;
}

.book-front {
  width: var(--bw);
  height: var(--bh);
  transform: translateZ(calc(var(--bd) / 2));
  background: var(--book-front) center/cover no-repeat, #0A0A0A;
  box-shadow: 3px 0 18px rgba(0, 0, 0, 0.5);
  border-radius: 0 2px 2px 0;
}

.book-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.15) 100%);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

.book-back {
  width: var(--bw);
  height: var(--bh);
  transform: rotateY(180deg) translateZ(calc(var(--bd) / 2));
  background: var(--book-back) center/cover no-repeat;
  background-color: #0A0A0A;
  box-shadow: -3px 0 18px rgba(0, 0, 0, 0.5);
  border-radius: 2px 0 0 2px;
}

.book-spine-face {
  width: var(--bd);
  height: var(--bh);
  transform: rotateY(-90deg) translateZ(calc(var(--bd) / 2));
  background: var(--book-spine) center/cover no-repeat;
  background-color: #0A0A0A;
}

.book-spine-left {
  width: var(--bd);
  height: var(--bh);
  transform: rotateY(90deg) translateZ(calc(var(--bw) - var(--bd) / 2));
  background: repeating-linear-gradient(to bottom, #F5F0E0 0px, #F5F0E0 1px, #EDE5D5 1px, #EDE5D5 3px);
  box-shadow: inset 2px 0 10px rgba(0, 0, 0, 0.2);
}

.book-pages {
  position: absolute;
  width: calc(var(--bw) - 4px);
  height: calc(var(--bh) - 6px);
  right: 0;
  top: 3px;
  transform: translateZ(calc(var(--bd) / -2 + 1px));
  background: linear-gradient(90deg, #F5F0E0, #EDE8D5, #F5F0E0);
  border-radius: 0 2px 2px 0;
  box-shadow: inset -4px 0 12px rgba(0, 0, 0, 0.1);
}

.book-3d-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  filter: blur(12px);
  animation: bookShadowCarousel 22s linear infinite;
}

.book-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.book-subtitle {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.45;
  color: var(--text-tertiary);
  margin-bottom: 20px !important;
  max-width: 460px;
}

.book-description {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-tertiary);
  margin-bottom: 30px !important;
  max-width: 420px;
}

/* =============================================
   BUTTONS
   ============================================= */

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 0.5px solid var(--accent-red);
  color: var(--text-primary);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-red);
  color: var(--text-primary);
}

.button:hover .button-arrow {
  color: var(--text-primary);
}

.button-arrow {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent-red);
  transition: color 0.25s ease, transform 0.25s ease;
}

.button:hover .button-arrow {
  transform: translateX(2px);
}

.button-submit {
  margin-top: 8px;
}

/* =============================================
   WORK TILES
   ============================================= */

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  max-width: 1140px;
}

.tile {
  display: flex;
  flex-direction: column;
  padding: 38px 32px 32px;
  background: var(--bg-primary);
  transition: background 0.25s ease;
  position: relative;
  min-height: 240px;
}

.tile:hover {
  background: var(--bg-elevated);
}

.tile:hover .tile-arrow {
  transform: translateX(4px);
  color: var(--accent-red);
}

.tile-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 18px;
}

.tile-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.tile-copy {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-tertiary);
  flex: 1;
}

.tile-copy em + br + em,
.tile-copy br {
  display: block;
  margin-bottom: 6px;
}

.tile-arrow {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-muted);
  margin-top: 24px;
  transition: transform 0.25s ease, color 0.25s ease;
  align-self: flex-start;
}

/* =============================================
   PANES - Work With Me stacked preview layout
   ============================================= */

.panes {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-subtle);
  max-width: 1140px;
  border-top: 0.5px solid var(--border-subtle);
  border-bottom: 0.5px solid var(--border-subtle);
}

.pane {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 1.4fr;
  gap: 0;
  background: var(--bg-primary);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
  min-height: 280px;
}

.pane:hover {
  background: var(--bg-elevated);
}

.pane:hover .pane-arrow {
  transform: translateX(4px);
  color: var(--accent-red);
}

/* Pane-split: for the Portraits pane only, where left-side is the link
   and right-side is the standalone draggable track. Prevents native link-drag
   from interfering with carousel drag. */
.pane-split {
  /* Same as .pane but the entire block is not wrapped in an anchor */
}

.pane-split .pane-left {
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease;
  cursor: pointer;
}

.pane-split .pane-left:hover {
  background: var(--bg-elevated);
}

.pane-split .pane-left:hover .pane-arrow {
  transform: translateX(4px);
  color: var(--accent-red);
}

.pane-left {
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  border-right: 0.5px solid var(--border-subtle);
}

.pane-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 22px;
}

.pane-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.pane-logo {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.pane-logo-egm {
  width: 32px;
  height: 32px;
}

.pane-logo-pbj {
  width: 52px;
  height: 65px;
  margin-top: -4px;
  margin-bottom: -4px;
}

.pane-logo-jc {
  width: 32px;
  height: 32px;
}

.pane-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.15;
}

.pane-copy {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-tertiary);
  margin: 0 0 auto 0;
  flex: 1;
  max-width: 380px;
}

.pane-arrow {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-muted);
  margin-top: 28px;
  transition: transform 0.25s ease, color 0.25s ease;
  align-self: flex-start;
}

/* Right-side preview content */
.pane-right {
  padding: 40px 40px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pane 1: EGM services grid */
.pane-right-egm {
  padding: 36px 40px;
}

.pane-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-faint);
  width: 100%;
  max-width: 440px;
  border: 0.5px solid var(--border-faint);
}

.pane-service {
  background: var(--bg-primary);
  padding: 28px 20px;
  text-align: center;
  transition: background 0.2s ease;
}

.pane:hover .pane-service {
  background: var(--bg-elevated);
}

.pane-service-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
}

/* Pane 2: Portrait draggable track */
.pane-right-pbj {
  padding: 28px 0 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pane-portraits-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  cursor: grab;
  user-select: none;
  /* Hide scrollbars but keep functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 40px;
}

.pane-portraits-track::-webkit-scrollbar {
  display: none;
}

.pane-portraits-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.pane-portraits-track .pane-portrait {
  flex: 0 0 auto;
  width: 180px;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-deep);
  cursor: pointer;
  margin: 0;
}

.pane-portraits-track .pane-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, opacity 0.3s ease;
  opacity: 0.92;
  pointer-events: none; /* let clicks bubble to container, prevent image-drag interference */
  -webkit-user-drag: none;
}

.pane-portraits-track .pane-portrait:hover img {
  opacity: 1;
  transform: none; /* override .portrait:hover img scale */
}


.pane-portraits-hint {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 16px;
  padding-right: 40px;
  text-align: right;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.pane:hover .pane-portraits-hint {
  opacity: 1;
  color: var(--accent-red);
}

/* Pane 3: Consulting preview */
.pane-right-consulting {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 40px 44px;
}

.pane-consulting-overline {
  color: var(--accent-red);
  margin-bottom: 18px;
  font-size: 11px;
}

.pane-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 18px 0;
  max-width: 560px;
}

.pane-subhead {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-tertiary);
  margin: 0 0 26px 0;
  max-width: 520px;
}

.pane-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 11px 20px;
  border: 0.5px solid var(--accent-red);
  transition: background 0.25s ease, color 0.25s ease;
}

.pane:hover .pane-cta {
  background: var(--accent-red);
  color: var(--text-primary);
}

.pane-cta-arrow {
  font-size: 13px;
  color: var(--accent-red);
  transition: color 0.25s ease, transform 0.25s ease;
}

.pane:hover .pane-cta-arrow {
  color: var(--text-primary);
  transform: translateX(2px);
}

/* =============================================
   ESSAYS / DISPATCHES
   ============================================= */

.essays-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
  max-width: 1140px;
}

.essay {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 0.5px solid var(--border-subtle);
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.essay:hover {
  border-color: var(--accent-red);
  transform: translateY(-3px);
}

.essay-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.essay-link:hover {
  color: inherit;
}

.essay-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
  border-bottom: 0.5px solid var(--border-subtle);
  transition: opacity 0.3s ease;
}

.essay:hover .essay-image {
  opacity: 0.88;
}

.essay-image-placeholder {
  background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
  position: relative;
}

.essay-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(204, 0, 1, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(201, 168, 124, 0.03) 0%, transparent 50%);
}

.essay-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.essay-date {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 12px;
}

.essay-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.essay-excerpt {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-tertiary);
  margin-bottom: 20px;
  flex: 1;
}

.essay-cta {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 0.5px solid var(--border-faint);
}

.essay-cta-arrow {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent-red);
  transition: transform 0.25s ease;
}

.essay:hover .essay-cta-arrow {
  transform: translateX(3px);
}

.dispatches-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* =============================================
   PORTRAITS GRID
   ============================================= */

.portraits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 36px;
  max-width: 1140px;
}

.portrait {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-deep);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.92);
}

.portrait:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

.selected-cta {
  display: flex;
  justify-content: flex-start;
}

/* Selected Work - infinite drifting track */
.portraits-track-wrap {
  max-width: 1140px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portraits-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.portraits-track::-webkit-scrollbar {
  display: none;
}

.portraits-track.is-dragging {
  cursor: grabbing;
}

.portrait-track-item {
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-deep);
  border: 0.5px solid var(--border-faint);
  cursor: pointer;
  margin: 0;
}

.portrait-track-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  filter: brightness(0.92);
  transition: filter 0.4s ease;
}

.portrait-track-item:hover img {
  filter: brightness(1);
}

/* =============================================
   FAQ ACCORDION
   ============================================= */

.faq-list {
  max-width: 920px;
  border-top: 0.5px solid var(--border-faint);
}

.faq-item {
  border-bottom: 0.5px solid var(--border-faint);
  padding: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-red);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--accent-red);
}

.faq-answer {
  padding: 0 0 28px;
  max-width: 780px;
}

.faq-answer p {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* =============================================
   CONTACT FORM
   ============================================= */

.contact-form {
  max-width: 1140px;
  margin-bottom: 32px;
}

@media (min-width: 901px) {
  .contact-form {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
  }

  .contact-form .form-fields-left {
    display: flex;
    flex-direction: column;
  }

  .contact-form .form-fields-right {
    display: flex;
    flex-direction: column;
  }

  .contact-form .form-fields-right .form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .contact-form .form-fields-right textarea {
    flex: 1;
    min-height: 240px;
  }

  .contact-form .button-submit {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .contact-form .honeypot {
    grid-column: 1 / -1;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-deep);
  border: 0.5px solid var(--border-medium);
  color: var(--text-primary);
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 15px;
  border-radius: 2px;
  transition: border-color 0.2s ease;
  width: 100%;
}

.contact-form textarea {
  max-width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-red);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-display);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-direct {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 20px !important;
}

.contact-direct a {
  color: var(--text-primary);
  border-bottom: 0.5px solid var(--accent-red);
  padding-bottom: 2px;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--bg-deep);
  padding: 56px var(--section-padding-x) 32px;
  border-top: 0.5px solid var(--border-subtle);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding: 0;
}

.footer-brand .nav-mark {
  display: block;
  margin-bottom: 14px;
}

.footer-mark .nav-signature {
  height: 44px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-col .label {
  display: block;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 0.5px solid var(--border-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright,
.footer-credit {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* End Goal Media footer credit - appears on all sites as agency signature */
.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);
}

/* =============================================
   RESPONSIVE - TABLET
   ============================================= */

@media (max-width: 900px) {
  :root {
    --section-padding-x: 32px;
    --section-padding-y: 64px;
    --label-column: 100px;
    --label-gap: 24px;
  }

  .hero {
    padding: 80px 32px 72px;
  }

  .tiles {
    grid-template-columns: 1fr;
  }

  .pane {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pane-left {
    border-right: none;
    border-bottom: 0.5px solid var(--border-subtle);
    padding: 32px 32px 28px;
  }

  .pane-right {
    padding: 28px 32px 36px;
  }

  .pane-right-egm,
  .pane-right-pbj,
  .pane-right-consulting {
    padding: 28px 32px 36px;
  }

  .pane-title {
    font-size: 24px;
  }

  .pane-headline {
    font-size: clamp(22px, 3.6vw, 28px);
  }

  .essays-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portraits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .portrait-track-item {
    width: 240px;
  }

  .book-block {
    grid-template-columns: 160px 1fr;
    gap: 36px;
  }

  .book-3d-wrapper {
    --bw: 140px;
    --bh: 189px;
    --bd: 18px;
  }

  .book-3d-shadow {
    width: 140px;
  }

  .about-layout {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }

  .nav-signature {
    height: 32px;
  }

  .footer-mark .nav-signature {
    height: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .page-headline {
    font-size: clamp(32px, 5vw, 48px);
  }
}

/* =============================================
   RESPONSIVE - MOBILE
   ============================================= */

@media (max-width: 640px) {
  :root {
    --section-padding-x: 22px;
    --section-padding-y: 52px;
    --label-column: 1fr;
    --label-gap: 16px;
  }

  .section-book::before {
    display: none;
  }

  .nav-inner {
    padding: 18px 22px;
  }

  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 0.5px solid var(--border-subtle);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .label-sticky {
    padding-top: 0;
  }

  .hero {
    padding: 64px 22px 56px;
  }

  .hero-meta {
    margin-bottom: 36px;
  }

  .hero-name {
    font-size: 56px;
    margin-bottom: 32px;
  }

  .page-headline {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-thesis {
    font-size: 20px;
  }

  .consulting-list li {
    font-size: 16px;
  }

  .pull-quote {
    font-size: 19px;
  }

  .engagement-title,
  .case-study-title {
    font-size: 22px;
  }

  .testimonial p {
    font-size: 16px;
  }

  .book-block {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
  }

  .book-3d-wrapper {
    --bw: 160px;
    --bh: 216px;
    --bd: 20px;
    padding: 30px 0 40px;
  }

  .book-3d-shadow {
    width: 160px;
  }

  .book-title {
    font-size: 28px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-portrait {
    max-width: 240px;
  }

  .nav-signature {
    height: 28px;
  }

  .footer-mark .nav-signature {
    height: 36px;
  }

  .essays-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portraits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .portrait-track-item {
    width: 200px;
  }

  .tile {
    padding: 24px 20px;
    min-height: auto;
  }

  .pane-left {
    padding: 26px 22px 22px;
  }

  .pane-right,
  .pane-right-egm,
  .pane-right-pbj,
  .pane-right-consulting {
    padding: 22px 22px 30px;
  }

  .pane-title {
    font-size: 22px;
  }

  .pane-logo-egm {
    width: 26px;
    height: 26px;
  }

  .pane-logo-pbj {
    width: 26px;
    height: 32px;
  }

  .pane-logo-jc {
    width: 26px;
    height: 26px;
  }

  .pane-services {
    max-width: 100%;
  }

  .pane-service {
    padding: 22px 16px;
  }

  .pane-service-label {
    font-size: 18px;
  }

  .pane-portraits-track {
    gap: 6px;
    padding-right: 22px;
  }

  .pane-portraits-track .pane-portrait {
    width: 140px;
  }

  .pane-right-pbj {
    padding: 22px 0 22px 22px;
  }

  .pane-portraits-hint {
    padding-right: 22px;
    margin-top: 12px;
  }

  .pane-headline {
    font-size: clamp(20px, 4.2vw, 26px);
  }

  .pane-subhead {
    font-size: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* =============================================
   ACCESSIBILITY + FOCUS STATES
   ============================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 1px solid var(--accent-red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   LIGHTBOX
   ============================================= */

/* Make portraits feel clickable */
.portrait[data-lightbox] {
  cursor: zoom-in;
}

/* Scroll lock when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.lightbox-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.lightbox-close {
  width: 36px;
  height: 36px;
  position: relative;
  background: transparent;
  border: 0.5px solid var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  padding: 0;
}

.lightbox-close:hover {
  border-color: var(--accent-red);
  background: rgba(204, 0, 1, 0.08);
}

.lightbox-close-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 0.5px;
  background: var(--text-primary);
  transform-origin: center;
}

.lightbox-close-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close-line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox-viewmore {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 11px 18px;
  border: 0.5px solid var(--accent-red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: background 0.25s ease;
}

.lightbox-viewmore:hover {
  background: var(--accent-red);
  color: var(--text-primary);
}

.lightbox-viewmore:hover .button-arrow {
  color: var(--text-primary);
}

.lightbox-viewmore .button-arrow {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent-red);
  transition: color 0.25s ease;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(237, 234, 228, 0.06);
  border: 0.5px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(204, 0, 1, 0.12);
  border-color: var(--accent-red);
}

.lightbox-nav-prev {
  left: 28px;
}

.lightbox-nav-next {
  right: 28px;
}

.lightbox-arrow {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  line-height: 1;
  font-weight: 400;
}

.lightbox-imagewrap {
  max-width: 82vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-image.is-loaded {
  opacity: 1;
}

.lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Lightbox responsive */
@media (max-width: 768px) {
  .lightbox-topbar {
    padding: 16px 18px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-nav-prev {
    left: 12px;
  }

  .lightbox-nav-next {
    right: 12px;
  }

  .lightbox-imagewrap {
    max-width: 92vw;
    max-height: 75vh;
  }

  .lightbox-image {
    max-height: 75vh;
  }

  .lightbox-viewmore {
    font-size: 10px;
    padding: 9px 14px;
    letter-spacing: 0.15em;
  }

  .lightbox-counter {
    bottom: 18px;
  }
}
