/* =========================================================
   SURFACE MASTERS — Shared Stylesheet
   ========================================================= */

:root {
  --bg:        #0A0E1A;
  --bg-2:      #0F1525;
  --bg-3:      #080B14;
  --ink:       #EDEEF2;
  --ink-dim:   #8a8f9c;
  --ink-faint: #2a2f3e;
  --navy:      #1B2F5E;
  --orange:    #D95F1A;
  --orange-hi: #F07A34;

  --font-display: 'Teko', sans-serif;
  --font-serif:   'Instrument Serif', serif;
  --font-body:    'DM Sans', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Custom cursor removed */

/* =========================================================
   NAV
   ========================================================= */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
nav.site-nav.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 48px;
  border-bottom: 1px solid var(--ink-faint);
}
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-wrap img {
  height: 84px;
  width: auto;
  transition: height 0.4s var(--ease);
}
nav.site-nav.scrolled .logo-wrap img { height: 64px; }
.logo-wrap .subtext {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-dim);
  font-size: 22px;
  letter-spacing: 0.02em;
}
@media (max-width: 700px) { .logo-wrap .subtext { display: none; } }

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease);
  position: relative;
  font-weight: 400;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

@media (max-width: 700px) {
  nav.site-nav { padding: 16px 20px; }
  nav.site-nav.scrolled { padding: 12px 20px; }
  .logo-wrap img { height: 68px; }
  nav.site-nav.scrolled .logo-wrap img { height: 54px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.18em; }
}

/* =========================================================
   SHARED SECTION COMPONENTS
   ========================================================= */
section { padding: 140px 48px; position: relative; }
.container { max-width: 1440px; margin: 0 auto; }
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 56px;
}
.section-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--orange);
}
@media (max-width: 700px) {
  section { padding: 90px 24px; }
  .section-label { margin-bottom: 36px; }
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; text-transform: uppercase; line-height: 0.92; }
em.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--orange);
  letter-spacing: 0;
}

/* =========================================================
   HERO (HOMEPAGE)
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media img {
  animation: slowZoom 22s var(--ease) infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.5) 0%, rgba(10,14,26,0.25) 40%, rgba(10,14,26,0.94) 100%);
  z-index: -1;
}
.hero-content { width: 100%; }
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}
.hero h1 {
  font-size: clamp(64px, 13vw, 220px);
}
.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero h1 .word > span {
  display: inline-block;
  transform: translateY(100%);
  animation: slideUp 1.2s var(--ease) forwards;
}
.hero h1 .word:nth-child(1) > span { animation-delay: 0.4s; }
.hero h1 .word:nth-child(2) > span { animation-delay: 0.55s; }
.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.2s forwards;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--ink-dim);
  max-width: 380px;
}
.scroll-indicator {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-indicator .line {
  width: 48px; height: 1px;
  background: var(--ink-dim);
  position: relative;
  overflow: hidden;
}
.scroll-indicator .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateX(-100%);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  to { transform: translateY(0); }
}
@media (max-width: 700px) {
  .hero { padding: 0 24px 40px; min-height: 620px; }
  .hero-footer { flex-direction: column; align-items: flex-start; gap: 28px; }
}

/* =========================================================
   HERO (SERVICE PAGES — single image, top-padded)
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  margin-top: 0;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.3) 40%, rgba(10,14,26,0.92) 100%);
  z-index: -1;
}
.page-hero-content { width: 100%; }
.page-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.page-hero h1 {
  font-size: clamp(56px, 11vw, 180px);
}
.page-hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  color: var(--ink-dim);
  max-width: 540px;
  margin-top: 32px;
}
@media (max-width: 700px) {
  .page-hero { padding: 0 24px 40px; min-height: 70vh; }
}

/* =========================================================
   MANIFESTO / TEXT SECTION
   ========================================================= */
.manifesto { background: var(--bg); }
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 120px;
  align-items: start;
}
.manifesto-text h2 {
  font-size: clamp(48px, 6vw, 96px);
}
.manifesto-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 580px;
}
.manifesto-body p + p { margin-top: 24px; }
.manifesto-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 120px;
  padding-top: 60px;
  border-top: 1px solid var(--ink-faint);
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-stats { grid-template-columns: repeat(2, 1fr); gap: 36px; margin-top: 80px; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--bg-2);
  border-top: 1px solid var(--ink-faint);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image { aspect-ratio: 5/4; overflow: hidden; }
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.8s var(--ease);
}
.about:hover .about-image img { transform: scale(1.04); }
.about-text h2 { font-size: clamp(42px, 5vw, 80px); margin-bottom: 32px; }
.about-text p { font-size: 17px; line-height: 1.75; color: var(--ink-dim); }
.about-text p + p { margin-top: 22px; }
.about-text .signature {
  margin-top: 40px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* =========================================================
   SERVICES TILES (HOMEPAGE)
   ========================================================= */
.services { background: var(--bg-2); padding: 0; }
.service {
  position: relative;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--ink-faint);
  overflow: hidden;
}
.service:nth-child(even) .service-media { order: 2; }
.service:nth-child(even) .service-content { order: 1; }
.service-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: var(--bg-2);
}
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease), filter 1.8s var(--ease);
  filter: grayscale(0.25) brightness(0.85);
}
.service:hover .service-media img {
  transform: scale(1.04);
  filter: grayscale(0) brightness(1);
}
.service-number {
  position: absolute;
  top: 32px; left: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.1em;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.service-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.service-content h3 { font-size: clamp(48px, 5.5vw, 88px); }
.service-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 480px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-faint);
  width: fit-content;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.service-link:hover {
  color: var(--orange);
  border-color: var(--orange);
  gap: 22px;
}
.service-link .arrow {
  width: 20px; height: 1px;
  background: currentColor;
  position: relative;
}
.service-link .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -4px;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service-media { order: 1; }
  .service:nth-child(even) .service-content { order: 2; }
  .service-content { padding: 56px 28px; gap: 24px; }
  .service-media { min-height: 380px; }
}

/* =========================================================
   WORK SHOWCASE
   ========================================================= */
.work { background: var(--bg); padding: 140px 0; overflow: hidden; }
.work-header {
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}
.work-header h2 { font-size: clamp(48px, 6vw, 96px); }
.work-meta {
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  max-width: 320px;
  text-align: right;
  line-height: 1.6;
}
.work-scroller {
  display: flex;
  gap: 32px;
  padding: 0 48px 40px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.work-scroller::-webkit-scrollbar { display: none; }
.work-item {
  flex: 0 0 540px;
  scroll-snap-align: start;
  position: relative;
}
.work-item-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-2);
}
.work-item-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.work-item:hover .work-item-media img { transform: scale(1.06); }
.work-item-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,14,26,0.6));
  pointer-events: none;
}
.work-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px;
}
.work-item-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.work-item-cat {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-dim);
}
@media (max-width: 700px) {
  .work-header { padding: 0 24px; flex-direction: column; gap: 20px; align-items: flex-start; margin-bottom: 48px; }
  .work-meta { text-align: left; }
  .work-scroller { padding: 0 24px 30px; gap: 20px; }
  .work-item { flex: 0 0 78vw; }
}

/* =========================================================
   PHILOSOPHY BLOCKQUOTE
   ========================================================= */
.philosophy { padding: 200px 48px; text-align: center; background: var(--bg); }
.philosophy blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.2;
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.philosophy blockquote em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--orange);
}
.philosophy .mark {
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--orange);
  display: block;
  line-height: 0.5;
  margin-bottom: 40px;
  opacity: 0.6;
}
@media (max-width: 700px) { .philosophy { padding: 120px 24px; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  padding: 32px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee-item::after {
  content: '✦';
  color: var(--orange);
  font-size: 20px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   PROCESS (service pages)
   ========================================================= */
.process { background: var(--bg-2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-faint);
  margin-top: 40px;
}
.process-grid.five-steps {
  grid-template-columns: repeat(5, 1fr);
}
.process-step {
  background: var(--bg-2);
  padding: 56px 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  transition: background 0.3s var(--ease);
}
.process-step:hover { background: var(--bg); }
.process-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--orange);
}
.process-step h4 {
  font-size: 32px;
  line-height: 1;
}
.process-step p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 1200px) {
  .process-grid.five-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid.five-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step { min-height: 260px; padding: 40px 28px; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid.five-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   GALLERY (service pages)
   ========================================================= */
.gallery { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1s var(--ease);
  filter: grayscale(0.15) brightness(0.92);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(1);
}
.gallery-item-caption {
  position: absolute;
  bottom: 20px; left: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.gallery-item:hover .gallery-item-caption { opacity: 1; transform: translateY(0); }

/* size variants using 12-col grid */
.g-wide    { grid-column: span 8; aspect-ratio: 16/10; }
.g-med     { grid-column: span 4; aspect-ratio: 4/5; }
.g-tall    { grid-column: span 4; aspect-ratio: 3/5; }
.g-square  { grid-column: span 4; aspect-ratio: 1/1; }
.g-half    { grid-column: span 6; aspect-ratio: 4/3; }
.g-third   { grid-column: span 4; aspect-ratio: 4/5; }

@media (max-width: 900px) {
  .g-wide, .g-med, .g-tall, .g-square, .g-half, .g-third { grid-column: span 12; aspect-ratio: 4/3; }
}

/* =========================================================
   SPEC / FEATURE TWO-COL
   ========================================================= */
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.spec-image { aspect-ratio: 4/5; overflow: hidden; }
.spec-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease);
}
.spec:hover .spec-image img { transform: scale(1.04); }

/* Override when spec-image contains video — videos are landscape, not portrait */
.spec-image.spec-video {
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
  cursor: pointer;
}
.spec-image.spec-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border-radius: 50%;
  background: rgba(217, 95, 26, 0.92);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  border: none;
  cursor: pointer;
  z-index: 3;
  padding-left: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.video-play-btn:hover {
  background: rgba(240, 122, 52, 0.95);
  transform: translate(-50%, -50%) scale(1.08);
}
/* Hide play button when video is actively playing */
.spec-image.spec-video.is-playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.spec-text h3 { font-size: clamp(40px, 4.5vw, 72px); margin-bottom: 32px; }
.spec-text p { font-size: 17px; line-height: 1.7; color: var(--ink-dim); }
.spec-text p + p { margin-top: 20px; }
.spec-list { list-style: none; margin-top: 32px; }
.spec-list li {
  padding: 16px 0;
  border-top: 1px solid var(--ink-faint);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.spec-list li:last-child { border-bottom: 1px solid var(--ink-faint); }
.spec-list li span { color: var(--ink); font-family: var(--font-display); font-size: 18px; letter-spacing: 0.06em; }
@media (max-width: 900px) {
  .spec { grid-template-columns: 1fr; gap: 40px; }
  /* On mobile, make spec images landscape-ish so they don't dominate the viewport */
  .spec-image { aspect-ratio: 5/4; }
}

/* =========================================================
   OTHER SERVICES (service page footer nav)
   ========================================================= */
.other-services { background: var(--bg-2); border-top: 1px solid var(--ink-faint); }
.other-services h2 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 64px; }
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.other-card {
  display: block;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.other-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1s var(--ease);
  filter: grayscale(0.3) brightness(0.7);
}
.other-card:hover img { transform: scale(1.06); filter: grayscale(0) brightness(0.85); }
.other-card-label {
  position: absolute;
  left: 28px; bottom: 28px; right: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  z-index: 2;
}
.other-card-label em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  text-transform: lowercase;
}
.other-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,14,26,0.92));
  z-index: 1;
}
@media (max-width: 900px) {
  .other-grid { grid-template-columns: 1fr; gap: 16px; }
  .other-card { aspect-ratio: 4/3; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 180px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--ink-faint);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact h2 {
  font-size: clamp(64px, 10vw, 180px);
  margin-bottom: 48px;
}
.contact p {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 600px;
  margin: 0 auto 64px;
  line-height: 1.6;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 22px 44px;
  background: var(--orange);
  color: var(--bg);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), gap 0.3s var(--ease);
}
.cta-btn:hover { background: var(--orange-hi); gap: 32px; }
.cta-btn .arrow {
  width: 24px; height: 1px;
  background: var(--bg);
  position: relative;
}
.cta-btn .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -4px;
  width: 9px; height: 9px;
  border-top: 1px solid var(--bg);
  border-right: 1px solid var(--bg);
  transform: rotate(45deg);
}
.contact-meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 80px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.contact-meta a { color: var(--ink); transition: color 0.3s var(--ease); }
.contact-meta a:hover { color: var(--orange); }

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--ink-faint);
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
footer.site-footer em {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: 12px;
}
@media (max-width: 700px) {
  footer.site-footer { flex-direction: column; gap: 12px; padding: 28px 24px; text-align: center; }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

/* =========================================================
   ENHANCED ANIMATIONS
   ========================================================= */

/* Scroll progress bar at top of page */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-hi) 100%);
  z-index: 200; transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(217, 95, 26, 0.4);
}

/* Clip-path image reveal on scroll */
.reveal-clip { overflow: hidden; }
.reveal-clip img,
.reveal-clip > * {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease);
}
.reveal-clip.in img,
.reveal-clip.in > * {
  clip-path: inset(0 0 0 0);
}

/* Letter-by-letter heading reveal */
.split-text .char {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.split-text.in .char {
  transform: translateY(0);
  opacity: 1;
}

/* Hero parallax (image/video moves slower than scroll) */
.hero-media { will-change: transform; }

/* Service tile 3D hover tilt */
.service-media {
  perspective: 1200px;
}
.service-media img {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Work tile hover lift + shadow glow */
.work-item {
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.work-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px -20px rgba(217, 95, 26, 0.25);
}

/* CTA magnetic float */
.cta-btn {
  position: relative;
  animation: ctaFloat 3.2s ease-in-out infinite;
}
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.cta-btn::before {
  content: '';
  position: absolute; inset: -2px;
  border: 1px solid var(--orange);
  border-radius: 2px;
  opacity: 0.4;
  animation: ctaRing 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes ctaRing {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* Section-label animated line extension */
.section-label::before {
  width: 0;
  transition: width 0.8s var(--ease) 0.2s;
}
.section-label.in::before,
section.in-view .section-label::before {
  width: 32px;
}
.reveal.in .section-label::before,
.in .section-label::before {
  width: 32px;
}

/* Animated underline on h2 */
h2 em.serif {
  position: relative;
  display: inline-block;
}
h2 em.serif::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 1.2s var(--ease) 0.4s;
}
.in h2 em.serif::after,
.reveal.in h2 em.serif::after {
  width: 100%;
}

/* Service number subtle float */
.service-number {
  animation: subtleFloat 4s ease-in-out infinite;
}
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-3px); opacity: 0.85; }
}

/* Hero tagline cursor blink */
.hero-tagline::after {
  content: '_';
  color: var(--orange);
  animation: blink 1.1s steps(1) infinite;
  margin-left: 2px;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Philosophy mark gentle pulse */
.philosophy .mark {
  animation: markPulse 4s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Stat numbers counter reveal with shimmer */
.stat-number {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink) 50%, var(--orange) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 1.8s var(--ease);
}
.in .stat-number {
  background-position: 100% 0%;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-media img, .hero-media video { animation: none; }
}

/* =========================================================
   LEAD FORM
   ========================================================= */
.lead-form-section {
  padding: 140px 48px 120px;
  background: var(--bg);
  border-top: 1px solid var(--ink-faint);
}
.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.lead-form-intro h2 {
  font-size: clamp(48px, 6vw, 80px);
  margin-bottom: 28px;
}
.lead-form-intro p {
  font-size: 17px; line-height: 1.7; color: var(--ink-dim);
  max-width: 440px; margin-bottom: 40px;
}
.lead-form-intro .trust-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--ink-faint); padding-top: 28px;
}
.lead-form-intro .trust-list li {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim); padding: 12px 0;
  border-bottom: 1px solid var(--ink-faint);
  display: flex; align-items: center; gap: 14px;
}
.lead-form-intro .trust-list li::before {
  content: '✦'; color: var(--orange); font-size: 12px;
}
.lead-form {
  background: var(--bg-2);
  border: 1px solid var(--ink-faint);
  padding: 48px;
  border-radius: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: block; margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 10px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--ink-faint);
  color: var(--ink);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--bg-3);
}
.form-field textarea {
  min-height: 90px; resize: vertical; font-family: var(--font-body);
}
.form-submit {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 36px; background: var(--orange); color: var(--bg);
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 500; border-radius: 2px; cursor: pointer;
  border: none; transition: background 0.3s var(--ease), gap 0.3s var(--ease);
  width: 100%; justify-content: center; margin-top: 8px;
}
.form-submit:hover { background: var(--orange-hi); gap: 24px; }
.form-footer {
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--ink-dim); margin-top: 20px; text-align: center;
}
.form-footer a { color: var(--ink); }
@media (max-width: 900px) {
  .lead-form-grid { grid-template-columns: 1fr; gap: 48px; }
  .lead-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form-section { padding: 90px 24px; }
}

/* =========================================================
   LOCAL / FLYBY SECTION
   ========================================================= */
.local-section {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}
.local-media { position: absolute; inset: 0; z-index: 0; }
.local-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.local-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.45) 50%, rgba(10,14,26,0.88) 100%);
}
.local-content {
  position: relative; z-index: 2;
  max-width: 900px;
}
.local-content .section-label { justify-content: center; margin-bottom: 28px; }
.local-content .section-label { display: inline-flex; }
.local-content h2 {
  font-size: clamp(56px, 9vw, 160px);
  margin-bottom: 32px;
  line-height: 0.95;
}
.local-content p {
  font-size: 18px; color: var(--ink);
  line-height: 1.6; max-width: 640px; margin: 0 auto 24px;
}
.local-cities {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--orange);
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .local-section { min-height: 60vh; padding: 60px 20px; }
}

/* =========================================================
   TYPOGRAPHY - WORD-BREAK PREVENTION
   Prevents words from splitting awkwardly across lines
   ========================================================= */

/* Base rule: never break mid-word */
body, h1, h2, h3, h4, p, span, a, li, div {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Headings especially: never hyphenate, prefer word wrap */
h1, h2, h3, h4,
.hero h1, .manifesto-text h2, .about-text h2,
.service-content h3, .work-header h2, .contact h2,
.page-hero-content h1, .lead-form-intro h2,
.local-content h2, .lp-hero-content h1,
.lp-services-head h2, .lp-process-head h2,
.lp-final-cta h2 {
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

/* For smaller screens, allow long words to wrap at natural break points */
@media (max-width: 700px) {
  h1, h2, h3, h4 {
    overflow-wrap: break-word;
  }
  .hero h1 { font-size: clamp(52px, 11vw, 220px); }
}

/* Prevent orphaned words on key headlines - use non-breaking spaces */
.nobreak { white-space: nowrap; }

/* =========================================================
   ENHANCED ANIMATIONS - ROUND 2
   ========================================================= */

/* Subtle parallax on gallery/work images via transform */
.work-item, .gallery-item {
  perspective: 1000px;
}
.work-item img, .gallery-item img {
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mouse-follow shine effect on service cards */
.service-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(217, 95, 26, 0.15) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.service:hover .service-media::before { opacity: 1; }

/* Section label gradient sweep animation on view */
.section-label::before {
  background: linear-gradient(90deg, var(--orange), var(--orange-hi), var(--orange));
  background-size: 200% 100%;
  animation: labelSweep 3s ease-in-out infinite;
}
@keyframes labelSweep {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero text letter-spacing on load */
.hero h1 .word > span {
  letter-spacing: 0.05em;
  animation: slideUp 1.2s var(--ease) forwards, letterTighten 2s var(--ease) forwards;
}
@keyframes letterTighten {
  0% { letter-spacing: 0.05em; }
  100% { letter-spacing: -0.01em; }
}

/* Page transition: fade-slide when navigating */
@media (prefers-reduced-motion: no-preference) {
  .page-hero {
    animation: pageEnter 1s var(--ease) forwards;
  }
}
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle pulse on phone number in nav/CTA */
.lp-phone {
  position: relative;
}
.lp-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  border: 2px solid var(--orange);
  opacity: 0;
  animation: phonePulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes phonePulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

/* Work items: stagger rise from below on scroll */
.work-grid.in .work-item {
  animation: workRise 0.9s var(--ease) backwards;
}
.work-grid.in .work-item:nth-child(1) { animation-delay: 0.05s; }
.work-grid.in .work-item:nth-child(2) { animation-delay: 0.12s; }
.work-grid.in .work-item:nth-child(3) { animation-delay: 0.19s; }
.work-grid.in .work-item:nth-child(4) { animation-delay: 0.26s; }
.work-grid.in .work-item:nth-child(5) { animation-delay: 0.33s; }
.work-grid.in .work-item:nth-child(6) { animation-delay: 0.40s; }
.work-grid.in .work-item:nth-child(7) { animation-delay: 0.47s; }
.work-grid.in .work-item:nth-child(8) { animation-delay: 0.54s; }
.work-grid.in .work-item:nth-child(9) { animation-delay: 0.61s; }
.work-grid.in .work-item:nth-child(10) { animation-delay: 0.68s; }
.work-grid.in .work-item:nth-child(11) { animation-delay: 0.75s; }
.work-grid.in .work-item:nth-child(12) { animation-delay: 0.82s; }
@keyframes workRise {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero image/video zoom-breathe effect (subtle) */
.hero-media video {
  animation: heroBreathe 18s ease-in-out infinite alternate;
}
@keyframes heroBreathe {
  0% { transform: scale(1.01); }
  100% { transform: scale(1.05); }
}

/* Local section text rise */
.local-content h2 {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 60%, rgba(237, 238, 242, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stat numbers glow on view */
.in .stat-number {
  text-shadow: 0 0 30px rgba(217, 95, 26, 0.25);
}

/* Gallery items: hover lift with tilt */
.gallery-item {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s var(--ease);
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
}

/* Smooth reveal for trust-list items on form */
.trust-list li {
  transform: translateX(-10px);
  opacity: 0;
  animation: trustSlide 0.6s var(--ease) forwards;
}
.trust-list li:nth-child(1) { animation-delay: 0.2s; }
.trust-list li:nth-child(2) { animation-delay: 0.3s; }
.trust-list li:nth-child(3) { animation-delay: 0.4s; }
.trust-list li:nth-child(4) { animation-delay: 0.5s; }
@keyframes trustSlide {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Form field focus ring */
.form-field input:focus, .form-field select:focus, .form-field textarea:focus,
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(217, 95, 26, 0.12);
}

/* Reduced motion support — respect user preference */
@media (prefers-reduced-motion: reduce) {
  .hero-media video,
  .section-label::before,
  .lp-phone::after,
  .work-grid.in .work-item,
  .trust-list li {
    animation: none !important;
  }
}
