/* =========================================================
   LESSON 1 — styles.css
   HTML = structure (what exists)
   CSS  = look (how it looks)
   ========================================================= */

/* --- Design tokens (our brand rules in one place) --- */
:root {
  /* LOCKED mix 31 Jul 2026 — charcoal + guide navy undertone */
  --bg-deep: #0c1028;
  --bg-mid: #121836;
  --bg-light: #0a0e22;
  --text: #f4f4f4;
  --text-muted: #c0c0d0;
  --silver: #d4d4de;
  --silver-glow: rgba(192, 192, 210, 0.16);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

/* --- Reset: start from a clean slate --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  /* LOCKED 31 Jul 2026 — navy→charcoal premium gradient (board + Jarryd) */
  background: linear-gradient(
    165deg,
    #0c1028 0%,
    #0a0c18 45%,
    #0f1114 100%
  );
  background-attachment: fixed;
}

/* --- Header --- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 8vw;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 16, 40, 0.45);
  backdrop-filter: blur(10px);
}

.header-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.header-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-deep);
  background: linear-gradient(90deg, var(--silver), #f0f0f8);
  padding: 0.65rem 1.1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    background: rgba(12, 16, 40, 0.92);
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-panel {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.35rem;
  }

  .site-header.is-open .header-panel {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .header-actions .btn {
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.85rem 1rem;
  }
}

/* --- Hero (first viewport) --- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 8vw 5rem;
  max-width: none;
  background: var(--bg-deep);
  animation: rise-in 0.9s ease both;
}

/* ONE photo layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/hero-service.jpg");
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}

/* Dark wash so text stays readable — not a second photo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(12, 16, 40, 0.92) 0%,
    rgba(12, 16, 40, 0.72) 42%,
    rgba(12, 16, 40, 0.38) 100%
  );
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  animation: rise-in 0.9s ease 0.1s both;
}

/* Brand carries the page — biggest voice on screen */
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
  margin-bottom: 0.85rem;
  animation: rise-in 0.9s ease 0.18s both;
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: none;
  width: fit-content;
  align-self: flex-start;
  margin-bottom: 1.25rem;
  animation: rise-in 0.9s ease 0.28s both;
}

.hero-line-row {
  display: block;
  white-space: nowrap;
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise-in 0.9s ease 0.38s both;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #000000;
  font-weight: 600;
  background: linear-gradient(90deg, var(--silver), #f0f0f8);
}
.btn-primary:hover {
  color: #f4f4f4;
  background: #2a3038;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  color: #000000;
  background: #f0f0f8;
  border: 1px solid #f0f0f8;
}

/* --- How we work (Lesson 2) --- */
.how-we-work {
  position: relative;
  z-index: 2;
  padding: 5rem 8vw 6rem;
  max-width: none;
  background: transparent;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 1.5rem;
}

.step {
  flex: 1 1 14rem;
  max-width: 18rem;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--silver);
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}
/* Lesson placeholders (out of the way) */
.coming-soon {
  padding: 3rem 8vw;
  color: rgba(192, 192, 210, 0.35);
  font-size: 0.85rem;
}

/* --- Motion --- */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underline-draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.heading-animate {
  position: relative;
  display: inline-block;
  max-width: 100%;
  width: fit-content;
  animation: rise-in 0.9s ease both;
}

.heading-animate::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 1px;
  background: var(--silver);
  opacity: 0.55;
  transform: scaleX(0);
  transform-origin: left;
}

/* Hero: underline draws on page load */
.hero-line.heading-animate::after {
  animation: underline-draw 2.4s ease 0.4s forwards;
}

/* How we work: wait until scrolled/clicked into view */
.how-we-work .heading-animate::after {
  animation: none;
}

.how-we-work .heading-animate.is-visible::after {
  animation: underline-draw 2s ease forwards;
}

/* --- Inner pages (Lesson 4) --- */
.page-hero {
  padding: 5rem 8vw 2.5rem;
  max-width: 56rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.page-intro {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.service-blocks {
  padding: 1rem 8vw 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  max-width: 72rem;
  width: 100%;
  box-sizing: border-box;
}

.service-block {
  max-width: none;
  min-width: 0;
}

.service-block-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 1.1rem;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.service-block p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.service-note {
  padding: 0 8vw 2rem;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.service-note strong {
  color: var(--text);
  font-weight: 500;
}

.page-cta {
  padding: 1rem 8vw 5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --- Stats counters --- */
.stats-band {
  padding: 3rem 8vw 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  max-width: 56rem;
}

.stat-number {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--silver);
  line-height: 1.1;
}

.stat-suffix {
  font-size: 0.55em;
  margin-left: 0.05em;
}

.stat-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stats-note {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* --- About page --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1rem 8vw 3.5rem;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

.about-story {
  grid-column: 1;
  justify-self: start;
  max-width: 32rem;
  width: 100%;
}

.about-story .section-title {
  margin-bottom: 1.25rem;
}

.about-story-title {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  line-height: 1.15;
}

.about-title-row {
  display: block;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .about-title-row {
    white-space: normal;
  }
}

.about-copy p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.about-copy strong {
  color: var(--text);
  font-weight: 600;
}

.about-team {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  width: min(42rem, 46vw);
  justify-items: center;
  text-align: center;
}

.team-member {
  margin: 0;
  width: 100%;
  max-width: 19.5rem;
}

.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 0.9rem;
}

.team-name {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
}

.team-role {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-beliefs {
  padding: 3rem 8vw 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  margin-top: 2rem;
  max-width: 56rem;
}

.belief-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
}

.belief p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.about-link-note {
  margin: 2rem 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.about-link-note a {
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 1100px) {
  .about-split {
    grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
  }

  .about-team {
    grid-column: 2;
    width: 100%;
    max-width: 36rem;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-story,
  .about-team {
    grid-column: 1;
    justify-self: center;
    max-width: 28rem;
  }

  .about-team {
    width: 100%;
  }

  .belief-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-split,
  .about-beliefs {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

/* --- Why us page --- */
.why-pillars,
.reviews {
  padding: 3.5rem 8vw 2rem;
}

.why-photo-strip {
  padding: 0.5rem 8vw 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 72rem;
}

.why-photo-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 700px) {
  .why-photo-strip {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }
}

.why-pillars .section-intro,
.reviews .section-intro {
  max-width: 36rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  margin-top: 2rem;
  max-width: 56rem;
}

.pillar-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
}

.pillar-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  margin-top: 2rem;
  max-width: 56rem;
}

.review {
  margin: 0;
  padding: 0;
  border: none;
}

.review-stars {
  margin: 0 0 0.75rem;
  color: var(--silver);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.review-text {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}

.review-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

.review-logo {
  display: block;
  height: 2.1rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.review-logo--knockout {
  mix-blend-mode: screen;
}

.review-meta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.review-meta cite {
  font-style: normal;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .stats-band,
  .why-pillars,
  .why-photo-strip,
  .reviews {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

/* --- Homepage enquiry paths --- */
.enquiry-paths {
  padding: 4rem 8vw 4.5rem;
  max-width: 40rem;
}

.enquiry-paths .section-intro {
  margin-bottom: 1.5rem;
}

.enquiry-paths-split {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.25rem 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.enquiry-paths-split::before,
.enquiry-paths-split::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.enquiry-paths-sub {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text);
}

.enquiry-paths-text {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 1000px) {
  .service-blocks {
    grid-template-columns: 1fr 1fr;
  }

  .page-title {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .service-blocks {
    grid-template-columns: 1fr;
  }
}

/* --- Gallery (Lesson 4) --- */
.gallery-grid {
  padding: 1rem 8vw 5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.gallery-item {
  margin: 0;
  overflow: visible;
  aspect-ratio: auto;
  position: relative;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Contact (Lesson 4) --- */
.contact-details {
  padding: 1rem 8vw 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 36rem;
}

.contact-block {
  min-width: 0;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.contact-value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

a.contact-value:hover {
  color: var(--silver);
}

/* --- FAQ (Lesson 3) --- */
.faq {
  padding: 4rem 8vw 5rem;
  background: transparent;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.faq-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.faq-list {
  text-align: left;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.75rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--silver);
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--silver);
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 1rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --- Quote builder (Lesson 5) --- */
.quote-builder {
  padding: 0.5rem 8vw 3rem;
  max-width: 40rem;
  display: grid;
  gap: 0;
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.15rem;
  margin: 0 -1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.quote-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.quote-role-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.quote-role-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quote-stepper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.quote-btn {
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quote-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--silver);
  color: var(--silver);
  transform: translateY(-1px);
}

.quote-count {
  min-width: 1.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
}

.quote-hours {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0 0.5rem;
  margin-top: 0.5rem;
}

.quote-send {
  padding: 1rem 8vw 5rem;
  max-width: 40rem;
}

.quote-send-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.quote-summary {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--silver);
}

.quote-summary-card {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.quote-summary-card.is-ready {
  color: var(--silver);
  border-color: rgba(192, 192, 192, 0.35);
}

.quote-submit-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quote-form .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quote-field-wide {
  grid-column: 1 / -1;
}

.quote-field input,
.quote-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.7rem 0.85rem;
  outline: none;
}

.quote-field input:focus,
.quote-field textarea:focus {
  border-color: var(--silver);
}

.quote-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.5rem;
}

.quote-botcheck {
  display: none !important;
}

.quote-status {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
  min-height: 1.4em;
}

.quote-status.is-success {
  color: #b8d4c2;
}

.quote-status.is-error {
  color: #e8b4b4;
}

.quote-alt {
  margin: 1.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.quote-alt a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.quote-alt a:hover {
  color: var(--silver);
}

.quote-done {
  padding: 2.5rem 8vw 5rem;
  max-width: 40rem;
}

.quote-done-recap {
  margin: 0 0 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--silver);
}

.quote-done-next {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.quote-done-next a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.quote-done-next a:hover {
  color: var(--silver);
}

.quote-done-actions {
  padding: 0;
}

@media (max-width: 600px) {
  .quote-form {
    grid-template-columns: 1fr;
  }
}

/* --- Phone / small screens --- */
@media (max-width: 600px) {
  .site-header {
    padding: 1rem 5vw;
  }

  .hero {
    padding: 3rem 5vw 4rem;
  }

  .hero-line {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .header-cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.7rem;
  }

  .header-actions .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.65rem;
  }

  .how-we-work {
    padding: 3.5rem 5vw 4rem;
  }
  .faq {
    padding: 3rem 5vw 4rem;
  }
}

/* --- Site footer (polish) --- */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 8vw 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 2.5rem 2rem;
  max-width: 72rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 18rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}

.footer-contact > a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-contact > a:hover {
  color: var(--silver);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.footer-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 72rem;
}

.footer-badge {
  display: block;
  line-height: 0;
  border-radius: 0.35rem;
  overflow: hidden;
  background: #fff;
  transition: opacity 0.2s ease;
}

.footer-badge:hover {
  opacity: 0.88;
}

.footer-badge img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.footer-copy {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Logo marquee --- */
.logo-marquee {
  padding: 2.75rem 0 1.25rem;
  overflow: hidden;
}

.logo-marquee .section-eyebrow {
  padding: 0 8vw;
  margin-bottom: 1.35rem;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee-scroll var(--marquee-duration, 55s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.marquee-track.is-ready {
  animation-name: marquee-scroll-px;
}

@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

.marquee-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  gap: 3.5rem;
  padding-right: 3.5rem;
}

.marquee-logo {
  display: block;
  flex: 0 0 auto;
  height: 2.85rem;
  width: auto;
  max-width: 13rem;
  object-fit: contain;
  object-position: center;
  opacity: 0.95;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

/* Light logos with black backgrounds — knock out the black onto navy */
.marquee-logo--knockout {
  mix-blend-mode: screen;
  filter: none;
  opacity: 1;
}

/* Dark logos (black/colour on light or transparent) — soft white plate only */
.marquee-logo--plate {
  mix-blend-mode: normal;
  filter: none;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  height: 2.75rem;
  box-sizing: content-box;
  opacity: 1;
}

/* Dark-on-black logos — invert to light silver on navy (no plate) */
.marquee-logo--invert {
  mix-blend-mode: normal;
  filter: invert(1) brightness(1.1) contrast(1.05);
  opacity: 1;
}

.marquee-logo--lg {
  height: 3.45rem !important;
  max-width: 14.5rem;
}

.marquee-logo--xl {
  height: 4.2rem !important;
  max-width: 16rem;
}

.marquee-logo--plate.marquee-logo--lg {
  height: 3.35rem !important;
}

.marquee-logo--plate.marquee-logo--xl {
  height: 4.1rem !important;
}

@media (hover: hover) and (pointer: fine) {
  .marquee-logo:hover {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Pixel distance set by script.js after logos load — reliable on iOS */
@keyframes marquee-scroll-px {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-shift, 0px)), 0, 0);
  }
}

/* Mobile: keep the scroll running; tighten sizes; avoid iOS hover-stick */
@media (max-width: 900px) {
  .marquee {
    /* Mask + overflow can clip mid-scroll on some mobile browsers */
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    animation-play-state: running !important;
  }

  .marquee-group {
    gap: 1.75rem;
    padding-right: 1.75rem;
  }

  .marquee-logo {
    height: 2.1rem;
    max-width: 7.25rem;
  }

  .marquee-logo--lg {
    height: 2.45rem !important;
    max-width: 8.25rem;
  }

  .marquee-logo--xl {
    height: 2.7rem !important;
    max-width: 9rem;
  }

  .marquee-logo--plate {
    height: 2rem;
    padding: 0.3rem 0.45rem;
  }

  .marquee-logo--plate.marquee-logo--lg,
  .marquee-logo--plate.marquee-logo--xl {
    height: 2.35rem !important;
  }

  /* mix-blend-mode can fail on some mobile WebViews — fall back to brighter logos */
  .marquee-logo--knockout {
    mix-blend-mode: normal;
    filter: brightness(1.15) contrast(1.05);
  }
}

/* Keep logos scrolling (slower) even with Reduce Motion — otherwise phones only show the first few */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    --marquee-duration: 90s;
  }
}

/* --- Trusted by + home reviews --- */
.trusted-by {
  padding: 2.75rem 8vw 1rem;
  max-width: 56rem;
}

.trusted-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--silver);
}

.home-reviews {
  padding: 2rem 8vw 3rem;
  max-width: 56rem;
}

.home-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.5rem;
  margin-top: 1.5rem;
}

/* --- Reveal motion --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-footer,
  .trusted-by,
  .home-reviews {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

/* --- Site loader (home only) --- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: transparent;
}

.site-loader-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(165deg, #0c1028 0%, #121836 55%, #0a0e22 100%);
  transition: transform 0.95s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.site-loader-panel--left {
  left: 0;
  border-right: 1px solid rgba(212, 212, 222, 0.08);
}

.site-loader-panel--right {
  right: 0;
  border-left: 1px solid rgba(212, 212, 222, 0.08);
}

.site-loader.is-done .site-loader-panel--left {
  transform: translateX(-100%);
}

.site-loader.is-done .site-loader-panel--right {
  transform: translateX(100%);
}

.site-loader-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1.25rem;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.site-loader.is-done .site-loader-brand {
  opacity: 0;
  transform: scale(0.97);
}

.site-loader-logo {
  width: min(13.5rem, 58vw);
  height: auto;
  animation: loader-breathe 1.6s ease-in-out infinite;
}

.site-loader-tagline {
  margin: 0;
  white-space: nowrap;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 3.4vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  opacity: 0;
  transform: translateY(0.4rem);
  animation: loader-tagline-in 0.7s ease 0.4s forwards;
}

@keyframes loader-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loader-tagline-in {
  to {
    opacity: 0.92;
    transform: translateY(0);
  }
}

/* Home page fades up as the doors open */
body.is-home .site-header,
body.is-home main,
body.is-home .site-footer {
  opacity: 0;
  transform: translateY(0.65rem);
  transition: opacity 0.85s ease 0.12s, transform 0.85s ease 0.12s;
}

body.is-home.is-revealed .site-header,
body.is-home.is-revealed main,
body.is-home.is-revealed .site-footer {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .site-loader-panel,
  .site-loader-brand,
  .site-loader-logo,
  .site-loader-tagline,
  body.is-home .site-header,
  body.is-home main,
  body.is-home .site-footer {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .site-loader.is-done {
    display: none;
  }
}

/* --- Custom cursor (desktop / fine pointer only) --- */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: url("assets/cursor.svg") 16 16, auto;
  }

  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor .btn,
  html.has-custom-cursor .nav-toggle,
  html.has-custom-cursor .faq-question,
  html.has-custom-cursor label,
  html.has-custom-cursor select,
  html.has-custom-cursor summary,
  html.has-custom-cursor .whatsapp-float {
    cursor: url("assets/cursor.svg") 16 16, pointer;
  }
}

/* --- WhatsApp float (board: quiet, on-brand, no chat-bubble widget) --- */
.whatsapp-float {
  position: fixed;
  right: max(1.1rem, 3vw);
  bottom: max(1.1rem, 3vw);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: #1f8f4e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: #187a42;
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }

  .whatsapp-float:hover {
    transform: none;
  }
}



