/* ==========================================================================
   TWELVE MEDIA — styles.css
   Brand: #5dbcd3 (primary accent) | #f42524 (secondary, sparing)
          #ffffff / #f1f1f1 (base) | #0d1418 (ink)
   ========================================================================== */

:root {
  --blue: #5dbcd3;
  --blue-deep: #3fa3bc;
  --red: #f42524;
  --white: #ffffff;
  --grey: #f1f1f1;
  --ink: #0d1418;
  --ink-2: #16222a;
  --muted: #5f6e76;
  --line: rgba(13, 20, 24, 0.08);
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(13, 20, 24, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--blue); color: var(--white); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(2.6rem, 6.5vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.h-sm { font-size: 1.25rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--blue);
}
.eyebrow--light { color: rgba(255,255,255,0.65); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 640px; }
.lead--light { color: rgba(255,255,255,0.75); }

.accent { color: var(--blue); }
.accent-red { color: var(--red); }

.statement {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.18;
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  letter-spacing: 0.01em;
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--red); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244, 37, 36, 0.25); }

.btn--outline { border: 1.5px solid rgba(13,20,24,0.25); color: var(--ink); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn--outline-light { border: 1.5px solid rgba(255,255,255,0.4); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: var(--white); color: var(--ink); transform: translateY(-2px); }

.btn--ghost { padding: 10px 0; color: var(--ink); font-size: 0.9rem; border-radius: 0; border-bottom: 2px solid var(--blue); }
.btn--ghost:hover { color: var(--red); border-color: var(--red); }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header--scrolled, .header--solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__img { height: 44px; width: auto; }
.logo__fallback { display: none; align-items: center; gap: 12px; }
.logo--fallback .logo__img { display: none; }
.logo--fallback .logo__fallback { display: inline-flex; }
.logo__mark {
  width: 42px; height: 42px; flex: 0 0 42px;
}
.logo__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.header--transparent:not(.header--scrolled) .logo__word { color: var(--white); }
/* Real logo: render white over the dark hero, original colours elsewhere */
.header--transparent:not(.header--scrolled) .logo__img { filter: brightness(0) invert(1); }
body.menu-open .header .logo__img { filter: none; }
.logo__img--footer { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }

/* Nav links */
.nav { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--blue); }
.header--transparent:not(.header--scrolled) .nav__link { color: rgba(255,255,255,0.85); }
.header--transparent:not(.header--scrolled) .nav__link:hover { color: var(--white); }
.header--transparent:not(.header--scrolled) .nav__link.is-active { color: var(--white); }
.nav .btn { padding: 12px 26px; font-size: 0.85rem; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.burger span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: all 0.35s var(--ease);
}
.header--transparent:not(.header--scrolled) .burger span { background: var(--white); }
.burger.is-open span { background: var(--ink) !important; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
/* Keep the header (and its burger) above the open menu */
body.menu-open .header { z-index: 110; background: transparent; box-shadow: none; }
body.menu-open .header--transparent:not(.header--scrolled) .logo__word { color: var(--ink); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 600;
  padding: 14px 0;
  color: var(--ink);
  transition: color 0.3s;
}
.mobile-menu a:hover, .mobile-menu a.is-active { color: var(--blue); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero__video-wrap { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }

/* Cinematic animated placeholder shown until hero.mp4 is added */
.hero__placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 78% 20%, rgba(93, 188, 211, 0.22), transparent 60%),
    radial-gradient(900px 600px at 15% 85%, rgba(93, 188, 211, 0.12), transparent 55%),
    linear-gradient(160deg, #0d1418 0%, #14242c 55%, #0d1418 100%);
  display: none;
}
.hero--no-video .hero__placeholder { display: block; }
.hero--no-video .hero__video { display: none; }
.hero__placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 4px 4px;
}
.hero__badge {
  position: absolute;
  bottom: 24px; right: 24px;
  z-index: 3;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 8px 14px;
  display: none;
}
.hero--no-video .hero__badge { display: block; }

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,20,24,0.55) 0%, rgba(13,20,24,0.35) 45%, rgba(13,20,24,0.75) 100%);
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; padding-top: 90px; }
.hero__content h1 { max-width: 860px; margin-bottom: 26px; }
.hero__content .lead { margin-bottom: 42px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__sound {
  position: absolute;
  bottom: 28px; right: 28px;
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.hero__sound:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.06); }
.hero__sound svg { width: 22px; height: 22px; }
.hero__sound .icon-on { display: none; }
.hero__sound.is-on .icon-on { display: block; }
.hero__sound.is-on .icon-off { display: none; }

.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1.5px; height: 56px;
  background: rgba(255,255,255,0.25);
  overflow: hidden;
}
.hero__scroll::after {
  content: '';
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--blue);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 110%; } }

/* Page hero (inner pages) */
.page-hero { padding: clamp(160px, 20vw, 230px) 0 clamp(60px, 8vw, 100px); }
.page-hero--dark { background: var(--ink); color: var(--white); }
.page-hero--image {
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 24, 0.66) 0%, rgba(13, 20, 24, 0.45) 100%);
}
.page-hero--image .container { position: relative; }

/* ---------- Statement strip ---------- */
.strip {
  padding: 26px 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
}
.strip__track { display: inline-flex; gap: 64px; animation: marquee 30s linear infinite; }
.strip span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: inline-block; }
.strip .dot--red { background: var(--red); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 36px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: 28px;
}
.work-card { cursor: pointer; }
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  margin-bottom: 20px;
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s;
}
.work-card:hover .work-card__media img { transform: scale(1.05); }

.work-card__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-card__video { transform: scale(1.05); }

/* Placeholder tile shown until a thumbnail is added */
.work-card__ph {
  position: absolute; inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(500px 320px at 75% 15%, rgba(93,188,211,0.25), transparent 65%),
    linear-gradient(150deg, #14242c 0%, #0d1418 70%);
}
.work-card--ph .work-card__ph { display: flex; }
.work-card--ph .work-card__media img { display: none; }
.work-card__ph svg { width: 52px; height: 52px; opacity: 0.85; }

.work-card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,20,24,0.55));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work-card:hover .work-card__media::after { opacity: 1; }

.work-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  background: rgba(13,20,24,0.55);
  backdrop-filter: blur(6px);
  padding: 7px 14px;
  border-radius: 100px;
  transition: background 0.3s var(--ease);
}
.work-card:hover .work-card__tag { background: var(--blue); }

.work-card__sound {
  position: absolute;
  bottom: 16px; right: 16px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(13, 20, 24, 0.55);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.work-card__sound:hover { background: var(--blue); border-color: var(--blue); }
.work-card__sound svg { width: 18px; height: 18px; }
.work-card__sound .icon-on { display: none; }
.work-card__sound.is-on .icon-on { display: block; }
.work-card__sound.is-on .icon-off { display: none; }

.work-card__view {
  position: absolute;
  bottom: 16px; right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  padding: 10px 20px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease);
}
.work-card:hover .work-card__view { opacity: 1; transform: translateY(0); }
.work-card__view:hover { background: var(--red); }

.work-card h3 { font-size: 1.15rem; margin-bottom: 6px; transition: color 0.3s; }
.work-card:hover h3 { color: var(--blue); }
.work-card__meta { font-size: 0.85rem; color: var(--muted); }
.work-card__meta .client { font-weight: 600; color: var(--ink); }
.work-card__desc { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 56px); }
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  color: var(--muted);
  transition: all 0.3s var(--ease);
  background: var(--white);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.work-card.is-hidden { display: none; }

/* ---------- Logos (continuous right-to-left marquee) ---------- */
.logos-marquee { overflow: hidden; }
.logos-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }
.logos-track .logo-tile { width: 210px; flex: 0 0 auto; }
@media (max-width: 640px) {
  .logos-track .logo-tile { width: 160px; height: 100px; }
}
.logo-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-tile img {
  max-height: 94px;
  max-width: 100%;
  object-fit: contain;
}
/* Portrait/square logos need more height to read at the same size as wide ones */
.logo-tile--tall { padding: 12px; }
.logo-tile--tall img { max-height: 96px; }
.logo-tile__name {
  display: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13,20,24,0.35);
  text-align: center;
}
.logo-tile--ph img { display: none; }
.logo-tile--ph .logo-tile__name { display: block; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; }
.testimonial-viewport { overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s var(--ease); }
.testimonial {
  flex: 0 0 100%;
  padding: 0 4px;
}
.testimonial__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--line);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.testimonial__quote-mark { color: var(--blue); margin-bottom: 20px; }
.testimonial__quote-mark svg { width: 40px; height: 40px; margin: 0 auto; }
/* Split layout: large photo left, quote right (mirrors the company profile) */
.testimonial__card--split {
  display: grid;
  grid-template-columns: 340px 1fr;
  padding: 0;
  overflow: hidden;
  text-align: left;
  max-width: 960px;
}
.testimonial__photo {
  background: linear-gradient(160deg, #eef4f6, var(--grey));
  height: 440px;
}
.testimonial__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.testimonial__body {
  padding: clamp(30px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial__card--split .testimonial__quote-mark { margin-bottom: 14px; }
.testimonial__card--split .testimonial__quote-mark svg { margin: 0; width: 34px; height: 34px; }
.testimonial__card--split .testimonial__text { margin-bottom: 26px; }
@media (max-width: 760px) {
  .testimonial__card--split { grid-template-columns: 1fr; }
  .testimonial__photo { min-height: 0; height: 300px; }
}
.testimonial__text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 28px;
}
.testimonial__client { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.testimonial__role { font-size: 0.95rem; color: var(--muted); margin-top: 4px; }

.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.testimonial-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  background: var(--white);
}
.testimonial-arrow:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(13,20,24,0.15);
  transition: all 0.3s var(--ease);
}
.testimonial-dot.is-active { background: var(--red); transform: scale(1.25); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% 10%, rgba(93,188,211,0.16), transparent 60%),
    radial-gradient(500px 340px at 12% 90%, rgba(93,188,211,0.10), transparent 55%);
}
.cta-band .container { position: relative; }
.cta-band h2 { margin-bottom: 20px; }
.cta-band .lead { margin: 0 auto 40px; }

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.story-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(420px 300px at 70% 20%, rgba(93,188,211,0.30), transparent 60%),
    linear-gradient(160deg, #14242c, #0d1418);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-media svg { width: 90px; height: 90px; opacity: 0.9; }
.story-media--video { aspect-ratio: 16 / 9; background: var(--ink); position: relative; }
.story-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-sound {
  position: absolute;
  bottom: 18px; right: 18px;
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(13, 20, 24, 0.55);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.story-sound:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.06); }
.story-sound svg { width: 20px; height: 20px; }
.story-sound .icon-on { display: none; }
.story-sound.is-on .icon-on { display: block; }
.story-sound.is-on .icon-off { display: none; }
.story-copy p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.story-copy p strong { color: var(--ink); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 36px;
  border-top: 3px solid var(--blue);
  box-shadow: 0 6px 24px rgba(13,20,24,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--blue); opacity: 0.35; display: block; margin-bottom: 16px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info__item { display: flex; gap: 18px; margin-bottom: 30px; align-items: flex-start; }
.contact-info__icon {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 12px;
  background: rgba(93,188,211,0.12);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.contact-info__value { font-weight: 600; font-size: 1rem; }
.contact-info__value a:hover { color: var(--blue); }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group label .req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--grey);
  color: var(--ink);
  transition: border-color 0.3s, background 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.file-drop {
  border: 1.5px dashed rgba(13,20,24,0.2);
  border-radius: 10px;
  padding: 22px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  background: var(--grey);
}
.file-drop:hover { border-color: var(--blue); background: rgba(93,188,211,0.06); }
.file-drop input { display: none; }
.file-drop .accent { font-weight: 600; }

.form-success {
  display: none;
  background: rgba(93,188,211,0.1);
  border: 1.5px solid var(--blue);
  color: var(--ink);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: 0.95rem;
  margin-top: 18px;
}
.form-success.is-visible { display: block; }

/* ---------- Modal (project detail) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(13,20,24,0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__card {
  background: var(--white);
  border-radius: 18px;
  max-width: 920px;
  width: 100%;
  margin: auto 0;
  overflow: hidden;
  transform: translateY(24px);
  transition: transform 0.4s var(--ease);
}
.modal.is-open .modal__card { transform: translateY(0); }
.modal__hero {
  aspect-ratio: 16 / 8;
  background:
    radial-gradient(600px 380px at 78% 18%, rgba(93,188,211,0.28), transparent 62%),
    linear-gradient(155deg, #14242c, #0d1418);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.modal__hero svg { width: 64px; height: 64px; opacity: 0.9; }
.modal__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
  background: #000;
}
.modal--video .modal__video { display: block; }
.modal--video .modal__hero > svg { display: none; }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  transition: background 0.3s;
}
.modal__close:hover { background: var(--red); }
.modal__body { padding: clamp(28px, 4vw, 52px); }
.modal__meta { display: flex; gap: 40px; flex-wrap: wrap; margin: 22px 0 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.modal__meta-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.modal__meta-value { font-weight: 600; font-size: 0.95rem; }
.modal__section { margin-bottom: 28px; }
.modal__section h4 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.modal__section h4::before { content: ''; width: 18px; height: 2px; background: var(--blue); }
.modal__section p { color: var(--muted); font-size: 0.95rem; }
.modal__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.modal__gallery div {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(150deg, #e8eef0, #f1f1f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(13,20,24,0.25);
}
.modal__gallery svg { width: 28px; height: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: clamp(60px, 8vw, 90px) 0 36px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .logo__word { color: var(--white); }
.footer__tagline { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-top: 18px; max-width: 320px; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { color: rgba(255,255,255,0.75); font-size: 0.92rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--blue); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom .accent-red { font-size: 0.8rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { aspect-ratio: 16 / 10; }
  .modal__gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
