/* ==========================================================================
   BPMS — Building & Property Management Services
   Palette taken from the company logo: blue #004E93, grey #A7A9AC.
   ========================================================================== */

:root {
  --blue:        #004E93;
  --blue-deep:   #08243F;
  --blue-light:  #7FB0DC;
  --grey:        #A7A9AC;

  --paper:       #F5F1E8;
  --paper-card:  #FFFFFF;
  --paper-warm:  #F7F4ED;

  --ink:         #0B1D2F;
  --ink-soft:    #43566A;
  --ink-softer:  #3E5266;
  --muted:       #5A6C7D;
  --placeholder: #8FA3B5;

  --on-dark:        #F5F1E8;
  --on-dark-soft:   #A9BFD2;
  --on-dark-muted:  #94AAC0;
  --on-dark-faint:  #86A0B6;

  --line:        #E0D9CB;
  --line-card:   #E3DCCE;
  --line-input:  #CFC7B7;

  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans:  Archivo, "Helvetica Neue", Arial, sans-serif;

  --shell: 1280px;
  --gutter: 80px;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h, 79px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3, blockquote { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { letter-spacing: -0.02em; }
h2 { letter-spacing: -0.02em; }
h1 em, h2 em, blockquote em { font-weight: 600; }
p  { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: var(--paper-warm);
  padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--paper-warm); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ------------------------------------------------------------------ bits */

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow .rule { width: 34px; height: 2px; background: var(--blue); flex: none; }
.eyebrow.on-dark { color: var(--blue-light); }
.eyebrow.on-dark .rule { background: var(--blue-light); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font: inherit; font-weight: 600; font-size: 16px;
  padding: 18px 32px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn .ico { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blue); color: var(--paper-warm); }
.btn-primary:hover { background: #063f75; color: var(--paper-warm); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-input); font-weight: 500; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-invert { background: var(--paper); color: var(--blue-deep); flex: none; }
.btn-invert:hover { background: #fff; color: var(--blue-deep); }

.btn-quiet {
  background: transparent; color: var(--ink); font-weight: 500;
  padding: 18px 4px; border-radius: 0;
  box-shadow: inset 0 -1px 0 #BFB8A8;
}
.btn-quiet:hover { color: var(--blue); box-shadow: inset 0 -1px 0 var(--blue); }

.btn-sm { font-size: 14px; padding: 13px 22px; white-space: nowrap; }
.btn-sm .ico { width: 14px; height: 14px; }
.btn-block { width: 100%; }

.fine { font-size: 14px; color: var(--muted); }

/* Form back end — the hidden bot trap and the sent / failed message */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status[data-state="sent"] { color: #1F6B3A; font-weight: 600; }
.form-status[data-state="error"] { color: #A4002F; }
button[disabled] { opacity: .7; cursor: progress; }

/* Email menu — opened by any mailto: link (see main.js) */
.email-menu {
  position: fixed; z-index: 200; width: 260px;
  background: var(--paper-card); border: 1px solid var(--line-card); border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(8, 36, 63, 0.35);
  padding: 8px; animation: email-menu-in .14s ease-out;
}
@keyframes email-menu-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .email-menu { animation: none; } }
.email-menu-head { font-size: 13px; color: var(--muted); padding: 6px 10px 8px; overflow-wrap: anywhere; }
.email-menu-head strong { color: var(--ink); font-weight: 600; }
.email-menu-item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px;
  padding: 8px 10px; border: 0; border-radius: 9px; background: none;
  font: inherit; font-size: 15px; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer;
}
.email-menu-item .ico { width: 18px; height: 18px; flex: none; color: var(--blue); }
.email-menu-item:hover, .email-menu-item:focus-visible { background: var(--paper-warm); color: var(--blue); outline: none; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  padding-bottom: 44px;
}
.section-head.stacked { display: block; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 780px; }
.section-head h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; }
.section-head .eyebrow { margin-bottom: -4px; }
.section-note { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 640px; }

/* ---------------------------------------------------------------- header */

/* fixed over the hero photo: dark glass with a white logo there, white once you scroll past it */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px -12px rgba(11, 29, 47, 0.18);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-block: 16px;
}
.brand { position: relative; }
.brand img { height: 46px; width: auto; display: block; }
.brand .logo-light { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.brand .logo-dark { transition: opacity .3s ease; }

.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14.5px; font-weight: 500; color: #2C4055; }
.site-nav a { color: inherit; white-space: nowrap; transition: color .2s ease; }
.site-nav a:hover { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; white-space: nowrap; color: var(--ink); transition: color .2s ease; }
.header-phone .ico { width: 15px; height: 15px; color: var(--blue); }

.icon-btn {
  display: none;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-input); background: transparent;
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
  transition: color .3s ease, border-color .3s ease;
}
.icon-btn .ico { width: 18px; height: 18px; }

/* over the photo */
.site-header.over-hero {
  background: rgba(8, 36, 63, 0.32);
  border-bottom-color: rgba(245, 241, 232, 0.14);
  box-shadow: none;
}
.over-hero .brand .logo-light { opacity: 1; }
.over-hero .brand .logo-dark { opacity: 0; }
.over-hero .site-nav { color: rgba(245, 241, 232, 0.82); }
.over-hero .site-nav a:hover { color: #fff; }
.over-hero .header-phone { color: #fff; }
.over-hero .header-phone .ico { color: var(--blue-light); }
.over-hero .header-actions .btn-primary { background: var(--paper-warm); color: var(--blue-deep); }
.over-hero .header-actions .btn-primary:hover { background: #fff; color: var(--blue-deep); }
.over-hero .icon-btn { color: #fff; border-color: rgba(245, 241, 232, 0.35); }

/* ------------------------------------------------------------------ hero */

/* full-bleed photo; the tint is heaviest behind the words and clears to the right so the building shows */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(var(--header-h, 79px) + clamp(48px, 8vh, 104px));
  background: var(--blue-deep); color: var(--on-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* tablets: slide the building out from behind the words */
@media (max-width: 1200px) { .hero-bg img { object-position: 30% 50%; } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 36, 63, 0.93) 0%, rgba(8, 36, 63, 0.82) 24%, rgba(8, 36, 63, 0.38) 48%, rgba(8, 36, 63, 0.06) 72%, rgba(8, 36, 63, 0) 100%),
    linear-gradient(0deg, rgba(8, 36, 63, 0.86) 0%, rgba(8, 36, 63, 0) 28%);
}

.hero .shell { max-width: 1520px; padding-inline: clamp(24px, 5.5vw, 96px); }
.hero-grid { display: block; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 660px; }
.hero h1 {
  font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; color: #fff;
  text-shadow: 0 2px 28px rgba(4, 18, 33, 0.35);
}
.hero h1 em { font-style: italic; font-weight: 600; box-shadow: inset 0 -0.1em 0 rgba(127, 176, 220, 0.75); }

.trust-badge {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  margin-bottom: -2px;
  padding: 6px 22px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 15.5px; line-height: 1; font-weight: 500; letter-spacing: 0.005em; color: var(--on-dark);
}
.trust-badge strong { color: #fff; font-weight: 700; font-size: 17px; }
.trust-badge .ico {
  display: block; width: 36px; height: 36px; padding: 8px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue-deep); stroke-width: 2.2;
}

.lede { font-size: 18px; line-height: 1.6; color: rgba(245, 241, 232, 0.86); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding-top: 12px; }
.hero .btn-primary { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.hero .btn-quiet { color: var(--on-dark); box-shadow: inset 0 -1px 0 rgba(245, 241, 232, 0.4); }
.hero .btn-quiet:hover { color: #fff; box-shadow: inset 0 -1px 0 #fff; }

.points {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 32px;
  margin-top: clamp(40px, 7vh, 88px); padding-block: 26px 32px;
  border-top: 1px solid rgba(245, 241, 232, 0.2);
}
.points li { display: flex; align-items: center; gap: 14px; }
.points .tick {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  background: var(--blue-light); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
}
.points .tick .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.points h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; color: #fff; white-space: nowrap; }

/* --------------------------------------------------------------- schools */

.band { background: var(--blue-deep); color: var(--on-dark); }
.band h2 { color: var(--on-dark); }

.schools { padding-block: 44px; }

.marquee {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.dragging { cursor: grabbing; }
.marquee.dragging .marquee-run { user-select: none; }
.marquee-track { display: flex; width: max-content; }

.marquee-run { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-run li {
  display: flex; align-items: center; gap: 18px; flex: none;
  background: var(--paper-card); border-radius: 12px; padding: 14px 24px 14px 20px;
}
.marquee-run img { height: 42px; max-width: 136px; object-fit: contain; display: block; }
.marquee-run span { font-family: var(--serif); font-size: 19px; color: var(--ink); white-space: nowrap; }

/* ---------------------------------------------------------------- bridge */

/* the short empathy beat between the logos and the services */
.bridge { padding-top: 104px; }
.bridge-inner {
  display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: end;
  padding-bottom: 8px;
}
.bridge h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; max-width: 640px; }
.bridge h2 em { font-style: italic; box-shadow: inset 0 -0.1em 0 rgba(127, 176, 220, 0.6); }
.bridge-copy { display: flex; flex-direction: column; gap: 16px; }
.bridge-copy p { font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.bridge-copy .bridge-kicker { font-family: var(--serif); font-size: 23px; line-height: 1.35; font-style: italic; color: var(--ink); }

/* ------------------------------------------------------------ pull quote */

.pull { padding-top: 88px; }
.pull-quote {
  margin: 0; padding: 48px 56px; border-left: 4px solid var(--blue);
  background: var(--paper-card); border-radius: 0 var(--radius) var(--radius) 0;
  display: flex; flex-direction: column; gap: 22px;
}
.pull-quote blockquote { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; font-style: italic; color: var(--ink); max-width: 980px; }
.pull-quote figcaption { display: flex; flex-direction: column; gap: 3px; }
.pull-quote strong { font-size: 15px; font-weight: 600; }
.pull-quote span { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- result */

.result { padding-bottom: 104px; }
.result-panel {
  background: var(--paper-card); border: 1px solid var(--line-card); border-radius: 24px;
  padding: 60px 64px; display: flex; flex-direction: column; gap: 40px;
}
.result-panel h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.18; max-width: 920px; }
.result-panel h2 em { font-style: italic; color: var(--blue); }
.result-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 32px; }
.result-list li { font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--ink-soft); }
.result-list strong { display: block; font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------------ goldilocks */

.size { padding-bottom: 104px; }
.size-inner {
  display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start;
  border-top: 1px solid var(--line); padding-top: 64px;
}
.size h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.size h2 em { font-style: italic; color: var(--blue); }
.size-copy { display: flex; flex-direction: column; gap: 16px; }
.size-copy p { font-size: 18px; line-height: 1.65; color: var(--ink-soft); }

/* ------------------------------------------------------------- challenge */

.challenge { padding-block: 104px; }
.challenge .section-head > div, .challenge .section-head h2 { max-width: none; }
.challenge .section-head h2 em { font-style: italic; }
.challenge .section-head { padding-bottom: 36px; }

.gripes { border-top: 1px solid var(--line); }
.gripe {
  display: grid; grid-template-columns: 1fr 56px 1fr; gap: 32px; align-items: center;
  padding-block: 34px; border-bottom: 1px solid var(--line);
}
.gripe-worry { margin: 0; font-size: 26px; line-height: 1.3; font-style: italic; color: var(--ink); }
.gripe-arrow {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--blue); color: var(--paper-warm);
  display: flex; align-items: center; justify-content: center;
}
.gripe-arrow .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.gripe-answer { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 540px; }

/* ----------------------------------------------------------------- about */

.about { padding-block: 0 104px; }
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-copy .eyebrow { margin-bottom: -4px; }
.about-copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; max-width: 620px; }
.about-copy p:not(.eyebrow) { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 620px; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.about-side { display: flex; flex-direction: column; gap: 22px; }

.whakatauki {
  margin: 0; background: var(--blue-deep); border-radius: var(--radius);
  padding: 38px 36px; display: flex; flex-direction: column; gap: 14px;
}
.whakatauki .spark { width: 26px; height: 26px; stroke: var(--blue-light); stroke-width: 1.4; }
.whakatauki blockquote { font-size: 27px; line-height: 1.28; color: var(--on-dark); font-style: italic; font-weight: 500; }
.whakatauki figcaption { font-size: 15px; line-height: 1.6; color: var(--on-dark-soft); }

.stats { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; }
.stats > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-block: 15px; border-bottom: 1px solid #EBE4D7;
}
.stats > div:last-child { border-bottom: 0; }
.stats dt { font-size: 14.5px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--serif); font-size: 26px; text-align: right; }
.stats .placeholder { color: var(--placeholder); }

/* -------------------------------------------------------------- services */

.services { padding-top: 104px; }
.services .section-head { border-bottom: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 44px; }
.card {
  background: var(--paper-card); border: 1px solid var(--line-card);
  border-radius: var(--radius); padding: 38px 34px;
  display: flex; flex-direction: column; gap: 20px;
}
.card-ico { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.card-ico .accent { stroke: var(--blue); }
.card h3 { font-size: 28px; line-height: 1.15; }
.card > p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: #2C4055; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 9px;
  border-left: 2.4px solid var(--blue); border-bottom: 2.4px solid var(--blue);
  transform: rotate(-45deg); border-radius: 1px;
}

/* --------------------------------------------------------------- process */

.process { padding-block: 96px; }
.process .section-head { padding-bottom: 52px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li {
  border-top: 2px solid rgba(245, 241, 232, 0.22); padding-top: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.steps li.current { border-top-color: var(--blue-light); }
.step-no { font-family: var(--serif); font-size: 16px; font-weight: 500; letter-spacing: 0.14em; color: #A9BFD2; }
.steps li.current .step-no { color: var(--blue-light); }
.steps h3 { font-size: 30px; color: var(--on-dark); }
.steps p { font-size: 17px; line-height: 1.62; color: #C3D3E1; max-width: 360px; }

/* ---------------------------------------------------------- testimonials */

.testimonials { padding-block: 104px; }
.testimonials .cards { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card.quote { margin: 0; gap: 24px; }
.quote-mark { width: 30px; height: 24px; fill: var(--blue-light); stroke: none; }
.card.quote blockquote { font-size: 17px; line-height: 1.55; color: #0F2438; }
.card.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 3px; padding-top: 20px; border-top: 1px solid var(--line); }
.card.quote strong { font-size: 15px; font-weight: 600; }
.card.quote span { font-size: 14px; color: var(--muted); }

/* ----------------------------------------------------------- lead magnet */

.lead-magnet { padding-bottom: 104px; }
.magnet-panel {
  background: var(--blue-deep); border-radius: 24px; padding: 62px 68px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.magnet-copy { display: flex; flex-direction: column; gap: 18px; }
.pill {
  align-self: flex-start;
  background: rgba(127, 176, 220, 0.18); color: var(--blue-light);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}
.magnet-copy h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.12; color: var(--on-dark); }
.magnet-copy p { font-size: 17.5px; line-height: 1.62; color: #C3D3E1; max-width: 470px; }

.magnet-form {
  background: var(--paper); border-radius: var(--radius); padding: 34px 32px;
  display: flex; flex-direction: column; gap: 16px;
}

.magnet-panel:has(.lessons) { align-items: start; }
@media (min-width: 1101px) {
  .magnet-panel:has(.lessons) .magnet-copy { position: sticky; top: calc(var(--header-h, 79px) + 32px); }
}
.magnet-copy .btn-invert { align-self: flex-start; margin-top: 8px; }
.lessons {
  list-style: none; margin: 0; padding: 0; counter-reset: lesson;
  display: flex; flex-direction: column; gap: 12px;
}
.lessons li {
  counter-increment: lesson;
  background: var(--paper); border-radius: 14px; padding: 20px 24px 20px 72px;
  position: relative;
}
.lessons li::before {
  content: counter(lesson);
  position: absolute; left: 22px; top: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: var(--paper-warm);
  font-family: var(--serif); font-size: 18px; line-height: 34px; text-align: center;
}
.lessons h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; color: var(--ink); }
.lessons p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---------------------------------------------------------------- forms */

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #42566A; }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper-card); border: 1px solid var(--line-input); border-radius: 10px;
  padding: 0 14px; height: 48px;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9AA5AE; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 78, 147, 0.12); }

.form-status { font-size: 14px; color: var(--blue); min-height: 1.2em; }
.form-status:empty { min-height: 0; }

/* --------------------------------------------------------------- contact */

.contact { padding-bottom: 104px; }
.contact .section-head h2 { max-width: 760px; }
.contact .section-head h2 em { font-style: italic; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: stretch; }

.enquiry {
  background: var(--paper-card); border: 1px solid var(--line-card);
  border-radius: var(--radius); padding: 38px 34px;
  display: flex; flex-direction: column; gap: 16px;
}

.contact-details {
  background: var(--blue-deep); border-radius: var(--radius); padding: 38px 34px;
  color: var(--on-dark);
  display: flex; flex-direction: column; gap: 22px;
}
.contact-details > dl { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.contact-details .aside-note {
  font-size: 15px; line-height: 1.6; color: var(--on-dark-soft);
  border-top: 1px solid rgba(245, 241, 232, 0.14); padding-top: 22px;
}
.contact-details h3 { font-size: 26px; color: var(--on-dark); }
.contact-details > dl > div { padding-block: 14px; border-bottom: 1px solid rgba(245, 241, 232, 0.14); }
.contact-details > dl > div:last-child { border-bottom: 0; }
.contact-details dt { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #A9BFD2; margin-bottom: 6px; }
.contact-details dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.contact-details a { color: var(--on-dark); }
.contact-details a:hover { color: var(--blue-light); }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--blue-deep); color: var(--on-dark); padding-block: 72px 40px; }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 48px; padding-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 22px; }
.footer-brand img { height: 52px; width: auto; align-self: flex-start; flex: none; display: block; }
.footer-brand p { font-size: 15px; line-height: 1.64; color: var(--on-dark-soft); max-width: 380px; }
.footer-label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #A9BFD2; margin-bottom: 14px; }
.footer-text { font-size: 15.5px; line-height: 1.66; color: var(--on-dark); }
.footer-big { display: block; font-family: var(--serif); font-size: 22px; color: var(--on-dark); margin-bottom: 8px; }
.footer-big:hover { color: var(--blue-light); }
.footer-linkedin { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--on-dark-soft); padding-top: 4px; }
.footer-linkedin .ico { width: 17px; height: 17px; stroke-width: 1.5; }

.footer-base {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border-top: 1px solid rgba(245, 241, 232, 0.14); padding-top: 28px;
  font-size: 13px; color: var(--on-dark-faint);
}

/* ====================================================== responsive ====== */

/* four points in one row need ~1340px; below that, an even two-by-two */
@media (max-width: 1340px) {
  .points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 32px; }
}


@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials .cards { grid-template-columns: repeat(2, 1fr); }
  .points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
  .magnet-panel { grid-template-columns: 1fr; padding: 48px; }
  .bridge-inner, .size-inner { grid-template-columns: 1fr; gap: 24px; }
  .result-list { grid-template-columns: repeat(2, 1fr); }

  /* the full menu stops fitting on one line around 1010px; tablets get the menu button instead */
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -16px rgba(11, 29, 47, 0.25);
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .header-inner { position: relative; }
  #nav-toggle { display: flex; }
}

@media (max-width: 820px) {
  :root { --gutter: 24px; }

  .header-inner { gap: 16px; padding-block: 12px; }
  .brand img { height: 38px; }
  .header-phone, .header-actions .btn-sm { display: none; }
  .icon-btn { display: flex; }

  .hero { min-height: 0; padding-top: calc(var(--header-h, 63px) + 44px); }
  .hero-bg img { object-position: 20% 50%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(8, 36, 63, 0.78) 0%, rgba(8, 36, 63, 0.86) 55%, rgba(8, 36, 63, 0.95) 100%); }
  .hero-copy { padding-top: 0; gap: 20px; }
  .trust-badge { font-size: 14px; padding: 5px 16px 5px 5px; gap: 10px; }
  .trust-badge strong { font-size: 15px; }
  .trust-badge .ico { width: 30px; height: 30px; padding: 6px; }
  .lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; min-height: 56px; }
  .hero-actions .btn-quiet { width: auto; align-self: center; min-height: 48px; }


  .points { display: grid; grid-template-columns: 1fr; gap: 16px; padding-block: 28px 36px; margin-top: 44px; }
  .points h3 { white-space: normal; }
  .points h3 { font-size: 19px; }

  .cards, .steps { grid-template-columns: 1fr; gap: 14px; }
  .testimonials .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; gap: 14px; }
  .card h3 { font-size: 23px; }
  .steps { gap: 22px; }
  .steps h3 { font-size: 24px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 28px; }
  .section-note { max-width: none; }

  .challenge { padding-block: 56px; }
  .gripe { grid-template-columns: 1fr; gap: 14px; padding-block: 26px; justify-items: start; }
  .gripe-worry { font-size: 22px; }
  .gripe-arrow { width: 40px; height: 40px; transform: rotate(90deg); }
  .gripe-arrow .ico { width: 18px; height: 18px; }
  .gripe-answer { font-size: 17px; }

  .about { padding-block: 0 56px; }
  .about-copy p:not(.eyebrow) { font-size: 17px; }
  .section-note { font-size: 17px; }
  .card > p { font-size: 16.5px; }
  .steps p { font-size: 16.5px; }
  .whakatauki { padding: 28px 24px; }
  .whakatauki blockquote { font-size: 22px; }

  .bridge { padding-top: 56px; }
  .bridge-copy p { font-size: 17px; }
  .bridge-copy .bridge-kicker { font-size: 20px; }
  .pull { padding-top: 48px; }
  .pull-quote { padding: 28px 24px; }
  .result { padding-bottom: 56px; }
  .result-panel { padding: 32px 24px; gap: 28px; border-radius: 18px; }
  .result-list { grid-template-columns: 1fr; gap: 14px; padding-top: 24px; }
  .result-list li { font-size: 19px; }
  .size { padding-bottom: 56px; }
  .size-inner { padding-top: 40px; }
  .size-copy p { font-size: 17px; }

  .services { padding-top: 56px; }
  .testimonials { padding-block: 56px; }
  .contact, .lead-magnet { padding-bottom: 56px; }
  .process { padding-block: 56px; }
  .btn-invert { width: 100%; }

  .marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  }
  .marquee-track { animation-duration: 38s; }
  .marquee-run { gap: 30px; padding-right: 30px; }
  .marquee-run li { gap: 14px; padding: 11px 18px 11px 15px; }
  .marquee-run img { height: 34px; max-width: 108px; }
  .marquee-run span { font-size: 16px; }

  .magnet-panel { padding: 32px 24px; gap: 28px; border-radius: 18px; }
  .magnet-form, .enquiry { padding: 24px 20px; }
  .lessons li { padding: 18px 18px 18px 62px; }
  .lessons li::before { left: 16px; top: 16px; }
  .magnet-copy .btn-invert { align-self: stretch; }
  .field-row { grid-template-columns: 1fr; }

  .contact-details { padding: 28px 24px; }
  .contact-details dd a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-linkedin { min-height: 44px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-brand img { height: 44px; }
  .footer-big { min-height: 44px; display: flex; align-items: center; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 10px; }
  .brand { display: flex; align-items: center; min-height: 44px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 34px; }
  .section-head h2 { font-size: 27px; }
}
