/* Select Power Services - palette sampled from the logo
   Light theme: white base, blue accent, amber (yellow) secondary
   blue #1079BC  blue-bright #2A8FD6  amber #EDAA41  white #FFFFFF
   ink #14181F (text)  panel #F3F5F8  line #E4E4E7  grey #5B6270  */

:root {
  --blue: #1079BC;
  --blue-bright: #2A8FD6;
  --amber: #EDAA41;
  --gold-text: #A9791C;
  --radius: 14px;
  --radius-inner: 6px;
  --base: #FFFFFF;
  --black: #14181F;
  --panel: #F3F5F8;
  --line: #E4E4E7;
  --white: #FFFFFF;
  --grey: #5B6270;
  --header-h: 106px;
}

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

html { scroll-behavior: smooth; }

/* Faint fixed lightning watermark, showing through white areas on every page */
body {
  font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  background:
    linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)),
    url('images/landing-2.webp') center center / cover fixed no-repeat,
    var(--base);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* Same faint fixed lightning over the grey Services (What We Do) section */
body.home .section--panel {
  background:
    linear-gradient(rgba(243,245,248,0.85), rgba(243,245,248,0.85)),
    url('images/landing-2.webp') center center / cover fixed no-repeat;
}

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

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

h1, h2, h3, .display {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.04;
}

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-text);
  display: block;
  margin-bottom: 18px;
}

/* Buttons (solid filled, sharp) */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 15px 34px;
  border: 0;
  cursor: pointer;
  transition: background 0.18s ease;
}
.btn:hover { background: var(--blue-bright); }
.btn--amber { background: var(--amber); color: var(--black); }
.btn--amber:hover { background: #f3bd66; }

/* Image frame (offset thin border) */
.frame {
  border: 1px solid var(--blue);
  padding: 10px;
  background: transparent;
  display: block;
  border-radius: var(--radius);
}
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-inner); }
.frame--blue { border-color: var(--blue); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid #E4E4E7;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
}
.brand { height: 100%; display: flex; align-items: center; }
.brand img { height: 100%; padding: 0; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links > li > a,
.dropdown-toggle {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-size: 1.22rem;
  color: var(--black);
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-links > li > a:hover,
.dropdown-toggle:hover { color: var(--gold-text); }

/* dropdown */
.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: none; border: 0; }
.dropdown-toggle .caret {
  width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -4px; transition: transform 0.18s ease;
}
.dropdown.open .dropdown-toggle .caret { transform: rotate(225deg); margin-top: 2px; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 384px;
  background: var(--white);
  border: 1px solid #E4E4E7;
  border-top: 2px solid var(--blue);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a {
  display: block;
  padding: 17px 24px;
  font-size: 1.14rem;
  color: var(--black);
  border-bottom: 1px solid #E4E4E7;
  transition: background 0.14s ease, color 0.14s ease;
}
.dropdown-menu a:last-child { border-bottom: 0; }
.dropdown-menu a:hover { background: var(--blue); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 26px; }
.ig-link { color: var(--black); display: inline-flex; transition: color 0.15s ease; }
.ig-link:hover { color: var(--gold-text); }
.ig-link svg { width: 29px; height: 29px; }
.header-actions .btn { padding: 18px 41px; font-size: 1.26rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--black); display: block; }

/* Hero (kept dark - the landing background is unchanged) */
.hero {
  position: relative; padding: 96px 0 90px; overflow: hidden;
  background: #000;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url('images/landing-2.webp') right center / contain no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 36%, #000 74%);
  mask-image: linear-gradient(to right, transparent 36%, #000 74%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow {
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0;
  color: #FFFFFF;
  text-shadow: 0 0 20px rgba(16,121,188,0.6), 0 0 8px rgba(16,121,188,0.45);
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem); max-width: 16ch;
  margin: 0;
  color: #FFFFFF;
  text-shadow: 0 0 26px rgba(16,121,188,0.65), 0 0 10px rgba(16,121,188,0.5);
}
.hero .subline {
  color: #FFFFFF;
  font-size: clamp(1.05rem, 2vw, 1.4rem); margin: 0; max-width: 48ch;
  text-shadow: 0 0 20px rgba(16,121,188,0.6), 0 0 8px rgba(16,121,188,0.45);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: stretch; }
.hero-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-text .btn { align-self: flex-start; margin-top: 48px; }
.hero .frame {
  width: 80%;
  margin: 0 auto;
  align-self: center;
  border-color: #FFFFFF;
  box-shadow: 0 0 26px rgba(255,255,255,0.7), 0 0 10px rgba(255,255,255,0.55);
}
.hero-video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-inner); }

/* Section shells */
.section { padding: 124px 0; border-top: 1px solid var(--line); }
.section--panel { background: var(--panel); }
.section-head { margin-bottom: 66px; max-width: 60ch; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section-head p { color: var(--black); margin-top: 18px; font-size: 1.08rem; }

/* Amber (yellow) accent bar under major headings */
.section-head h2::after,
.page-hero h1::after,
.cta-band h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  background: var(--amber);
  margin-top: 22px;
}
.cta-band h2::after { margin-left: auto; margin-right: auto; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-copy p { color: #3A404C; margin-bottom: 18px; font-size: 1.08rem; }
.about-copy p:first-of-type { color: var(--black); }
.about-grid .frame img { aspect-ratio: 4 / 3; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card { display: block; transition: transform 0.25s ease; }
.service-card:hover { transform: translateY(-6px); }
.service-card .frame { border-color: var(--blue); transition: border-color 0.18s ease; }
.service-card .frame img { aspect-ratio: 3 / 4; transition: transform 0.5s ease; }
.service-card:hover .frame { border-color: var(--amber); }
.service-card:hover .frame img { transform: scale(1.04); }
.service-card .card-title {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.32rem;
  margin-top: 20px;
  line-height: 1.12;
  transition: color 0.18s ease;
}
.service-card:hover .card-title { color: var(--blue); }
.service-card .card-more {
  display: inline-block; margin-top: 10px; color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85rem;
}

/* Contact */
.contact-hero {
  background:
    linear-gradient(rgba(246,217,138,0.9), rgba(246,217,138,0.9)),
    url('images/landing-2.webp') center center / cover fixed no-repeat;
  padding-top: 132px;
}
.contact-page {
  background:
    linear-gradient(rgba(246,217,138,0.9), rgba(246,217,138,0.9)),
    url('images/landing-2.webp') center center / cover fixed no-repeat;
  border-top: 0; padding: 44px 0 64px;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 32px 26px; }
.contact-details .detail { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-details .detail:last-child { border-bottom: 0; }
.contact-details .ico { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-details .ico svg { width: 22px; height: 22px; }
.contact-details .label { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.18em; font-size: 1.12rem; color: var(--gold-text); }
.contact-details .value { font-size: 1.08rem; color: var(--black); }
.contact-details .value a:hover { color: var(--blue); }
.socials { display: flex; gap: 14px; margin-top: 22px; }
.socials a { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: var(--white); border-radius: var(--radius-inner); transition: background 0.16s ease; }
.socials a:hover { background: var(--blue-bright); }
.socials svg { width: 22px; height: 22px; }

#contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
form .field { margin-bottom: 18px; }
form label { display: block; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.12rem; color: var(--gold-text); margin-bottom: 8px; }
form input, form textarea {
  width: 100%; background: #F3F5F8; border: 1px solid var(--line); color: var(--black);
  padding: 14px 16px; border-radius: var(--radius-inner);
  font-family: inherit; font-size: 1rem; transition: border-color 0.15s ease, background 0.15s ease;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
form textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Footer */
.site-footer { background: var(--blue); color: #FFFFFF; padding: 40px 0 24px; }
.footer-nav {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.28);
}
.footer-nav a { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.12em; color: #FFFFFF; font-size: 0.98rem; }
.footer-nav a:hover { color: var(--amber); }
.footer-main { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.footer-logo { background: var(--white); padding: 16px 20px; display: inline-block; }
.footer-logo img { height: 72px; width: auto; }
.footer-contact { color: #FFFFFF; font-size: 0.96rem; line-height: 1.9; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.28); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #FFFFFF; font-size: 0.85rem; }

/* Service page */
.page-hero { padding: 80px 0 0; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.page-hero .lead { color: var(--black); font-size: 1.15rem; margin-top: 24px; }
.detail-body { padding: 20px 0 40px; }
.detail-body p { color: var(--black); font-size: 1.1rem; max-width: 70ch; margin-bottom: 20px; }
.carousel-section { padding-bottom: 8px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding-bottom: 40px; }
.gallery .frame img { aspect-ratio: 4 / 3; }
.gallery .frame:first-child { grid-column: 1 / -1; }
.gallery .frame:first-child img { aspect-ratio: 16 / 7; }
.cta-band { background: var(--panel); padding: 80px 0; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.cta-band p { color: var(--grey); margin-bottom: 30px; }

/* Responsive */
@media (max-width: 1000px) {
  .about-grid, .contact-grid, .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* stacked contact: form above Keith Ward's details */
  #contact-form { order: 1; }
  .contact-details { order: 2; }
  /* centre the landing heading text when the hero is stacked */
  .hero-copy { align-items: center; text-align: center; }
  /* Stacked hero: lightning centred behind the video, reaching flush to the bottom (no black gap above the banner) */
  .hero::before {
    background-position: center bottom;
    background-size: 175% auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 28%, #000 58%);
    mask-image: linear-gradient(to bottom, transparent 28%, #000 58%);
  }
  .hero-text .btn { align-self: center; }
}
@media (max-width: 768px) {
  /* Mobile: no subline; order = heading, video, then Contact button below it */
  .hero { padding-top: 52px; padding-bottom: 22px; }
  .hero .subline { display: none; }
  .hero-text { display: contents; }
  .hero-copy { order: 1; }
  .hero .frame { order: 2; }
  .hero-text .btn { order: 3; justify-self: center; margin-top: 0; }
  /* lightning centre behind the video, enlarged + anchored to the bottom so it runs flush into the banner (no black band) */
  .hero::before {
    background-position: center bottom;
    background-size: 200% auto;
    transform: translateY(10%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 14%, #000 48%);
    mask-image: linear-gradient(to bottom, transparent 14%, #000 48%);
  }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #D6EAF7; border-bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav.open { max-height: 520px; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links > li > a, .dropdown-toggle { padding: 16px 32px; width: 100%; border-bottom: 0; }
  .nav-links > li > a { display: block; }
  .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; border: 0; background: transparent; max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
  .dropdown.open .dropdown-menu { max-height: 300px; }
  .dropdown-menu a { padding-left: 52px; border-bottom: 0; }
  .header-actions { padding: 16px 32px; justify-content: flex-start; border-bottom: 0; }
  .header-actions .btn { display: none; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .wrap { padding: 0 22px; }
}

/* ===================== Bold redesign ===================== */

/* Bigger, more dramatic type */
.hero h1 { font-size: clamp(3.2rem, 8.5vw, 7.4rem); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }

/* Credibility strip */
.cred-strip { background: var(--blue); }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cred-item {
  padding: 50px 28px; text-align: center;
  border-left: 1px solid rgba(237,170,65,0.45);
}
.cred-item:first-child { border-left: 0; }
.cred-lead {
  display: block;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.9rem, 5vw, 4.6rem); line-height: 1; color: #FFFFFF;
}
.cred-text {
  display: block; margin-top: 14px;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 1rem; color: rgba(255,255,255,0.85);
}

/* Cinematic service cards */
.services-cine { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cine-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--blue); border-radius: var(--radius); }
.cine-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cine-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,10,18,0.9) 0%, rgba(6,10,18,0.4) 42%, rgba(6,10,18,0) 72%);
}
.cine-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px; }
.cine-line { display: block; width: 52px; height: 4px; background: var(--amber); margin-bottom: 18px; transition: width 0.3s ease; }
.cine-title {
  color: #FFFFFF; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; font-weight: 600;
  letter-spacing: 0.02em; line-height: 1.06; font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}
.cine-more {
  display: inline-block; margin-top: 14px; color: #FFFFFF; opacity: 0.85;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.82rem;
}
.cine-card:hover img { transform: scale(1.06); }
.cine-card:hover .cine-line { width: 96px; }

/* Full-bleed feature band (About) */
.feature-band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; min-height: 560px; border-radius: var(--radius); }
.feature-body {
  padding: 100px clamp(32px, 6vw, 112px);
  display: flex; flex-direction: column; justify-content: center;
}
.feature-body h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); margin: 6px 0 28px; }
.feature-body p { color: var(--black); font-size: 1.08rem; margin-bottom: 18px; max-width: 54ch; }
.feature-body p:first-of-type { color: var(--black); }
.feature-body .btn { align-self: flex-start; margin-top: 16px; }
.feature-media-mobile { display: none; }

@media (max-width: 900px) {
  /* banner stays three across, larger badges */
  .cred-item { padding: 38px 14px; }
  .cred-lead { font-size: clamp(2.1rem, 5vw, 3.6rem); }
  .cred-text { font-size: 0.86rem; letter-spacing: 0.1em; }
  .services-cine { grid-template-columns: 1fr; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-media { display: none; }
  .feature-media-mobile { display: block; margin: 4px 0 8px; }
  .feature-media-mobile img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
  .feature-body { padding: 64px 32px; }
}
@media (max-width: 560px) {
  .cred-item { padding: 26px 8px; }
  .cred-lead { font-size: clamp(1.7rem, 7vw, 2.5rem); }
  .cred-text { font-size: 0.64rem; letter-spacing: 0.04em; }
}

/* Recent works page */
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.work { text-align: center; }
.work--full { grid-column: 1 / -1; }
.work-frame {
  display: block; width: fit-content; max-width: 100%; margin: 0 auto;
  border: 1px solid var(--blue); border-radius: var(--radius); padding: 10px;
}
.work-frame video { display: block; max-width: 100%; max-height: 680px; height: auto; border-radius: var(--radius-inner); }
.work-title {
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; font-weight: 600;
  letter-spacing: 0.03em; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 16px; color: var(--black);
}
.work-title::after { content: ""; display: block; width: 50px; height: 4px; background: var(--amber); margin: 12px auto 14px; }
@media (max-width: 700px) { .works-grid { grid-template-columns: 1fr; } }

/* Service image carousel - uniform height; auto-rolls and is finger-scrollable */
.carousel {
  --gap: 20px; --strip-h: 340px;
  overflow-x: auto; overflow-y: hidden; padding-bottom: 40px;
  scrollbar-width: none; -ms-overflow-style: none;
  touch-action: pan-x;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; width: max-content; }
.carousel img { cursor: grab; -webkit-user-drag: none; user-select: none; }
.carousel-slide { flex: 0 0 auto; margin-right: var(--gap); }
.cframe {
  display: inline-block;
  border: 1px solid var(--blue); border-radius: var(--radius); padding: 10px;
}
.cframe img {
  display: block; height: var(--strip-h); width: auto;
  border-radius: var(--radius-inner);
}
@media (max-width: 900px) { .carousel { --strip-h: 280px; } }
@media (max-width: 560px) { .carousel { --strip-h: 220px; } }

/* ===================== Scroll reveal =====================
   Progressive enhancement: the hidden initial state only applies when JS
   adds the .js class to <html>. With JS disabled there is no .js class, so
   all content renders immediately, in the DOM and visible to crawlers.
   Only opacity/transform animate, so there is no layout shift. */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transition: opacity 0.62s ease-out, transform 0.62s ease-out;
}
.js [data-reveal="up"],
.js [data-reveal-group="up"] > * { transform: translateY(26px); }
.js [data-reveal="scale"],
.js [data-reveal-group="scale"] > * { transform: scale(0.96); }
.js [data-reveal].is-visible,
.js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }

/* Stagger group children by about 80ms */
.js [data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0s; }
.js [data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.js [data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.js [data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.js [data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.js [data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.js [data-reveal-group].is-visible > *:nth-child(7) { transition-delay: 0.48s; }
.js [data-reveal-group].is-visible > *:nth-child(8) { transition-delay: 0.56s; }

/* Mobile: fade only, no transforms (cheap) */
@media (max-width: 768px) {
  .js [data-reveal="up"], .js [data-reveal="scale"],
  .js [data-reveal-group="up"] > *, .js [data-reveal-group="scale"] > * { transform: none; }
}

/* Reduced motion: show immediately, no animation */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-group] > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* Mobile footer: drop the nav tabs, big proportional logo above the contact info */
@media (max-width: 768px) {
  .footer-nav { display: none; }
  .footer-main { flex-direction: column; align-items: center; gap: 22px; }
  .footer-logo { width: 90%; padding: 20px; text-align: center; }
  .footer-logo img { width: 100%; height: auto; }
  .footer-contact { text-align: center; }
}
