/* ==========================================================
   EvoTech Printing House
   Palette: green · white · black
   ========================================================== */

:root {
  --green: #4f9a43;
  --green-bright: #74d65a;
  --green-deep: #1d4419;
  --black: #0b0d0b;
  --ink: #141714;
  --white: #ffffff;
  --paper: #f3f6f0;
  --muted: #5f6a5c;
  --muted-light: #a9b3a6;
  --line: rgb(20 23 20 / 0.1);
  --line-light: rgb(255 255 255 / 0.12);

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll, body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
::selection { background: var(--green-bright); color: var(--black); }
:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.section { padding-block: clamp(80px, 11vw, 150px); }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.section--dark { background: var(--black); color: var(--white); }
.section--paper { background: var(--paper); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.section-title { font-size: clamp(1.9rem, 5.6vw, 4.6rem); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--green-bright); }
.lead { font-size: 1.15rem; color: var(--muted); }

.gradient-text {
  background: linear-gradient(100deg, var(--green-bright), #c8f5b8 30%, var(--green) 55%, var(--green-bright) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
.section:not(.section--dark) .gradient-text,
.cta .gradient-text { background-image: linear-gradient(100deg, var(--green), var(--green-bright) 30%, var(--green-deep) 60%, var(--green) 90%); background-size: 250% 100%; }
.outline-text { color: transparent; -webkit-text-stroke: 2px var(--white); }

@keyframes shimmer { to { background-position: -250% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; white-space: nowrap;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--green-bright));
  transform: translateY(101%); border-radius: inherit;
  transition: transform 0.5s var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--hover-fg, var(--black)); }
.btn:hover::after { transform: translateY(0); }
.btn:hover .icon { transform: translateX(4px); }
.btn .icon { transition: transform 0.4s var(--ease); }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--green { --bg: var(--green); --hover: var(--white); }
.btn--dark { --bg: var(--ink); }
.btn--ghost { --bg: rgb(255 255 255 / 0.06); border-color: var(--line-light); backdrop-filter: blur(8px); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); --hover: var(--ink); --hover-fg: var(--white); }
.cta .btn--ghost { --fg: var(--ink); border-color: var(--line); --bg: transparent; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--black); color: var(--white);
  transition: background 0.4s, box-shadow 0.4s, height 0.4s var(--ease);
}
.header--overlay { position: fixed; inset-inline: 0; background: transparent; }
.header.is-scrolled {
  height: 64px;
  background: rgb(11 13 11 / 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header__inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; position: relative; z-index: 60; }
.brand__logo { width: auto; height: 58px; transition: height 0.4s var(--ease); }
.header.is-scrolled .brand__logo { height: 48px; }
.footer .brand__logo { height: 80px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 8px 16px; font-weight: 600; font-size: 0.95rem; opacity: 0.78;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--green-bright); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: 12px; padding: 10px 20px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 60; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor;
  transition: transform 0.45s var(--ease), top 0.3s;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 4px; padding: 0 var(--gutter);
    background: var(--black);
    clip-path: circle(0 at calc(100% - 42px) 38px);
    transition: clip-path 0.7s var(--ease);
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 42px) 38px); }
  .nav__link { font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.6rem); font-weight: 700; opacity: 1; padding: 6px 0; }
  .nav__link::after { left: 0; right: 0; }
  .nav__cta { margin: 28px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--black); color: var(--white);
  padding-top: var(--header-h);
}
.hero::after { /* pointer spotlight */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 30%) var(--my, 40%), rgb(116 214 90 / 0.13), transparent 60%);
}
.hero__halftone {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(rgb(116 214 90 / 0.5) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 70% at 0% 0%, #000 10%, transparent 70%);
}
.hero__glow {
  position: absolute; width: 60vmax; aspect-ratio: 1; left: -20vmax; bottom: -35vmax;
  background: radial-gradient(circle, rgb(79 154 67 / 0.45), transparent 62%);
  filter: blur(40px); animation: float 14s ease-in-out infinite alternate;
}
@keyframes float { to { transform: translate(10vmax, -8vmax) scale(1.15); } }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
}
.hero__title { font-size: clamp(2.7rem, 6.2vw, 6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.2s; }
.hero__title .line:nth-child(4) > span { animation-delay: 0.3s; }
.hero__title .gradient-text { animation: rise 1.1s 0.1s var(--ease) both, shimmer 6s linear infinite; }
@keyframes rise { from { transform: translateY(105%) rotate(4deg); } }

.hero__lead { max-width: 33rem; font-size: 1.12rem; color: var(--muted-light); animation: fade-up 1s 0.5s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; animation: fade-up 1s 0.65s var(--ease) both; }
.hero .eyebrow { animation: fade-up 1s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 var(--green-bright); animation: pulse 2s infinite; }
.hero .eyebrow::before { display: none; }
@keyframes pulse { to { box-shadow: 0 0 0 12px transparent; } }

.hero__columns {
  height: min(88svh, 820px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  transform: rotate(-8deg) scale(1.12);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  animation: fade-in 1.4s 0.3s both;
}
@keyframes fade-in { from { opacity: 0; } }
.hero__col { overflow: hidden; }
.hero__track { display: flex; flex-direction: column; gap: 14px; animation: scroll-y 46s linear infinite; }
.hero__col:nth-child(2) .hero__track { animation-direction: reverse; animation-duration: 54s; }
.hero__col:nth-child(3) .hero__track { animation-duration: 40s; }
.hero__columns:hover .hero__track { animation-play-state: paused; }
.hero__track img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px;
  filter: saturate(0.9) brightness(0.9);
  transition: filter 0.5s, transform 0.6s var(--ease);
}
.hero__track img:hover { filter: none; transform: scale(1.04); }
@keyframes scroll-y { to { transform: translateY(calc(-50% - 7px)); } }

.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid var(--line-light); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--green-bright); animation: scroll-hint 1.8s var(--ease) infinite;
}
@keyframes scroll-hint { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 34px; max-width: 36rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light);
  animation: fade-up 1s 0.8s var(--ease) both;
}
.hero__trust strong {
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--white);
  padding: 5px 12px; border: 1px solid var(--line-light); border-radius: 999px; background: rgb(255 255 255 / 0.04);
}

@media (max-width: 960px) {
  .hero { align-items: flex-start; padding-top: calc(var(--header-h) + 36px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__columns { height: 420px; margin: 0 calc(-1 * var(--gutter)) 40px; transform: rotate(-6deg) scale(1.15); }
  .hero__scroll { display: none; }
}

/* ---------- Marquees ---------- */
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track > span { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.clients {
  overflow: hidden; background: var(--green); color: var(--black);
  padding-block: 22px; border-block: 1px solid var(--green-deep);
}
.clients .marquee__track { gap: 34px; align-items: center; }
.clients span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 2rem); letter-spacing: -0.01em; }
.clients .dot { color: var(--white); font-size: 1rem; }

/* ---------- Intro / scrub text ---------- */
.scrub {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 1100px;
}
.scrub__word { color: rgb(20 23 20 / 0.14); transition: color 0.35s; }
.scrub__word.is-lit, .scrub.is-static .scrub__word { color: var(--ink); }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line);
}
.stat { padding: 32px 24px 0 0; display: grid; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; color: var(--green); }
.stat__label { color: var(--muted); font-weight: 600; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
}

/* ---------- Service rows (home) ---------- */
.service-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.service-row {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr auto 40px; align-items: center; gap: 24px;
  padding: clamp(20px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding 0.5s var(--ease), color 0.4s;
}
.service-row::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(116 214 90 / 0.12), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.service-rows li { position: relative; z-index: 0; }
.service-row:hover { padding-left: 20px; color: var(--green-bright); }
.service-row:hover::before { transform: scaleX(1); }
.service-row__num { font-family: var(--font-display); color: var(--muted-light); font-weight: 600; }
.service-row__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -0.02em; }
.service-row__tags { color: var(--muted-light); font-size: 0.92rem; text-align: right; }
.service-row__arrow { width: 32px; height: 32px; transform: rotate(-45deg); transition: transform 0.5s var(--ease); }
.service-row:hover .service-row__arrow { transform: rotate(0); }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 36px 1fr 28px; gap: 14px; }
  .service-row__tags { display: none; }
  .service-row__arrow { width: 24px; height: 24px; }
}

.hover-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  opacity: 0; scale: 0.6; transition: opacity 0.35s, scale 0.5s var(--ease);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
}
.hover-preview.is-active { opacity: 1; scale: 1; }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Work cards ---------- */
.work { margin: 0; break-inside: avoid; }
.work__open {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  text-align: left;
}
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; }
.work__open::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(11 13 11 / 0.85), transparent 55%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.work__caption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  display: grid; gap: 2px; color: var(--white);
  transform: translateY(16px); opacity: 0; transition: 0.5s var(--ease);
}
.work__client { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-bright); }
.work__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.15; }
.work__open:hover img, .work__open:focus-visible img { transform: scale(1.07); }
.work__open:hover::after, .work__open:focus-visible::after,
.work__open:hover .work__caption, .work__open:focus-visible .work__caption { opacity: 1; transform: none; }
@media (hover: none) {
  .work__open::after, .work__caption { opacity: 1; transform: none; }
}

.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 22vw, 290px);
}
.bento .work:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento .work:nth-child(6) { grid-column: span 2; }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .bento .work:nth-child(n) { grid-column: auto; grid-row: auto; }
  .bento .work:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .bento .work:nth-child(even):last-child { grid-column: span 2; }
  .bento .work__title { font-size: 1rem; }
  .bento .work__caption { left: 14px; right: 14px; bottom: 12px; }
}

.masonry { columns: 3 300px; column-gap: 16px; transition: opacity 0.22s; }
.masonry .work { margin-bottom: 16px; }
.masonry img { height: auto; }
.masonry.is-fading { opacity: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 0.92rem; transition: 0.35s var(--ease);
}
.chip sup { margin-left: 4px; font-size: 0.68rem; color: var(--green); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.is-active sup { color: var(--green-bright); }

/* ---------- Big-name showcase ---------- */
.showcase-section__lead { max-width: 26rem; color: var(--muted); font-size: 1.05rem; }
.showcase {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 20vw, 270px);
}
.showcase__item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--ink);
}
.showcase__item--wide { grid-column: span 2; grid-row: span 2; }
.showcase__item--tall { grid-row: span 2; }
.showcase__open { display: block; width: 100%; height: 100%; }
.showcase__item img, .showcase__item video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.showcase__item:hover img, .showcase__open:focus-visible img, .showcase__item:hover video { transform: scale(1.05); }
.showcase__item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(11 13 11 / 0.88), rgb(11 13 11 / 0.15) 50%, transparent 70%);
}
.showcase__caption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  display: grid; gap: 4px; color: var(--white); pointer-events: none;
}
.showcase__client {
  font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
}
.showcase__item--wide .showcase__client { font-size: clamp(1.6rem, 3.2vw, 2.8rem); }
.showcase__client::before {
  content: ''; display: block; width: 28px; height: 3px; margin-bottom: 10px;
  border-radius: 2px; background: var(--green-bright);
}
.showcase__title { font-size: 0.9rem; font-weight: 600; color: rgb(255 255 255 / 0.78); line-height: 1.35; }
.showcase__tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: rgb(11 13 11 / 0.55); backdrop-filter: blur(8px);
}
@media (max-width: 860px) {
  .showcase { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 12px; }
  .showcase__item--wide { grid-row: span 1; }
  .showcase__caption { left: 14px; right: 14px; bottom: 12px; }
  .showcase__title { font-size: 0.8rem; }
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.process__step {
  position: relative; overflow: hidden;
  padding: 40px 32px 36px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.process__step:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgb(29 68 25 / 0.12); }
.process__step::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.process__step:hover::after { transform: scaleX(1); }
.process__num {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 4.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--green); margin-bottom: 26px;
}
.process__step h3 { font-size: 1.9rem; margin-bottom: 10px; }
.process__step p { color: var(--muted); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }

/* ---------- Reels ---------- */
.reels {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px max(var(--gutter), (100vw - var(--container)) / 2) 12px;
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.reel {
  flex: none; width: clamp(220px, 24vw, 290px); margin: 0; scroll-snap-align: center;
}
.reel video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: var(--radius); background: var(--ink);
  border: 1px solid var(--line-light);
  transition: transform 0.6s var(--ease);
}
.reel:hover video { transform: scale(1.025) rotate(-1deg); }
.reel figcaption { margin-top: 14px; color: var(--muted-light); font-weight: 600; font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--paper); padding-block: clamp(90px, 12vw, 160px); text-align: center; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(79 154 67 / 0.25) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 75%);
}
.cta__inner { position: relative; }
.cta__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 40px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.cta__trust strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.cta .eyebrow::before { display: none; }
.cta__title { font-size: clamp(2.8rem, 8vw, 6.6rem); font-weight: 700; letter-spacing: -0.02em; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--white);
  padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px);
}
.page-hero .hero__halftone { mask-image: radial-gradient(ellipse 50% 90% at 100% 0%, #000 10%, transparent 70%); }
.page-hero__title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 700; letter-spacing: -0.02em; max-width: 14ch; position: relative; }
.page-hero__lead { margin-top: 26px; max-width: 38rem; font-size: 1.15rem; color: var(--muted-light); position: relative; }

/* ---------- Services page ---------- */
.service-list { display: grid; gap: clamp(80px, 10vw, 140px); }
.service {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center;
  scroll-margin-top: 100px;
}
.service--flip .service__media { order: 2; }
.service__media { position: relative; }
.service__media img, .service__media video {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 30px 70px rgb(11 13 11 / 0.16);
}
.service__media::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border-radius: var(--radius); background: var(--green);
  transition: inset 0.6s var(--ease);
}
.service--flip .service__media::before { inset: 22px 22px -22px -22px; }
.service:hover .service__media::before { inset: 10px -10px -10px 10px; }
.service--flip:hover .service__media::before { inset: 10px 10px -10px -10px; }
.service__badge {
  position: absolute; top: 20px; left: 20px;
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: var(--black); color: var(--green-bright);
}
.service__badge .icon { width: 26px; height: 26px; }
.service__client {
  position: absolute; left: 20px; bottom: 20px; padding: 8px 16px; border-radius: 999px;
  font-size: 0.85rem; color: var(--white); background: rgb(11 13 11 / 0.72); backdrop-filter: blur(8px);
}
.service__client strong { font-family: var(--font-display); color: var(--green-bright); }
.service__body h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; margin-bottom: 18px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.checklist .icon { color: var(--white); background: var(--green); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
  .service--flip .service__media { order: 0; }
  .checklist { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__heading { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 26px; }
.contact__info { display: grid; gap: 24px; justify-items: start; }
.contact__flyer { width: 100%; max-width: 480px; justify-self: end; border-radius: var(--radius); box-shadow: 0 30px 70px rgb(11 13 11 / 0.14); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list__static { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-list .icon {
  width: 42px; height: 42px; padding: 10px; border-radius: 50%;
  background: var(--paper); color: var(--green); transition: 0.4s var(--ease);
}
.contact-list a:hover .icon { background: var(--green); color: var(--white); transform: rotate(-12deg); }

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact__flyer { justify-self: start; } }

.map-wrap { height: clamp(320px, 45vw, 480px); filter: grayscale(1) contrast(1.05); transition: filter 0.6s; }
.map-wrap:hover { filter: none; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); overflow: hidden; }
.footer__marquee { padding-block: clamp(36px, 6vw, 70px); border-bottom: 1px solid var(--line-light); }
.footer__marquee .marquee__track { gap: 40px; align-items: center; animation-duration: 36s; }
.footer__marquee span {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 9vw, 8rem);
  letter-spacing: -0.02em; line-height: 1;
}
.footer__marquee .outline { color: transparent; -webkit-text-stroke: 1.5px var(--green-bright); }
.footer__marquee .dot { color: var(--green); font-size: clamp(1.6rem, 4vw, 3.2rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding-block: 64px; }
.footer__lead { margin-top: 20px; max-width: 26rem; color: var(--muted-light); }
.footer__title { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 18px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a, .footer .contact-list a { color: var(--muted-light); transition: color 0.3s; }
.footer__links a:hover, .footer .contact-list a:hover { color: var(--white); }
.footer .contact-list__static { color: var(--muted-light); }
.footer .contact-list .icon { width: 36px; height: 36px; padding: 8px; background: rgb(255 255 255 / 0.06); color: var(--green-bright); }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px 32px; border-top: 1px solid var(--line-light);
  color: var(--muted-light); font-size: 0.86rem;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 24px; background: rgb(8 10 8 / 0.94); backdrop-filter: blur(10px);
  color: var(--white);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { margin: 0; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.lightbox__stage img { max-height: 78svh; width: auto; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox.is-swapping .lightbox__stage { animation: swap 0.5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: scale(0.96); } }
.lightbox figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; text-align: center; }
.lightbox__client { color: var(--green-bright); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.lightbox__count { color: var(--muted-light); font-size: 0.85rem; }
.lightbox__btn {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: rgb(255 255 255 / 0.08); transition: background 0.3s, color 0.3s;
}
.lightbox__btn:hover { background: var(--green-bright); color: var(--black); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr 1fr; padding: 72px 16px 24px; align-content: center; }
  .lightbox__stage { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { justify-self: end; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease) var(--delay, 0ms), transform 0.9s var(--ease) var(--delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* backdrop-filter would trap the fixed mobile menu inside the header */
.menu-open .header { backdrop-filter: none; }
main { overflow-x: clip; }
@media (max-width: 860px) {
  .service__media::before, .service--flip .service__media::before { inset: 14px -10px -14px 10px; }
}
