/* ==========================================================================
   Two Heads Company Ltd - Website Stylesheet
   Brand colour: coral #F1725D  (taken from the company logo)
   Type: Archivo (display) / Inter (body)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --coral: #f1725d;
  --coral-dark: #d9553e;
  --coral-deep: #b8432e;
  --coral-soft: #fff0ec;
  --coral-line: #ffd9d1;

  --ink: #17140f;
  --ink-2: #241f1a;
  --ink-3: #3b342c;
  --dark: #141110;
  --dark-2: #1e1917;

  --muted: #6e655d;
  --muted-2: #948a80;
  --line: #e9e3dd;
  --line-dark: #322b26;

  --bg: #ffffff;
  --bg-tint: #f8f5f2;
  --bg-warm: #fdfbf9;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(23, 20, 15, 0.06);
  --shadow: 0 14px 40px rgba(23, 20, 15, 0.1);
  --shadow-lg: 0 30px 70px rgba(23, 20, 15, 0.16);

  --wrap: 1240px;
  --topbar-h: 44px;
  --font-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.h2--sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.h2--light { color: #fff; }

.accent { color: var(--coral); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--coral);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section__head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section__head--center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section__head--tight { margin-top: clamp(48px, 6vw, 80px); }
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
}
.section__intro { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.section__intro--light { color: rgba(255, 255, 255, 0.72); }
.section__head--split .section__intro { margin-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}
.eyebrow--light { color: var(--coral); }

.lead { font-size: 1.12rem; color: var(--ink-3); }

.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.btn .ic { font-size: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(241, 114, 93, 0.3); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: 0 14px 30px rgba(241, 114, 93, 0.38); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--coral); }

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

.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- 5. Topbar ---------- */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__group--end { margin-left: auto; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s ease; }
.topbar__item .ic { font-size: 1rem; color: var(--coral); }
a.topbar__item:hover { color: #fff; }
.topbar__badge {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ---------- 6. Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.site-header.is-stuck {
  background: rgba(20, 17, 16, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.site-header.is-stuck .site-header__inner { min-height: 70px; }

.brand { display: flex; align-items: center; }
.brand__logo {
  height: 62px;
  width: auto;
  transition: height 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
.site-header.is-stuck .brand__logo { height: 52px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 15px;
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; font-weight: 600; }
.nav__cta { margin-left: 12px; padding: 12px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero slider ---------- */
.hero {
  position: relative;
  margin-top: -84px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}
/* All slides occupy the same grid cell, so the hero always grows to the
   tallest slide and content can never be clipped at any viewport height. */
.hero__slides { display: contents; }
.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s ease-out;
}
.hero__slide.is-active .hero__media { transform: scale(1); }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 17, 16, 0.94) 0%, rgba(20, 17, 16, 0.82) 38%, rgba(20, 17, 16, 0.45) 68%, rgba(20, 17, 16, 0.62) 100%),
    linear-gradient(180deg, rgba(20, 17, 16, 0.55) 0%, rgba(20, 17, 16, 0.2) 40%, rgba(20, 17, 16, 0.85) 100%);
}
/* Plain block layout: the content always grows with the copy, so nothing is
   ever clipped. min-height gives the hero its full-screen feel on tall screens,
   and the padding reserves room for the sticky header and the slider controls. */
.hero__content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--topbar-h));
  padding-top: 120px;
  padding-bottom: 130px;
  max-width: var(--wrap);
  width: 100%;
}
.hero__slide .hero__content > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > *:nth-child(1) { transition-delay: 0.15s; }
.hero__slide.is-active .hero__content > *:nth-child(2) { transition-delay: 0.26s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { transition-delay: 0.38s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { transition-delay: 0.5s; }
.hero__slide.is-active .hero__content > *:nth-child(5) { transition-delay: 0.62s; }

.hero__eyebrow { color: var(--coral); margin-bottom: 20px; }
.hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--coral); }
.hero__text {
  margin-top: 18px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  max-width: 760px;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.83rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}
.hero__chips .ic { font-size: 0.95rem; color: var(--coral); }

.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero__arrow {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.hero__arrow svg { width: 22px; height: 22px; }
.hero__arrow:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-2px); }
.hero__dots { display: flex; align-items: center; gap: 10px; }
.hero__dot {
  width: 34px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s ease, width 0.3s ease;
}
.hero__dot.is-active { background: var(--coral); width: 54px; }

.hero__rail {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero__rail-line { width: 1px; height: 60px; background: rgba(255, 255, 255, 0.28); }

/* ---------- 8. Stats strip ---------- */
.stats-strip {
  background: var(--coral);
  color: #fff;
}
.stats-strip--page { background: var(--ink); }
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat__label { font-weight: 600; font-size: 0.95rem; }
.stat__sub { font-size: 0.82rem; opacity: 0.8; }

/* ---------- 9. About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute;
  left: -18px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 300px;
}
.about__badge img { height: 54px; width: auto; }
.about__badge span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--ink);
}
.about__ring {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 120px;
  height: 120px;
  border: 2px dashed var(--coral-line);
  border-radius: 50%;
  z-index: -1;
}
.about__body p { color: var(--muted); margin-bottom: 0.9rem; }
.about__pillars { display: grid; gap: 16px; margin: 26px 0 30px; }
.pillar {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-tint);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius-sm);
}
.pillar .ic { font-size: 1.5rem; color: var(--coral); margin-top: 2px; }
.pillar strong { display: block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 3px; }
.pillar span { font-size: 0.9rem; color: var(--muted); }

/* ---------- 10. Services grid ---------- */
.section--services { background: var(--bg-warm); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--coral-line); }
.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-tint);
  overflow: hidden;
}
.service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 16, 0) 40%, rgba(20, 17, 16, 0.55) 100%);
  transition: opacity 0.3s ease;
}
.service-card:hover .service-card__media { background-size: 112%; }
.service-card__media { transition: background-size 0.6s ease; }
.service-card__no {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(20, 17, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.service-card__body { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-dark);
  border-radius: 13px;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: background 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-card__icon { background: var(--coral); color: #fff; }
.service-card__title { font-size: 1.18rem; margin-bottom: 8px; }
.service-card__text { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.service-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--coral-dark);
  transition: gap 0.25s ease;
}
.service-card:hover .service-card__more { gap: 13px; }

/* ---------- 11. Why choose us ---------- */
.section--why { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.why__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.section--why::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 16, 0.9), rgba(20, 17, 16, 0.96));
}
.why { position: relative; z-index: 2; }
.why__head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 54px); }
.why__lead { color: rgba(255, 255, 255, 0.72); margin-top: 18px; max-width: 62ch; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.why-card:hover { background: rgba(241, 114, 93, 0.12); border-color: rgba(241, 114, 93, 0.4); transform: translateY(-4px); }
.why-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  border-radius: 13px;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.why-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.68); margin: 0; }

/* ---------- 12. Support ---------- */
.support {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.support__body p { color: var(--muted); max-width: 54ch; }
.support__stats { display: flex; gap: 40px; margin: 30px 0 34px; }
.mini-stat { display: flex; flex-direction: column; }
.mini-stat__value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
}
.mini-stat__label { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

.support__media { position: relative; display: grid; place-items: center; }
.support__circle {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  border: 12px solid #fff;
  position: relative;
  z-index: 2;
}
.support__blob {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 2px dashed var(--coral-line);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.support__tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.support__tag .ic { font-size: 1.1rem; color: var(--coral); }
.support__tag--1 { top: 8%; left: -4%; }
.support__tag--2 { bottom: 8%; right: -4%; }

/* ---------- 13. Gallery ---------- */
.section--gallery { background: var(--bg-warm); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery__item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, rgba(20, 17, 16, 0) 0%, rgba(20, 17, 16, 0.85) 100%);
}

/* ---------- 14. Experience table ---------- */
.exp-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.exp-table__head,
.exp-table__row {
  display: grid;
  grid-template-columns: 1.4fr 1.8fr 0.9fr 1fr;
  gap: 16px;
  padding: 18px 24px;
  align-items: center;
}
.exp-table__head {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.exp-table__row { border-top: 1px solid var(--line); font-size: 0.94rem; transition: background 0.2s ease; }
.exp-table__row:hover { background: var(--bg-tint); }
.exp-table__client { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.exp-table__client .ic { color: var(--coral); font-size: 1.15rem; }
.exp-table__date { color: var(--muted); }
.exp-table__value { font-family: var(--font-display); font-weight: 700; color: var(--coral-dark); }

.exp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 26px 30px;
  background: var(--bg-tint);
  border-radius: var(--radius);
}
.exp-foot__stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.exp-foot__stat span { font-size: 0.9rem; color: var(--muted); }

/* ---------- 15. Compliance ---------- */
.section--compliance { background: var(--bg-tint); }
.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compliance-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.compliance-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-dark);
  border-radius: 15px;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.compliance-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.compliance-card > p { color: var(--muted); font-size: 0.95rem; }
.compliance-card__closing { margin-top: 18px; font-style: italic; color: var(--ink-3); font-size: 0.93rem; }
.tick-list { display: grid; gap: 11px; margin: 20px 0 0; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; color: var(--ink-3); }
.tick-list .ic { color: var(--coral); font-size: 1.1rem; margin-top: 4px; }

/* ---------- 16. Clients ---------- */
.section--clients { background: #fff; }
.client-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.client-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 22px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.client-chip:hover { border-color: var(--coral-line); transform: translateY(-3px); }
.client-chip .ic { font-size: 1.5rem; color: var(--coral); flex: none; }
.client-segments { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.segment {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--coral-line);
  background: var(--coral-soft);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-3);
}
.segment .ic { color: var(--coral); font-size: 1rem; }

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -260px;
  background: radial-gradient(circle, rgba(241, 114, 93, 0.35), transparent 68%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 40px;
  align-items: center;
  padding: clamp(56px, 7vw, 88px) 24px;
}
.cta-band__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: #fff; max-width: 18ch; }
.cta-band__text { color: rgba(255, 255, 255, 0.72); margin-top: 16px; max-width: 56ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }

/* ---------- 18. Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); padding-top: clamp(56px, 6vw, 84px); }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer__logo { height: 78px; width: auto; margin-bottom: 20px; }
.footer__blurb { font-size: 0.92rem; max-width: 40ch; }
.footer__est { margin-top: 16px; font-size: 0.85rem; color: var(--coral); font-weight: 600; }
.footer__title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links--two { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer__links a { font-size: 0.9rem; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer__links a:hover { color: var(--coral); padding-left: 5px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; font-size: 0.9rem; align-items: flex-start; }
.footer__contact .ic { color: var(--coral); font-size: 1.1rem; margin-top: 3px; flex: none; }
.footer__contact a:hover { color: var(--coral); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer__meta { color: rgba(255, 255, 255, 0.5); }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--coral-dark); }

/* ---------- 19. Page hero ---------- */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  margin-top: -84px;
  padding-top: 84px;
}
.page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 16, 0.72) 0%, rgba(20, 17, 16, 0.82) 55%, rgba(20, 17, 16, 0.94) 100%);
}
.page-hero__inner { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 58px; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }
.crumbs a:hover { color: var(--coral); }
.crumbs__current { color: var(--coral); font-weight: 600; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.6rem); color: #fff; font-weight: 900; }
.page-hero__sub { color: rgba(255, 255, 255, 0.75); max-width: 64ch; margin-top: 16px; font-size: 1.05rem; }

/* ---------- 20. Mission / Vision / Values ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
  padding: 40px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.mv-card--accent { background: var(--ink); border-color: var(--ink); }
.mv-card--accent h3 { color: #fff; }
.mv-card--accent p { color: rgba(255, 255, 255, 0.75); }
.mv-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  border-radius: 15px;
  font-size: 1.7rem;
  margin-bottom: 22px;
}
.mv-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mv-card p { color: var(--muted); }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card {
  position: relative;
  padding: 30px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.value-card:hover { transform: translateY(-5px); border-color: var(--coral); }
.value-card__no {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.08em;
}
.value-card h3 { font-size: 1.05rem; margin: 12px 0 8px; }
.value-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- 21. Org chart ---------- */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-connector { width: 2px; height: 30px; background: var(--coral-line); }
.org-node {
  padding: 18px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--coral);
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 210px;
}
.org-node strong { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.org-node span { font-size: 0.85rem; color: var(--muted); }
.org-node--top { background: var(--ink); border-color: var(--ink); border-top-color: var(--coral); }
.org-node--top strong { color: #fff; }
.org-node--top span { color: rgba(255, 255, 255, 0.7); }
.org-node--sm { min-width: 0; padding: 15px 18px; }
.org-node--sm strong { font-size: 0.85rem; }
.org-node--sm span { font-size: 0.78rem; }
.org-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.org-row--wide { max-width: 1000px; }

/* ---------- 22. Team ---------- */
.team-heading {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 44px 0 20px;
}
.team-heading:first-of-type { margin-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-grid--support { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
.team-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.team-card:hover { background: rgba(241, 114, 93, 0.1); border-color: rgba(241, 114, 93, 0.4); }
.team-card__avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.team-card h4 { font-size: 1.08rem; color: #fff; margin-bottom: 4px; }
.team-card__role { font-size: 0.88rem; color: var(--coral); font-weight: 600; margin-bottom: 10px; }
.team-card__qual { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }
.team-card__exp {
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}
.team-card--sm { padding: 24px 22px; }

/* ---------- 23. Services page ---------- */
.service-nav { background: var(--ink); }
.service-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px;
}
.service-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.service-nav__link .ic { color: var(--coral); font-size: 1.1rem; }
.service-nav__link:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.service-nav__link:hover .ic { color: #fff; }

.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(38px, 5vw, 62px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.svc:last-child { border-bottom: 0; }
.svc--flip .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.svc__no {
  position: absolute;
  left: 20px;
  bottom: -18px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}
.svc__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-dark);
  border-radius: 14px;
  font-size: 1.55rem;
  margin-bottom: 18px;
}
.svc__body .lead { margin-bottom: 20px; }
.svc__items { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 28px; }
.svc__items li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-3); }
.svc__items .ic { color: var(--coral); font-size: 1.05rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 32px 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__no {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--coral-line);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- 24. Data table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th, .data-table td { padding: 16px 20px; text-align: left; font-size: 0.92rem; }
.data-table thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody tr { border-top: 1px solid var(--line); transition: background 0.2s ease; }
.data-table tbody tr:hover { background: var(--bg-tint); }
.data-table tbody td:first-child { font-family: var(--font-display); font-weight: 700; color: var(--coral-dark); }
.data-table tfoot td { background: var(--bg-tint); font-family: var(--font-display); font-size: 1rem; }
.ta-right { text-align: right; }

.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.highlight-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.highlight-card__icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  border-radius: 13px;
  font-size: 1.4rem;
}
.highlight-card p { font-size: 0.95rem; color: var(--ink-3); margin: 0; padding-top: 8px; }

/* ---------- 25. Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  display: block;
  padding: 32px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
a.contact-card:hover { transform: translateY(-5px); border-color: var(--coral); box-shadow: var(--shadow); }
.contact-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-dark);
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.contact-card p { font-size: 0.92rem; color: var(--muted); margin: 0 0 4px; }
.contact-card__break { font-size: 0.85rem; overflow-wrap: anywhere; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-form__intro { color: var(--muted); margin-bottom: 28px; }
.req { color: var(--coral); font-weight: 700; }

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 0.85rem; font-weight: 600; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(241, 114, 93, 0.14);
}
.form .btn { justify-self: start; }

.alert {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  align-items: flex-start;
}
.alert--success { background: #eef9f0; border: 1px solid #bfe6c6; color: #1e6b32; }
.alert__icon {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: #1e6b32; color: #fff; border-radius: 50%; font-size: 1.2rem;
}
.alert strong { display: block; margin-bottom: 4px; }
.alert p { margin: 0; font-size: 0.92rem; }

.contact-aside { display: grid; gap: 20px; }
.aside-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.aside-card--dark { background: var(--ink); border-color: var(--ink); }
.aside-card--dark h3 { color: #fff; }
.aside-card--accent { background: var(--coral); border-color: var(--coral); color: #fff; }
.aside-card--accent h3, .aside-card--accent p { color: #fff; }
.aside-card__icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.2); border-radius: 12px; font-size: 1.4rem; margin-bottom: 16px;
}
.aside-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.aside-card p { font-size: 0.9rem; margin-bottom: 18px; }
.detail-list { display: grid; gap: 14px; margin: 0; }
.detail-list > div { display: grid; gap: 3px; }
.detail-list dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); font-weight: 600; }
.detail-list dd { margin: 0; font-size: 0.92rem; }
.aside-card--dark .detail-list dd { color: rgba(255, 255, 255, 0.85); }
.aside-card--dark .detail-list dt { color: var(--coral); }
.aside-card--accent .btn { width: 100%; }

.map-section { position: relative; height: 440px; background: var(--bg-tint); }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.15); }
.map-section__card {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: calc(100% - 48px);
}
.map-section__card .ic { font-size: 1.6rem; color: var(--coral); flex: none; }
.map-section__card strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.map-section__card span { font-size: 0.85rem; color: var(--muted); }

/* ---------- 26. 404 ---------- */
.error-page { padding: clamp(90px, 12vw, 160px) 0; background: var(--bg-tint); text-align: center; }
.error-page__inner { max-width: 620px; margin: 0 auto; }
.error-page__code {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--coral);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.error-page p { color: var(--muted); margin: 18px 0 32px; }
.error-page__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   27. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .client-row { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__rail { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 96px 22px 32px;
    background: var(--dark);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    z-index: 95;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { padding: 15px 14px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: rgba(241, 114, 93, 0.16); }
  .nav__cta { margin: 16px 0 0; justify-content: center; }

  .about, .support, .contact-layout, .svc { grid-template-columns: 1fr; }
  .svc--flip .svc__media { order: 0; }
  .section__head--split { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .mv-grid, .compliance-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .exp-table__head { display: none; }
  .exp-table__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 22px;
  }
  .exp-table__row > span::before {
    content: attr(data-l);
    display: none;
  }
  .exp-table__client { font-size: 1rem; }
}

@media (max-width: 720px) {
  :root { --topbar-h: 64px; }
  .topbar__group--end { display: none; }
  .topbar__inner { justify-content: center; min-height: 40px; }
  .topbar { font-size: 0.76rem; }

  .brand__logo { height: 50px; }
  .site-header.is-stuck .brand__logo { height: 44px; }

  .hero__content { padding-top: 120px; padding-bottom: 105px; }
  .hero__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero__text { font-size: 0.95rem; }
  .hero__actions { margin-top: 22px; gap: 10px; }
  .hero__controls { bottom: 28px; gap: 14px; }
  .hero__arrow { width: 46px; height: 46px; }
  .hero__chips { margin-top: 24px; gap: 8px; }
  .hero__chips li { font-size: 0.76rem; padding: 7px 12px; }

  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 26px 20px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.2); }

  .services-grid, .gallery, .client-row, .contact-cards, .highlight-grid, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid--support { grid-template-columns: 1fr; max-width: none; }
  .form__row { grid-template-columns: 1fr; }
  .svc__items { grid-template-columns: 1fr; }

  .about__badge { left: 12px; bottom: 12px; padding: 12px 16px; }
  .about__badge img { height: 42px; }
  .about__ring { display: none; }
  .support__tag--1 { left: 0; top: 2%; }
  .support__tag--2 { right: 0; bottom: 2%; }
  .support__stats { gap: 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .exp-foot { flex-direction: column; align-items: flex-start; }
  .page-hero { min-height: 340px; }
}

@media (max-width: 460px) {
  /* horizontal only - a `padding` shorthand here would reset the vertical
     padding that .hero__content relies on for header/control clearance */
  .wrap { padding-left: 18px; padding-right: 18px; }
  .gallery { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: 0; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
}

/* ==========================================================================
   28. Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* stagger children inside grids */
.services-grid .reveal:nth-child(3n + 2),
.why__grid .reveal:nth-child(3n + 2),
.values-grid .reveal:nth-child(3n + 2),
.gallery .reveal:nth-child(3n + 2) { transition-delay: 0.09s; }
.services-grid .reveal:nth-child(3n),
.why__grid .reveal:nth-child(3n),
.values-grid .reveal:nth-child(3n),
.gallery .reveal:nth-child(3n) { transition-delay: 0.18s; }

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

/* ==========================================================================
   29. CMS additions - socials, rich text, honeypot, team photos
   ========================================================================== */
.topbar__socials { display: inline-flex; gap: 6px; }
.topbar__socials a {
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; font-size: .68rem; font-weight: 700;
  background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85);
  transition: background .2s ease, color .2s ease;
}
.topbar__socials a:hover { background: var(--coral); color: #fff; }

/* Rich text coming from the CMS editor */
.rt-content > *:first-child { margin-top: 0; }
.rt-content p { color: var(--muted); margin-bottom: .9rem; }
.rt-content h1, .rt-content h2, .rt-content h3, .rt-content h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 1.4em 0 .5em;
  line-height: 1.2;
}
.rt-content ul, .rt-content ol { margin: 0 0 1rem 1.2rem; color: var(--muted); }
.rt-content ul { list-style: disc; }
.rt-content ol { list-style: decimal; }
.rt-content li { margin-bottom: .35rem; }
.rt-content a { color: var(--coral-dark); text-decoration: underline; }
.rt-content blockquote {
  margin: 1.2em 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--coral); font-style: italic; color: var(--ink-3);
}
.rt-content img { border-radius: var(--radius); margin: 1em 0; }
.rt-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* Honeypot field - invisible to people, irresistible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.team-card__photo {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; margin-bottom: 16px;
  border: 2px solid rgba(255, 255, 255, .18);
}

/* ==========================================================================
   30. 3D card + image effects
   --------------------------------------------------------------------------
   Elements marked [data-tilt] respond to the pointer with a perspective
   rotation, a light sweep that tracks the cursor and a lifted shadow.
   The JS writes --rx / --ry (rotation) and --mx / --my (glare position).
   ========================================================================== */
[data-tilt] {
  position: relative;
  transform:
    perspective(var(--tilt-perspective, 1000px))
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translate3d(0, var(--ty, 0px), 0)
    scale(var(--sc, 1));
  transform-style: preserve-3d;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
  will-change: transform;
}

/* while the pointer is over the card the rotation must track instantly */
[data-tilt].is-tilting {
  transition: transform 0.08s linear, box-shadow 0.4s ease, border-color 0.3s ease;
}

[data-tilt].is-tilting {
  box-shadow: 0 30px 60px -18px rgba(23, 20, 15, 0.38), 0 8px 20px -8px rgba(23, 20, 15, 0.2);
}

/* light sweep */
[data-tilt]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0.08) 35%,
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 4;
}
[data-tilt].is-tilting::after { opacity: 1; }

/* on dark surfaces the sweep should read as a warm highlight */
.section--why [data-tilt]::after,
.section--dark [data-tilt]::after {
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(241, 114, 93, 0.42),
    rgba(241, 114, 93, 0.1) 38%,
    transparent 64%
  );
}

/* Cards that already carry a hover lift should not fight the tilt */
.service-card:hover,
.why-card:hover,
.value-card:hover,
.gallery__item:hover,
.client-chip:hover,
.contact-card:hover { transform: none; }

.service-card.is-tilting,
.why-card.is-tilting,
.value-card.is-tilting,
.client-chip.is-tilting { border-color: var(--coral-line); }

/* the media inside a tilting card keeps its own zoom behaviour */
.service-card[data-tilt] .service-card__media { transform: translateZ(0); }

/* Images that tilt on their own get a soft vignette so the depth reads */
.about__media[data-tilt]::after,
.svc__media[data-tilt]::after {
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.22),
    transparent 58%
  );
}

@media (hover: none) {
  /* touch devices: no pointer to track, so skip the tilt entirely */
  [data-tilt] { transform: none !important; }
  [data-tilt]::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-tilt] { transform: none !important; transition: none !important; }
  [data-tilt]::after { display: none; }
}
