/* ============================================================
   INDUSTRIA — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,700;0,900;1,700&family=Archivo+Black&family=Abril+Fatface&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --black: #060606;
  --near-black: #0d0c0b;
  --surface: #171615;
  --surface-2: #1e1c1a;
  --line: #2b2825;
  --off-white: #f4f2ec;
  --grey: #a39c92;
  --grey-dim: #6b655e;
  --accent: #605f5d;
  --accent-2: #8a8377;
  --accent-dim: #3a3937;

  --font-display: 'Archivo', 'Archivo Black', system-ui, sans-serif;
  --font-serif: 'Abril Fatface', 'Archivo Black', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1400px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-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; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
::selection{ background: var(--accent); color: var(--black); }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.98;
  margin: 0;
}
.eyebrow{
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
p{ margin: 0; }
.text-grey{ color: var(--grey); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 100px;
  border: 1px solid var(--off-white);
  background: transparent;
  color: var(--off-white);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:hover{
  background: var(--off-white);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-solid{
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}
.btn-solid:hover{
  background: var(--off-white);
  border-color: var(--off-white);
  color: var(--black);
}
.btn-ghost{
  border-color: var(--line);
  color: var(--grey);
}
.btn-ghost:hover{
  border-color: var(--off-white);
  color: var(--off-white);
  background: transparent;
}
.btn-arrow{ transition: transform .35s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
}
.nav-logo{
  display: inline-flex;
  align-items: center;
}
.nav-logo-img{ height: 17px; width: auto; display: block; }
.nav-links{
  display: flex;
  gap: 40px;
}
.nav-links a{
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--off-white);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after{
  content:'';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after{ width: 100%; }
.nav-links a.active{ color: var(--accent); mix-blend-mode: normal; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 200;
}
.nav-toggle span{
  width: 24px; height: 2px;
  background: var(--off-white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 0 var(--gutter);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-menu.open{ transform: translateY(0); }
.mobile-menu a{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12vw;
  line-height: 1.05;
  color: var(--off-white);
}
.mobile-menu a:hover{ color: var(--accent); }

/* ---------- Hero / Orbit ---------- */
.hero{
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--black);
}
.hero-logo-center{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.mesh-logo{
  flex-shrink: 0;
  opacity: .95;
  pointer-events: auto;
}
.hero-logo-center .mesh-logo{
  width: min(124.6vw, 1839px);
  aspect-ratio: 230.67 / 28.62;
}

/* ---------- Work page mesh banner ---------- */
.work-mesh-banner{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 64px var(--gutter);
  border-top: 1px solid var(--line);
}
.work-mesh-banner .mesh-logo{
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 1755.4 / 117;
}

/* ---------- Work hero image trail ---------- */
#work-hero{ overflow: hidden; }
#work-hero .container{ position: relative; z-index: 1; pointer-events: none; }
.image-trail-layer{
  position: absolute;
  inset: 0;
  z-index: 2;
}
.trail-item{
  position: absolute;
  width: 134px;
  height: 238px;
  transform: translate(-50%, -50%);
  overflow: hidden;
}
.trail-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px){
  .trail-item{ width: 96px; height: 171px; }
}

.orbit-section{
  position: relative;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
}
.hero-orbit{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-stage{
  position: relative;
  width: 100%;
  height: 100%;
}
.orbit-tile{
  position: absolute;
  left: 50%; top: 50%;
  width: 240px;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  will-change: transform;
}
.orbit-tile-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .5s var(--ease);
}
.orbit-tile.swap .orbit-tile-bg{ opacity: 0; }
.orbit-tile-label{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 13px;
  background: linear-gradient(180deg, rgba(10,10,11,0) 45%, rgba(10,10,11,.88) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.orbit-tile:hover .orbit-tile-label{ opacity: 1; transform: translateY(0); }
.orbit-tile-name{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.15;
  color: var(--off-white);
}
.orbit-tile-cat{
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-wall-caption{
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  z-index: 1500;
  max-width: 440px;
  text-align: center;
}
.hero-wall-caption h1{
  font-size: clamp(26px, 3vw, 38px);
  margin-top: 14px;
}
.hero-serif{
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
  line-height: 1.05;
}
.hero-wall-desc{
  margin-top: 16px;
  max-width: 400px;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.6;
}
.hero-wall-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
}

.hero-scroll{
  position: absolute;
  bottom: 24px;
  right: var(--gutter);
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-dim);
}
.hero-scroll .dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite ease-in-out;
}
@keyframes pulse{
  0%, 100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.6); opacity: .4; }
}

@media (max-width: 860px){
  .hero{ height: auto; min-height: 0; padding-top: 110px; padding-bottom: 56px; }
  .hero-logo-center{ position: relative; inset: auto; padding: 0 var(--gutter); }
  .hero-logo-center .mesh-logo{ width: min(60vw, 320px); aspect-ratio: 170.87 / 24.33; }
  .work-mesh-banner{ padding: 40px var(--gutter); }
  .work-mesh-banner .mesh-logo{ width: 100%; aspect-ratio: 4 / 1; }
  .hero-wall-caption{ position: relative; left: 0; bottom: 0; transform: none; margin: 40px var(--gutter) 0; max-width: none; }
  .hero-scroll{ position: relative; right: auto; bottom: auto; margin: 24px var(--gutter) 0; }

  .orbit-section{ height: auto; min-height: 0; }
  .hero-orbit{ position: relative; padding: 40px var(--gutter); }
  .orbit-stage{
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
  .orbit-tile{
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ---------- Sections ---------- */
section{ position: relative; }
.section-pad{ padding: 140px 0; }
.section-pad-sm{ padding: 90px 0; }
.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.section-head h2{ font-size: clamp(32px, 5vw, 64px); }
.section-head .head-desc{ max-width: 380px; color: var(--grey); font-size: 15px; line-height: 1.6; }

.divider{ height: 1px; background: var(--line); width: 100%; }

/* ---------- Marquee ---------- */
.marquee{
  overflow: hidden;
  padding: 26px 0;
  background: var(--near-black);
}
.marquee-track{
  display: flex;
  width: max-content;
  animation: scroll 32s linear infinite;
}
.marquee-track span{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 22px;
  color: var(--grey-dim);
  padding: 0 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 28px;
}
.marquee-track span::after{ content: '★'; color: var(--accent); -webkit-text-stroke: 0; font-size: 14px; }
@keyframes scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- Manifesto / About intro ---------- */
.manifesto-mark{
  width: 49px;
  height: auto;
  opacity: .85;
  margin-bottom: 28px;
}
.manifesto p{
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.3;
  letter-spacing: 0;
  max-width: 1180px;
}
.manifesto .dim{ color: var(--grey-dim); }
.manifesto .accent{ color: var(--accent); }

/* ---------- Services ---------- */
.services-list{ border-top: 1px solid var(--line); }
.service-row{
  display: grid;
  grid-template-columns: 90px 1fr 320px;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease), background .4s var(--ease);
}
.service-row:hover{ padding-left: 20px; background: var(--surface); }
.service-num{ font-family: var(--font-display); color: var(--grey-dim); font-size: 14px; }
.service-name{ font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); }
.service-desc{ color: var(--grey); font-size: 14px; line-height: 1.6; }
.service-row:hover .service-num{ color: var(--accent); }

/* ---------- Work: desktop hover-reveal list ---------- */
.work-grid-wrap{ display: none; }
.work-reveal-wrap{ display: block; position: relative; }

.work-reveal-image{
  position: absolute;
  top: 0; left: 0;
  width: 320px;
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  transition: opacity .25s var(--ease);
  will-change: transform;
}
.work-reveal-image.active{ opacity: 1; }
.work-reveal-image-layer{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  transition: transform .5s cubic-bezier(.16,.84,.44,1);
}
.work-reveal-image-layer.enter-from-bottom{ transform: translateY(100%); }
.work-reveal-image-layer.enter-from-top{ transform: translateY(-100%); }
.work-reveal-image-layer.exit-to-top{ transform: translateY(-100%); }
.work-reveal-image-layer.exit-to-bottom{ transform: translateY(100%); }

.work-reveal-list{ border-top: 1px solid var(--line); }
.hover-row{
  position: relative;
  display: block;
  text-align: center;
  padding: 22px 100px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.hover-row-num{
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--grey-dim);
}
.hover-row-name-wrap{ display: inline-block; overflow: hidden; max-width: 100%; }
.hover-row-name-track{
  position: relative;
  transition: transform .4s cubic-bezier(.16,.84,.44,1);
}
.hover-row.is-hovered .hover-row-name-track{ transform: translateY(-100%); }
.hover-row-name{
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1;
  color: var(--off-white);
  transition: color .3s ease;
}
.hover-row-name.dup{ position: absolute; top: 100%; left: 0; width: 100%; }
.work-reveal-list.has-active .hover-row:not(.is-hovered) .hover-row-name{
  color: var(--grey-dim);
}
.hover-row-meta{
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey);
  white-space: nowrap;
}
.hover-row-meta .cat{ color: var(--accent); }

@media (max-width: 860px){
  .work-reveal-wrap{ display: none; }
  .work-grid-wrap{ display: block; }
}

/* ---------- Work grid ---------- */

.work-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}
.work-card{
  position: relative;
  background: var(--surface);
  aspect-ratio: 4/5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  transition: transform .1s;
}
.work-card-bg{
  position: absolute; inset: 0;
  opacity: 0.9;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease);
}
.work-card:hover .work-card-bg{ transform: scale(1.08); }
.work-card::after{
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0) 30%, rgba(10,10,11,.92) 100%);
}
.work-card-num{
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  font-size: 11px;
  color: rgba(244,242,236,.7);
  letter-spacing: 0.1em;
}
.work-card-tags{
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(244,242,236,.55);
  text-align: right;
  max-width: 55%;
}
.work-card-body{ position: relative; z-index: 2; }
.work-card-name{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--off-white);
  line-height: 1.05;
}
.work-card-tagline{
  font-size: 12px;
  color: var(--grey);
  margin-top: 8px;
  opacity: 0;
  max-height: 0;
  transition: opacity .35s var(--ease), max-height .35s var(--ease), margin .35s var(--ease);
}
.work-card:hover .work-card-tagline{ opacity: 1; max-height: 60px; margin-top: 8px; }
.work-card-cat{
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 10px;
  display: block;
}

/* ---------- Featured project (home) ---------- */
.featured{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.featured-visual{
  aspect-ratio: 1/1;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.featured-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.featured-tag{
  font-size: 11px;
  color: rgba(244,242,236,.85);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 24px;
  z-index: 2;
}
.featured h3{ font-size: clamp(32px, 4.6vw, 58px); margin: 18px 0 20px; }
.featured p{ color: var(--grey); font-size: 16px; line-height: 1.7; max-width: 460px; margin-bottom: 32px; }

/* ---------- Founder ---------- */
.founder-section{
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.founder-photo{
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--black));
}
.founder-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-role{
  display: block;
  color: var(--accent-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.founder-info h3{ font-size: clamp(28px, 3.4vw, 40px); margin: 4px 0 4px; }
.founder-info p{ color: var(--grey); font-size: 16px; line-height: 1.8; max-width: 560px; margin-bottom: 20px; }
.founder-quote{
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.1vw, 25px);
  color: var(--off-white);
  line-height: 1.4;
  margin: 24px 0 28px;
  max-width: 560px;
}

/* ---------- Stats ---------- */
.stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat{
  padding: 48px 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child{ border-right: none; }
.stat strong{
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.4vw, 64px);
  color: var(--off-white);
}
.stat span{ color: var(--grey); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Press / INDMAG ---------- */
.press-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.press-card{
  background: var(--black);
  padding: 36px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .35s var(--ease);
}
.press-card:hover{ background: var(--surface); }
.press-source{
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.press-headline{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 18px 0;
}
.press-date{ font-size: 12px; color: var(--grey-dim); }

/* ---------- CTA band ---------- */
.cta-band{
  padding: 160px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-band h2{
  font-size: clamp(36px, 7vw, 108px);
}
.cta-band a.cta-link{ color: var(--accent); }
.cta-band a.cta-link:hover{ color: var(--off-white); }
.cta-sub{
  margin-top: 24px;
  color: var(--grey);
  font-size: 16px;
}
.cta-actions{ margin-top: 48px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer{
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
}
.footer-logo-img{ height: 26px; width: auto; display: block; }
.footer-tag{ color: var(--grey); margin-top: 16px; max-width: 280px; font-size: 14px; line-height: 1.6; }
.footer-col h4{
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
  margin-bottom: 20px;
}
.footer-col ul li{ margin-bottom: 12px; }
.footer-col a{ font-size: 14px; color: var(--grey); transition: color .25s var(--ease); }
.footer-col a:hover{ color: var(--off-white); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--grey-dim);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover{ color: var(--off-white); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  padding: 200px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero h1{ font-size: clamp(40px, 8vw, 108px); }
.page-hero .head-desc{ max-width: 520px; margin-top: 24px; color: var(--grey); font-size: 16px; line-height: 1.7; }

.page-hero-bg{ background-size: cover; background-position: center 25%; }
.page-hero-bg::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,.55) 0%, rgba(6,6,6,.82) 70%, var(--black) 100%);
}
.page-hero-bg .container{ position: relative; z-index: 1; }
.page-hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* ---------- Reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .case-cinematic-hero img,
  .case-cinematic-hero video,
  .case-feature-img img,
  .case-real-gallery.gallery-motion img{
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.field{ margin-bottom: 28px; }
.field label{
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 17px;
  outline: none;
  transition: border-color .3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--accent); }
.field select option{ background: var(--surface); color: var(--off-white); }
.form-note{ margin-top: 20px; font-size: 13px; color: var(--grey-dim); min-height: 20px; }
.contact-info-item{ margin-bottom: 40px; }
.contact-info-item h4{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
  margin-bottom: 12px;
}
.contact-info-item a, .contact-info-item p{ font-size: 22px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; }
.contact-info-item a:hover{ color: var(--accent); }
.social-row{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.social-row a{
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.social-row a:hover{ border-color: var(--off-white); color: var(--off-white); }

/* ---------- Case study (individual project) ---------- */
.back-link{ margin-bottom: 32px; }
.case-banner{
  height: 46vh;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Case study: cinematic layout (alternate template) ---------- */
.case-cinematic-hero{
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--black);
}
.case-cinematic-hero img,
.case-cinematic-hero video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.3s var(--ease);
  will-change: transform;
}
.case-cinematic-hero img.loaded,
.case-cinematic-hero video.loaded{ opacity: 1; }
.case-cinematic-scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,.6) 0%, rgba(6,6,6,0) 24%, rgba(6,6,6,0) 66%, rgba(6,6,6,.7) 100%);
  pointer-events: none;
}
.case-cinematic-meta{
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 110px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.case-cinematic-meta .btn{ pointer-events: auto; align-self: flex-start; }
.case-cinematic-row{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.case-cinematic-cat, .case-cinematic-name{
  text-shadow: 0 2px 20px rgba(0,0,0,.7);
}
.case-cinematic-cat{
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,242,236,.85);
}
.case-cinematic-name{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 34px);
  color: var(--off-white);
}

.case-editorial-grid{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
}
.case-editorial-head{
  font-size: clamp(28px, 3.6vw, 48px);
  margin: 20px 0 32px;
}
.case-editorial-body p{
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 22px;
  max-width: 560px;
}
.case-editorial-cta{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  transition: color .3s var(--ease);
}
.case-editorial-cta::before, .case-editorial-cta::after{
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  flex-shrink: 0;
}
.case-editorial-cta:hover{ color: var(--accent); }

.case-feature-img{ border-top: 1px solid var(--line); overflow: hidden; }
.case-feature-img img{ width: 100%; display: block; will-change: transform; }

.case-body{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
}
.case-block{ margin-bottom: 56px; }
.case-block p{
  color: var(--grey);
  font-size: 17px;
  line-height: 1.8;
  max-width: 640px;
  margin-top: 20px;
}
.case-side{
  border-left: 1px solid var(--line);
  padding-left: 40px;
  align-self: start;
}
.case-side-item{ margin-bottom: 32px; }
.case-side-item h4{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
  margin-bottom: 10px;
}
.case-side-item p{
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
}
.case-side-item ul li{
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.case-side .btn{ width: 100%; justify-content: center; margin-top: 8px; }
.case-real-gallery{
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.case-real-gallery img{
  width: 100%;
  display: block;
}
.case-real-gallery.gallery-motion img{
  opacity: 0;
  transform: scale(1.05) translateY(32px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.case-real-gallery.gallery-motion img.in{
  opacity: 1;
  transform: scale(1) translateY(0);
}
.case-nav-band{ border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  gap: 20px;
}
.case-nav-link{
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(13px, 1.6vw, 16px);
  transition: color .3s var(--ease);
}
.case-nav-link:hover{ color: var(--accent); }
.case-nav-link.all{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
}
.case-nav-link.all:hover{ color: var(--off-white); }

/* ---------- INDMAG article ---------- */
.article-hero{ padding: 160px 0 0; }
.article-hero h1{
  font-size: clamp(32px, 5vw, 64px);
  margin-top: 20px;
  max-width: 880px;
}
.article-meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding-bottom: 48px;
  color: var(--grey-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.article-banner{
  height: 52vh;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-body{
  max-width: 700px;
  margin: 0 auto;
  padding-top: 64px;
}
.article-body p{
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.85;
  color: var(--grey);
  margin-bottom: 26px;
}
.article-body p:first-of-type::first-letter{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 72px;
  float: left;
  line-height: 0.8;
  margin: 8px 12px 0 0;
  color: var(--off-white);
}
.article-quote{
  max-width: 700px;
  margin: 8px auto 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.article-quote p{
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--off-white);
  line-height: 1.3;
}
.article-quote cite{
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-dim);
}
.article-cta{
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- About page ---------- */
.mesh-heading{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.98;
  color: #f1efed;
  font-size: clamp(40px, 8vw, 108px);
  height: clamp(92.24px, 18.45vw, 249.04px);
}
.value-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-card{ background: var(--black); padding: 44px 36px; }
.value-card .num{ color: var(--accent); font-family: var(--font-display); font-size: 14px; }
.value-card h3{ font-size: 22px; margin: 20px 0 14px; }
.value-card p{ color: var(--grey); font-size: 14px; line-height: 1.7; }

.timeline{ border-top: 1px solid var(--line); }
.timeline-row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-row .year{ font-family: var(--font-display); font-weight: 900; font-size: 22px; color: var(--accent); }
.timeline-row p{ color: var(--grey); font-size: 15px; max-width: 640px; line-height: 1.7; }
.timeline-row h4{ text-transform: none; font-family: var(--font-body); font-weight: 700; font-size: 17px; margin-bottom: 8px; color: var(--off-white); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .nav-links{ display: none; }
  .nav-toggle{ display: flex; }
  .work-grid{ grid-template-columns: repeat(2, 1fr); }
  .press-grid{ grid-template-columns: repeat(2, 1fr); }
  .stats{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2){ border-right: none; }
  .service-row{ grid-template-columns: 60px 1fr; }
  .service-desc{ display: none; }
  .featured{ grid-template-columns: 1fr; }
  .founder-section{ grid-template-columns: 1fr; gap: 32px; }
  .founder-photo{ max-width: 320px; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; gap: 48px; }
  .value-grid{ grid-template-columns: 1fr; }
  .case-body{ grid-template-columns: 1fr; gap: 48px; }
  .case-side{ border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .case-editorial-grid{ grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px){
  .work-grid{ grid-template-columns: 1fr; }
  .press-grid{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr 1fr; }
  .stat{ border-right: 1px solid var(--line); }
  .stat:nth-child(2n){ border-right: none; }
  .footer-top{ grid-template-columns: 1fr; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .timeline-row{ grid-template-columns: 1fr; }
  .hero-count{ display: none; }
}

/* ---------- Flashlight text (spotlight hover reveal) ---------- */
.flashlight-text{
  position: relative;
  display: inline-block;
}
.flashlight-text-dim{
  position: relative;
  color: rgba(244, 242, 236, .02);
}
.flashlight-text-bright{
  position: absolute;
  inset: 0;
  color: var(--off-white);
  pointer-events: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.flashlight-text.is-active{ cursor: none; }
