/* ============================================================
   SHINELENS — Design system
   Blue & white · editorial · mobile-first
   ============================================================ */

:root {
  --paper: #FDFCFA;
  --white: #FFFFFF;
  --red: #236FAD;
  --red-dark: #1A5A8F;
  --red-deep: #0E4470;
  --red-soft: #EBF3FA;
  --ink: #14110F;
  --muted: #6B6560;
  --line: #E7E1DA;
  --soft: #F5F1EB;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --shadow: 0 24px 60px -30px rgba(20, 17, 15, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(20, 17, 15, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img, video { 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; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

/* ---------- Film grain overlay ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--soft { background: var(--soft); }

/* Film-frame ticks */
.ticks {
  display: flex;
  gap: 4px;
  width: fit-content;
}
.ticks span {
  width: 3px;
  height: 14px;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--red);
}

.title { font-size: clamp(2.2rem, 7vw, 4.6rem); }
.title span.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.title span.outline-red {
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
}
.title span.highlight { color: var(--red); }

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s, border-color 0.25s, background-color 0.25s;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--red);
  color: #ffffff;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.btn--primary:hover::before { transform: scaleX(1); }

.btn--ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--red);
}
.btn--light:hover { background: var(--red-soft); }

.btn--ghost-light {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn--sm { padding: 0.7rem 1.4rem; font-size: 0.85rem; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: rgba(253, 252, 250, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(20, 17, 15, 0.4);
}
body.menu-open {
  overflow: hidden;
}
body.menu-open .header {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
  line-height: 1;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.brand small { display: block; font-size: 0.52em; letter-spacing: 0.34em; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.nav-links a:not(.btn) {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.3rem 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn)[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a:not(.btn)[aria-current="page"] { color: var(--red); }

.nav-cta { margin-left: 0.4rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  z-index: 1010;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: 6rem var(--gutter) 3rem;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu {
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu > a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 2.9rem);
  line-height: 1.15;
  padding: 0.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.mobile-menu > a span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
}
.mobile-menu > a:hover { color: var(--red); }
.mobile-menu .mmenu-foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}
.mobile-menu .mmenu-foot a { font-family: var(--font-body); font-size: 0.95rem; text-transform: none; }
.mobile-menu .mmenu-social { display: flex; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding-top: clamp(8.5rem, 16vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -14%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 111, 173, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-title { font-size: clamp(3rem, 10.5vw, 6.8rem); }
.hero-sub {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}
.hero-meta {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-meta .ticks span { background: var(--red); height: 10px; }
.hero-meta strong { color: var(--red); font-weight: 800; }

/* Hero media card */
.hero-media {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 78%;
  height: 78%;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  z-index: -1;
}
.hero-media .frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--soft);
  box-shadow: var(--shadow);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 17, 15, 0.22);
  transition: background-color 0.3s;
  cursor: pointer;
}
.play-btn:hover { background: rgba(35, 111, 173, 0.28); }
.play-btn .play-core {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(35, 111, 173, 0.6);
  transition: transform 0.3s var(--ease);
}
.play-btn:hover .play-core { transform: scale(1.12); }

.hero-badge {
  position: absolute;
  left: -12px;
  bottom: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-badge .script { font-size: 1.15rem; }
.hero-badge strong { display: block; font-size: 0.85rem; letter-spacing: 0.05em; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--muted);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--red);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--red);
  color: #fff;
  padding-block: 1.1rem;
  border-block: 2px solid var(--red-deep);
  transform: rotate(-1.2deg);
  width: 102%;
  margin-inline-start: -1%;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  padding-right: 2.2rem;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
}
.marquee span::after { content: "✦"; font-size: 1rem; opacity: 0.85; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Section header ---------- */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.sec-head .title { max-width: 18ch; }
.sec-head .note { color: var(--muted); max-width: 38ch; }

/* ---------- Services list ---------- */
.svc-list { display: grid; gap: 1.2rem; }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.6rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.svc-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.svc-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--red);
  min-width: 2ch;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.svc-num small { font-family: var(--font-body); font-weight: 700; font-size: 0.7rem; color: var(--muted); }
.svc-body h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.svc-body p { color: var(--muted); margin-top: 0.35rem; max-width: 60ch; }
.svc-arrow {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.svc-row:hover .svc-arrow { background: var(--red); border-color: var(--red); color: #fff; transform: translateX(4px); }

/* ---------- Showreel band ---------- */
.band {
  background: var(--red);
  color: #fff;
  border-block: 2px solid var(--red-deep);
}
.band .title { color: #fff; font-size: clamp(2.4rem, 7vw, 5rem); }
.band .title span.outline { -webkit-text-stroke-color: rgba(255, 255, 255, 0.65); }
.band .lead { color: rgba(255, 255, 255, 0.85); }
.band .eyebrow { color: #fff; }
.band .eyebrow::before { background: #fff; }
.band .note { color: rgba(255, 255, 255, 0.85); }

.showreel {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(14, 68, 112, 0.55);
}
.showreel video, .showreel img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
.stat { border-top: 2px solid var(--line); padding-top: 1.2rem; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1;
  color: var(--red);
}
.stat .num em { font-style: normal; font-size: 0.55em; vertical-align: super; }
.stat p { color: var(--muted); font-weight: 600; margin-top: 0.4rem; }

/* ---------- Split / about teaser ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.split-media { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.split-media::after {
  content: "";
  position: absolute;
  inset: auto auto -16px -16px;
  width: 65%;
  height: 65%;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  z-index: -1;
}
.split-media img {
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow);
  width: 100%;
}
.signature {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--red);
  line-height: 1;
  margin-top: 0.4rem;
}

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 820px; }
.testi-slide { display: none; }
.testi-slide.active { display: block; animation: fadeSlide 0.5s var(--ease); }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.testi-quote {
  font-family: var(--font-display);
  text-transform: none;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  line-height: 1.4;
  letter-spacing: 0;
}
.testi-quote::before {
  content: "“";
  display: block;
  font-family: var(--font-script);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.testi-person {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testi-person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
}
.testi-person strong { display: block; }
.testi-person span { color: var(--muted); font-size: 0.9rem; }
.testi-nav { display: flex; gap: 0.6rem; margin-top: 2rem; }
.testi-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--red);
  transition: background-color 0.3s;
}
.testi-dot.active { background: var(--red); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--red);
  color: #fff;
  border-block: 2px solid var(--red-deep);
  overflow: hidden;
}
.cta-band::before {
  content: "SL";
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 34vw, 26rem);
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band .title { color: #fff; font-size: clamp(2.4rem, 7vw, 5rem); max-width: 14ch; }
.cta-band .title span.outline { -webkit-text-stroke-color: rgba(255,255,255,0.65); }
.cta-band .script { color: #fff; font-size: 1.8rem; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding-top: clamp(8.5rem, 16vw, 11rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 111, 173, 0.10) 0%, transparent 65%);
  pointer-events: none;
}
.crumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.2rem;
  align-items: center;
}
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--red); }

/* ---------- Services detail ---------- */
.svc-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.svc-block:last-of-type { border-bottom: 0; }
.svc-block .big-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  display: block;
}
.svc-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--soft);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-media .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.svc-features { margin-top: 1.4rem; display: grid; gap: 0.6rem; }
.svc-features li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: var(--muted);
}
.svc-features li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-2px);
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.8rem 1.6rem;
  counter-increment: step;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step .step-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--red);
}
.step .step-num::after { content: " — 0" counter(step); font-size: 0.7em; opacity: 0.5; }
.step h3 { font-size: 1.4rem; margin-top: 0.9rem; }
.step p { color: var(--muted); margin-top: 0.4rem; font-size: 0.95rem; }

/* ---------- Portfolio ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.filter {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.25s;
  cursor: pointer;
}
.filter:hover { border-color: var(--red); color: var(--red); }
.filter.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  display: block;
  aspect-ratio: 4/3;
}
.card--tall { aspect-ratio: 4/5; }
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover img { transform: scale(1.07); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 68, 112, 0.72), rgba(35, 111, 173, 0.12) 55%, rgba(35, 111, 173, 0));
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover::after { opacity: 1; }
.card-info {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  color: #fff;
  z-index: 2;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.card:hover .card-info { transform: translateY(0); opacity: 1; }
.card-info .cat {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.card-info h3 { font-size: 1.35rem; margin-top: 0.2rem; }
.card-play {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: grid;
  place-items: center;
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.card:hover .card-play { transform: scale(1); opacity: 1; }
.card.reveal-in { animation: fadeSlide 0.5s var(--ease); }

/* ---------- About ---------- */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.value {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.8rem 1.6rem;
}
.value .v-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.value h3 { font-size: 1.35rem; }
.value p { color: var(--muted); margin-top: 0.4rem; font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.chip {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  transition: all 0.25s;
}
.chip:hover { border-color: var(--red); color: var(--red); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.info-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-card .ic {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
}
.info-card strong { display: block; font-size: 1rem; }
.info-card span, .info-card a { color: var(--muted); font-size: 0.93rem; }
.info-card a:hover { color: var(--red); }

.socials { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  text-decoration: none;
}
.social svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: auto;
}
.social:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(1.6rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}
.field label span { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(35, 111, 173, 0.12);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--red); }
.field .err-msg { display: none; color: var(--red); font-size: 0.82rem; font-weight: 600; margin-top: 0.3rem; }
.field.error .err-msg { display: block; }
.form-error {
  display: block;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0.9rem;
  background: rgba(35, 111, 173, 0.08);
  border: 1px solid rgba(35, 111, 173, 0.25);
  padding: 0.7rem 1rem;
  border-radius: 8px;
}
.form-error[hidden] { display: none; }
.form-error a { color: var(--red); text-decoration: underline; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.show { display: block; }
.form-success .ok {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.form-success .title { font-size: 1.8rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
  padding-top: clamp(3rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  padding-bottom: 2.8rem;
}
.footer .brand small { color: var(--muted); }
.footer h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
  color: var(--ink);
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.25s, padding-left 0.25s;
}
.footer-links a:hover { color: var(--red); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bottom .heart { color: var(--red); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Hero entrance */
.hero .reveal { opacity: 0; transform: translateY(30px); }
.hero .reveal.in-view { opacity: 1; transform: translateY(0); }

/* Page fade-in */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body { animation: pageIn 0.5s ease; }

/* Focus visibility */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .svc-row { padding: 2rem 2.2rem; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid .card:nth-child(6n+1),
  .grid .card:nth-child(6n+4) { grid-column: span 2; aspect-ratio: 2/1; }
  .svc-block { grid-template-columns: 0.55fr 1fr; gap: 4rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
  .marquee span { font-size: 1.8rem; }
}

/* Mobile nav visibility */
@media (max-width: 1023.98px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .reveal, .hero .reveal { opacity: 1; transform: none; }
}
