/* =====================================================
   XTIL'S LENS — Editorial Photography Website
   ===================================================== */

/* ---------- Reset & base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: #080606;
  color: #E9E4DD;
  line-height: 1.7;
  overflow-x: hidden;
  font-feature-settings: "kern", "liga", "ss01";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Design Tokens ----------------------------- */
:root {
  /* palette */
  --ink:        #080606;
  --obsidian:   #0f0c0a;
  --carbon:     #141010;
  --mist:       rgba(255,255,255,0.08);
  --ghost:      rgba(255,255,255,0.55);
  --bone:       #E9E4DD;
  --paper:      #F5EFE7;

  --magenta:    #FF2D8A;
  --fuchsia:    #D946EF;
  --violet:     #7C3AED;
  --amber:      #F5A524;
  --coral:      #FF6B3D;

  --gradient:       linear-gradient(135deg, #FF2D8A 0%, #7C3AED 100%);
  --gradient-warm:  linear-gradient(135deg, #FF2D8A 0%, #F5A524 100%);
  --gradient-cold:  linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);

  /* type */
  --display: 'Fraunces', 'Playfair Display', serif;
  --serif:   'Playfair Display', serif;
  --sans:    'Inter', sans-serif;
  --mono:    'JetBrains Mono', 'Courier New', monospace;

  /* layout */
  --container: 1280px;
  --gutter:    clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 140px);
}

/* ---------- Typography -------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}
em {
  font-style: italic;
  color: var(--magenta);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.num {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0;
}

/* ---------- Grain overlay ----------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 220px;
}

/* ---------- Scroll progress bar ---------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gradient);
  z-index: 10000;
  transition: width 0.05s linear;
}

/* ---------- Custom cursor ---------------------------- */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transition: transform 0.2s ease, width 0.25s ease, height 0.25s ease, opacity 0.3s;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 36px; height: 36px;
  border: 1px solid var(--magenta);
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--magenta);
  opacity: 0;
}
.cursor.visible, .cursor-dot.visible { opacity: 1; }
.cursor.grow {
  width: 72px; height: 72px;
  border-width: 1.5px;
  background: rgba(255, 45, 138, 0.06);
}
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---------- Container / Section ---------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; background: var(--ink); position: relative; }
.section-dark { padding: var(--section-y) 0; background: var(--obsidian); position: relative; }

/* Section headers */
.section-header { margin-bottom: clamp(48px, 6vw, 80px); }
.section-header.centered { text-align: center; }
.section-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--magenta);
  letter-spacing: 0.1em;
  display: inline-block;
  padding-right: 12px;
  border-right: 1px solid var(--mist);
  margin-right: 12px;
}
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ghost);
  font-weight: 500;
  font-family: var(--mono);
  display: inline-block;
}
.section-title {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-family: var(--display);
  color: var(--bone);
  margin-top: 16px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.section-title .line { display: block; }
.section-desc {
  color: var(--ghost);
  max-width: 520px;
  margin-top: 24px;
  font-size: 1rem;
}
.section-header.centered .section-desc { margin-left: auto; margin-right: auto; }
.section-cta { text-align: center; margin-top: 56px; }

/* ---------- Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn .arrow { transition: transform 0.35s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--bone);
  color: var(--ink);
}
.btn-primary:hover { background: var(--magenta); color: var(--bone); transform: translateY(-2px); }

.btn-dark {
  background: var(--ink);
  color: var(--bone);
}
.btn-dark:hover { background: var(--magenta); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta); transform: translateY(-2px); }

.btn-full { width: 100%; justify-content: center; }

/* ---------- Scroll reveal ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-mask {
  overflow: hidden;
}
.reveal-mask > * {
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-mask.visible > * { transform: translateY(0); }

/* ---------- Navbar ----------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: all 0.4s ease;
  mix-blend-mode: difference;
}
.navbar.scrolled {
  padding: 16px 0;
  mix-blend-mode: normal;
  background: rgba(8, 6, 6, 0.85);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid var(--mist);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--bone);
  letter-spacing: -0.02em;
  justify-self: start;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.nav-logo em { color: inherit; font-style: italic; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: center;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--magenta);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--magenta); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.nav-ig {
  color: var(--bone);
  display: flex;
  transition: color 0.2s, transform 0.3s;
}
.nav-ig:hover { color: var(--magenta); transform: scale(1.1); }
.nav-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bone);
  padding: 10px 20px;
  border-radius: 999px;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--magenta); color: var(--bone); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
  justify-self: end;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--bone);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ---------- Hero -------------------------------------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(60px, 9vw, 120px);
}
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide.active::after { animation: kenburns 9s ease-out forwards; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}
.hero-slide {
  background-size: cover;
  animation-fill-mode: forwards;
}
.hero-slide.active {
  z-index: 2;
  animation: irisOpen 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards, kenburns 9s ease-out forwards;
}
@keyframes irisOpen {
  from { clip-path: circle(0% at 50% 50%); }
  to   { clip-path: circle(150% at 50% 50%); }
}
@keyframes kenburns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,6,6,0.15) 0%, rgba(8,6,6,0.1) 40%, rgba(8,6,6,0.85) 100%),
    linear-gradient(90deg, rgba(8,6,6,0.45) 0%, rgba(8,6,6,0.1) 50%, rgba(8,6,6,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.hero-left { max-width: 900px; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--magenta);
}
.hero-title {
  font-size: clamp(3rem, 10vw, 9rem);
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.92;
  color: var(--bone);
  letter-spacing: -0.045em;
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 144;
}
.hero-title .hero-line { display: block; overflow: hidden; }
.hero-title .hero-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .hero-line:nth-child(1) > span { animation-delay: 0.3s; }
.hero-title .hero-line:nth-child(2) > span { animation-delay: 0.5s; }
.hero-title .hero-line:nth-child(3) > span { animation-delay: 0.7s; }
.hero-title em {
  font-style: italic;
  color: var(--magenta);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
@keyframes heroReveal {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-top: 32px;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}
.hero-btns {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-meta {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}
.hero-meta strong { color: var(--bone); font-weight: 500; }

/* Hero indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  opacity: 0;
  animation: fadeUp 1s ease 1.6s forwards;
}
.hero-indicator {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.4s;
  padding: 0;
}
.hero-indicator.active { background: var(--bone); }

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  z-index: 3;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1s ease 1.6s forwards;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--bone), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.2); }
}

/* ---------- Marquee ---------------------------------- */
.marquee {
  padding: 28px 0;
  background: var(--ink);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 16s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 400;
  color: var(--bone);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}
.marquee-item em {
  color: var(--magenta);
  font-style: italic;
}
.marquee-item::after {
  content: '✦';
  color: var(--magenta);
  font-size: 0.7em;
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- About ------------------------------------- */
.about { background: var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.about-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.about-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-image-wrap:hover .about-image { transform: scale(1.05); }

.about-tag {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 8px 14px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--mist);
}
.about-credit {
  position: absolute;
  bottom: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: right;
  line-height: 1.7;
}
.about-credit strong { color: var(--bone); font-weight: 500; }

.about-text .section-title { margin-top: 20px; }
.about-text p {
  color: var(--ghost);
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.about-text strong { color: var(--bone); font-weight: 500; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(24px, 5vw, 60px);
  margin: 40px 0;
  padding-top: 40px;
  border-top: 1px solid var(--mist);
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--bone);
  line-height: 1;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.stat-num em { color: var(--magenta); }
.stat-lbl {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-top: 10px;
}

/* ---------- Featured Work (landing page gallery) ----- */
.work { background: var(--ink); padding-bottom: 0; }
.work-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; flex-wrap: wrap; gap: 24px; }
.work-intro .section-desc { margin-top: 16px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  grid-auto-rows: 280px;
}
.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--carbon);
}
.work-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.work-item:nth-child(2) { grid-column: span 3; }
.work-item:nth-child(3) { grid-column: span 2; }
.work-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.work-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.work-item:nth-child(6) { grid-column: span 2; }
.work-item:nth-child(7) { grid-column: span 2; }

.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}
.work-item:hover img { transform: scale(1.06); filter: brightness(1.08); }

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-overlay-text {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.work-overlay-text em { color: var(--magenta); font-style: normal; }

.work-footer {
  text-align: center;
  padding: 80px 0;
  background: var(--ink);
}

/* ---------- Services --------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--mist);
}
.service-card {
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  position: relative;
  transition: background 0.4s ease;
  cursor: pointer;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:hover { background: var(--carbon); }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gradient);
  transition: width 0.6s ease;
}
.service-card:hover::before { width: 100%; }
.service-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--magenta);
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--mist);
}
.service-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  color: var(--bone);
  margin-bottom: 16px;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.service-card h3 em { color: var(--magenta); }
.service-card p {
  color: var(--ghost);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.service-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--magenta);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.service-card:hover .service-link { gap: 14px; }

/* ---------- Experience / Booking --------------------- */
.experience {
  background: var(--obsidian);
  position: relative;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.exp-card {
  background: var(--ink);
  border: 1px solid var(--mist);
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}
.exp-card:hover {
  border-color: rgba(255,45,138,0.3);
  transform: translateY(-6px);
}
.exp-card.featured {
  background: linear-gradient(180deg, rgba(255,45,138,0.08) 0%, var(--ink) 60%);
  border-color: var(--magenta);
}
.exp-badge {
  position: absolute;
  top: -12px; left: 32px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--magenta);
  color: var(--bone);
}
.exp-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--magenta);
  margin-bottom: 16px;
}
.exp-card h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 12px;
  font-variation-settings: "SOFT" 30;
}
.exp-card h3 em { color: var(--magenta); }
.exp-tagline {
  font-size: 0.9rem;
  color: var(--ghost);
  margin-bottom: 28px;
  line-height: 1.7;
  font-style: italic;
}
.exp-list {
  margin-bottom: 32px;
  flex: 1;
}
.exp-list li {
  font-size: 0.88rem;
  color: var(--ghost);
  padding: 10px 0;
  border-bottom: 1px solid var(--mist);
  display: flex;
  align-items: start;
  gap: 12px;
}
.exp-list li:last-child { border-bottom: none; }
.exp-list li::before {
  content: '→';
  color: var(--magenta);
  font-family: var(--mono);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.exp-price {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ghost);
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--mist);
  text-transform: uppercase;
}
.exp-price strong {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--bone);
  letter-spacing: -0.01em;
  text-transform: none;
  font-feature-settings: "ss01";
}
.exp-price-note { color: var(--ghost); }

.exp-note {
  text-align: center;
  color: var(--ghost);
  font-size: 0.95rem;
  margin-top: 48px;
  font-style: italic;
}
.exp-note a { color: var(--magenta); border-bottom: 1px solid var(--magenta); transition: opacity 0.2s; }
.exp-note a:hover { opacity: 0.75; }

/* ---------- Testimonials ----------------------------- */
.testimonials { background: var(--ink); }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card {
  min-width: calc(50% - 12px);
  flex-shrink: 0;
  padding: 48px;
  background: var(--obsidian);
  border: 1px solid var(--mist);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 24px; left: 32px;
  font-family: var(--display);
  font-size: 6rem;
  line-height: 0.8;
  color: var(--magenta);
  opacity: 0.3;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.testimonial-stars {
  color: var(--amber);
  font-size: 0.9rem;
  letter-spacing: 6px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.testimonial-text {
  font-family: var(--display);
  color: var(--bone);
  font-size: 1.2rem;
  line-height: 1.55;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 70, "WONK" 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--mist);
}
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 500;
  color: var(--bone);
  flex-shrink: 0;
}
.author-name {
  color: var(--bone);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.author-role {
  color: var(--magenta);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 3px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.slider-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--mist);
  border-radius: 50%;
  color: var(--bone);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.slider-btn:hover { border-color: var(--magenta); color: var(--magenta); background: rgba(255,45,138,0.05); }
.slider-dots { display: flex; gap: 10px; align-items: center; }
.dot {
  width: 24px; height: 2px;
  background: var(--mist);
  transition: all 0.3s;
  padding: 0;
  border-radius: 0;
}
.dot.active { background: var(--magenta); width: 48px; }

/* ---------- Blog ------------------------------------- */
.blog { background: var(--obsidian); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.5s ease;
}
.blog-card:hover { transform: translateY(-5px); }
.blog-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--gradient);
}
.blog-img .bi-fill {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
}
.blog-card:hover .bi-fill { transform: scale(1.06); }
.blog-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
}
.blog-meta .blog-date { color: var(--ghost); }
.blog-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--bone);
  margin-bottom: 12px;
  line-height: 1.2;
  font-weight: 400;
  transition: color 0.3s;
}
.blog-card:hover h3 { color: var(--magenta); }
.blog-card p {
  font-size: 0.9rem;
  color: var(--ghost);
  line-height: 1.7;
}

/* ---------- Contact ---------------------------------- */
.contact { background: var(--ink); }
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}
.contact-info .section-title { margin-top: 20px; }
.contact-info > p {
  color: var(--ghost);
  margin: 24px 0 40px;
  font-size: 1.02rem;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mist);
  color: var(--bone);
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.3s;
}
.contact-link:hover { color: var(--magenta); padding-left: 8px; }
.contact-icon {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ghost);
  width: 80px;
  flex-shrink: 0;
}
.contact-link .arr { margin-left: auto; color: var(--magenta); }

.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition: all 0.3s;
}
.social-btn:hover { border-color: var(--magenta); color: var(--magenta); transform: scale(1.05); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }
.form-group label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ghost);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--mist);
  color: var(--bone);
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--magenta); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-group select option { background: var(--carbon); color: var(--bone); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23E9E4DD' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 24px;
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  color: #69E1A0;
  font-size: 0.9rem;
  padding: 14px 18px;
  background: rgba(105,225,160,0.06);
  border: 1px solid rgba(105,225,160,0.2);
}
.form-success.show { display: flex; }

/* ---------- Footer ----------------------------------- */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--mist);
  padding: 80px 0 32px;
}
.footer-cta {
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--bone);
  letter-spacing: -0.03em;
  margin-bottom: 60px;
  max-width: 1000px;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.footer-cta em { color: var(--magenta); }
.footer-cta a {
  color: var(--bone);
  transition: color 0.3s;
  border-bottom: 2px solid var(--magenta);
  padding-bottom: 4px;
}
.footer-cta a:hover { color: var(--magenta); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid var(--mist);
}
.footer-brand .footer-logo {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--bone);
  display: block;
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.footer-brand p {
  color: var(--ghost);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ghost);
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--bone); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--magenta); }

.footer-bottom {
  padding-top: 40px;
  margin-top: 60px;
  border-top: 1px solid var(--mist);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p, .footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.footer-bottom a:hover { color: var(--magenta); }

/* ---------- Lightbox --------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 6, 0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s ease;
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--mist);
  color: var(--bone);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.3s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--magenta); border-color: var(--magenta); }
.lightbox-close { top: 30px; right: 30px; }
.lightbox-nav.prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ghost);
}
.lightbox-counter .current { color: var(--bone); }

/* ---------- Portfolio Page --------------------------- */
.portfolio-hero,
.page-hero {
  padding: 118px 0 24px;
  background: var(--ink);
}
.page-hero .section-title { font-size: clamp(2rem, 5.2vw, 4rem); }
.portfolio-hero .section-title,
.page-hero .section-title { margin-top: 20px; }
.portfolio-hero p,
.page-hero p { color: var(--ghost); margin-top: 24px; max-width: 600px; font-size: 1rem; }

/* Tighten the very next section after a page-hero — kills the big air gap */
.page-hero + section,
.portfolio-hero + section,
.portfolio-hero + .container,
.page-hero + .container { padding-top: clamp(36px, 6vw, 64px) !important; }

.filter-tabs {
  display: flex;
  gap: 6px;
  padding: 36px 0;
  border-bottom: 1px solid var(--mist);
  margin-bottom: 48px;
  flex-wrap: wrap;
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.filter-btn {
  padding: 10px 22px;
  border: 1px solid var(--mist);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.filter-count {
  margin-left: 8px;
  opacity: 0.6;
  font-size: 0.85em;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 100px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--carbon);
  aspect-ratio: 4 / 5;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item-label {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 6px 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s;
}
.portfolio-item:hover .portfolio-item-label {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-item.hidden { display: none; }

/* ---------- Mobile menu ------------------------------ */
@media (max-width: 900px) {
  .nav-container { grid-template-columns: 1fr auto; gap: 0; }
  .hamburger { display: flex; }
  .nav-links, .nav-actions {
    position: fixed;
    top: 0; right: -100%;
    width: 88%;
    max-width: 380px;
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 36px 40px;
    gap: 0;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--mist);
    z-index: 105;
  }
  .nav-links { z-index: 105; }
  .nav-links.open { right: 0; }
  .nav-actions { display: none; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--mist); }
  .nav-links a { display: block; padding: 20px 0; font-size: 1.1rem; letter-spacing: 0.08em; }
  .nav-links a::after { display: none; }
  .nav-links .mobile-nav-ig { display: flex; gap: 12px; margin-top: 24px; padding: 20px 0; color: var(--magenta); letter-spacing: 0.12em; }
  .nav-links .mobile-nav-cta { margin-top: 16px; padding: 16px 28px; background: var(--magenta); color: var(--bone); border-radius: 999px; display: inline-block; }
}

/* ---------- Responsive ------------------------------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--mist); }
  .service-card:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-y: 80px; }

  .hero { padding-bottom: 80px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-meta { text-align: left; display: none; }
  .hero-scroll { display: none; }
  .hero-indicators { bottom: 20px; }

  .marquee-item { gap: 40px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .work-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .work-item:nth-child(2) { grid-column: span 2; }
  .work-item:nth-child(3) { grid-column: span 1; }
  .work-item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
  .work-item:nth-child(5) { grid-column: span 1; }
  .work-item:nth-child(6) { grid-column: span 1; }
  .work-item:nth-child(7) { grid-column: span 1; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3n) { border-right: none; }

  .experience-grid { grid-template-columns: 1fr; }
  .exp-card { min-height: auto; }

  .testimonial-card { min-width: 85%; padding: 32px; }
  .testimonial-text { font-size: 1.05rem; }

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

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta { font-size: clamp(2rem, 9vw, 3.5rem); }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .portfolio-hero,
  .page-hero { padding: 92px 0 28px; }
}

@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 380px; }
  .work-item, .work-item:nth-child(1), .work-item:nth-child(2),
  .work-item:nth-child(4), .work-item:nth-child(5) {
    grid-column: span 1; grid-row: span 1;
  }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-num { font-size: 1.6rem; }
  .hero-title { font-size: clamp(2.8rem, 13vw, 4rem); }
}

/* ---------- FAQ grid (book.html) ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
  margin-top: 56px;
}
.faq-item {
  background: var(--ink);
  padding: 36px 32px;
}
.faq-item h4 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--bone);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.faq-item p {
  color: var(--ghost);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 28px 22px; }
}

/* ---------- Journal article stub ---------- */
.article-back {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.article-back:hover { color: var(--magenta); }

.article-coming-soon {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 0;
}
.article-coming-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  padding: 8px 16px;
  border: 1px solid var(--magenta);
  border-radius: 999px;
  margin-bottom: 28px;
}
.article-coming-soon h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--bone);
  margin-bottom: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.article-coming-soon p {
  color: var(--ghost);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.article-coming-soon p a {
  color: var(--magenta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Make .blog-card work as <a> too — preserve color */
a.blog-card { color: inherit; display: block; }

/* =====================================================
   FIVE-PRESCRIPTION ADDITIONS
   ===================================================== */

/* ---------- #7 Lenis smooth-scroll prerequisites ----- */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- #6 View Transitions API ------------------ */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Navbar persists across page changes (morphs smoothly) */
.navbar { view-transition-name: navbar; }
::view-transition-group(navbar) { animation-duration: 0.45s; }

/* Page hero on dedicated pages morphs into next page hero */
.page-hero,
.portfolio-hero { view-transition-name: page-hero; }
::view-transition-group(page-hero) { animation-duration: 0.55s; }

/* ---------- #1 Variable-font scroll-driven bloom ----- */
@property --soft { syntax: '<number>'; inherits: true; initial-value: 50; }
@property --wonk { syntax: '<number>'; inherits: true; initial-value: 1; }

@supports (animation-timeline: view()) {
  .section-title,
  .hero-title {
    --soft: 0;
    --wonk: 0;
    font-variation-settings: "SOFT" var(--soft), "WONK" var(--wonk);
    animation: titleBloom linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }
  @keyframes titleBloom {
    to {
      --soft: 100;
      --wonk: 1;
    }
  }
}

/* ---------- #10 About page sticky scroll ------------- */
@media (min-width: 901px) {
  .about-grid > .about-image-wrap {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}

/* ---------- prefers-reduced-motion safety net -------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active,
  .marquee-track,
  .hero-title .hero-line > span,
  .reveal,
  .reveal-mask > * {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-mask > * { transform: none; }
}

/* =====================================================
   SECOND BATCH — editorial polish
   ===================================================== */

/* ---------- #2 Mixed-case mono inside titles --------- */
.t-mono {
  font-family: var(--mono);
  font-size: 0.34em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  vertical-align: 0.78em;
  font-weight: 500;
  font-feature-settings: normal;
  font-variation-settings: normal;
  margin: 0 0.18em;
  /* opt out of the variable-font scroll bloom */
  --soft: 50;
  --wonk: 0;
}

/* ---------- #3 Vertical rotated section labels ------- */
.v-label {
  position: absolute;
  left: max(20px, calc((100vw - var(--container)) / 2 - 80px));
  top: 80px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: var(--ghost);
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  /* tiny accent dot before the text */
}
.v-label::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--magenta);
  border-radius: 50%;
  margin-bottom: 12px;
  vertical-align: middle;
}
.v-label .v-num {
  color: var(--magenta);
  margin-bottom: 14px;
}
@media (max-width: 1024px) { .v-label { display: none; } }

/* Sections that hold a v-label need positioning */
.work,
.experience,
.section-dark,
.about,
.contact,
.blog,
.portfolio-hero,
.page-hero { position: relative; }

/* ---------- #4 Drop caps for journal articles -------- */
.article-body p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 4.2em;
  line-height: 0.85;
  font-weight: 600;
  color: var(--magenta);
  float: left;
  padding: 0.05em 0.14em 0 0;
  font-feature-settings: "ss01";
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--bone);
  margin-bottom: 1.4em;
  max-width: 68ch;
}
.article-body p strong { color: var(--bone); }
.article-body p em { color: var(--magenta); font-style: italic; }
.article-body h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--bone);
  margin: 2.2em 0 0.8em;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 68ch;
}
.article-body h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--bone);
  margin: 1.8em 0 0.6em;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 68ch;
}
.article-body blockquote {
  border-left: 2px solid var(--magenta);
  padding: 0.4em 0 0.4em 1.6em;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--bone);
  margin: 2em 0;
  max-width: 68ch;
  line-height: 1.4;
}

/* ---------- #14 Per-category portfolio color theme --- */
body[data-cat="fashion"]   { --magenta: #FF6B3D; }  /* coral */
body[data-cat="couples"]   { --magenta: #F5A524; }  /* amber */
body[data-cat="nature"]    { --magenta: #4ADE80; }  /* spring green */
body[data-cat="events"]    { --magenta: #D946EF; }  /* fuchsia */
/* portraits keeps the default magenta (#FF2D8A) */

body { transition: --magenta 0.6s ease; }

/* The variable change cascades to anything using var(--magenta).
   These elements pick up the shift instantly, others smooth-transition: */
.section-num,
.t-mono,
.exp-price strong + .exp-price-note,
em,
.filter-btn.active,
.cursor,
.cursor-dot,
.scroll-progress,
.nav-cta,
.about-credit strong {
  transition: color 0.6s ease, background 0.6s ease, border-color 0.6s ease;
}

/* =====================================================
   THIRD BATCH — peek, bento, gridlines, counters, cursors
   ===================================================== */

/* ---------- #11 Bento polish on work-grid ------------ */
.work-grid { gap: 18px; }
.work-item:nth-child(1)::after,
.work-item:nth-child(4)::after {
  content: 'Featured';
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(8, 6, 6, 0.5);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.work-item:nth-child(1):hover::after,
.work-item:nth-child(4):hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- #12 Editorial gridlines (REMOVED 2026-04-26 — too noisy at scale) */
.editorial-rules { position: relative; }
.editorial-rules > * { position: relative; z-index: 1; }

/* ---------- #13 Stat counter — initial state --------- */
.stat-num.counting { font-feature-settings: "tnum"; }

/* ---------- #15 Cursor-context variants -------------- */
.cursor-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.cursor.has-label .cursor-label { opacity: 1; }
.cursor.has-label {
  background: rgba(255, 45, 138, 0.92);
  border-color: var(--magenta);
  width: 88px;
  height: 88px;
  mix-blend-mode: normal;
}

/* =====================================================
   FOURTH BATCH — site-wide upgrade × 18
   ===================================================== */

/* ---------- #1 Loading curtain ----------------------- */
.loading-curtain {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  flex-direction: column;
  gap: 22px;
}
.loading-curtain-mark {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--bone);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.loading-curtain-mark em {
  color: var(--magenta);
  font-style: italic;
}
.loading-curtain-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ghost);
}
.loading-curtain-typed::after {
  content: '_';
  color: var(--magenta);
  animation: blink 0.6s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.loading-curtain.gone {
  animation: curtainOpen 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
  pointer-events: none;
}
@keyframes curtainOpen {
  from { clip-path: circle(150% at 50% 50%); opacity: 1; }
  to   { clip-path: circle(0% at 50% 50%);   opacity: 0; }
}

/* ---------- #3 Now-shooting strip -------------------- */
.now-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ghost);
  flex-wrap: wrap;
}
.now-strip strong {
  color: var(--bone);
  font-weight: 500;
}
.now-strip .now-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

/* ---------- #5 Issue band on home -------------------- */
.issue-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  background: var(--obsidian);
}
.issue-cell {
  padding: 26px var(--gutter);
  text-align: center;
  border-right: 1px solid var(--mist);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ghost);
}
.issue-cell:last-child { border-right: 0; }
.issue-cell strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-top: 6px;
  text-transform: none;
}
.issue-cell strong em { color: var(--magenta); font-style: italic; }
@media (max-width: 700px) {
  .issue-band { grid-template-columns: 1fr; }
  .issue-cell { border-right: 0; border-bottom: 1px solid var(--mist); }
  .issue-cell:last-child { border-bottom: 0; }
}

/* ---------- #6 Manifesto slab ------------------------ */
.manifesto {
  background: var(--carbon);
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  position: relative;
  overflow: hidden;
}
.manifesto-quote {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 400;
  font-style: italic;
  color: var(--bone);
  max-width: 16ch;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.02em;
}
.manifesto-quote em { color: var(--magenta); }
.manifesto-attr {
  display: block;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ghost);
  text-align: center;
}
.manifesto::before {
  content: '"';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 7rem;
  color: var(--magenta);
  line-height: 1;
  opacity: 0.5;
}

/* ---------- #7 About timeline ------------------------ */
.timeline-section {
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--obsidian);
  position: relative;
  border-top: 1px solid var(--mist);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
  margin-top: 48px;
}
.timeline-card {
  padding: 32px 24px;
  background: var(--obsidian);
  position: relative;
  transition: background 0.3s ease;
}
.timeline-card:hover { background: var(--carbon); }
.timeline-card .tl-year {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--magenta);
  margin-bottom: 14px;
  display: block;
}
.timeline-card h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--bone);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.timeline-card p {
  font-size: 0.85rem;
  color: var(--ghost);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .timeline-track {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .timeline-track { grid-template-columns: 1fr; }
}

/* ---------- #8 Gear & Light block (About) ------------ */
.gear-block {
  margin-top: clamp(60px, 8vw, 100px);
  padding: 48px var(--gutter);
  background: var(--obsidian);
  border: 1px solid var(--mist);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.gear-block h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--bone);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.gear-block h3 em { color: var(--magenta); }
.gear-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.gear-row {
  border-top: 1px solid var(--mist);
  padding-top: 14px;
}
.gear-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 6px;
}
.gear-value {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--bone);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .gear-block { grid-template-columns: 1fr; gap: 28px; }
  .gear-list  { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- #9 Dynamic filter count ------------------ */
.filter-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-left: auto;
  align-self: center;
  padding-right: 4px;
}
.filter-status strong { color: var(--magenta); font-weight: 500; }
@media (max-width: 768px) { .filter-status { width: 100%; padding-top: 12px; } }

/* ---------- #10 Lightbox metadata sidebar ------------ */
.lightbox.open .lightbox-meta {
  opacity: 1;
  transform: translateX(0);
}
.lightbox-meta {
  position: absolute;
  right: 24px;
  bottom: 80px;
  width: 280px;
  background: rgba(8, 6, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--mist);
  padding: 24px;
  z-index: 5;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease 0.15s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ghost);
}
.lightbox-meta h5 {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--bone);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  font-style: italic;
}
.lightbox-meta dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.lightbox-meta dt {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.58rem;
  color: var(--ghost);
}
.lightbox-meta dd {
  color: var(--bone);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin: 4px 0 0;
}
@media (max-width: 768px) {
  .lightbox-meta { display: none; }
}

/* ---------- #11 Process strip on Services ------------ */
.process-section {
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--obsidian);
  border-top: 1px solid var(--mist);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
  margin-top: 48px;
}
.process-step {
  padding: 36px 28px;
  background: var(--obsidian);
  transition: background 0.3s ease;
}
.process-step:hover { background: var(--carbon); }
.process-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--magenta);
  margin-bottom: 18px;
  display: block;
}
.process-step h4 {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--bone);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.process-step h4 em { color: var(--magenta); }
.process-step p {
  font-size: 0.9rem;
  color: var(--ghost);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------- #12 Best-for chips on services ----------- */
.best-for {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 18px;
}
.best-for-chip {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ghost);
  padding: 6px 12px;
  border: 1px solid var(--mist);
  border-radius: 999px;
}

/* ---------- #13 Comparison-table toggle (Book) ------- */
.book-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  gap: 0;
}
.book-toggle button {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ghost);
  padding: 10px 22px;
  border: 1px solid var(--mist);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.book-toggle button:first-child { border-right: 0; border-radius: 999px 0 0 999px; padding-left: 28px; }
.book-toggle button:last-child  { border-radius: 0 999px 999px 0; padding-right: 28px; }
.book-toggle button.active {
  color: var(--bone);
  background: var(--magenta);
  border-color: var(--magenta);
}

.book-view-cards .compare-table { display: none; }
.book-view-table .experience-grid { display: none; }
.book-view-table .exp-note { display: none; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  margin-top: 24px;
  font-size: 0.92rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--mist);
  color: var(--ghost);
}
.compare-table th {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  border-bottom: 1px solid var(--mist);
  vertical-align: bottom;
}
.compare-table th.compare-tier {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--bone);
  font-weight: 500;
  font-style: italic;
}
.compare-table th.compare-tier em { color: var(--magenta); }
.compare-table th .compare-price {
  display: block;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--magenta);
  font-style: normal;
  font-weight: 400;
  margin-top: 6px;
}
.compare-table tr:last-child td,
.compare-table tr:last-child th { border-bottom: 0; }
.compare-table .compare-row-label {
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.compare-table .check { color: var(--magenta); }
.compare-table .dash  { color: rgba(255,255,255,0.18); }
@media (max-width: 768px) {
  .compare-table { font-size: 0.78rem; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
}

/* ---------- #14 Limited-slots tag (Signature) -------- */
.exp-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  padding: 6px 12px;
  border: 1px solid var(--magenta);
  border-radius: 999px;
  margin-top: 8px;
  margin-bottom: 4px;
  background: rgba(255, 45, 138, 0.08);
}
.exp-availability::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  animation: pulseDot 1.4s ease-in-out infinite;
}

/* ---------- #15 Reading time + tag chips (Journal) --- */
.blog-meta {
  /* extend existing — already display: flex with gap */
  flex-wrap: wrap;
}
.blog-meta .blog-readtime {
  color: var(--ghost);
  position: relative;
  padding-left: 14px;
}
.blog-meta .blog-readtime::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--ghost);
}

/* ---------- #16 Featured journal hero card ----------- */
.featured-card {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 0;
  border: 1px solid var(--mist);
  margin-bottom: 56px;
  background: var(--obsidian);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s ease;
  cursor: pointer;
}
.featured-card:hover { border-color: var(--magenta); }
.featured-card .featured-img {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--gradient);
}
.featured-card .featured-img > div {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-card:hover .featured-img > div { transform: scale(1.06); }
.featured-card .featured-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-card .featured-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}
.featured-card h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  color: var(--bone);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.featured-card:hover h3 { color: var(--magenta); transition: color 0.3s; }
.featured-card p {
  color: var(--ghost);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.featured-card .featured-meta {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ghost);
}
@media (max-width: 768px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .featured-body { padding: 28px 24px; }
}

/* ---------- #17 Floating-label form fields ----------- */
.contact-form .form-group {
  position: relative;
  gap: 0;  /* override default flex gap so floating labels sit cleanly */
}
.contact-form .form-group label {
  position: absolute;
  top: 14px;
  left: 0;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ghost);
  background: var(--ink);
  padding: 0;
  transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease, letter-spacing 0.25s ease;
}
.contact-form .form-group input:focus ~ label,
.contact-form .form-group input:not(:placeholder-shown) ~ label,
.contact-form .form-group select:focus ~ label,
.contact-form .form-group select.has-value ~ label,
.contact-form .form-group textarea:focus ~ label,
.contact-form .form-group textarea:not(:placeholder-shown) ~ label {
  top: -16px;
  font-size: 0.58rem;
  color: var(--magenta);
  letter-spacing: 0.22em;
}

/* ---------- #18 Contact availability strip ----------- */
.availability-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  margin-bottom: 32px;
  border: 1px solid var(--magenta);
  background: rgba(255, 45, 138, 0.06);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ghost);
  flex-wrap: wrap;
}
.availability-strip strong { color: var(--bone); font-weight: 500; }
.availability-strip .av-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  animation: pulseDot 1.6s ease-in-out infinite;
  margin-right: 10px;
  vertical-align: middle;
}

/* ---------- #2 404 page ------------------------------ */
.fof-stage {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
}
.fof-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  filter: grayscale(0.4);
}
.fof-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,6,6,0.55) 0%, rgba(8,6,6,0.85) 100%);
}
.fof-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
}
.fof-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 24px;
}
.fof-title {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 7.4rem);
  color: var(--bone);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.fof-title em { color: var(--magenta); }
.fof-sub {
  color: var(--ghost);
  max-width: 460px;
  margin: 0 auto 36px;
  font-size: 1rem;
}
.fof-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- #4 Print stylesheet ---------------------- */
@media print {
  body { background: white; color: black; line-height: 1.4; }
  body::before, .scroll-progress, .cursor, .cursor-dot,
  .navbar, .marquee, .now-strip, .v-label, .hamburger,
  .footer-cta, .social-row, .footer-bottom, .now-strip,
  .lightbox, .photo-peek, .loading-curtain, .hero-indicators,
  .hero-scroll, .grain { display: none !important; }

  .footer { padding: 24px 0 !important; border-top: 1px solid #ccc; background: white; color: black; }
  .footer * { color: black !important; }

  .hero { height: auto !important; }
  .hero-carousel, .hero-slide { position: static !important; }
  .hero-slide:not(.active) { display: none; }
  .hero-overlay { display: none; }
  .hero-content { position: static !important; padding: 24px; }

  .work-grid, .portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
  }
  .work-item, .portfolio-item {
    grid-column: auto !important;
    grid-row: auto !important;
    break-inside: avoid;
  }
  .work-item img, .portfolio-item img {
    width: 100%; height: auto;
  }
  h1, h2, h3, h4 { color: black !important; font-variation-settings: normal; }
  em { color: #FF2D8A !important; font-style: italic; }
  a { color: black !important; text-decoration: none; }
  .container { max-width: none; padding: 0 24px; }

  /* Add a subtle credit line at the bottom of every printed page */
  @page {
    margin: 18mm;
    @bottom-center {
      content: "XTIL'S LENS  ·  XTILSLENS.COM  ·  @from_xtils_lens";
      font-family: 'JetBrains Mono', monospace;
      font-size: 8pt;
      letter-spacing: 0.2em;
      color: #666;
    }
  }
}
