/* ==========================================================================
   TWT — Venture Design Studio
   Light theme: white grounds, red accents,
   Fraunces display + Inter body + IBM Plex Mono utility.
   ========================================================================== */

:root{
  /* --- color --- */
  --ink:        #FFFFFF;
  --ink-2:      #F7F7F7;
  --ink-3:      #EFEFEF;
  --panel:      #FFFFFF;
  --line:       rgba(0,0,0,0.09);
  --line-soft:  rgba(0,0,0,0.06);
  --paper:      #1A1A1A;
  --paper-dim:  #666666;
  --paper-mute: #8C8C8C;
  --copper:     #FF0000;
  --copper-2:   #FF4D4D;
  --ember:      #E60000;
  --ember-hot:  #FF7373;
  --clay:       #990000;

  /* --- type --- */
  --display: "Fraunces", "Iowan Old Style", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* --- scale --- */
  --container: 1240px;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --ease: cubic-bezier(.22,1,.36,1);

  /* --- wilderness hero accents (red family) --- */
  --pine:       #FF1F1F;
  --amber:      #FF3B30;
  --water:      #D92525;
  --frost:      #7A7A7A;
}

/* ---------------------------------- reset ---------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ margin:0; font-family: var(--display); font-weight:500; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
::selection{ background: var(--ember); color: #fff; }

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

:focus-visible{ outline: 2px solid var(--ember); outline-offset: 3px; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.italic{ font-style: italic; font-weight: 400; color: var(--copper); }
.br-desktop{ display:block; }

/* film grain — very subtle on light */
.grain{
  position: fixed; inset:0; z-index: 998; pointer-events:none;
  opacity: 0.025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ember-cursor{
  position: fixed; width:22px; height:22px; border-radius:50%;
  border:1px solid var(--copper); pointer-events:none; z-index:999;
  transform: translate(-50%,-50%); opacity:0; transition: opacity .3s, width .25s, height .25s, background .25s;
  mix-blend-mode: difference;
}
@media (hover:none){ .ember-cursor{ display:none; } }

/* ---------------------------------- eyebrow / titles ---------------------------------- */
.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 18px;
  overflow:hidden;
}
.eyebrow span{ display:inline-block; }
.eyebrow::before{ content:"\25C6 "; color: var(--copper-2); }

.section-title{
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 14ch;
}
.section-desc{
  font-size: 17px;
  color: var(--paper-dim);
  max-width: 46ch;
  line-height: 1.65;
  margin-top: 22px;
}
.section-head{ margin-bottom: 64px; }
.section-head--split{
  display:flex; justify-content: space-between; align-items:flex-end; gap:40px; flex-wrap:wrap;
}
.section-head--split .section-desc{ margin-top:0; padding-bottom: 6px; }

section{ position: relative; }

/* ---------------------------------- buttons ---------------------------------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .45s var(--ease), background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
  white-space: nowrap;
}
.btn svg{ transition: transform .35s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

.btn--solid{
  background: linear-gradient(135deg, var(--copper-2), var(--copper));
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(255,0,0,0.35);
}
.btn--solid:hover{ transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(255,0,0,0.5); }

.btn--outline{
  border-color: var(--line);
  color: var(--paper);
}
.btn--outline:hover{ border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }

.btn--ghost{
  border-color: rgba(0,0,0,0.18);
  color: var(--paper);
  padding: 11px 22px;
  font-size: 13.5px;
}
.btn--ghost:hover{ background: rgba(0,0,0,0.04); }

.btn--text{ color: var(--paper-dim); padding: 15px 4px; }
.btn--text:hover{ color: var(--copper); }

.btn--wide{ width: 100%; justify-content:center; padding: 17px 26px; }

/* ============================================================================
   NAV
   ============================================================================ */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  
  padding: 22px 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s ease;
}
.nav.is-scrolled{
  padding: 14px 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line-soft);
}
.nav__inner{
  max-width: none;
  margin: 0;
  padding: 0 40px;
  display:flex; align-items:center; justify-content: space-between;
}
.nav__logo{
  display:flex; align-items:center; gap:9px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.nav__logo-img{ height: 50px; width: 120%; max-width: 96px; display:block; object-fit: contain; }
.nav__logo-mark{ color: var(--copper); display:flex; }
.nav__links{ display:flex; gap: 40px; }
.nav__links a{
  position:relative; font-size: 14px; color: var(--paper-dim); font-weight:500;
  padding: 4px 0;
}
.nav__links a span{ position:relative; }
.nav__links a::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:1px;
  background: var(--copper); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover{ color: var(--paper); }
.nav__links a:hover::after{ transform: scaleX(1); transform-origin: left; }

.nav__actions{ display:flex; align-items:center; gap:18px; }
.nav__burger{
  display:none; flex-direction:column; justify-content:center; gap:6px;
  width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: 50%;
}
.nav__burger span{ width:16px; height:1.5px; background: var(--paper); margin:0 auto; transition: transform .3s ease, opacity .3s ease; }
.nav__burger.is-open span:nth-child(1){ transform: translateY(3.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset:0; z-index: 490;
  background: var(--ink-2);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), visibility .4s, transform .4s var(--ease);
}
.mobile-menu.is-open{ opacity:1; visibility: visible; transform: translateY(0); }
.mobile-menu nav{ display:flex; flex-direction:column; gap: 26px; text-align:center; }
.mobile-menu a{ font-family: var(--display); font-size: 30px; color: var(--paper); }
.mobile-menu__cta{ color: var(--copper) !important; margin-top:10px; }

/* ============================================================================
   HERO — single-flow card row
   ============================================================================ */
.hero{
  padding: 79px 0 90px;
  padding: 120px 0 90px;
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
}
.hero__intro{ max-width: 620px; padding: 0 24px; margin-bottom: 56px; }
.hero__intro .eyebrow{
  font-size: 12px; letter-spacing: 0.16em; text-transform:uppercase; color: var(--pine);
  font-weight: 600; margin-bottom: 16px;
}
.hero__intro .eyebrow::before{ display: none; }
.hero__intro h1{
  margin-top: 20px;
  font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.01em; color: var(--paper);
}
.hero__intro h1 em{ font-style:italic; color: var(--pine); font-weight:400; }
.hero__sub{
  margin-top: 20px; font-size: 16.5px; color: var(--paper-dim); line-height:1.65;
}

/* hero display — single flex row */
.hero__display{
  display:flex; align-items:center; justify-content:center;
  gap: clamp(10px, 1.6vw, 20px);
  width: 100%;
  padding: 0 24px;
}

/* --- Base card --- */
.hero__card{
  position: relative;
  display:block;
  height: clamp(260px, 32vw, 440px);
  border-radius: 40px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  isolation: isolate;
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    width .6s var(--ease),
    transform .55s var(--ease),
    border-radius .55s var(--ease),
    filter .55s var(--ease),
    opacity .55s var(--ease),
    box-shadow .4s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
  width: clamp(48px, 6vw, 92px);
  filter: saturate(0.4) brightness(1.06);
  opacity: 0.55;
}
.hero__card:hover{
  opacity: 1;
  filter: saturate(0.95) brightness(1);
  transform: translateY(-6px);
}

/* --- Active (center) card --- */
.hero__card.is-active{
  width: clamp(260px, 34vw, 420px);
  filter: none;
  opacity: 1;
  transform: none;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6);
  border-radius: 32px;
}
.hero__card.is-active:hover{ transform: translateY(-6px); }

/* --- Scrim --- */
.hero__card-scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,0.72) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 1;
}
.hero__card:hover .hero__card-scrim{ opacity: 1; }
.hero__card.is-active .hero__card-scrim{ opacity: 1; }

/* --- Badge --- */
.hero__card-badge{
  position:absolute; left:50%; bottom: 12px; transform: translateX(-50%);
  width: 38px; height:38px; border-radius:50%;
  background: #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  z-index: 2;
  transition:
    left .55s var(--ease),
    right .55s var(--ease),
    bottom .55s var(--ease),
    transform .55s var(--ease),
    width .55s var(--ease),
    height .55s var(--ease);
}
.hero__card.is-active .hero__card-badge{
  left: auto; right: 20px; bottom: 20px; transform: none;
  width: 46px; height:46px;
}
.hero__card-badge svg{ width:17px; height:17px; }
.hero__card-badge[data-icon="walk"] svg{ color: #C4573D; }
.hero__card-badge[data-icon="snow"] svg{ color: var(--frost); }
.hero__card-badge[data-icon="pine"] svg{ color: var(--amber); }
.hero__card-badge[data-icon="water"] svg{ color: var(--water); }
.hero__card-badge[data-icon="sun"] svg{ color: var(--amber); }
.hero__card-badge[data-icon="rocket"] svg{ color: #C4573D; }
.hero__card-badge[data-icon="heart"] svg{ color: #E05A5A; }
.hero__card-badge[data-icon="chart"] svg{ color: #4A90D9; }
.hero__card-badge[data-icon="leaf"] svg{ color: #5B8C4E; }
.hero__card-badge[data-icon="shield"] svg{ color: #6B7DB3; }

/* --- Info (visible only on active card) --- */
.hero__card-info{
  position:absolute; left: 22px; right: 80px; bottom: 22px; z-index: 2;
  display:flex; flex-direction:column; gap: 3px; text-align:left;
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.hero__card.is-active .hero__card-info{
  opacity: 1;
  transition-delay: .1s;
}
.hero__card-info strong{
  font-family: var(--display); font-weight:500; font-size: 19px; color: #fff;
}
.hero__card-info em{
  font-style: normal; font-size: 13px; color: rgba(255,255,255,0.78);
}

@media (max-width: 900px){
  .hero__card.is-active{ width: clamp(240px, 52vw, 360px); }
}

@media (max-width: 640px){
  .hero{ padding: 100px 0 60px; }
  .hero__display{ padding: 0 22px; gap: 16px; }
  .hero__card{ height: clamp(200px, 44vw, 320px); }
  .hero__card.is-active{ width: 72vw; max-height: 460px; min-height: 340px; }
  .hero__card-info{ right: 70px; }
}

/* ============================================================================
   MARQUEE
   ============================================================================ */
.marquee{
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  overflow:hidden;
  background: var(--ink-2);
}
.marquee__track{
  display:flex; gap: 22px; white-space:nowrap; width: max-content;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em;
  color: var(--paper-mute); text-transform: uppercase;
  animation: marquee 32s linear infinite;
}
.marquee__track .dot{ color: var(--copper); }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ============================================================================
   LIBRARY — Full-screen looping video case-study gallery
   ============================================================================ */
.library{
  position: relative;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #f5f5f5;
}
.library__bg{
  position: absolute; inset: 0; z-index: 0;
}
.library__video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.1) brightness(0.9);
}
.library__video-fallback{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 40%, rgba(255,0,0,0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 70%, rgba(230,0,0,0.06), transparent 55%),
    linear-gradient(170deg, #fafafa 0%, #f5f5f5 40%, #efefef 100%);
  animation: libraryDrift 18s ease-in-out infinite alternate;
}
@keyframes libraryDrift{
  0%{ background-position: 0% 0%; }
  50%{ background-position: 100% 30%; }
  100%{ background-position: 0% 70%; }
}
.library__overlay{
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.library__overlay-top{
  position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, transparent 100%);
}
.library__overlay-bottom{
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(0deg, rgba(255,255,255,0.94) 0%, transparent 100%);
}
.library__overlay-grain{
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025; mix-blend-mode: multiply;
}
.library__content{
  position: relative; z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; flex-direction: column;
  gap: 40px;
}
.library__head{
  display: flex; align-items: flex-start; gap: 60px;
  flex-wrap: wrap;
}
.library__head .eyebrow{ margin-bottom: 14px; }
.library__title{
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 12ch;
}
.library__sub{
  font-size: 15px;
  color: var(--paper-dim);
  max-width: 38ch;
  line-height: 1.65;
  margin-top: 10px;
}
.library__controls{
  display: flex; gap: 10px; margin-left: auto; align-self: flex-end;
}
.library__arrow{
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .35s ease, background .35s ease, transform .35s var(--ease);
}
.library__arrow:hover{
  border-color: var(--copper);
  background: rgba(255,0,0,0.08);
  transform: scale(1.08);
}
.library__arrow svg{ flex-shrink: 0; }
.library__rail{
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.library__track{
  display: flex; gap: 20px;
  width: max-content;
  cursor: grab;
  user-select: none;
}
.library__track:active{ cursor: grabbing; }
.library-card{
  display: flex; flex-direction: column;
  width: min(340px, 75vw);
  flex-shrink: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px -6px rgba(0,0,0,0.08);
  transition: border-color .45s ease, transform .5s var(--ease), box-shadow .5s var(--ease), background .45s ease;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.library-card:hover{
  border-color: rgba(255,0,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.14), 0 0 0 1px rgba(255,0,0,0.15);
  background: rgba(255,255,255,0.95);
}
.library-card__img{
  position: relative; width: 100%; height: 200px;
  overflow: hidden;
}
.library-card__img img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transform: scale(1.05);
  transition: transform 1s var(--ease), filter .6s ease;
}
.library-card:hover .library-card__img img{
  transform: scale(1);
  filter: saturate(1) contrast(1.05);
}
.library-card__glaze{
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255,0,0,0.12), rgba(255,255,255,0.35) 70%);
  mix-blend-mode: multiply;
  opacity: 0.4;
  transition: opacity .5s ease;
}
.library-card:hover .library-card__glaze{ opacity: 0.3; }
.library-card__body{
  padding: 24px 26px 28px;
  display: flex; flex-direction: column;
  gap: 8px;
  flex: 1;
}
.library-card__header{
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.library-card__batch{
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--copper); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-weight: 600;
}
.library-card__cat{
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--paper-mute);
}
.library-card__title{
  font-size: 22px; font-weight: 500;
  color: var(--paper);
  margin: 4px 0 0;
  font-family: var(--display);
  transition: color .35s ease;
}
.library-card:hover .library-card__title{ color: var(--copper); }
.library-card__desc{
  font-size: 13.5px; color: var(--paper-dim);
  line-height: 1.6;
  flex: 1;
}
.library-card__metrics{
  display: flex; gap: 20px;
  padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 6px;
}
.library-card__metrics span{
  font-family: var(--mono);
  font-size: 11.5px; color: var(--copper);
  letter-spacing: 0.04em;
}
.library-card__cta{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  color: var(--paper-mute);
  margin-top: 4px;
  transition: color .35s ease;
}
.library-card:hover .library-card__cta{ color: var(--copper); }
.library-card__cta svg{ transition: transform .3s var(--ease); }
.library-card:hover .library-card__cta svg{ transform: translateX(3px); }
.library__progress{
  display: flex; align-items: center; justify-content: center;
  padding-top: 4px;
}
.library__progress-bar{
  width: min(300px, 60vw); height: 1px;
  background: rgba(0,0,0,0.1);
  border-radius: 1px;
  overflow: hidden;
}
.library__progress-fill{
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--copper), var(--copper-2));
  border-radius: 1px;
  transition: width .15s ease;
}

/* ============================================================================
   WORK / CAST STUDIES
   ============================================================================ */
.work{ padding: 150px 0 130px; }
.work__list{ display:flex; flex-direction:column; gap: 26px; }

.work-card{
  display:grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow:hidden;
  box-shadow: 0 4px 24px -6px rgba(0,0,0,0.06);
  transition: border-color .4s ease, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work-card:hover{ border-color: rgba(255,0,0,0.3); transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(0,0,0,0.12); }

.work-card__media{ position:relative; overflow:hidden; min-height: 320px; }
.work-card__img{
  position:absolute; inset:-2px;
  background-size: cover; background-position:center;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.12);
  transition: transform 1.2s var(--ease), filter .6s ease;
}
.work-card:hover .work-card__img{ transform: scale(1.02); filter: saturate(1.05) contrast(1.1); }
.work-card__glaze{
  position:absolute; inset:0;
  background: linear-gradient(200deg, rgba(255,0,0,0.15), rgba(255,255,255,0.35) 65%);
  mix-blend-mode: multiply;
  opacity: 0.5;
}
.work-card[data-tint="ember"] .work-card__glaze{ background: linear-gradient(200deg, rgba(255,77,77,0.16), rgba(255,255,255,0.3) 65%); }
.work-card[data-tint="clay"] .work-card__glaze{ background: linear-gradient(200deg, rgba(153,0,0,0.2), rgba(255,255,255,0.35) 65%); }

.work-card__body{ padding: 46px 48px; display:flex; flex-direction:column; justify-content:center; }
.work-card__meta{ display:flex; align-items:center; gap:14px; margin-bottom: 18px; flex-wrap:wrap; }
.work-card__batch{
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform:uppercase;
  color: #fff; background: var(--copper); padding: 5px 11px; border-radius: 999px; font-weight:600;
}
.work-card__tags{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform:uppercase; color: var(--paper-mute); }
.work-card__body h3{ font-size: 30px; color: var(--paper); margin-bottom: 12px; }
.work-card__body > p{ color: var(--paper-dim); line-height:1.6; max-width: 42ch; }
.work-card__stats{ display:flex; gap: 40px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.work-card__stats div{ display:flex; flex-direction:column; gap:4px; }
.work-card__stats strong{ font-family: var(--display); font-size: 26px; color: var(--copper); font-weight:500; }
.work-card__stats span{ font-size: 12.5px; color: var(--paper-mute); }

.work__footer{ display:flex; justify-content:center; margin-top: 54px; }

/* ============================ CAST STUDIES — 3D carousel ===================== */
.cast{ position: relative; margin-top: 60px; }
.cast__carousel{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 60px;
  align-items: center;
}
.cast__stage-wrap{ position: relative; }
.cast__stage{
  position: relative;
  height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.cast__card{
  position: absolute;
  width: 230px;
  height: 310px;
  padding: 0;
  border: none;
  border-radius: var(--radius-l);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.28);
  color: #fff;
  cursor: pointer;
  will-change: transform, opacity, filter;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .5s ease, opacity .5s ease;
}
.cast__card-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255,0,0,0.14), rgba(255,255,255,0.42) 68%);
  mix-blend-mode: multiply;
  opacity: 0.45;
}
.cast__card[data-tint="ember"] .cast__card-scrim{ background: linear-gradient(200deg, rgba(255,77,77,0.18), rgba(255,255,255,0.4) 68%); }
.cast__card[data-tint="clay"]  .cast__card-scrim{ background: linear-gradient(200deg, rgba(153,0,0,0.24), rgba(255,255,255,0.44) 68%); }
.cast__card.is-active{
  box-shadow: 0 34px 64px -22px rgba(255,0,0,0.4), 0 0 0 1px rgba(255,0,0,0.22);
}
.cast__card.is-active .cast__card-scrim{ background: linear-gradient(200deg, rgba(255,0,0,0.08), rgba(255,255,255,0.5) 70%); opacity: 0.35; }
.cast__card-label{
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  display: flex; flex-direction: column; gap: 8px; text-align: left;
}
.cast__card-batch{
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--copper); padding: 4px 9px; border-radius: 999px; font-weight: 600;
  align-self: flex-start;
}
.cast__card-label strong{
  font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.cast__arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 200;
  transition: border-color .35s ease, background .35s ease, transform .35s var(--ease);
}
.cast__arrow:hover{
  border-color: var(--copper);
  background: rgba(255,0,0,0.08);
  transform: translateY(-50%) scale(1.08);
}
.cast__arrow--prev{ left: -8px; }
.cast__arrow--next{ right: -8px; }

.cast__info{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px 34px;
  box-shadow: 0 12px 32px -14px rgba(0,0,0,0.10);
  opacity: 0; transform: translateY(10px);
  pointer-events: none;
  transition: opacity .4s ease .12s, transform .4s ease .12s;
}
.cast__info.is-visible{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.cast__info-meta{ display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cast__info-batch{
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--copper); padding: 5px 11px; border-radius: 999px; font-weight: 600;
}
.cast__info-tags{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-mute); }
.cast__info-title{ font-size: 28px; line-height: 1.15; color: var(--paper); margin-bottom: 12px; }
.cast__info-desc{ color: var(--paper-dim); line-height: 1.6; font-size: 14.5px; }
.cast__info-stats{ display: flex; gap: 34px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.cast__info-stats div{ display: flex; flex-direction: column; gap: 4px; }
.cast__info-stats strong{ font-family: var(--display); font-size: 24px; color: var(--copper); font-weight: 500; }
.cast__info-stats span{ font-size: 12px; color: var(--paper-mute); }

@media (max-width: 980px){
  .cast__carousel{ grid-template-columns: 1fr; gap: 44px; }
  .cast__stage{ height: 330px; }
  .cast__card{ width: 205px; height: 285px; }
  .cast__info{ width: 100%; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 640px){
  .cast__stage{ height: 280px; }
  .cast__card{ width: 175px; height: 245px; }
  .cast__arrow{ width: 40px; height: 40px; }
  .cast__arrow--prev{ left: -2px; }
  .cast__arrow--next{ right: -2px; }
}

/* ============================================================================
   SERVICES
   ============================================================================ */
.services{ padding: 90px 0 150px; }
.services__grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow:hidden;
}
.service-card{
  background: var(--panel);
  padding: 44px 36px;
  transition: background .4s ease, transform .4s var(--ease);
}
.service-card:hover{ background: var(--ink-3); }
.service-card__icon{
  width: 54px; height:54px; border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(150deg, rgba(255,0,0,0.16), rgba(255,0,0,0.04));
  color: var(--copper);
  margin-bottom: 26px;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-card__icon{ transform: translateY(-4px) rotate(-4deg); }
.service-card h3{ font-size: 20px; color: var(--paper); margin-bottom: 12px; font-weight:500; }
.service-card p{ color: var(--paper-dim); font-size: 14.5px; line-height: 1.65; }

/* ============================================================================
   PROCESS ("FIRING PROCESS") - pinned section
   ============================================================================ */
.process{ background: var(--ink-2); }
.process__pin{ padding: 150px 0 150px; }
.process__track{
  position: relative;
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin-top: 20px;
}
.process__line{
  position:absolute; top: -34px; left: 0; right:0; height:1px; background: var(--line);
}
.process__line-fill{
  position:absolute; top:0; left:0; height:100%; width:0%;
  background: linear-gradient(90deg, var(--copper), var(--copper-2));
}
.process__step{
  position:relative; padding-top: 18px;
  opacity: 0.35;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.process__step.is-active{ opacity:1; transform: translateY(0); }
.process__step::before{
  content:""; position:absolute; top:-40px; left:0; width:9px; height:9px; border-radius:50%;
  background: var(--ink-2); border: 1px solid var(--paper-mute);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.process__step.is-active::before{
  background: var(--copper); border-color: var(--copper);
  box-shadow: 0 0 0 5px rgba(255,0,0,0.18);
}
.process__temp{
  display:inline-block; font-family: var(--mono); font-size: 12px; color: var(--copper);
  letter-spacing: 0.06em; margin-bottom: 14px;
}
.process__step h3{ font-size: 24px; color: var(--paper); margin-bottom: 12px; }
.process__step p{ color: var(--paper-dim); font-size: 14.5px; line-height: 1.65; }

/* ============================================================================
   STATS
   ============================================================================ */
.stats{ padding: 150px 0; }
.stats__grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow:hidden;
}
.stat-card{
  background: var(--panel);
  padding: 50px 28px;
  text-align:center;
}
.stat-card__num{
  display:block;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 56px);
  color: var(--copper);
  font-weight: 500;
  margin-bottom: 12px;
}
.stat-card__label{ font-size: 13.5px; color: var(--paper-dim); letter-spacing: 0.01em; }

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testimonials{ padding: 90px 0 150px; }
.testimonials .container{ margin-bottom: 56px; }
.testimonials__rail{ overflow:hidden; }
.testimonials__track{
  display:flex; gap: 26px;
  padding: 0 32px;
  width: max-content;
}
.testi-card{
  width: min(440px, 84vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 42px 40px;
  margin:0;
  box-shadow: 0 4px 24px -6px rgba(0,0,0,0.04);
}
.testi-card blockquote{
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.5;
  color: var(--paper);
  font-weight: 400;
}
.testi-card figcaption{ display:flex; flex-direction:column; gap:3px; }
.testi-card__name{ font-size: 14px; font-weight:600; color: var(--paper); }
.testi-card__role{ font-size: 12.5px; color: var(--paper-mute); font-family: var(--mono); }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq{ padding: 90px 0 150px; }
.faq__container{ max-width: 880px; }
.faq__list{ border-top: 1px solid var(--line); }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item__q{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  background:none; border:none; color: var(--paper); text-align:left;
  padding: 28px 4px; font-size: 18px; font-family: var(--display); font-weight:500;
}
.faq-item__icon{
  position:relative; width:20px; height:20px; flex-shrink:0; margin-left: 20px;
}
.faq-item__icon::before, .faq-item__icon::after{
  content:""; position:absolute; top:50%; left:50%; background: var(--copper);
  transform: translate(-50%,-50%);
  transition: transform .35s var(--ease);
}
.faq-item__icon::before{ width:14px; height:1.5px; }
.faq-item__icon::after{ width:1.5px; height:14px; }
.faq-item[aria-open="true"] .faq-item__icon::after{ transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-item__a{
  height:0; overflow:hidden;
  transition: height .45s var(--ease);
}
.faq-item__a p{ padding: 0 4px 28px; color: var(--paper-dim); font-size:15px; line-height:1.7; max-width: 62ch; }

/* ============================================================================
   CONTACT
   ============================================================================ */
.contact{ padding: 100px 0 150px; position:relative; overflow:hidden; }
.contact__glow{
  position:absolute; top:-10%; left:50%; width: 900px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,0,0,0.08), transparent 65%);
  pointer-events:none;
}
.contact__inner{ position:relative; max-width: 720px; text-align:center; margin: 0 auto; }
.contact__headline{
  font-size: clamp(34px, 5vw, 58px); line-height:1.1; margin-bottom: 22px;
}
.contact .section-desc{ margin: 0 auto 46px; }

.contact__form{ text-align:left; }
.contact__row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field{ position:relative; margin-bottom: 18px; }
.contact__row .field{ margin-bottom:0; }
.field input, .field textarea{
  width:100%; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-s); color: var(--paper); font-family: var(--body); font-size: 15px;
  padding: 20px 18px 8px; resize: vertical;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.field textarea{ min-height: 100px; }
.field input:focus, .field textarea:focus{ border-color: var(--copper); outline:none; background: #FFFFFF; box-shadow: 0 0 0 3px rgba(255,0,0,0.08); }
.field label{
  position:absolute; left:18px; top:19px; color: var(--paper-mute); font-size:15px; pointer-events:none;
  transition: transform .2s ease, font-size .2s ease, color .2s ease, top .2s ease;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label{
  top: 9px; font-size: 11px; letter-spacing: 0.04em; text-transform:uppercase; color: var(--copper);
}
.contact__note{ margin-top:16px; font-size: 13.5px; color: var(--copper); min-height: 1.2em; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer{ background: var(--ink-2); border-top: 1px solid var(--line-soft); padding: 90px 0 30px; }
.footer__top{
  display:grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr; gap: 40px;
  padding-bottom: 60px; border-bottom: 1px solid var(--line-soft);
}
.footer__brand p{ margin-top:18px; color: var(--paper-mute); font-size: 14px; line-height:1.7; }
.footer__col h4{ font-family: var(--mono); font-size: 11.5px; letter-spacing:0.1em; text-transform:uppercase; color: var(--paper-mute); font-weight:500; margin-bottom: 20px; }
.footer__col{ display:flex; flex-direction:column; gap: 13px; }
.footer__col a{ color: var(--paper-dim); font-size: 14.5px; transition: color .3s ease; }
.footer__col a:hover{ color: var(--copper); }
.footer__col--newsletter p{ color: var(--paper-mute); font-size: 13.5px; line-height:1.6; margin-bottom: 6px; }
.footer__newsletter{ display:flex; gap:8px; margin-top: 6px; }
.footer__newsletter input{
  flex:1; background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 16px; color: var(--paper); font-size:13.5px;
}
.footer__newsletter input:focus{ outline:none; border-color: var(--copper); }
.footer__newsletter button{
  width: 42px; height:42px; border-radius:50%; flex-shrink:0;
  background: var(--copper); color: #fff; border:none; display:flex; align-items:center; justify-content:center;
  transition: transform .3s var(--ease);
}
.footer__newsletter button:hover{ transform: scale(1.08); }

.footer__bottom{
  padding-top: 26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 10px;
  font-size: 12.5px; color: var(--paper-mute); font-family: var(--mono);
}
.footer__temp strong{ color: var(--copper); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1080px){
  .work-card{ grid-template-columns: 1fr; }
  .work-card__media{ min-height: 260px; }
  .footer__top{ grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .process__track{ grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .process__line{ display:none; }
}

@media (max-width: 860px){
  .nav__links{ display:none; }
  .nav__cta-desktop{ display:none; }
  .nav__burger{ display:flex; }
  .services__grid{ grid-template-columns: repeat(2, 1fr); }
  .stats__grid{ grid-template-columns: repeat(2, 1fr); }
  .section-head--split{ flex-direction:column; align-items:flex-start; }
  .contact__row{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .container{ padding: 0 22px; }
  .work-card__body{ padding: 34px 26px; }
  .work-card__stats{ gap: 26px; }
  .services__grid{ grid-template-columns: 1fr; }
  .stats__grid{ grid-template-columns: 1fr 1fr; }
  .process__track{ grid-template-columns: 1fr; row-gap: 40px; }
  .footer__top{ grid-template-columns: 1fr; }
  .br-desktop{ display:inline; }
  .work{ padding: 110px 0 90px; }
  .services{ padding: 60px 0 100px; }
  .process__pin{ padding: 100px 0; }
  .stats{ padding: 100px 0; }
  .testimonials{ padding: 60px 0 100px; }
  .faq{ padding: 60px 0 100px; }
  .contact{ padding: 70px 0 100px; }
  .library{ min-height: 620px; }
  .library__content{ padding: 0 22px; gap: 30px; }
  .library__head{ gap: 30px; }
  .library__controls{ margin-left: 0; }
  .library-card{ width: min(300px, 68vw); }
}
