/* ============================================================
   Coastline Power & Co — landing page
   Brand: coastal blue + sun gold. Electrical · Solar · Air Con.
   ============================================================ */

:root {
  --navy: #062338;
  --navy-2: #0b3556;
  --blue: #1c86c9;
  --blue-deep: #0e5a8a;
  --sky: #6fc0ef;
  --sun: #fdb813;
  --sun-deep: #f5920f;
  --ink: #0a1922;
  --muted: #5b7183;
  --line: #e3ebf2;
  --paper: #f4f8fb;
  --white: #ffffff;

  --shadow-sm: 0 2px 10px rgba(6, 35, 56, .08);
  --shadow-md: 0 12px 34px rgba(6, 35, 56, .14);
  --shadow-lg: 0 26px 70px rgba(6, 35, 56, .28);

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sun); border-radius: 2px; }
.eyebrow.on-dark { color: var(--sun); }
.eyebrow.on-dark::before { background: var(--sun); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 0 8px 22px rgba(245, 146, 15, .32); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245, 146, 15, .42); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-deep); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 1.05rem 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(var(--maxw), 94vw); }
.site-header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); padding: .6rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.05; color: var(--white); }
.brand-name span { display: block; font-size: .62rem; letter-spacing: .2em; font-weight: 500; color: var(--sky); text-transform: uppercase; }
.site-header.scrolled .brand-name { color: var(--navy); }
.site-header.scrolled .brand-name span { color: var(--blue-deep); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a.navlink { font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.9); transition: color .2s; }
.nav a.navlink:hover { color: var(--sun); }
.site-header.scrolled .nav a.navlink { color: var(--muted); }
.site-header.scrolled .nav a.navlink:hover { color: var(--blue-deep); }
.nav .btn { padding: .62rem 1.15rem; font-size: .92rem; }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 26px; height: 2.4px; background: var(--white); border-radius: 2px; margin: 5px 0; transition: .25s; }
.site-header.scrolled .hamburger span { background: var(--navy); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-video, .hero-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-video::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,35,56,.55) 0%, rgba(6,35,56,.35) 35%, rgba(6,35,56,.75) 100%),
    linear-gradient(105deg, rgba(6,35,56,.85) 0%, rgba(6,35,56,.15) 60%);
}
.hero-inner { position: relative; z-index: 3; padding: 8rem 0 6rem; width: min(var(--maxw), 92vw); margin-inline: auto; }
.hero-logo { display: none; }  /* shown on mobile only */
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); max-width: 15ch; }
.hero h1 .grad { background: linear-gradient(100deg, var(--sun) 10%, #ffd869 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 2vw, 1.32rem); max-width: 46ch; color: rgba(255,255,255,.92); }
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-badges { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; align-items: center; }
.hero-badge { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: rgba(255,255,255,.9); }
.hero-badge svg { width: 1.35rem; height: 1.35rem; color: var(--sun); flex: none; }
.hero-badge strong { font-family: var(--font-display); font-weight: 600; }

.sound-toggle {
  position: absolute; z-index: 4; right: 1.6rem; bottom: 1.8rem;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  background: rgba(6,35,56,.4); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.55); color: #fff;
  display: grid; place-items: center; transition: background .2s, transform .2s, border-color .2s;
}
.sound-toggle:hover { background: rgba(6,35,56,.7); transform: translateY(-2px); border-color: var(--sun); }
.sound-toggle svg { width: 22px; height: 22px; }
.sound-toggle .ic-sound { display: none; color: var(--sun); }
.sound-toggle.on .ic-muted { display: none; }
.sound-toggle.on .ic-sound { display: block; }

/* the same control on the "why" clip — smaller, and it sits above the name tag */
.why-sound { right: 1.2rem; bottom: 1.2rem; width: 44px; height: 44px; }
.why-sound svg { width: 19px; height: 19px; }
/* nudge people to press it: pulse until it has been used once */
.why-sound:not(.used)::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--sun); opacity: 0; animation: whyPulse 2.6s ease-out infinite;
}
@keyframes whyPulse {
  0%   { opacity: .85; transform: scale(.92); }
  70%  { opacity: 0;   transform: scale(1.25); }
  100% { opacity: 0;   transform: scale(1.25); }
}
@media (prefers-reduced-motion: reduce) { .why-sound:not(.used)::after { animation: none; } }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .4rem; color: rgba(255,255,255,.7); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint .mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; background: var(--sun); border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } 100% { opacity: 0; } }

/* ============================================================
   Trust strip
   ============================================================ */
.trust { background: var(--navy); color: var(--white); padding: 1.5rem 0; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.6rem; align-items: center; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.trust-item svg { width: 1.3rem; height: 1.3rem; color: var(--sun); flex: none; }
.trust-item strong { font-family: var(--font-display); font-weight: 600; color: var(--white); }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section-pad { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: .8rem; }
.section-head p { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }
/* Deliberate line breaks so headings don't leave a single orphaned word on
   the last line. Only applied wide enough for the break to land well; on
   narrower screens the text wraps naturally. */
.lg-break { display: none; }
@media (min-width: 900px) { .lg-break { display: inline; } }

/* ---------- services ---------- */
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--sun)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy), var(--blue-deep)); color: var(--sun); margin-bottom: 1.3rem; }
.service-ic svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: 1rem; }
.service-card ul { list-style: none; margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.service-card li { font-size: .82rem; font-weight: 500; color: var(--blue-deep); background: #eaf4fb; border-radius: 999px; padding: .28rem .7rem; }

/* ============================================================
   Detailed services (alternating rows)
   ============================================================ */
.detail { background: var(--white); }
.detail-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.2rem; align-items: center; margin-bottom: 3.5rem; }
.detail-row.reverse .detail-media { order: 2; }
.detail-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-md); background: var(--navy); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy .service-ic { margin-bottom: 1.1rem; }
.detail-copy h3 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-bottom: .7rem; }
.detail-copy > p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.3rem; }
.detail-list { list-style: none; display: grid; gap: .6rem; }
.detail-list li { position: relative; padding-left: 1.7rem; font-size: 1rem; font-weight: 500; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: .48em; width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, var(--blue), var(--sun)); }
.detail-cta { display: flex; justify-content: center; gap: .9rem; flex-wrap: wrap; margin-top: 1rem; }

/* ============================================================
   Work / reels gallery
   ============================================================ */
.work { background: var(--navy); color: var(--white); }
.work .section-head p { color: rgba(255,255,255,.7); }
.work-brand { display: flex; flex-direction: column; align-items: center; gap: .55rem; margin-bottom: 1.4rem; }
.work-brand img { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 5px 16px rgba(0,0,0,.35); }
.work-brand span { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.02rem; letter-spacing: -.01em; }
.reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden;
  cursor: pointer; background: #0b3556; box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.reel:hover { transform: translateY(-5px) scale(1.012); box-shadow: var(--shadow-lg); }
.reel img.poster, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity .35s ease; }
.reel.playing video { opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,35,56,0) 40%, rgba(6,35,56,.78) 100%); z-index: 2; pointer-events: none; }
.reel-play {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px); border: 1.5px solid rgba(255,255,255,.6);
  display: grid; place-items: center; transition: opacity .25s, transform .25s;
}
.reel-play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.reel:hover .reel-play { opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.reel-cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: .95rem 1rem; font-size: .84rem; font-weight: 500; line-height: 1.35; }
.work-actions { margin-top: 2.6rem; display: flex; justify-content: center; gap: .9rem; flex-wrap: wrap; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(3, 18, 30, .9); backdrop-filter: blur(8px); padding: 1.5rem; }
.lightbox.open { display: flex; }
.lightbox video { width: auto; height: min(88svh, 800px); aspect-ratio: 9/16; border-radius: 20px; box-shadow: var(--shadow-lg); background: #000; }
.lightbox-close { position: absolute; top: 1.3rem; right: 1.5rem; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-nav.prev { left: 1.4rem; }
.lightbox-nav.next { right: 1.4rem; }
.lightbox-nav svg { width: 22px; height: 22px; }

/* ============================================================
   Why / values
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.why-list { display: grid; gap: 1.4rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1rem; }
.why-item .n { flex: none; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(150deg, var(--sun), var(--sun-deep)); color: var(--navy); display: grid; place-items: center; }
.why-item .n svg { width: 24px; height: 24px; }
.why-item h4 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: .2rem; }
.why-item p { color: var(--muted); font-size: .98rem; }
.why-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); background: var(--navy); }
.why-media video { width: 100%; height: 100%; object-fit: cover; }
.why-media .tag { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2; background: rgba(6,35,56,.72); backdrop-filter: blur(6px); color: #fff; border-radius: 999px; padding: .5rem 1rem; font-size: .82rem; font-weight: 600; font-family: var(--font-display); display: flex; align-items: center; gap: .5rem; }
.why-media .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }

/* ============================================================
   Quote / contact CTA
   ============================================================ */
.cta { background: linear-gradient(140deg, var(--navy) 0%, var(--blue-deep) 100%); color: #fff; overflow: hidden; position: relative; }
.cta::before { content: ""; position: absolute; top: -30%; right: -10%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(253,184,19,.28), transparent 62%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta p { margin-top: 1rem; color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 44ch; }
.cta-phone { margin-top: 1.8rem; display: inline-flex; align-items: center; gap: .8rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.cta-phone svg { width: 1.5rem; height: 1.5rem; color: var(--sun); }
.cta-phone:hover { color: var(--sun); }

.qform { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 2rem; backdrop-filter: blur(8px); }
.qform h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.75); margin-bottom: .4rem; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.95); color: var(--ink); font: inherit; font-size: .98rem;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(253,184,19,.3); }
.qform .btn { width: 100%; margin-top: .4rem; }
.qform .fineprint { margin-top: .9rem; font-size: .78rem; color: rgba(255,255,255,.6); text-align: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #041b2c; color: rgba(255,255,255,.72); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer .brand img { width: 52px; height: 52px; }
.footer .brand-name { color: #fff; }
.footer p.blurb { margin-top: 1.1rem; font-size: .95rem; max-width: 34ch; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: grid; gap: .6rem; }
.footer a:hover { color: var(--sun); }
.footer .contact-line { display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.footer .contact-line svg { width: 1.1rem; height: 1.1rem; color: var(--sun); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom .licences { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--sun); color: var(--navy); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* ---------- mobile sticky call bar ---------- */
.mobile-call { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: none; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); box-shadow: 0 -6px 24px rgba(6,35,56,.14); gap: .7rem; }
.mobile-call .btn { flex: 1; padding: .85rem; font-size: .95rem; }

/* ---------- mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(6,35,56,.5); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(80vw, 320px); background: #fff; box-shadow: var(--shadow-lg); padding: 5rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 1.2rem; transform: translateX(100%); transition: transform .3s ease; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.drawer-panel a:hover { color: var(--blue-deep); }
.drawer-panel .btn { margin-top: auto; }
.drawer-close { position: absolute; top: 1.3rem; right: 1.4rem; background: none; border: 0; font-size: 1.8rem; color: var(--navy); cursor: pointer; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .nav .navlink, .nav > .btn { display: none; }
  .hamburger { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .reel-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .why-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .why-media { max-width: 420px; }
  .detail-row { grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 2.8rem; }
  .detail-row.reverse .detail-media { order: 0; }
  .detail-media { max-width: 480px; margin-inline: auto; aspect-ratio: 16/11; }
  .cta-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer .brand { grid-column: 1 / -1; }
  .mobile-call { display: flex; }
  body { padding-bottom: 74px; }
  .sound-toggle { bottom: 6.2rem; right: 1.1rem; width: 44px; height: 44px; }
}
@media (max-width: 540px) {
  .reel-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .hero-inner { padding-top: 7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust .wrap { gap: .8rem 1.6rem; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-nav.prev { left: .6rem; }
  .lightbox-nav.next { right: .6rem; }
}

/* ---- phone: push the hero to the lower half so the top shows video ---- */
@media (max-width: 640px) {
  .hero { align-items: flex-end; }             /* anchor content to the bottom */
  .hero-inner { padding: 1rem 0 6rem; text-align: center; }
  /* lighter, bottom-weighted overlay: clear video up top, dark only where the text sits */
  .hero-video::after {
    background: linear-gradient(180deg,
      rgba(6,35,56,.42) 0%,        /* keep the header legible over bright footage */
      rgba(6,35,56,.06) 14%,
      rgba(6,35,56,.02) 34%,       /* clear zone: video shows through */
      rgba(6,35,56,.30) 54%,
      rgba(6,35,56,.72) 74%,
      rgba(6,35,56,.90) 100%);
  }
  .hero-video video { filter: brightness(1.06) saturate(1.04); }   /* lift the footage a touch */
  .hero-logo { display: block; width: 74px; height: 74px; margin: 0 auto 1rem; border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
  .hero .eyebrow { justify-content: center; font-size: .66rem; letter-spacing: .16em; }
  .hero h1 { font-size: 2.15rem; max-width: 100%; margin-inline: auto; text-shadow: 0 2px 14px rgba(6,35,56,.45); }
  .hero p.lead { font-size: 1rem; max-width: 32ch; margin-inline: auto; margin-top: 1rem; text-shadow: 0 1px 10px rgba(6,35,56,.5); }
  .hero-cta { justify-content: center; margin-top: 1.5rem; gap: .7rem; }
  .hero-cta .btn { padding: .85rem 1.35rem; }
  .hero-badges { display: none; }              /* redundant with the licence strip below */
  .scroll-hint { display: none; }              /* hidden behind the sticky call bar anyway */

  /* services: centre each card's content */
  .service-card { text-align: center; padding: 2rem 1.5rem; }
  .service-ic { margin-inline: auto; }
  .service-card ul { justify-content: center; }
  .service-card::before { transform-origin: center; }

  /* detailed services: centre copy, list stays left-aligned but centred as a block */
  .detail-copy { text-align: center; }
  .detail-copy .service-ic { margin-inline: auto; }
  .detail-list { text-align: left; max-width: 320px; margin-inline: auto; }

  .work-brand img { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
