*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Prevent layout shifts from scrollbar appearing/disappearing ── */
html {
  /* Let Lenis own all scrolling; native scroll-behavior must be disabled */
  scroll-behavior: auto !important;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: scroll;     /* always show scrollbar gutter so width never shifts */
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  background: var(--deep-navy);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Promote body to its own compositor layer so Lenis transform is isolated */
  isolation: isolate;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ── Three.js wrapper ── */
#three-bg-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--deep-navy);
}

/* ── Layout utility ── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── GPU promotion for scroll-animated elements ──
   Telling the browser these elements will be composited separately
   prevents the browser from re-painting the whole page on each frame. */
.about-image-col,
.about-eyebrow,
.about-headline,
.about-headline-line,
.about-desc,
.about-stat,
.deliver-eyebrow,
.deliver-heading,
.deliver-card,
.services-eyebrow,
.services-heading,
.services-sub,
.process-eyebrow,
.process-heading,
.process-sub,
.process-step,
.why-choose-eyebrow,
.why-choose-heading,
.choose-card,
.contact-eyebrow,
.contact-heading,
.contact-item,
.contact-cta,
.contact-map,
.enquiry-header,
.enquiry-form {
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── Typography helpers ── */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  background: linear-gradient(135deg, #F8F8F4 30%, #00F5C4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.section-body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 56px;
  padding: 0 2rem;
  background: var(--gold);
  color: var(--deep-navy);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: var(--glow-mint);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
