/* ISO STUDIO — homepage-specific styles */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #111;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: -8%;
  background: #111;
  will-change: transform, filter;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}
.hero-video:not([src]) { display: none; }
.hero-vimeo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-vimeo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-width: 177.77vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 3;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 28% 55%, #e89855 0%, #b86838 28%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 78% 35%, #c81030 0%, #6a0820 35%, transparent 65%),
    radial-gradient(ellipse 80% 100% at 50% 110%, #1a1414 0%, #0a0808 80%),
    linear-gradient(180deg, #1a1010 0%, #0a0606 100%);
  filter: saturate(0.95) contrast(1.05);
  animation: heroPulse 12s ease-in-out infinite alternate;
  z-index: 1;
}
@keyframes heroPulse {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.06) translate(-1.5%, -1%); }
}
.hero-grain {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 2;
}
.hero-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
}
.hero-mark span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17vw;
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: #f0eee8;
  margin-top: -1.5vw;
  white-space: nowrap;
}
.hero-logo {
  position: absolute;
  bottom: 16vh;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  z-index: 4;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.hero-tagline {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  display: flex; justify-content: center;
  padding-top: 6px;
  z-index: 5;
}
.hero-scroll-cue::before {
  content: '';
  width: 1px; height: 8px;
  background: #fff;
  animation: cueDrop 1.6s infinite ease-in-out;
}
@keyframes cueDrop {
  0% { transform: translateY(-4px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ---------- Section base ---------- */
section { position: relative; width: 100%; padding: 140px 6vw; }
.sec-light { background: var(--bg); color: var(--ink); }
.sec-dark  { background: var(--bg-dark); color: #f4f2ec; }

/* ---------- About / Intro ---------- */
.about {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.about-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 40px;
  display: flex; gap: 18px; align-items: center;
}
.about-eyebrow::before, .about-eyebrow::after {
  content: ''; width: 40px; height: 1px; background: currentColor;
}
.about-word {
  font-weight: 800;
  font-size: clamp(80px, 14vw, 240px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  will-change: transform, opacity;
}
/* About — morph rotation (WE IMAGINE / PRODUCE / DELIVER) */
.about-morph {
  position: relative;
  display: block;
  height: 1em;
  isolation: isolate;
  text-align: center;
}
.about-morph .aw {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.04);
  text-shadow:
    0 0 18px rgba(255, 30, 70, 0.6),
    0 0 38px rgba(230, 20, 60, 0.35);
  transition:
    opacity 720ms cubic-bezier(.2,.7,.2,1),
    filter  720ms cubic-bezier(.2,.7,.2,1),
    transform 720ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity;
}
.about-morph .aw.is-active {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}
.about-morph .aw.is-leaving {
  opacity: 0;
  filter: blur(14px);
  transform: scale(0.985);
}
@media (prefers-reduced-motion: reduce) {
  .about-morph .aw { transition: none; animation: none; }
  .about-morph .aw.is-active { opacity: 1; filter: none; }
}
.about-plus {
  display: flex;
  gap: 14px;
  margin: 70px 0 30px;
  font-family: var(--mono);
  font-size: 18px;
}
.about-body {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.about-body strong { color: var(--ink); font-weight: 700; }
.about-cta {
  margin-top: 48px;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.about-cta:hover { gap: 24px; }
.about-cta .arrow-r {
  display: inline-block;
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
}
.about-cta .arrow-r::after {
  content: '';
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- Services (cross-fade pinned) ---------- */
.services {
  position: relative;
  background: #000;
  /* total scroll = 4 panels of 100vh + last one stays */
  height: 800vh;
}
.svc-stage {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  will-change: transform;
}
.svc-rail {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 28px;
  z-index: 50;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: auto;
}
.svc-rail .item {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #f4f2ec;
  position: relative;
  padding: 8px 0;
  opacity: 0.35;
  transition: opacity 0.3s;
}
.svc-rail .item.on { opacity: 1; }
.svc-rail .item.on::before {
  content: ''; position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px;
  background: #f4f2ec; border-radius: 50%;
  writing-mode: initial;
}
.svc-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 42vh 8vw 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.svc-panel.on { opacity: 1; pointer-events: auto; }
.svc-title {
  font-weight: 800;
  font-size: clamp(50px, 9vw, 150px);
  line-height: 0.85;
  letter-spacing: -0.045em;
  position: relative;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
  color: #f4f2ec;
  max-width: 50vw;
  text-align: left;
}
.svc-content {
  position: absolute;
  bottom: 12vh;
  left: 8vw;
  max-width: 460px;
  z-index: 3;
  padding-left: 22px;
  border-left: 1px solid #f4f2ec;
}
.svc-content p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 242, 236, 0.7);
}
.svc-content .pitch { color: #f4f2ec; font-weight: 700; margin-top: 18px; }
.svc-tags {
  display: flex; gap: 56px;
  margin-top: 42px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.svc-tags span { position: relative; padding-top: 16px; }
.svc-tags span::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 1px; height: 8px; background: currentColor;
}

/* floating props */
.svc-prop {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 38vw; height: 70vh;
  pointer-events: none;
  will-change: transform;
}
.prop-shape {
  position: absolute;
  background: linear-gradient(135deg, #d8d4cb 0%, #b9b5ac 100%);
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.prop-shape.tape-1 {
  top: 10%; right: 8%;
  width: 36%; height: 16%;
  transform: rotate(-22deg);
  background: linear-gradient(135deg, #e3dfd6 0%, #c8c4ba 60%, #f3a9b6 100%);
}
.prop-shape.tape-2 {
  top: 48%; right: 18%;
  width: 56%; height: 28%;
  transform: rotate(8deg);
  background:
    radial-gradient(circle at 28% 50%, #2a2a2a 0%, #2a2a2a 8%, transparent 9%),
    radial-gradient(circle at 72% 50%, #2a2a2a 0%, #2a2a2a 8%, transparent 9%),
    linear-gradient(135deg, #ece8df 0%, #d6d2c9 100%);
}
.prop-lens-1 {
  top: 6%; right: 8%;
  width: 22%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f8f6ef 0%, #b6b2a8 70%, #6a6660 100%);
  filter: blur(8px);
}
.prop-lens-2 {
  top: 38%; right: 12%;
  width: 38%; height: 50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #1a1a1a 0%, #1a1a1a 18%, #6e6a64 22%, #c8c4ba 45%, #f0ece3 70%, #b6b2a8 100%);
  box-shadow: inset -20px -20px 60px rgba(0,0,0,0.35), 0 30px 80px rgba(0,0,0,0.25);
}
.prop-cube-1 {
  top: 14%; right: 18%;
  width: 18%; height: 22%;
  background: linear-gradient(135deg, #f0ece3 0%, #d4d0c6 100%);
  transform: rotate(28deg);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.prop-cube-1::after {
  content: ''; position: absolute;
  inset: 30% 35%;
  background: radial-gradient(circle, #c9a25e 0%, #8a6f3e 70%);
  border-radius: 50%;
  filter: blur(2px);
}
.prop-cube-2 {
  top: 50%; right: 6%;
  width: 30%; height: 32%;
  background: linear-gradient(135deg, #ece8df 0%, #c8c4ba 100%);
  transform: rotate(-8deg);
  box-shadow: 0 30px 70px rgba(0,0,0,0.22);
}
.prop-cube-2::after {
  content: ''; position: absolute;
  inset: 28% 32%;
  background: radial-gradient(circle, #d4af6c 0%, #8a6f3e 60%, #5a4628 100%);
  border-radius: 50%;
  filter: blur(3px);
}
.prop-stack {
  top: 12%; right: 12%;
  width: 30%; height: 70%;
  background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
  border-radius: 4px;
  transform: rotate(-12deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.prop-stack::after {
  content: 'PROD.';
  position: absolute;
  bottom: 12%; left: 12%; right: 12%;
  font-family: var(--mono);
  font-size: 12px;
  color: #d8d4cb;
  letter-spacing: 0.2em;
}

/* ---------- Work ---------- */
.work {
  /* Transitions from black services section to the work pile gradient */
  background: linear-gradient(
    180deg,
    #000 0%,
    #000 6%,
    #2a2520 15%,
    #6b6660 28%,
    var(--bg-dark) 42%,
    var(--bg-dark) 58%,
    #6b6660 76%,
    var(--bg) 94%,
    var(--bg) 100%
  );
  color: #f4f2ec;
  min-height: 220vh;
  padding: 180px 0;
  overflow: hidden;
  position: relative;
}
.work-streaks {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      105deg,
      transparent 0 8px,
      rgba(255,255,255,0.015) 8px 9px,
      transparent 9px 60px
    );
  mix-blend-mode: screen;
  pointer-events: none;
}
/* red scroll-glitch layer behind polaroids */
.work-glitch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 25, 60, 0.0) 0px,
      rgba(255, 25, 60, 0.18) 1px,
      rgba(255, 25, 60, 0.0) 2px,
      rgba(255, 25, 60, 0.0) 4px
    ),
    radial-gradient(ellipse 70% 30% at 50% 30%, rgba(255, 30, 70, 0.55), transparent 70%),
    radial-gradient(ellipse 70% 30% at 50% 70%, rgba(220, 15, 55, 0.45), transparent 70%);
  filter: blur(2px);
  transition: opacity 240ms ease-out;
  will-change: opacity, transform, filter;
}
.work-glitch::before,
.work-glitch::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(255, 35, 80, 0.4), transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(0, 200, 255, 0.18), transparent 60%);
  mix-blend-mode: screen;
}
.work-glitch::before { transform: translateX(-6px); }
.work-glitch::after  { transform: translateX(6px); filter: hue-rotate(-12deg); }
.work-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: clamp(220px, 30vw, 520px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #f4f2ec;
  text-align: center;
  white-space: nowrap;
  filter: blur(14px);
  z-index: 1;
  will-change: transform, filter;
}
.work-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 200vh;
  padding: 0 6vw;
}
.card {
  position: absolute;
  text-decoration: none;
  display: block;
  will-change: transform;
  cursor: pointer;
}
.card-inner {
  position: relative;
  background: #f4f2ec;
  color: var(--ink);
  padding: 14px 14px 60px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    0 6px 12px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(0,0,0,0.04);
  transform: rotate(var(--rot, 0deg));
  transform-origin: 50% 60%;
  transition:
    transform 0.55s cubic-bezier(.2,.9,.3,1.2),
    box-shadow 0.45s ease;
}
.card-inner::before {
  /* paper texture */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,0,0,0.06), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0,0,0,0.05), transparent 60%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.012) 0 1px, transparent 1px 3px);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.card-inner::after {
  /* pin / tape */
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  width: 56px; height: 18px;
  transform: translateX(-50%) rotate(var(--tape, -3deg));
  background: linear-gradient(180deg, rgba(255,250,235,0.75), rgba(220,210,180,0.55));
  box-shadow: 0 2px 4px rgba(0,0,0,0.22);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover .card-inner::after { opacity: 1; }

.card:hover { z-index: 20; }
.card:hover .card-inner {
  transform: rotate(0deg) scale(1.08) translateY(-14px);
  box-shadow:
    0 60px 100px rgba(0,0,0,0.55),
    0 14px 28px rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(0,0,0,0.05);
}

/* Focused (clicked) — flies to center of viewport, dims others */
.work-grid.has-focus .card:not(.card-portal) .card-inner {
  filter: grayscale(0.6) brightness(0.55);
  transform: rotate(var(--rot, 0deg)) scale(0.92);
}
/* While a polaroid is focused, kill all hover/interaction on the underlying pile */
.work-grid.has-focus .card:not(.card-portal) {
  pointer-events: none;
}
.work-grid.has-focus .card:not(.card-portal):hover .card-inner {
  /* override the default :hover rule so dimmed cards don't pop */
  transform: rotate(var(--rot, 0deg)) scale(0.92);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    0 6px 12px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(0,0,0,0.04);
}
.work-grid.has-focus .card:not(.card-portal):hover .card-inner::after {
  opacity: 0;
}
/* Portal: a fixed-position clone of the clicked card lifted to body level so it sits above the backdrop */
.card-portal {
  z-index: 100;
  pointer-events: auto;
}
/* Kill the default .card:hover transform on the centered clone so hovering it doesn't fight the focus transform */
.card-portal:hover .card-inner {
  transform:
    translate(var(--fx, 0px), var(--fy, 0px))
    rotate(var(--fr, 0deg))
    scale(var(--fs, 1));
}
.card-portal:hover .card-inner::after { opacity: 0; }
.card-portal .card-inner {
  transform:
    translate(var(--fx, 0px), var(--fy, 0px))
    rotate(var(--fr, 0deg))
    scale(var(--fs, 1));
  transition:
    transform 0.7s cubic-bezier(.2, .85, .25, 1.05),
    box-shadow 0.5s ease;
  box-shadow:
    0 100px 180px rgba(0,0,0,0.75),
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(0,0,0,0.05);
  cursor: zoom-out;
}
/* Show the full image (not cropped) when a polaroid is open in the center */
.card-portal .dropzone .user-media {
  object-fit: contain;
  background: #1a1614;
}

/* Backdrop overlay for focused state */
.work-backdrop {
  position: fixed; inset: 0;
  background: rgba(8, 7, 6, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity 0.5s ease;
}
.work-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
  cursor: zoom-out;
}

.card .thumb {
  width: 100%;
  aspect-ratio: var(--ratio, 1/1);
  background: #888;
  position: relative;
  overflow: hidden;
}
.card .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
  z-index: 2; pointer-events: none;
}
.card .thumb::before {
  /* subtle vignette + filmic tint */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.18) 100%);
  z-index: 2; pointer-events: none;
}

.card-caption {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  overflow: hidden;
}
.card h3 {
  font-family: 'Caveat', 'Bradley Hand', 'Marker Felt', cursive;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.005em;
  text-transform: none;
  color: #1a1612;
  margin: 0;
  line-height: 1;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card .tags {
  display: flex; gap: 8px; flex-wrap: nowrap;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,22,18,0.55);
  flex-shrink: 0;
}
.card .tags span { position: relative; padding: 0; }
.card .tags span + span::before {
  content: '·'; margin-right: 8px; opacity: 0.5;
}

.thumb-ph {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.18em;
  padding: 12px;
}
.thumb-ph.ice    { background: linear-gradient(135deg, #6e9ab8 0%, #c8d8e0 50%, #4a7088 100%); }
.thumb-ph.ski    { background: linear-gradient(180deg, #1a1a22 0%, #4a4a55 70%, #d8d4cb 100%); }
.thumb-ph.alpine { background: linear-gradient(180deg, #2a3a48 0%, #6a5a4a 60%, #a89880 100%); }
.thumb-ph.bike   { background: linear-gradient(180deg, #d49060 0%, #6a4828 60%, #1a1a1a 100%); }
.thumb-ph.peaks  { background: linear-gradient(180deg, #c89878 0%, #6a4858 50%, #2a2838 100%); }
.thumb-ph.studio { background: linear-gradient(135deg, #2a4858 0%, #88a8b8 60%, #1a2838 100%); }
.thumb-ph.car    { background: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 60%, #c81030 100%); }
.thumb-ph.dust   { background: linear-gradient(180deg, #c89868 0%, #886848 60%, #2a2018 100%); }
.thumb-ph.race   { background: linear-gradient(180deg, #88a8b8 0%, #d8d4cb 60%, #f0ece3 100%); }

/* ---------- Team ---------- */
.team { background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
}
.team-card { position: relative; }
.team-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #d8d4cb 0%, #b9b5ac 100%);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.ph-fill { position: absolute; inset: 0; }
.ph-fill.p1 { background: linear-gradient(160deg, #2a3a48 0%, #6a5a4a 100%); }
.ph-fill.p2 { background: linear-gradient(160deg, #4a3838 0%, #c8a888 100%); }
.ph-fill.p3 { background: linear-gradient(160deg, #1a2838 0%, #889898 100%); }
.ph-fill.p4 { background: linear-gradient(160deg, #585048 0%, #d4c4a8 100%); }
.team-portrait::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25));
  z-index: 2;
}
.team-card h4 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.team-card .role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Clients (marquee) ---------- */
.clients {
  background: var(--bg);
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee {
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
.marquee span {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.03em;
  color: var(--muted);
  flex-shrink: 0;
  text-transform: uppercase;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Process ---------- */
.process { background: var(--bg); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 80px;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.step .step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.step h4 {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.step p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- News ---------- */
.news { background: var(--bg); padding-top: 60px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-item {
  text-decoration: none;
  color: inherit;
  display: block;
}
.news-img {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.news-img-bg { position: absolute; inset: 0; }
.news-img-bg.n1 { background: linear-gradient(160deg, #6a4828 0%, #d49060 100%); }
.news-img-bg.n2 { background: linear-gradient(160deg, #2a3a48 0%, #88a8b8 100%); }
.news-img-bg.n3 { background: linear-gradient(160deg, #c81030 0%, #2a0608 100%); }
.news-item .news-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.news-item h4 {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.news-item:hover h4 { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-dark);
  color: #f4f2ec;
  padding: 140px 6vw 0;
  position: relative;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 140px;
}
.contact-links {
  display: flex; flex-direction: column;
  gap: 6px;
}
.contact-link {
  display: flex; align-items: center;
  gap: 18px;
  font-weight: 800;
  font-size: clamp(56px, 7vw, 110px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f4f2ec;
  text-decoration: none;
  transition: opacity 0.3s, gap 0.3s;
}
.contact-link:hover { opacity: 0.7; gap: 28px; }
.contact-link .arrow {
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  width: 0.4em; height: 0.4em;
  transform: rotate(45deg);
  background: transparent;
  flex-shrink: 0;
}
.addr h4 {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #f4f2ec;
}
.addr p { font-size: 14px; line-height: 1.5; color: #c4c0b8; margin-bottom: 14px; }
.addr a {
  color: #f4f2ec;
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-top: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
  width: fit-content;
}
.addr a:hover { color: var(--accent); border-color: var(--accent); }
.addr a.phone, .addr a.phone * { color: #f4f2ec !important; opacity: 1 !important; }

.contact-services {
  display: flex; gap: 80px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 80px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.contact-pitch {
  text-align: center;
  font-size: 14px;
  color: #c4c0b8;
  margin-bottom: 60px;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wordmark-bottom {
  font-weight: 800;
  font-size: clamp(220px, 30vw, 520px);
  letter-spacing: -0.05em;
  line-height: 0.78;
  color: #f4f2ec;
  white-space: nowrap;
  margin: 0 -8vw -0.18em;
  /* Initial state for animation */
  transform: translateX(100vw);
  opacity: 0;
  will-change: transform, opacity;
}

/* ---------- Service media (drop-zones for FILM / PHOTO / SOCIAL / PRODUCTION) ---------- */
.svc-media {
  position: absolute;
  right: 6vw;
  top: 52%;
  transform: translateY(-50%);
  width: 38vw;
  height: 58vh;
  background: #0d0d0d;
  overflow: hidden;
  z-index: 1;
  pointer-events: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  will-change: transform, opacity;
}
.svc-media.svc-media-vertical {
  width: 24vw;
  height: 70vh;
  right: 14vw;
}
.svc-media .user-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-media-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.018) 0 14px,
      transparent 14px 28px),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #d8d4cb;
  text-align: center;
  padding: 24px;
}
.svc-media-ph::before,
.svc-media-ph::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid rgba(255,255,255,0.35);
}
.svc-media-ph::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.svc-media-ph::after  { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.svc-media-ph .ph-label {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.svc-media-ph .ph-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(216,212,203,0.6);
  margin-top: 4px;
}
.svc-media-ph .ph-meta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: rgba(216,212,203,0.35);
  text-transform: uppercase;
}
.svc-media.drag-over {
  outline: 2px dashed rgba(255,255,255,0.6);
  outline-offset: -8px;
}

@media (max-width: 900px) {
  .svc-title { font-size: clamp(40px, 12vw, 100px); word-break: break-word; overflow-wrap: break-word; }
  .svc-prop { width: 60vw; opacity: 0.5; }
  .svc-media { width: 80vw; height: 40vh; right: 10vw; top: auto; bottom: 8vh; transform: none; }
  .svc-media.svc-media-vertical { width: 50vw; height: 50vh; right: 25vw; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-rail { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-mark span { font-size: 18vw; }

  /* About morph - wrap into 2 rows on mobile */
  .about-morph {
    height: 2.2em;
  }
  .about-morph .aw {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: clamp(32px, 8vw, 56px);
    line-height: 1.1;
  }

  /* Portfolio / Work section - mobile grid layout */
  .work {
    min-height: auto;
    padding: 80px 0;
  }
  .work-grid {
    position: relative;
    height: auto;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 6vw;
  }
  .work-ghost {
    display: none;
  }
  .work-glitch {
    display: none;
  }
  .card {
    position: relative !important;
    transform: none !important;
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
    top: auto !important;
    left: auto !important;
  }
  .card-inner {
    transform: rotate(0deg) !important;
    transition: transform 0.3s ease;
  }
  .card:hover .card-inner {
    transform: rotate(0deg) scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .card-inner::after {
    opacity: 1;
  }
  /* Disable portal/focus effect on mobile */
  .card-portal,
  .work-backdrop {
    display: none !important;
  }
  .work-grid.has-focus .card:not(.card-portal) .card-inner {
    filter: none !important;
    transform: none !important;
  }
  .work-grid.has-focus .card:not(.card-portal) {
    pointer-events: auto;
  }
}
