/* =============================================================
   Branding Iron Films — Main Stylesheet
   Aesthetic: Frontier Cinematic · Old Letterpress · Rugged & Refined
   Colors: Deep Navy #0d334b · Orange #f78705 · Black #0a0a0a · White #f5f0e8
   ============================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Cinzel:wght@400;700;900&family=IM+Fell+English:ital@0;1&family=DM+Mono:wght@300;400;500&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:        #0d334b;
  --navy-deep:   #081f2e;
  --navy-mid:    #112d42;
  --orange:      #f78705;
  --orange-dark: #c96b02;
  --orange-glow: rgba(247, 135, 5, 0.15);
  --black:       #0a0a0a;
  --off-white:   #f5f0e8;
  --cream:       #ede5d4;
  --warm-gray:   #8a8074;
  --divider:     rgba(247, 135, 5, 0.3);

  /* Light section palette */
  --light-bg:        #f7f3ec;
  --light-bg-alt:    #fffdf8;
  --light-text:      #0d334b;
  --light-text-mid:  #1a4060;
  --light-text-muted:#4a6070;
  --light-border:    rgba(13, 51, 75, 0.12);

  --font-display:  'Cinzel', serif;
  --font-serif:    'Playfair Display', serif;
  --font-body:     'Cormorant Garamond', serif;
  --font-accent:   'IM Fell English', serif;

  --nav-height: 72px;
  --max-width:  1200px;
  --section-pad: 100px;

  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

/* --- Skip Navigation Link (ADA WCAG 2.4.1) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  z-index: 9999;
  background: var(--orange);
  color: var(--black);
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* --- Global Focus Visible (ADA WCAG 2.4.7) --- */
*:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--navy-deep);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--off-white);
}

/* --- Noise Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */

#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 52%;
  width: clamp(240px, 46vw, 560px);
  height: clamp(80px, 12vw, 150px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(247,135,5,0.16) 0%, rgba(247,135,5,0.06) 38%, transparent 70%);
  opacity: 0;
  filter: blur(16px);
  animation: splashHeatBloom 3.7s ease-out 0.15s forwards;
  pointer-events: none;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-branding-iron {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: clamp(470px, 92vw, 980px);
  transform: translate(36%, -56%) rotate(-3deg);
  transform-origin: 34% 52%;
  animation: brandingIronPress 3.7s cubic-bezier(0.18, 0.88, 0.24, 1) 0.18s forwards;
  pointer-events: none;
}

.splash-branding-iron svg {
  display: block;
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 16px 18px rgba(0,0,0,0.75));
}

.iron-handle,
.iron-brace {
  fill: none;
  stroke-width: 42;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iron-handle-highlight {
  fill: none;
  stroke: rgba(245,240,232,0.12);
  stroke-width: 6;
  stroke-linecap: round;
}

.iron-brace {
  stroke-width: 28;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,0.55));
}

.iron-head-plate {
  stroke-width: 16;
  filter: drop-shadow(0 20px 24px rgba(0,0,0,0.78));
}

.iron-head-inner {
  stroke-width: 10;
  animation: brandingIronGlow 3.7s ease-out 0.18s forwards;
}

.iron-brand-ghost {
  fill: none;
  stroke: rgba(247,135,5,0.48);
  stroke-linecap: round;
  stroke-width: 12;
  opacity: 0.35;
  filter: drop-shadow(0 0 8px rgba(247,135,5,0.5));
  animation: brandingIronDetailGlow 3.7s ease-out 0.18s forwards;
}

.iron-brand-ghost--short {
  stroke-width: 8;
  opacity: 0.22;
}

.iron-head rect {
  stroke-width: 7;
  animation: brandingIronGlow 3.7s ease-out 0.18s forwards;
}

.splash-smoke {
  position: absolute;
  left: 50%;
  top: calc(50% - clamp(96px, 13vw, 150px));
  z-index: 4;
  width: clamp(360px, 62vw, 720px);
  height: 260px;
  transform: translateX(-50%);
  pointer-events: none;
}

.splash-smoke span {
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: clamp(40px, 7vw, 82px);
  height: clamp(24px, 4vw, 52px);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(245,240,232,0.44) 0%, rgba(245,240,232,0.16) 48%, transparent 72%);
  opacity: 0;
  filter: blur(10px);
  transform: translate(-50%, 0) scale(0.35);
  animation: smokeRise 2.2s ease-out forwards;
}

.splash-smoke span:nth-child(1) {
  bottom: 10px;
  margin-left: -218px;
  --smoke-drift: -54px;
  animation-delay: 1.72s;
}

.splash-smoke span:nth-child(2) {
  bottom: 48px;
  margin-left: -142px;
  width: clamp(52px, 9vw, 108px);
  --smoke-drift: -34px;
  animation-delay: 1.64s;
}

.splash-smoke span:nth-child(3) {
  bottom: 78px;
  margin-left: 0;
  --smoke-drift: 8px;
  animation-delay: 1.8s;
}

.splash-smoke span:nth-child(4) {
  bottom: 48px;
  margin-left: 142px;
  width: clamp(46px, 8vw, 96px);
  --smoke-drift: 34px;
  animation-delay: 1.68s;
}

.splash-smoke span:nth-child(5) {
  bottom: 10px;
  margin-left: 218px;
  --smoke-drift: 54px;
  animation-delay: 1.9s;
}

#splash-logo {
  position: relative;
  z-index: 1;
  width: clamp(260px, 54vw, 560px);
  opacity: 0;
  transform: scale(0.98);
  animation: splashLogoBrand 3.7s ease-out 0.18s forwards;
}

#splash-tagline {
  position: relative;
  z-index: 4;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--warm-gray);
  opacity: 0;
  animation: splashFadeUp 0.7s ease 2.85s forwards;
}

#splash-enter {
  position: relative;
  z-index: 4;
  margin-top: 52px;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.4vw, 0.85rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 14px 36px;
  opacity: 0;
  background: transparent;
  animation: splashFadeUp 0.7s ease 3.15s forwards;
  transition: background-color var(--transition-base), color var(--transition-base);
}

#splash:hover #splash-enter,
#splash-enter:hover {
  background-color: var(--orange);
  color: var(--black);
}

#splash-rule {
  width: 1px;
  height: 0;
  background: var(--divider);
  position: absolute;
  bottom: 0;
  left: 50%;
  animation: splashLineGrow 1.2s ease 0.2s forwards;
}

@keyframes splashLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splashFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brandingIronPress {
  0% {
    opacity: 0;
    transform: translate(46%, -60%) rotate(-3deg);
  }
  10% {
    opacity: 1;
  }
  34% {
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  44% {
    transform: translate(-50%, -50%) rotate(-3deg) scale(1.02);
  }
  56% {
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  72% {
    opacity: 1;
    transform: translate(16%, -66%) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(64%, -76%) rotate(1deg);
  }
}

@keyframes brandingIronGlow {
  0%, 30%, 70%, 100% {
    stroke-width: 10;
    filter: none;
  }
  40%, 56% {
    stroke-width: 16;
    filter: drop-shadow(0 0 18px rgba(247,135,5,0.95));
  }
}

@keyframes brandingIronDetailGlow {
  0%, 28%, 72%, 100% {
    opacity: 0.22;
    filter: drop-shadow(0 0 5px rgba(247,135,5,0.35));
  }
  40%, 56% {
    opacity: 0.92;
    filter: drop-shadow(0 0 16px rgba(247,135,5,0.95));
  }
}

@keyframes splashLogoBrand {
  0%, 38% {
    opacity: 0;
    filter: none;
  }
  44% {
    opacity: 0.08;
    filter: none;
  }
  54% {
    opacity: 0.3;
    filter:
      drop-shadow(0 0 20px rgba(247,135,5,0.95))
      sepia(0.6);
  }
  70% {
    opacity: 1;
    filter:
      drop-shadow(0 0 18px rgba(247,135,5,0.8))
      drop-shadow(0 0 2px rgba(255,255,255,0.7))
      sepia(0.35);
  }
  82% {
    opacity: 1;
    filter:
      drop-shadow(0 0 10px rgba(247,135,5,0.35))
      sepia(0.12);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}

@keyframes splashHeatBloom {
  0%, 34%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
  46% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  68% {
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(1.16);
  }
}

@keyframes smokeRise {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.35);
  }
  18% {
    opacity: 0.58;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--smoke-drift, 0px)), -132px) scale(1.35);
  }
}

@keyframes splashLineGrow {
  to {
    height: 15vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-branding-iron,
  .splash-smoke,
  #splash::after {
    display: none;
  }

  #splash-logo,
  #splash-tagline,
  #splash-enter {
    animation-delay: 0s;
    animation-duration: 0.01ms;
  }
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 60px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-nav.scrolled {
  background-color: rgba(8, 31, 46, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(247, 135, 5, 0.12);
}

.nav-logo {
  flex: 0 0 auto;
  margin-right: auto;
}

.nav-logo img {
  height: 44px;
  width: auto;
  min-width: 120px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  transition: opacity var(--transition-base), color var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--orange);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--off-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(8, 31, 46, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-mobile-overlay.open {
  display: flex;
}

.nav-mobile-overlay a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--off-white);
  transition: color var(--transition-base);
}

.nav-mobile-overlay a:hover,
.nav-mobile-overlay a.active {
  color: var(--orange);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 1;
}

.section--dark {
  background-color: var(--navy-deep);
}

.section--navy {
  background-color: var(--navy-mid);
}

.section--black {
  background-color: var(--black);
}

/* Light sections */
.section--light {
  background-color: var(--light-bg);
  color: var(--light-text);
}

.section--light-alt {
  background-color: var(--light-bg-alt);
  color: var(--light-text);
}

/* Buttons on light backgrounds — use darker orange for contrast */
.section--light .btn,
.section--light-alt .btn {
  border-color: var(--orange-dark);
  color: var(--orange-dark);
}

.section--light .btn::before,
.section--light-alt .btn::before {
  background: var(--orange-dark);
}

.section--light .btn:hover,
.section--light-alt .btn:hover {
  color: var(--off-white);
}

/* Solid buttons on light backgrounds — keep black text on orange, not orange-on-orange */
.section--light .btn--solid,
.section--light-alt .btn--solid {
  color: var(--black);
  border-color: var(--orange);
}

.section--light .btn--solid:hover,
.section--light-alt .btn--solid:hover {
  color: var(--off-white);
}

/* Decorative offset border in light sections */
.section--light .about-teaser-img::before,
.section--light-alt .about-teaser-img::before {
  border-color: rgba(13, 51, 75, 0.18);
}

/* Override text colors inside light sections */
.section--light .section-label,
.section--light-alt .section-label {
  color: var(--orange-dark);
}

.section--light .section-label::before,
.section--light-alt .section-label::before {
  background: var(--orange-dark);
}

.section--light .section-title,
.section--light-alt .section-title {
  color: var(--light-text);
}

.section--light .lead,
.section--light-alt .lead {
  color: var(--light-text-mid);
}

.section--light .body-text,
.section--light-alt .body-text {
  color: var(--light-text-mid);
}

.section--light .about-quote,
.section--light-alt .about-quote,
.section--light .project-bio-quote,
.section--light-alt .project-bio-quote {
  color: var(--light-text);
  border-left-color: var(--orange-dark);
}

.section--light .about-body h2,
.section--light-alt .about-body h2 {
  color: var(--light-text);
}

.section--light .about-portrait-caption,
.section--light-alt .about-portrait-caption {
  color: var(--light-text-muted);
}

.section--light .pillar,
.section--light-alt .pillar {
  background: var(--light-bg-alt);
  border: 1px solid var(--light-border);
  border-top: 2px solid transparent;
}

.section--light .pillar:hover,
.section--light-alt .pillar:hover {
  border-top-color: var(--orange);
}

.section--light .pillar-title,
.section--light-alt .pillar-title {
  color: var(--light-text);
}

.section--light .pillar-def,
.section--light-alt .pillar-def {
  color: var(--orange-dark);
}

.section--light .pillar-body,
.section--light-alt .pillar-body {
  color: var(--light-text-muted);
}

.section--light .ornament::before,
.section--light .ornament::after,
.section--light-alt .ornament::before,
.section--light-alt .ornament::after {
  background: rgba(13, 51, 75, 0.2);
}

.section--light .ornament-symbol,
.section--light-alt .ornament-symbol {
  color: var(--orange-dark);
}

/* Section label — small caps ornamental */
.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

/* Ornamental divider */
.ornament {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.ornament-symbol {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--orange);
  opacity: 0.7;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
}

.display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--off-white);
}

.display-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-transform: none;
  white-space: nowrap;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--off-white);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--off-white);
  margin-bottom: 8px;
}

.lead {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--cream);
}

.body-text {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.88);
}

.body-text + .body-text {
  margin-top: 1.2em;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid var(--orange);
  color: var(--orange);
  background: transparent;
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover {
  color: var(--black);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn--solid {
  background: var(--orange);
  color: var(--black);
}

.btn--solid::before {
  background: var(--navy);
}

.btn--solid:hover {
  color: var(--off-white);
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */

.img-placeholder {
  background-color: var(--navy-mid);
  border: 1px solid rgba(247, 135, 5, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 135, 5, 0.3);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(247,135,5,0.06) 49%, rgba(247,135,5,0.06) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(247,135,5,0.06) 49%, rgba(247,135,5,0.06) 51%, transparent 52%);
  background-size: 30px 30px;
}

.img-placeholder span {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    var(--navy-deep) 0%,
    var(--navy-mid) 40%,
    #0e2438 70%,
    #060f16 100%
  );
}

/* Cinematic letterbox gradient at top */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
  z-index: 1;
}

/* Gradient lift at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--navy-deep) 0%, transparent 100%);
  z-index: 1;
}

/* Full-coverage dark overlay for center readability */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 40px) clamp(20px, 5vw, 60px) 120px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--orange);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.2s forwards;
}

.hero-title {
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.45s forwards;
}

.hero-subtitle {
  max-width: 560px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--off-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  margin: 0 auto 48px;
  line-height: 1.7;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.65s forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.85s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 1.4s forwards;
  padding-bottom: 36px;
}

/* Horizontal ticker marquee */
.hero-scroll-ticker {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-scroll-ticker::before,
.hero-scroll-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.hero-scroll-ticker::before {
  left: 0;
  background: linear-gradient(to right, rgba(8,31,46,0.9), transparent);
}

.hero-scroll-ticker::after {
  right: 0;
  background: linear-gradient(to left, rgba(8,31,46,0.9), transparent);
}

.hero-scroll-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: tickerScroll 12s linear infinite;
  width: max-content;
}

.hero-scroll-ticker-track span {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  padding: 0 28px;
  white-space: nowrap;
}

.hero-scroll-ticker-track .ticker-sep {
  color: var(--orange);
  opacity: 0.6;
  padding: 0 8px;
  letter-spacing: 0;
  font-size: 0.75rem;
}

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

/* Animated chevrons */
.hero-scroll-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.hero-scroll-chevrons svg {
  width: 18px;
  height: 10px;
  display: block;
}

.hero-scroll-chevrons svg:nth-child(1) {
  animation: chevronPulse 1.6s ease-in-out infinite;
  animation-delay: 0s;
}

.hero-scroll-chevrons svg:nth-child(2) {
  animation: chevronPulse 1.6s ease-in-out infinite;
  animation-delay: 0.18s;
}

.hero-scroll-chevrons svg:nth-child(3) {
  animation: chevronPulse 1.6s ease-in-out infinite;
  animation-delay: 0.36s;
}

@keyframes chevronPulse {
  0%, 100% { opacity: 0.15; transform: translateY(0); }
  50%       { opacity: 0.9;  transform: translateY(3px); }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   HOMEPAGE — FEATURED PROJECT STRIP
   ============================================================ */

.featured-strip {
  background: var(--black);
  border-top: 1px solid rgba(247, 135, 5, 0.15);
  border-bottom: 1px solid rgba(247, 135, 5, 0.15);
}

.featured-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
}

.featured-img-col {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.featured-img-col img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.featured-img-col .img-placeholder {
  height: 100%;
  min-height: 400px;
}

.featured-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--black) 100%);
}

.featured-content-col {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.featured-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.featured-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--orange);
}

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 8px;
  line-height: 1.1;
}

.featured-meta {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-bottom: 28px;
}

.featured-logline {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.9);
  margin-bottom: 36px;
  max-width: 480px;
}

/* ============================================================
   HOMEPAGE — ABOUT TEASER
   ============================================================ */

.about-teaser {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-teaser--wide-right {
  grid-template-columns: 3fr 5fr;
}

.about-teaser-img {
  position: relative;
}

.about-teaser-img .img-placeholder {
  aspect-ratio: 3/4;
  width: 100%;
}

/* Decorative border offset */
.about-teaser-img::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  border: 1px solid var(--divider);
  z-index: -1;
}

.about-teaser-text {
  padding: 20px 0;
}

.about-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 2px solid var(--orange);
}

/* ============================================================
   HOMEPAGE — PROJECT GRID TEASE
   ============================================================ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  margin-top: 48px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card-bg {
  aspect-ratio: 2/3;
  width: 100%;
}

.project-card-bg .img-placeholder {
  width: 100%;
  height: 100%;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,31,46,0.97) 0%, rgba(8,31,46,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: background var(--transition-slow);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(8,31,46,0.99) 0%, rgba(8,31,46,0.75) 60%, rgba(8,31,46,0.3) 100%);
}

.project-card-status {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--off-white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.project-card-excerpt {
  font-size: 0.9rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), opacity var(--transition-slow);
  opacity: 0;
}

.project-card:hover .project-card-excerpt {
  max-height: 120px;
  opacity: 1;
}

/* ============================================================
   PAGE HERO (Interior pages)
   ============================================================ */

.page-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--divider), transparent);
}

.page-hero--compact {
  padding-top: calc(var(--nav-height) + 36px);
  padding-bottom: 36px;
}

.page-hero-rule {
  width: 60px;
  height: 1px;
  background: var(--orange);
  margin: 20px 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: calc(var(--nav-height) + 30px);
}

.about-portrait .img-placeholder {
  aspect-ratio: 3/4;
  width: 100%;
}

.about-portrait-caption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-align: center;
}

.photo-credit {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--light-text-muted);
  text-align: center;
}

/* Clears the decorative offset border on the home founder photo */
.photo-credit--offset {
  margin-top: 40px;
}

.about-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--off-white);
  margin-bottom: 20px;
  margin-top: 48px;
}

.about-body h2:first-child {
  margin-top: 0;
}

/* Pillars grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.pillar {
  background: var(--navy-mid);
  padding: 36px 28px;
  border-top: 2px solid transparent;
  transition: border-color var(--transition-base);
}

.pillar:hover {
  border-color: var(--orange);
}

.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--orange);
  font-family: var(--font-serif);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 12px;
}

.pillar-def {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--orange);
  margin-bottom: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.pillar-body {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(245,240,232,0.85);
  line-height: 1.7;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */

.project-full-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 2px;
  min-height: 480px;
}

.project-full-card:nth-child(even) {
  direction: rtl;
}

.project-full-card:nth-child(even) > * {
  direction: ltr;
}

.project-full-img {
  overflow: hidden;
  position: relative;
}

.project-full-img img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.project-full-img .img-placeholder {
  height: 100%;
  min-height: 400px;
}

.project-full-info {
  background: var(--navy-mid);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Lock text inside the info panel — section--light overrides must not bleed in */
.project-full-info .project-name { color: var(--off-white) !important; }
.project-full-info .project-logline { color: rgba(245,240,232,0.88) !important; }
.project-full-info .body-text { color: rgba(245,240,232,0.7) !important; }

.project-genre {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-genre::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.project-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--off-white);
  margin-bottom: 20px;
  font-style: italic;
}

.project-logline {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(245,240,232,0.88);
  margin-bottom: 32px;
}

.project-status-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--divider);
  color: var(--warm-gray);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--off-white);
  margin-bottom: 16px;
}

.contact-info p {
  color: rgba(245,240,232,0.7);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--orange);
  min-width: 80px;
  padding-top: 2px;
}

.contact-item-value {
  color: var(--cream);
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--warm-gray);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.social-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Contact info sidebar on light background */
.section--light .contact-info h3 { color: var(--light-text) !important; }
.section--light .contact-info p { color: var(--light-text-mid) !important; }
.section--light .contact-item-value { color: var(--light-text-mid) !important; }
.section--light .social-link { color: var(--light-text-mid) !important; border-color: rgba(13,51,75,0.2) !important; }
.section--light .social-link:hover { color: var(--orange-dark) !important; border-color: var(--orange-dark) !important; }

/* Contact form area */
.contact-form-wrapper {
  background: var(--navy-mid);
  padding: clamp(32px, 4vw, 56px);
  border-top: 2px solid var(--orange);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 8px;
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--off-white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,240,232,0.5);
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245,240,232,0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Dark form wrapper overrides (inside light sections) */
.contact-form-wrapper .form-group label {
  color: var(--off-white);
}

.contact-form-wrapper .form-group input,
.contact-form-wrapper .form-group textarea {
  color: var(--off-white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,240,232,0.5);
}

.contact-form-wrapper .form-group input:focus,
.contact-form-wrapper .form-group textarea:focus {
  border-color: var(--orange);
}

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

.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(247, 135, 5, 0.12);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(245,240,232,0.75);
  max-width: 220px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.75);
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--divider), transparent);
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   KEYFRAMES — PROJECT HERO ENTRANCE
   ============================================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   PROJECT HERO — FULL BLEED
   ============================================================ */

.project-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.project-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark flat overlay on background */
.project-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Cinematic top letterbox */
.project-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  z-index: 1;
}

/* Strong lift from bottom */
.project-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, var(--navy-deep) 15%, rgba(8, 31, 46, 0.6) 60%, transparent 100%);
  z-index: 1;
}

.project-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 60px) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.project-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

.project-hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

.project-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--off-white);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.4s forwards;
}

.project-hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 36px;
  max-width: 620px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
}

.project-hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.75s forwards;
}

.project-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-hero-meta-label {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.project-hero-meta-value {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
}

.project-hero-meta-divider {
  width: 1px;
  height: 40px;
  background: rgba(247, 135, 5, 0.25);
  align-self: center;
}

.project-status-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  padding: 7px 18px;
  border: 1px solid var(--orange);
  color: var(--orange);
}

/* ============================================================
   PRODUCTION DETAILS STRIP
   ============================================================ */

.details-strip {
  background: var(--black);
  border-top: 1px solid rgba(247, 135, 5, 0.1);
  border-bottom: 1px solid rgba(247, 135, 5, 0.1);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.details-strip-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.detail-item {
  flex: 1;
  min-width: 160px;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
}

.detail-item + .detail-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(247, 135, 5, 0.15);
}

.detail-label {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.detail-value {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
}

/* ============================================================
   PROJECT BIO / SYNOPSIS
   ============================================================ */

.project-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.project-bio-img {
  position: relative;
}

.project-bio-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* Decorative offset border */
.project-bio-img::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  border: 1px solid rgba(247, 135, 5, 0.3);
  z-index: -1;
}

.project-bio-text {
  padding: 20px 0;
}

.project-bio-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--orange);
}

/* ============================================================
   SECONDARY PHOTO — FULL WIDTH
   ============================================================ */

.project-photo-full {
  position: relative;
  height: clamp(380px, 55vw, 620px);
  overflow: hidden;
}

.project-photo-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Vignette overlay */
.project-photo-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--navy-deep) 0%, transparent 12%, transparent 88%, var(--navy-deep) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

.project-photo-caption {
  position: absolute;
  bottom: 28px;
  right: clamp(20px, 5vw, 60px);
  z-index: 2;
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
}

/* ============================================================
   CTA — VIEW ALL PROJECTS
   ============================================================ */

.cta-projects {
  text-align: center;
}

.cta-projects .section-label {
  justify-content: center;
}

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

.footer-contact-form {
  background: var(--navy-mid);
  padding: clamp(32px, 4vw, 52px);
  border-top: 2px solid var(--orange);
}

.form-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-heading::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

.form-subheading {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--off-white);
  margin-bottom: 32px;
  line-height: 1.2;
}

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

.form-row .form-group {
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 135, 5, 0.2);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  width: 100%;
  transition: border-color var(--transition-base), background var(--transition-base);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 232, 0.25);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: rgba(247, 135, 5, 0.04);
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpolyline points='1,1 6,7 11,1' stroke='%23f78705' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--navy-deep);
  color: var(--off-white);
}

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

.form-note {
  font-family: var(--font-mono, 'DM Mono', monospace);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(138, 128, 116, 0.5);
  margin-top: 16px;
}

/* Project footer layout — two-column with form */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
  margin-bottom: 72px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand-col img {
  height: 52px;
  width: auto;
}

.footer-brand-col p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.7;
  max-width: 260px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.footer-nav-col a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--warm-gray);
  transition: color var(--transition-base);
}

.footer-nav-col a:hover {
  color: var(--orange);
}

.footer-socials-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .featured-strip-inner {
    grid-template-columns: 1fr;
  }

  .featured-img-col::after {
    background: linear-gradient(to top, var(--black) 0%, transparent 60%);
  }

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

  .about-portrait {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .project-full-card {
    grid-template-columns: 1fr;
  }

  .project-full-card:nth-child(even) {
    direction: ltr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-nav {
    text-align: left;
  }

  .footer-socials {
    align-items: flex-start;
  }

  /* Project pages — 1024px */
  .project-bio {
    grid-template-columns: 1fr;
  }

  .project-bio-img::before {
    display: none;
  }

  .project-bio-img img {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --nav-height: 60px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .about-teaser {
    grid-template-columns: 1fr;
  }

  .about-teaser-img::before {
    display: none;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-nav {
    text-align: center;
  }

  .footer-socials {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-scroll {
    display: none;
  }

  /* Project pages — 768px */
  .project-hero-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

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

  .details-strip-inner {
    gap: 8px;
  }

  .detail-item {
    padding: 16px 24px;
  }

  .detail-item + .detail-item::before {
    display: none;
  }

  .footer-brand-col p {
    max-width: 100%;
  }
}

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

  .featured-content-col {
    padding: 36px 24px;
  }

  /* Project pages — 480px */
  .project-hero-meta {
    gap: 20px;
  }

  .project-hero-meta-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-hero-eyebrow,
  .project-hero-title,
  .project-hero-subtitle,
  .project-hero-meta {
    animation: none;
    opacity: 1;
  }
}
