/* Fonts (hosted on this site, in css/fonts): Plus Jakarta Sans for headings, Inter for text */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

/* ==========================================================================
   DotCom Media — shared styles (every page loads this file)
   1. Design tokens      6. Header & navigation    11. Service cards
   2. Reset              7. Mobile menu            12. CTA band
   3. Base               8. Page hero (inner)      13. Footer
   4. Layout             9. Viewfinder helpers     14. WhatsApp button
   5. Text & buttons    10. Services filter        15. Scroll reveal
   ========================================================================== */


/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* Brand */
  --ink: #000000;
  --orange: #FF7F00;
  --orange-text: #C25E00;   /* darker orange: readable as text on white */
  --white: #FFFFFF;

  /* Supporting shades */
  --dark: #0D0D0D;
  --alt: #F4F4F2;
  --line: #E6E6E3;
  --muted: #5C5C5C;

  /* Type */
  --font-heading: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Sizes */
  --container: 1240px;
  --radius: 14px;
  --header-h: 76px;
}


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

img,
svg,
video { display: block; max-width: 100%; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

ul { list-style: none; }

a { color: inherit; text-decoration: none; }


/* ==========================================================================
   3. Base
   ========================================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* Keep anchored sections clear of the fixed header */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }


/* ==========================================================================
   4. Layout
   ========================================================================== */
.wrap {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }

.section-alt { background: var(--alt); }

.section-dark {
  color: var(--white);
  background: var(--dark);
}

/* Section heading row: title left, intro right */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 2.5rem;
}

.sec-head > p {
  max-width: 42ch;
  color: var(--muted);
}

.section-dark .sec-head > p { color: rgba(255, 255, 255, 0.7); }


/* ==========================================================================
   5. Text & buttons
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-text);
}

/* small orange "recording" dot before every eyebrow */
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.section-dark .eyebrow { color: var(--orange); }

.h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }

.accent {
  font-style: normal;
  color: var(--orange);
}

.lead {
  max-width: 60ch;
  font-size: 1.2rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn svg { width: 18px; height: 18px; }

.btn-orange {
  color: var(--ink);
  background: var(--orange);
}
.btn-orange:hover { color: var(--white); background: var(--ink); }

.btn-dark {
  color: var(--white);
  background: var(--ink);
}
.btn-dark:hover { color: var(--ink); background: var(--orange); }

.btn-outline {
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { color: var(--white); background: var(--ink); }

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover { color: var(--ink); background: var(--white); border-color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Brand wordmark: dot● com MEDIA */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-dot {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  margin-inline: 0.04em 0.08em;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.25);
}

.logo-com { font-weight: 400; }

.logo small {
  margin-left: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange-text);
}


/* ==========================================================================
   6. Header & navigation
   ========================================================================== */
.topbar {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  background: var(--ink);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.topbar a { transition: color 0.2s; }
.topbar a:hover { color: var(--orange); }

.topbar-social {
  display: flex;
  gap: 0.9rem;
}

.topbar-social svg { width: 16px; height: 16px; fill: currentColor; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* JS adds .is-scrolled after the page moves */
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.35);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.main-nav a {
  display: block;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--ink); }

.main-nav a[aria-current="page"] { background: var(--alt); }

/* ---- Services dropdown (desktop) ---- */
.has-dropdown { position: relative; }

.caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 0.3rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

/* aria-current="true" = the Services section while on a single service page */
.main-nav a[aria-current="true"] { color: var(--ink); background: var(--alt); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem 0.5rem !important;
  width: 520px;
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

/* opens on hover, and when a link inside gets keyboard focus */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  padding: 0.55rem 0.8rem;
  font-size: 0.92rem;
  border-radius: 10px;
}

.dropdown a:hover { background: var(--alt); }

.dropdown a[aria-current="page"] { color: var(--orange-text); background: transparent; }

.header-cta { padding: 0.7rem 1.3rem; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--alt);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

/* three lines → X */
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, background 0.3s;
}

.menu-toggle span { position: relative; }

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }


/* ==========================================================================
   7. Mobile menu
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--header-h) + 40px + 1.5rem) 1.5rem 2rem;
  color: var(--white);
  background: var(--dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu nav a {
  display: block;
  padding-block: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu nav a[aria-current="page"] { color: var(--orange); }

/* service links under "Services" in the mobile menu */
.mobile-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  padding-block: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu nav .mobile-sub a {
  padding-block: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  border: 0;
}

.mobile-menu nav a[aria-current="true"] { color: var(--orange); }

.mobile-menu { overflow-y: auto; }

.mobile-menu-contact {
  display: grid;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
}

body.menu-open { overflow: hidden; }

/* The header stays above the open menu so the X can close it */
body.menu-open .site-header { z-index: 120; background: var(--white); }


/* ==========================================================================
   8. Page hero (About / Services / Contact)
   ========================================================================== */
.page-hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 127, 0, 0.28), transparent 45%),
    var(--dark);
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
}

.page-hero .lead { color: rgba(255, 255, 255, 0.72); }

.page-hero .eyebrow { color: var(--orange); }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover { color: var(--orange); }

/* Faint film-strip holes along the bottom of every page hero */
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 10px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 18px, transparent 18px 34px);
  /* the holes run sideways, like film going through a projector */
  animation: film-run 1.6s linear infinite;
}

/* one step = one hole + one gap (34 px), so the loop is seamless */
@keyframes film-run {
  from { background-position: 0 0; }
  to   { background-position: 34px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::after { animation: none; }
}


/* ==========================================================================
   9. Viewfinder helpers
   ========================================================================== */
/* .vf = four orange corner marks around any box (uses 2 pseudo + 2 spans) */
.vf { position: relative; }

.vf::before,
.vf::after,
.vf > .vf-c::before,
.vf > .vf-c::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 26px;
  height: 26px;
  border: 3px solid var(--orange);
  pointer-events: none;
}

.vf::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.vf::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
.vf > .vf-c::before { top: -10px; right: -10px; border-left: 0; border-bottom: 0; }
.vf > .vf-c::after { bottom: -10px; left: -10px; border-right: 0; border-top: 0; }

.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--white);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
}

.rec-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  animation: recBlink 1.2s steps(2, start) infinite;
}

@keyframes recBlink {
  to { visibility: hidden; }
}


/* ==========================================================================
   10. Services filter
   ========================================================================== */
.svc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}

.svc-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.svc-filter-btn span {
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  background: var(--alt);
  border-radius: 999px;
}

.svc-filter-btn:hover { border-color: var(--ink); }

.svc-filter-btn.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.svc-filter-btn.is-active span {
  color: var(--ink);
  background: var(--orange);
}


/* ==========================================================================
   11. Service cards
   ========================================================================== */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.35);
}

/* Viewfinder corners slide in on hover */
.svc-card::before,
.svc-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 2px solid var(--orange);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.svc-card::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
  transform: translate(6px, 6px);
}

.svc-card::after {
  right: 10px;
  bottom: 10px;
  border-left: 0;
  border-top: 0;
  transform: translate(-6px, -6px);
}

.svc-card:hover::before,
.svc-card:hover::after {
  opacity: 1;
  transform: none;
}

/* Photo */
.svc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-card:hover .svc-media img { transform: scale(1.06); }

/* No photo yet: dark viewfinder panel with a blinking REC */
.svc-media.is-empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 127, 0, 0.35), transparent 60%),
    var(--dark);
}

.svc-num {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* Text */
.svc-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.85rem;
  padding: 0 1.5rem 1.5rem;
}

.svc-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  color: var(--ink);
  background: var(--alt);
  border: 3px solid var(--white);
  border-radius: 14px;
  transition: background 0.3s;
}

.svc-icon svg,
.icon-line {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-card:hover .svc-icon { background: var(--orange); }

.svc-card h3 { font-size: 1.08rem; }

.svc-card p {
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--muted);
}

.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.svc-more span {
  color: var(--orange-text);
  transition: transform 0.25s;
}

.svc-card:hover .svc-more span { transform: translateX(4px); }

/* Filtering states (JavaScript switches these) */
.svc-card.is-hidden { display: none; }

.svc-card.is-showing { animation: cardIn 0.4s ease both; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
}

/* "Not sure where to start?" banner */
.unsure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  margin-top: 2.5rem;
  padding: 1.6rem 1.8rem;
  background: var(--white);
  border: 1.5px dashed var(--ink);
  border-radius: var(--radius);
}

.unsure-plus {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--orange);
  border-radius: 50%;
}

.unsure > div { flex: 1 1 280px; }

.unsure h3 { margin-bottom: 0.25rem; font-size: 1.15rem; }

.unsure p { color: var(--muted); }


/* ==========================================================================
   12. CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--ink);
  background: var(--orange);
  border-radius: 24px;
}

.cta-band h2 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4.5vw, 3.3rem);
}

.cta-band p {
  max-width: 48ch;
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
}

/* giant faint dot in the corner */
.cta-band::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5rem);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer .logo { color: var(--white); }

.site-footer .logo small { color: var(--orange); }

.footer-about p { max-width: 34ch; margin-top: 1.1rem; }

.site-footer h4 {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer li + li { margin-top: 0.5rem; }

.site-footer a { transition: color 0.2s; }

.site-footer a:hover { color: var(--orange); }

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.3rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.footer-social a:hover { border-color: var(--orange); }

.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 1.4rem;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/* ==========================================================================
   14. Floating WhatsApp button
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.08); }

.wa-float svg { width: 30px; height: 30px; fill: currentColor; }


/* ==========================================================================
   15. Scroll reveal (JS adds .is-visible)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* If JavaScript is off, show everything */
.no-js .reveal { opacity: 1; transform: none; }


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .main-nav,
  .header-cta { display: none; }

  .menu-toggle { display: grid; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }

  .topbar-links a:nth-child(2),
  .topbar-social { display: none; }

  .logo { font-size: 1.35rem; }

  .footer-grid { grid-template-columns: 1fr; }

  /* filter buttons scroll sideways in one row */
  .svc-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
  .svc-filter::-webkit-scrollbar { display: none; }
}

@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; }
}


/* ==========================================================================
   Original dot.com logo (img/brand/logo-dark.svg / logo-light.svg)
   ========================================================================== */
.logo-img {
  display: block;
  width: auto;
  height: 46px;
}

.site-footer .logo-img { height: 58px; }

@media (max-width: 640px) {
  .logo-img { height: 38px; }
}


/* ==========================================================================
   Priority services (first cards bigger) + "...and much more"
   ========================================================================== */
.svc-featured {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.svc-featured .svc-media { aspect-ratio: 4 / 3; }

.svc-featured .svc-card h3 { font-size: 1.35rem; }

.svc-featured .svc-card p { font-size: 1rem; }

.svc-more-title {
  margin: 3rem 0 1.4rem;
  padding-left: 0.9rem;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  border-left: 4px solid var(--orange);
}

/* while a filter tab is on, the cards are one list: hide the divider title */
.svc-more-title.is-hidden { display: none; }

@media (max-width: 900px) {
  .svc-featured { grid-template-columns: 1fr; }
}

/* the other services under the priority ones: 3 per row (9 = a neat 3 x 3) */
.svc-rest { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.svc-more-title + .svc-rest { margin-top: 0; }

@media (max-width: 1020px) {
  .svc-rest { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .svc-rest { grid-template-columns: 1fr; }
}

/* highlighted words on the orange band are white (orange on orange would vanish) */
.cta-band .accent { color: var(--white); }
.cta-band h2 { max-width: 22ch; }

/* card photo shown whole (Admin > service > Card photo display) */
.svc-media.is-contain { background: #000; }

.svc-media.is-contain img {
  object-fit: contain;
  padding: 10px 0;
}

.svc-card:hover .svc-media.is-contain img { transform: scale(1.03); }


/* ==========================================================================
   Client logos: Home strip + About grid (Admin > Client logos)
   Logos are grey and turn to their real colours on hover; on phones
   (no hover) they show in colour.
   ========================================================================== */
.clients-strip {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.clients-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.clients-strip-head .eyebrow { margin: 0; }

.clients-strip-title {
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
}

.logo-slider {
  position: relative;
}

.logo-marquee {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;          /* sideways = drag the logos, up/down = scroll the page */
  user-select: none;
  -webkit-user-select: none;
  /* soft fade at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.logo-marquee.is-dragging { cursor: grabbing; }

/* moved by js/main.js (auto-slide, drag/swipe, arrows) */
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.logo-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.logo-prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.logo-next { right: clamp(0.5rem, 2vw, 1.5rem); }

.logo-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-arrow:hover,
.logo-arrow:focus-visible {
  background: var(--orange);
  color: var(--ink);
  transform: translateY(-50%) scale(1.08);
}

.logo-arrow:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

@media (max-width: 640px) {
  .logo-arrow { width: 38px; height: 38px; }
  .logo-arrow svg { width: 17px; height: 17px; }
}

.logo-track li {
  flex: none;
  padding-inline: clamp(1.5rem, 3.5vw, 3rem);
}

.logo-track a,
.logo-track span,
.logo-grid a,
.logo-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-track img {
  width: auto;
  height: clamp(64px, 7vw, 92px);
  max-width: 210px;
  object-fit: contain;
}

/* grey until hover */
.logo-track img,
.logo-grid img {
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-track li:hover img,
.logo-track a:focus-visible img,
.logo-grid li:hover img,
.logo-grid a:focus-visible img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.logo-grid li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.logo-grid li:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.logo-grid a,
.logo-grid span { width: 100%; height: 100%; }

.logo-grid img {
  width: 100%;
  height: 100%;
  max-height: 110px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .logo-grid li { padding: 1rem; }
}

/* phones and tablets have no hover: show the real colours */
@media (hover: none) {
  .logo-track img,
  .logo-grid img { filter: none; opacity: 1; }
}

/* "Reduce motion" on the visitor's device: no auto-slide (see js), drag and arrows still work */


/* ==========================================================================
   4 services: one short text + a photo or a looping video each
   ========================================================================== */
.svc-featured { grid-template-columns: repeat(4, 1fr); }

.svc-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-media.is-contain video { object-fit: contain; }

.svc-card:hover .svc-media video { transform: scale(1.06); }

@media (max-width: 1100px) {
  .svc-featured { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .svc-featured { grid-template-columns: 1fr; }
}
