/* ==========================================================================
   Mirage PR — demo redesign
   Visual concept: "heat-haze editorial" — warm ink canvas, brand-crimson
   haze, editorial serif display + grotesk body, hairline grid.
   ========================================================================== */

:root {
  --ink: #141011;
  --ink-2: #1b1617;
  --ink-3: #262021;
  --paper: #f6f2ed;
  --paper-2: #efe9e2;
  --red: #c00018;
  --red-bright: #e5142b;
  --charcoal: #303030;

  --text-on-dark: #f6f2ed;
  --muted-on-dark: rgba(246, 242, 237, 0.66);
  --line-on-dark: rgba(246, 242, 237, 0.14);
  --text-on-light: #221c1e;
  --muted-on-light: rgba(34, 28, 30, 0.68);
  --line-on-light: rgba(20, 16, 17, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: min(1240px, 90vw);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.container { width: var(--container); margin-inline: auto; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  pointer-events: none;
}
.progress span {
  display: block; height: 100%; background: var(--red-bright);
  transform: scaleX(0); transform-origin: left;
}

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: var(--red-bright); }

.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }
.section--light { background: var(--paper); color: var(--text-on-light); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head--row {
  display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: flex-end; justify-content: space-between;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 0.9rem;
}
.section__title em {
  font-style: italic;
  font-weight: 480;
  color: var(--red);
}
.section--dark .section__title em { color: var(--red-bright); }
.section__sub {
  max-width: 46ch; margin-top: 1.2rem;
  color: var(--muted-on-dark);
}

.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-bright); }
.btn--ghost { border-color: var(--line-on-dark); color: var(--text-on-dark); }
.btn--ghost:hover { border-color: var(--text-on-dark); background: rgba(246,242,237,0.06); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(20, 16, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-on-dark);
}
.header__inner {
  width: var(--container); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 2rem;
}
.header__logo img { width: 150px; height: auto; }
.header__nav {
  margin-left: auto;
  display: flex; gap: 2.2rem;
}
.header__nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--red-bright);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.header__nav a:hover, .header__nav a.is-active { color: var(--text-on-dark); }
.header__nav a:hover::after, .header__nav a.is-active::after {
  transform: scaleX(1); transform-origin: left;
}
.header__cta { padding: 0.7rem 1.25rem; }
.header__burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  position: relative;
}
.header__burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--text-on-dark);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.header__burger span:nth-child(1) { top: 17px; }
.header__burger span:nth-child(2) { top: 25px; }
.header__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  color: var(--text-on-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 8vw 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line-on-dark);
  transform: translateY(18px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.mobile-menu.is-open nav a:not(.btn) { transform: none; opacity: 1; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.06s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.24s; }
.mobile-menu .btn { margin-top: 2rem; align-self: flex-start; }
.mobile-menu__meta {
  margin-top: auto; display: flex; flex-direction: column; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--muted-on-dark);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero__haze { position: absolute; inset: 0; pointer-events: none; }
.haze {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.haze--1 {
  width: 55vw; height: 55vw; left: -12vw; top: -18vw;
  background: radial-gradient(circle, rgba(192,0,24,0.55) 0%, rgba(192,0,24,0) 68%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.haze--2 {
  width: 42vw; height: 42vw; right: -8vw; top: 12vh;
  background: radial-gradient(circle, rgba(229,20,43,0.32) 0%, rgba(229,20,43,0) 70%);
  animation: drift2 26s ease-in-out infinite alternate;
}
.haze--3 {
  width: 38vw; height: 38vw; left: 30vw; bottom: -16vw;
  background: radial-gradient(circle, rgba(255,120,60,0.18) 0%, rgba(255,120,60,0) 70%);
  animation: drift3 30s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(9vw, 7vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-7vw, -6vh) scale(0.92); } }
@keyframes drift3 { to { transform: translate(-6vw, -9vh) scale(1.1); } }

.hero__inner {
  position: relative; z-index: 2;
  width: var(--container); margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(3rem, 7.2vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 1.4rem 0 1.6rem;
}
.hero__title em { font-style: italic; font-weight: 460; color: var(--red-bright); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1.05s var(--ease);
}
body.is-loaded .hero__title .line > span { transform: none; }
body.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
/* drop the reveal clip once the entrance animation has settled (avoids a compositing seam) */
.hero__title.is-done .line { overflow: visible; }

.hero__sub {
  max-width: 52ch;
  color: var(--muted-on-dark);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* hero visual — photo stack */
.hero__visual { position: relative; min-height: clamp(320px, 44vw, 560px); }
.hero__frame {
  position: absolute; overflow: hidden;
  border: 1px solid var(--line-on-dark);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  will-change: transform;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame--main {
  inset: 0 8% 12% 0;
  border-radius: 2px;
}
.hero__frame--sub {
  width: 46%; aspect-ratio: 4 / 3;
  right: 0; bottom: 0;
  border: 3px solid var(--ink);
}
.hero__sweep {
  position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.05) 46%,
    rgba(229, 20, 43, 0.28) 50%,
    rgba(255, 255, 255, 0.05) 54%,
    transparent 62%);
  transform: translateX(-70%);
  animation: sweep 7s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 62% { transform: translateX(-70%); }
  100% { transform: translateX(70%); }
}
.hero__badge {
  position: absolute; left: -4%; bottom: 6%;
  background: var(--red);
  color: #fff;
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  will-change: transform;
}
.hero__badge-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 600; line-height: 1;
}
.hero__badge-label {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.5;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-on-dark);
  transition: color 0.3s;
}
.hero__scroll:hover { color: var(--text-on-dark); }
.hero__scroll i {
  width: 1px; height: 44px;
  background: linear-gradient(var(--red-bright), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--text-on-dark);
  animation: scrollcue 1.8s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 1.05rem 0;
  border-block: 1px solid rgba(0, 0, 0, 0.2);
}
.marquee__track {
  display: flex; gap: 3rem; align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  white-space: nowrap;
}
.marquee__track i { font-style: normal; font-size: 0.6rem; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about__body p + p { margin-top: 1.3rem; }
.about__body p { color: var(--muted-on-light); }
.about__body .lead { color: var(--text-on-light); }
.about__body strong { color: var(--red); font-weight: 600; }

.about__quote {
  margin-top: 2.4rem;
  padding-left: 1.6rem;
  border-left: 3px solid var(--red);
}
.about__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  color: var(--text-on-light) !important;
}

.about__media { position: relative; }
.about__frame { position: relative; display: block; }
.about__frame::before {
  content: ""; position: absolute;
  inset: -16px -16px 16px 16px;
  background: var(--red);
  z-index: 0;
}
.about__frame img {
  position: relative; z-index: 1;
  width: 100%;
  border: 1px solid var(--line-on-light);
}
.about__media figcaption {
  position: relative; z-index: 1;
  margin-top: 1.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-light);
  border: 1px solid var(--line-on-light);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.stat { background: var(--paper); padding: clamp(1.4rem, 3vw, 2.4rem); }
.stat dt {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--red);
}
.stat dd {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

/* ==========================================================================
   Services
   ========================================================================== */
.svc { border-top: 1px solid var(--line-on-dark); }
.svc__item { border-bottom: 1px solid var(--line-on-dark); }
.svc__head {
  width: 100%;
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1.1rem, 2.4vw, 1.7rem) 0;
  text-align: left;
  transition: padding 0.4s var(--ease);
}
.svc__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--red-bright);
  letter-spacing: 0.08em;
}
.svc__name {
  font-family: var(--font-display);
  font-weight: 520;
  font-size: clamp(1.3rem, 2.6vw, 2.05rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  transition: color 0.35s var(--ease), transform 0.45s var(--ease);
}
.svc__head:hover .svc__name { color: var(--red-bright); transform: translateX(8px); }
.svc__plus {
  position: relative; width: 22px; height: 22px; flex: none;
}
.svc__plus::before, .svc__plus::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform 0.45s var(--ease), background 0.3s;
}
.svc__plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.svc__plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.svc__head[aria-expanded="true"] .svc__plus::after { transform: translateX(-50%) rotate(90deg); }
.svc__head[aria-expanded="true"] .svc__plus::before,
.svc__head[aria-expanded="true"] .svc__plus::after { background: var(--red-bright); }
.svc__head[aria-expanded="true"] .svc__name { color: var(--red-bright); }

.svc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}
.svc__item.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__panel-in { overflow: hidden; }
.svc__panel-in p {
  max-width: 68ch;
  padding: 0 0 1.4rem calc(3.5rem + 1.2rem);
  color: var(--muted-on-dark);
}
.svc__tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  padding: 0 0 1.8rem calc(3.5rem + 1.2rem);
}
.svc__tags li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  color: var(--muted-on-dark);
}

/* ==========================================================================
   Work
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line-on-light);
  border-radius: 999px;
  color: var(--muted-on-light);
  transition: all 0.35s var(--ease);
}
.filter:hover { border-color: var(--red); color: var(--red); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.grid__empty {
  padding: 3rem 0; text-align: center;
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--muted-on-light);
}
.card {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--ink-3);
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.card.is-hidden { display: none; }
.card.card--contain { background: var(--paper-2); }
.card.card--contain img { object-fit: contain; }
.card.is-fading { opacity: 0; transform: scale(0.97); }
.card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 11, 12, 0.88) 0%, rgba(15, 11, 12, 0.18) 46%, transparent 70%);
  transition: opacity 0.5s var(--ease);
}
.card:hover img, .card:focus-visible img { transform: scale(1.06); }
.card__meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.2rem 1.3rem;
  color: #fff;
  transform: translateY(6px);
  transition: transform 0.5s var(--ease);
}
.card:hover .card__meta, .card:focus-visible .card__meta { transform: none; }
.card__client {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.card__meta h3 {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  margin-top: 0.35rem;
}
.card__cat {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s var(--ease) 0.05s, transform 0.45s var(--ease) 0.05s;
}
.card:hover .card__cat, .card:focus-visible .card__cat { opacity: 1; transform: none; }

/* ==========================================================================
   Clients
   ========================================================================== */
.clients {
  background: var(--ink-2);
  color: var(--text-on-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--line-on-dark);
}
.clients__list {
  display: flex; flex-wrap: wrap;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  margin-top: 1.6rem;
}
.clients__list li {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(246, 242, 237, 0.44);
  transition: color 0.4s var(--ease);
}
.clients__list li:hover { color: var(--text-on-dark); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.form .form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.field { margin-bottom: 1.6rem; display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 0.55rem;
  transition: color 0.3s;
}
.field .opt { text-transform: none; letter-spacing: 0; opacity: 0.6; }
.field input, .field textarea {
  font: inherit;
  color: var(--text-on-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-on-dark);
  padding: 0.65rem 0;
  border-radius: 0;
  transition: border-color 0.35s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(246, 242, 237, 0.3); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--red-bright);
}
.field:focus-within label { color: var(--red-bright); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--red-bright); }
.field__err {
  min-height: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--red-bright);
  padding-top: 0.35rem;
}
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.form__note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--muted-on-dark);
  max-width: 38ch;
}
.form__note.is-success { color: #7ee0a3; }

.contact__info {
  display: flex; flex-direction: column; gap: 1.7rem;
  border-left: 1px solid var(--line-on-dark);
  padding-left: clamp(1.5rem, 4vw, 3rem);
}
.info-block h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.45rem;
}
.info-block a, .info-block address {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-on-dark);
}
.info-block a { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.info-block a:hover { border-bottom-color: var(--red-bright); }
.info-social { display: flex; gap: 1.2rem; }
.info-hours {
  margin-top: auto;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted-on-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line-on-dark);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer__brand img { width: 160px; height: auto; }
.footer__brand p {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted-on-dark);
}
.footer__nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__nav a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  transition: color 0.3s;
  width: fit-content;
}
.footer__nav a:hover { color: var(--red-bright); }
.footer__legal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.8;
  color: var(--muted-on-dark);
  text-align: right;
}
.footer__demo { opacity: 0.55; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 7, 8, 0.86);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.lightbox__panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  color: var(--text-on-dark);
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox.is-open .lightbox__panel { transform: none; opacity: 1; }
.lightbox__close {
  position: absolute; top: 0.7rem; right: 0.9rem; z-index: 3;
  width: 44px; height: 44px;
  font-size: 1.8rem; line-height: 1;
  color: var(--text-on-dark);
  background: rgba(20, 16, 17, 0.6);
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}
.lightbox__close:hover { background: var(--red); transform: rotate(90deg); }
.lightbox__media { min-height: 280px; background: var(--ink); }
.lightbox__media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__body { padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.lightbox__client {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.lightbox__body h3 {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.12;
  margin: 0.7rem 0 1.4rem;
}
.lightbox__facts { border-top: 1px solid var(--line-on-dark); }
.lightbox__facts li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-on-dark);
  font-size: 0.9rem;
}
.lightbox__facts span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.lightbox__facts strong { font-weight: 500; text-align: right; }
.lightbox__summary { margin: 1.4rem 0 1.8rem; color: var(--muted-on-dark); }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__legal { text-align: left; grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: clamp(300px, 62vw, 460px); order: 2; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { margin-top: 1rem; }
  .contact__info { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-on-dark); padding-top: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .lightbox__panel { grid-template-columns: 1fr; }
  .lightbox__media { max-height: 34vh; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid { grid-template-columns: 1fr; }
  .form .form__row { grid-template-columns: 1fr; gap: 0; }
  .svc__head { grid-template-columns: 2.4rem 1fr auto; gap: 0.8rem; }
  .svc__panel-in p, .svc__tags { padding-left: calc(2.4rem + 0.8rem); }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .hero__badge { left: auto; right: 4%; bottom: -4%; }
  .hero__scroll { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
