/* Boldridge Global LTD — site styles */
:root {
  --primary: #E147A1;
  --primary-dark: #7E2559;
  --ink: #0B1F33;
  --ink-soft: #2A3A4D;
  --muted: #5A6B7C;
  --paper: #F7F4F8;
  --paper-2: #EFE8F0;
  --white: #FFFFFF;
  --line: color-mix(in oklab, var(--ink) 12%, transparent);
  --max: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius: 4px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary);
}

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

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--paper);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  width: 210px;
  height: 50px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  background: var(--ink);
  color: var(--white) !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid color-mix(in oklab, var(--white) 45%, transparent);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--ink) !important;
}

.btn-dark {
  background: var(--ink);
  color: var(--white) !important;
}

.btn-dark:hover {
  background: var(--primary);
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 72%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--white);
  animation: rise 0.8s ease both;
}

.hero-brand span {
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 1rem;
  animation: rise 0.8s ease 0.12s both;
}

.hero-lead {
  max-width: 38rem;
  color: color-mix(in oklab, var(--white) 88%, transparent);
  font-size: 1.0625rem;
  margin-bottom: 1.75rem;
  animation: rise 0.8s ease 0.22s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.8s ease 0.32s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
}

.section-head p {
  font-size: 1.0625rem;
}

.section-muted {
  background: var(--paper-2);
}

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

.section-ink h2,
.section-ink .section-label {
  color: var(--white);
}

.section-ink .section-label {
  color: var(--primary);
}

.section-ink p {
  color: color-mix(in oklab, var(--white) 78%, transparent);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* About intro */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

.about-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 340px;
  border: 1px solid var(--line);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: color-mix(in oklab, var(--ink) 35%, transparent);
}

/* Services — staggered numbered rail */
.services-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.25s ease;
}

.service-row:hover {
  background: color-mix(in oklab, var(--primary) 6%, transparent);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  padding-top: 0.15rem;
}

.service-row h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.service-row h3 svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary-dark);
}

.service-row p {
  margin: 0;
  max-width: 48rem;
}

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: 5rem 12rem 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .service-row h3 {
    margin: 0;
  }

  .service-row:nth-child(even) {
    padding-left: 2.5rem;
  }

  .service-row:nth-child(odd) {
    padding-right: 2.5rem;
  }
}

/* Content areas — asymmetric mosaic */
.content-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.mosaic-item {
  grid-column: span 6;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 5.5rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mosaic-item:hover {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary) 5%, var(--white));
}

.mosaic-item:nth-child(1) { grid-column: span 7; }
.mosaic-item:nth-child(2) { grid-column: span 5; }
.mosaic-item:nth-child(3) { grid-column: span 5; }
.mosaic-item:nth-child(4) { grid-column: span 7; }
.mosaic-item:nth-child(5) { grid-column: span 4; }
.mosaic-item:nth-child(6) { grid-column: span 4; }
.mosaic-item:nth-child(7) { grid-column: span 4; }
.mosaic-item:nth-child(8) { grid-column: span 12; }

.mosaic-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  min-width: 1.5rem;
}

.mosaic-item p {
  margin: 0;
  font-weight: 550;
  color: var(--ink);
  font-size: 1.02rem;
}

/* Approach split */
.approach-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.approach-copy {
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.approach-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.approach-media {
  min-height: 360px;
  position: relative;
}

.approach-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

/* Communication band */
.comm-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.comm-visual {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--white) 18%, transparent);
  min-height: 320px;
}

.comm-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.92;
}

/* Who we work with — path steps */
.audience-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.audience-photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 380px;
}

.audience-photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center top;
}

.audience-path {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

.audience-step {
  position: relative;
  z-index: 1;
  text-align: left;
  padding-left: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-dot {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0;
  border: 3px solid var(--paper);
  flex-shrink: 0;
}

.audience-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.audience-step p {
  margin: 0;
  font-size: 0.98rem;
}

/* CTA */
.cta-block {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 0;
}

.cta-block h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-block p {
  margin-bottom: 1.75rem;
}

.cta-email {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cta-email:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cta-email svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

/* Sub-footer */
.subfooter {
  background: var(--ink);
  color: var(--white);
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid color-mix(in oklab, var(--white) 10%, transparent);
}

.subfooter-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.subfooter .logo-link img {
  filter: brightness(0) invert(1);
  width: 180px;
  height: auto;
}

.subfooter p {
  color: color-mix(in oklab, var(--white) 72%, transparent);
  max-width: 28rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.subfooter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
  min-height: 50px;
}

.subfooter-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.subfooter-links a:hover {
  color: var(--primary);
}

/* Footer legal */
.site-footer {
  background: #071522;
  padding: 1.35rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--white) 65%, transparent);
  line-height: 1.55;
}

.site-footer .sep {
  margin: 0 0.45rem;
  opacity: 0.5;
}

/* Legal / policy pages */
.policy-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  overflow: hidden;
}

.policy-hero-media {
  position: absolute;
  inset: 0;
}

.policy-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.policy-hero-scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 70%, transparent);
}

.policy-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.policy-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.policy-hero .updated {
  color: color-mix(in oklab, var(--white) 75%, transparent);
  margin: 0;
}

.policy-body {
  padding: 3.5rem 0 4.5rem;
}

.policy-content {
  max-width: 46rem;
}

.policy-content > p:first-of-type {
  font-size: 1.1rem;
}

.policy-content h2 {
  font-size: 1.35rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.policy-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.policy-content ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.policy-content li {
  margin-bottom: 0.4rem;
}

.company-box {
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.company-box p {
  margin: 0.2rem 0;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.privacy-table th,
.privacy-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  vertical-align: top;
}

.privacy-table th {
  background: var(--paper-2);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.privacy-table td {
  background: var(--white);
  color: var(--ink-soft);
}

/* Mobile */
@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.25rem;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.5rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .about-grid,
  .approach-split,
  .comm-band,
  .subfooter-grid,
  .audience-layout {
    grid-template-columns: 1fr;
  }

  .audience-photo {
    min-height: 260px;
  }

  .audience-photo img {
    min-height: 260px;
  }

  .approach-media {
    min-height: 240px;
    order: -1;
  }

  .mosaic-item,
  .mosaic-item:nth-child(n) {
    grid-column: span 12;
  }

  .subfooter-links {
    justify-content: flex-start;
  }

  .hero {
    align-items: center;
    padding-bottom: 3.5rem;
  }

  .privacy-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .service-row {
    grid-template-columns: 3rem 1fr;
  }

  .logo-link img {
    width: 160px;
    height: auto;
  }
}
