/* Bree Media House — rebuild preview. Dark cinematic studio. */

/* ---------- tokens ---------- */
:root {
  --ink: #070b25;
  --ink-2: #0b1132;
  --ink-3: #10173f;
  --paper: #fefeff;
  --mist: #f1f1f2;
  --slate: #45485c;
  --muted: #9ba0bc;
  --dim: #6f7492;
  --indigo: #526cff;
  --indigo-soft: rgba(82, 108, 255, 0.14);
  --coral: #f05423;
  --line: rgba(254, 254, 255, 0.09);
  --line-strong: rgba(254, 254, 255, 0.16);
  --radius: 14px;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 44px);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* ---------- fonts ---------- */
@font-face { font-family: Poppins; src: url(/assets/fonts/poppins-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: Poppins; src: url(/assets/fonts/poppins-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(/assets/fonts/poppins-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url(/assets/fonts/poppins-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(/assets/fonts/poppins-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 400 16px/1.65 Poppins, system-ui, sans-serif;
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tar { text-align: right; }
.dim { color: var(--dim); }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 9; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0);} 20% { transform: translate(-3%,2%);} 40% { transform: translate(2%,-3%);} 60% { transform: translate(-2%,-2%);} 80% { transform: translate(3%,3%);} }

/* ---------- type ---------- */
.display {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  font-weight: 600; line-height: 1.06; letter-spacing: -0.025em;
  text-wrap: balance;
}
.display-2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; line-height: 1.16; letter-spacing: -0.02em; margin: 14px 0 10px; text-wrap: balance; }
.dot { color: var(--indigo); }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.kdot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); flex: none; }
.hero-sub { max-width: 56ch; color: var(--muted); font-weight: 300; font-size: clamp(1rem, 1.35vw, 1.13rem); margin-top: 18px; }

/* ---------- wordmark via mask (paints the PNG any colour) ---------- */
.wordmark {
  display: inline-block; position: relative;
  background: var(--paper);
  -webkit-mask: url(/assets/img/logo-wordmark.png) center / contain no-repeat;
  mask: url(/assets/img/logo-wordmark.png) center / contain no-repeat;
}
.wordmark::after {
  /* repaint the trailing baseline dot indigo */
  content: ""; position: absolute; inset: 0; background: var(--indigo);
  -webkit-mask: url(/assets/img/logo-wordmark.png) center / contain no-repeat;
  mask: url(/assets/img/logo-wordmark.png) center / contain no-repeat;
  clip-path: inset(42% 0 0 86%);
}
.wm-s { width: 108px; height: 38px; }
.wm-l { width: 176px; height: 62px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 100px;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  cursor: pointer; border: 0;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--indigo); color: #fff; box-shadow: 0 8px 28px rgba(82, 108, 255, 0.32); }
.btn-solid:hover { transform: translateY(-2px); background: #647ff; box-shadow: 0 12px 34px rgba(82, 108, 255, 0.42); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--paper); background: rgba(254, 254, 255, 0.03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--indigo); color: #aab8ff; transform: translateY(-2px); }

/* ---------- header ---------- */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.35s, border-color 0.35s; border-bottom: 1px solid transparent; }
.hd.scrolled { background: rgba(7, 11, 37, 0.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.hd-in { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--pad); display: flex; align-items: center; gap: 30px; }
.hd-logo { margin-right: auto; display: flex; }
.hd-nav { display: flex; gap: 28px; }
.hd-nav a { font-size: 0.9rem; font-weight: 400; color: var(--muted); position: relative; padding: 4px 0; transition: color 0.25s; }
.hd-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.hd-nav a:hover, .hd-nav a[aria-current] { color: var(--paper); }
.hd-nav a:hover::after, .hd-nav a[aria-current]::after { transform: scaleX(1); }
.hd-cta { padding: 10px 22px; font-size: 0.86rem; }
.hd-burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 7px; z-index: 60; }
.hd-burger span { width: 24px; height: 1.8px; background: var(--paper); transition: transform 0.3s var(--ease), opacity 0.3s; }
body.nav-open .hd-burger span:first-child { transform: translateY(4.4px) rotate(45deg); }
body.nav-open .hd-burger span:last-child { transform: translateY(-4.4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; filter: saturate(0.92) brightness(0.82); }
.hero-v.on { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(75deg, rgba(7, 11, 37, 0.92) 18%, rgba(7, 11, 37, 0.55) 55%, rgba(7, 11, 37, 0.35) 100%),
  linear-gradient(0deg, var(--ink) 0%, rgba(7, 11, 37, 0) 24%),
  linear-gradient(180deg, rgba(7, 11, 37, 0.6) 0%, rgba(7, 11, 37, 0) 30%); }
.hero-in { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 120px var(--pad) 40px; }
.hero-in > * { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; }
.hero-in > :nth-child(1) { animation-delay: 0.15s; }
.hero-in > :nth-child(2) { animation-delay: 0.28s; }
.hero-in > :nth-child(3) { animation-delay: 0.44s; }
.hero-in > :nth-child(4) { animation-delay: 0.58s; }
.hero-in > :nth-child(5) { animation-delay: 0.72s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-in .display { max-width: 15ch; margin-top: 16px; }
.hero-words { height: 1.7em; overflow: hidden; position: relative; margin-top: 20px; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; color: #aab8ff; }
.hero-words span { position: absolute; inset: 0; opacity: 0; transform: translateY(110%); transition: transform 0.55s var(--ease), opacity 0.45s; display: flex; align-items: center; gap: 10px; }
.hero-words span::before { content: ""; width: 22px; height: 1.5px; background: var(--indigo); }
.hero-words span.on { opacity: 1; transform: none; }
.hero-words span.off { opacity: 0; transform: translateY(-110%); }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-foot { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; }
.scroll-cue { width: 1.5px; height: 44px; background: linear-gradient(var(--indigo), transparent); position: relative; overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); } 100% { transform: translateY(110%); } }

/* client marquee */
.marquee { border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; background: var(--ink-2); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 46s linear infinite; }
.marquee-track span { font-size: 0.86rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.mdot { width: 5px; height: 5px; border-radius: 50%; background: var(--indigo); opacity: 0.7; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- bands ---------- */
.band { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.band-flush { padding-top: clamp(30px, 4vw, 50px); }
.band-tint { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-block: 1px solid var(--line); }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.band-paper { background: var(--mist); color: var(--ink); }
.band-paper .kicker { color: var(--slate); }
.band-paper .hero-sub { color: var(--slate); }

/* offer cards */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.offer { background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; position: relative; overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s; }
.offer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--indigo), transparent 70%); opacity: 0; transition: opacity 0.35s; }
.offer:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.offer:hover::before { opacity: 1; }
.offer-ic { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-soft); color: #8fa2ff; align-items: center; justify-content: center; margin-bottom: 20px; }
.offer-ic svg { width: 23px; height: 23px; }
.offer h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 9px; }
.offer p { color: var(--muted); font-weight: 300; font-size: 0.95rem; }

/* work grid — spans tuned so every row fills 6 cols at equal height */
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 40px; }
.tile { grid-column: span 2; position: relative; border-radius: var(--radius); }
.tile-wide { grid-column: span 4; }
.tile-half { grid-column: span 3; }
.tile-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); transition: border-color 0.3s; }
.tile-wide .tile-media { aspect-ratio: 2.71 / 1; }   /* matches span-2 4/3 row height incl. gap */
.tile-half .tile-media { aspect-ratio: 3 / 2; }
.tile-media img, .tile-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.4s; }
.tile-media video { opacity: 0; }
.tile.playing .tile-media video { opacity: 1; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-play { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(7, 11, 37, 0.55); backdrop-filter: blur(8px); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--paper); opacity: 0; transform: scale(0.85); transition: opacity 0.3s, transform 0.3s var(--ease); z-index: 2; }
.tile-play svg { width: 15px; height: 15px; margin-left: 2px; }
.tile:hover .tile-play, .tile.playing .tile-play { opacity: 1; transform: none; }
.tile:hover .tile-media { border-color: rgba(82, 108, 255, 0.45); }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 34px 18px 15px;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 37, 0.82));
}
.tile-cap strong { font-weight: 500; font-size: 0.98rem; text-shadow: 0 1px 10px rgba(7, 11, 37, 0.8); }
.tile-cap span { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* services trio */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 46px 0 40px; }
.svc { border-top: 1px solid var(--line-strong); padding-top: 24px; position: relative; }
.svc::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--indigo); }
.svc-n { font-size: 0.8rem; font-weight: 600; color: var(--indigo); letter-spacing: 0.14em; }
.svc h3 { font-size: 1.25rem; font-weight: 600; margin: 10px 0; }
.svc p { color: var(--muted); font-weight: 300; font-size: 0.96rem; }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(140px, 18vh, 190px) 0 clamp(30px, 5vw, 60px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(52% 46% at 78% 6%, rgba(82, 108, 255, 0.14), transparent 70%),
  radial-gradient(38% 34% at 12% 30%, rgba(82, 108, 255, 0.07), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero .display { margin-top: 16px; }

/* ---------- case study ---------- */
.case-hero { padding-top: clamp(120px, 16vh, 170px); position: relative; }
.case-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 80% 0%, rgba(82, 108, 255, 0.12), transparent 70%); pointer-events: none; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; transition: color 0.25s; }
.crumb svg { width: 15px; height: 15px; transform: rotate(180deg); }
.crumb:hover { color: var(--paper); }
.case-frame { margin-top: 40px; }
.case-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(82, 108, 255, 0.08); }
.case-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(30px, 6vw, 80px); padding-block: clamp(30px, 5vw, 60px); }
.case-copy p { color: #c9cde2; font-weight: 300; font-size: 1.05rem; margin-bottom: 1.2em; max-width: 62ch; }
.case-copy p:first-child { font-size: 1.22rem; color: var(--paper); }
.case-meta { display: flex; flex-direction: column; gap: 26px; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); height: fit-content; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { font-size: 0.78rem; padding: 6px 13px; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--muted); background: rgba(254, 254, 255, 0.03); }
.gal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 20px; }
.gal-grid .tile { grid-column: span 1; }
.gal-item .tile-media { aspect-ratio: 16 / 10; }
.gal-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 0; }
.gal-img img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s var(--ease); }
.gal-img:hover img { transform: scale(1.04); }
.case-nav { display: flex; justify-content: space-between; border-block: 1px solid var(--line); }
.case-nav a { flex: 1; padding: 30px var(--pad); display: flex; flex-direction: column; gap: 6px; transition: background 0.3s; }
.case-nav a strong { font-weight: 500; font-size: 1.05rem; }
.case-nav a:hover { background: var(--ink-2); }
.case-nav a + a { border-left: 1px solid var(--line); align-items: flex-end; }

/* ---------- services page ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.step { display: flex; gap: 22px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; transition: transform 0.35s var(--ease), border-color 0.35s; }
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step-n { font-size: 2.2rem; font-weight: 300; color: transparent; -webkit-text-stroke: 1px rgba(82, 108, 255, 0.75); line-height: 1; flex: none; }
.step h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-weight: 300; font-size: 0.94rem; }
.shape-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.shape { background: var(--paper); border: 1px solid rgba(7, 11, 37, 0.08); border-radius: var(--radius); padding: 36px 32px; box-shadow: 0 14px 44px rgba(7, 11, 37, 0.08); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.shape:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(7, 11, 37, 0.12); }
.shape h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.shape p { color: var(--slate); font-weight: 300; font-size: 0.97rem; }
.inv-list { display: flex; flex-direction: column; gap: clamp(30px, 5vw, 60px); margin-top: 50px; }
.inv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.inv figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.inv figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s var(--ease); filter: saturate(0.9); }
.inv:hover figure img { transform: scale(1.03); }
.inv-flip figure { order: 2; }
.inv-txt h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; margin: 12px 0 10px; }
.inv-txt p { color: var(--muted); font-weight: 300; max-width: 46ch; }
.inv-txt .dim { font-size: 0.88rem; margin-top: 10px; }

/* ---------- about ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-photo { border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.collab { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.collab-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transform: rotate(-1.2deg); }
.collab-photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.collab-txt p { color: var(--muted); font-weight: 300; margin-top: 14px; max-width: 56ch; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.tm { border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.35s; }
.tm:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.tm img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter 0.45s; }
.tm:hover img { filter: grayscale(0.75) contrast(1.02); }
.tm figcaption { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.tm figcaption strong { font-weight: 500; font-size: 0.98rem; }
.tm figcaption span { font-size: 0.8rem; color: var(--dim); letter-spacing: 0.05em; text-transform: uppercase; }
.strip { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-2); }
.strip-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.strip-track img { height: clamp(160px, 22vw, 260px); width: auto; object-fit: cover; filter: saturate(0.85); }
.strip:hover .strip-track { animation-play-state: paused; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 90px); align-items: start; }
.contact-mail { display: inline-block; margin-top: 26px; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 500; color: #aab8ff; border-bottom: 1px solid rgba(82, 108, 255, 0.4); padding-bottom: 3px; transition: color 0.25s, border-color 0.25s; }
.contact-mail:hover { color: var(--paper); border-color: var(--paper); }
.contact-social { margin-top: 30px; }
.form { display: flex; flex-direction: column; gap: 18px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(26px, 4vw, 40px); }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  font: 300 0.98rem/1.5 Poppins, sans-serif; color: var(--paper);
  background: rgba(7, 11, 37, 0.5); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 16px; outline: none; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: var(--dim); }
.form input:focus, .form textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(82, 108, 255, 0.18); }
.form .btn { justify-content: center; margin-top: 6px; }
.form-note { color: #7ee2a8; font-size: 0.92rem; text-align: center; }

/* ---------- cta band ---------- */
.cta-band { padding: clamp(80px, 12vw, 150px) 0; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 50% 110%, rgba(82, 108, 255, 0.16), transparent 70%); pointer-events: none; }
.cta-band .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-band .display-2 { margin-top: 10px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.ft { background: var(--ink-2); border-top: 1px solid var(--line); }
.ft-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(50px, 7vw, 80px) var(--pad) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.ft-brand { display: flex; flex-direction: column; gap: 20px; }
.ft-tag { color: var(--dim); font-weight: 300; font-size: 0.95rem; }
.ft-col { display: flex; flex-direction: column; gap: 18px; }
.ft-nav { display: flex; flex-direction: column; gap: 10px; }
.ft-nav a, .ft-mail { color: var(--muted); font-size: 0.95rem; transition: color 0.25s; width: fit-content; }
.ft-nav a:hover, .ft-mail:hover { color: var(--paper); }
.ft-social { display: flex; gap: 12px; }
.ft-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.ft-social a svg { width: 16px; height: 16px; }
.ft-social a:hover { color: var(--paper); border-color: var(--indigo); transform: translateY(-2px); }
.ft-base { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--pad); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; font-size: 0.8rem; color: var(--dim); }
.ft-dot { color: var(--indigo); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .offer-grid, .svc-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-grid { gap: 34px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile-wide, .tile-half { grid-column: span 1; }
  .tile-wide .tile-media, .tile-half .tile-media { aspect-ratio: 4 / 3; }
  .steps, .shape-grid { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; }
  .case-meta { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero-grid, .collab, .contact-grid { grid-template-columns: 1fr; }
  .collab-photo { order: 2; transform: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .inv, .inv-flip { grid-template-columns: 1fr; }
  .inv-flip figure { order: 0; }
}
@media (max-width: 720px) {
  .hd-nav { position: fixed; inset: 0; background: rgba(7, 11, 37, 0.97); backdrop-filter: blur(16px); flex-direction: column; align-items: center; justify-content: center; gap: 30px; opacity: 0; pointer-events: none; transition: opacity 0.35s; z-index: 55; }
  .hd-nav a { font-size: 1.35rem; font-weight: 500; }
  body.nav-open .hd-nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .hd-cta { display: none; }
  .hd-burger { display: flex; }
  .work-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .case-nav { flex-direction: column; }
  .case-nav a + a { border-left: 0; border-top: 1px solid var(--line); align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tm figcaption { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-in > * { opacity: 1; transform: none; }
}
