
/* ==========================================================================
   Oggle Blox — design system
   Headings: Abhaya Libre (serif).  Body: Nunito.
   All colour pairs used for text are verified WCAG 2.1 AA (>= 4.5:1).
   ========================================================================== */

:root {
  /* --- brand ------------------------------------------------------------ */
  /* #125A5C and #3E9148 are sampled from the logo's own PNG palette (verified
     exact entries). #125A5C is the text teal at 7.95:1 on white (AAA).
     #3E9148 measures only 3.93:1, so it is GRAPHICS ONLY — never small text;
     --green-deep (#347b24, 5.24:1) is the green used for type. */
  --teal-bright: #00ccb3;   /* graphics only — 2.04:1 */
  --teal: #0ebfaa;          /* graphics only */
  --teal-deep: #125a5c;     /* logo teal — AAA text on white */
  --teal-darker: #0d4344;
  --green-bright: #75d752;  /* graphics only — 1.81:1 */
  --green: #5cc93c;         /* graphics only */
  --green-logo: #3e9148;    /* logo green — GRAPHICS / large text only */
  --green-deep: #347b24;    /* AA text on white */
  --green-darker: #25601a;

  /* --- ink & surfaces --------------------------------------------------- */
  --ink: #2b2a3d;         /* headings — 13.99:1 on white */
  --body: #4f5a6b;        /* body text — 6.98:1 on white */
  --muted: #6b7585;       /* secondary text — 4.66:1 on white */
  --line: #e3e8ec;
  --line-strong: #cdd6dd;

  --surface: #ffffff;
  --surface-alt: #f6f8f8;
  --surface-tint-teal: #e8f8f5;
  --surface-tint-green: #eefae6;
  --surface-ink: #2b2a3d;

  /* on-dark text */
  --on-ink: #ffffff;
  --on-ink-soft: #cfe9e5;
  --on-ink-accent: #4fe3cd;

  /* --- gradients -------------------------------------------------------- */
  --grad-brand: linear-gradient(118deg, var(--teal-deep) 0%, #17887a 42%, var(--green-deep) 100%);
  --grad-bright: linear-gradient(118deg, var(--teal-bright) 0%, #3ed392 52%, var(--green-bright) 100%);
  --grad-wash: linear-gradient(160deg, var(--surface-tint-teal) 0%, var(--surface-tint-green) 100%);

  /* --- type ------------------------------------------------------------- */
  --font-display: 'Abhaya Libre', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.84rem + 0.17vw, 0.95rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.0938rem);
  --step-1:  clamp(1.125rem, 1.06rem + 0.33vw, 1.3125rem);
  --step-2:  clamp(1.3125rem, 1.2rem + 0.63vw, 1.625rem);
  --step-3:  clamp(1.5rem, 1.32rem + 0.9vw, 2.0625rem);
  --step-4:  clamp(1.875rem, 1.6rem + 1.35vw, 2.6875rem);
  --step-5:  clamp(2.25rem, 1.82rem + 2.15vw, 3.5rem);
  --step-6:  clamp(2.625rem, 1.9rem + 3.6vw, 4.5rem);

  /* --- space ------------------------------------------------------------ */
  --sp-3xs: 0.25rem;
  --sp-2xs: 0.5rem;
  --sp-xs:  0.75rem;
  --sp-s:   1rem;
  --sp-m:   1.5rem;
  --sp-l:   2rem;
  --sp-xl:  3rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* --- shape & depth ---------------------------------------------------- */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(43, 42, 61, 0.05);
  --shadow-s: 0 2px 6px rgba(43, 42, 61, 0.06), 0 1px 2px rgba(43, 42, 61, 0.04);
  --shadow-m: 0 10px 30px -12px rgba(43, 42, 61, 0.18), 0 2px 8px rgba(43, 42, 61, 0.05);
  --shadow-l: 0 28px 60px -24px rgba(18, 90, 92, 0.28), 0 6px 18px rgba(43, 42, 61, 0.06);

  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.28s;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-s);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-5); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }
h5 { font-size: var(--step-1); }

/* Abhaya Libre has no italic face on this server; browsers would synthesise a
   sloppy oblique. Use Nunito italic for emphasis inside body copy instead. */
h1, h2, h3, h4, h5, h6, .error-code, .value-letter, .step::before { font-style: normal; }

p { margin: 0 0 var(--sp-s); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--green-deep); }

img, svg, picture, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 var(--sp-s); padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--ink); }

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: var(--sp-xl) 0;
}

blockquote { margin: 0; }

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

::selection { background: var(--teal-bright); color: var(--ink); }

.skip-link {
  position: absolute;
  left: var(--sp-s);
  top: var(--sp-s);
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-s);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
@media (min-width: 700px) {
  .container { width: min(100% - 4rem, var(--container)); }
}

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--alt { background: var(--surface-alt); }
.section--tint { background: var(--grad-wash); }
.section--ink { background: var(--surface-ink); color: var(--on-ink-soft); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a { color: var(--on-ink-accent); }
.section--ink .eyebrow { color: var(--on-ink-accent); }
.section--ink .lede { color: var(--on-ink-soft); }

.grid { display: grid; gap: var(--sp-m); }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 940px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--2 { gap: var(--sp-l); }
}
@media (min-width: 640px) and (max-width: 939px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: var(--sp-s); }
.stack-l > * + * { margin-top: var(--sp-l); }

/* Split: text + media */
.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--media-first > :first-child { order: 2; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
}

/* ==========================================================================
   Section furniture
   ========================================================================== */

/* The two-dash brand motif that sits above section headings */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 var(--sp-s);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 26px; height: 4px;
  border-radius: var(--r-pill);
  background: var(--teal-bright);
}
.eyebrow::after {
  content: '';
  flex: none;
  width: 9px; height: 4px;
  border-radius: var(--r-pill);
  background: var(--green-bright);
  margin-left: -0.25rem;
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--body);
}

.measure { max-width: 42rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--grad-brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  box-shadow: 0 8px 20px -10px rgba(18, 90, 92, 0.65);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    color: var(--btn-fg);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -12px rgba(18, 90, 92, 0.72);
  }
}
.btn:active { transform: translateY(0); }

.btn--bright {
  --btn-bg: var(--grad-bright);
  --btn-fg: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(0, 204, 179, 0.7);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 2px solid var(--line-strong);
  padding: calc(0.95rem - 2px) calc(1.7rem - 2px);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
  background: var(--surface-tint-teal);
  box-shadow: none;
}

.btn--on-ink {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: calc(0.95rem - 2px) calc(1.7rem - 2px);
  box-shadow: none;
}
.btn--on-ink:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; box-shadow: none; }

.btn--sm { padding: 0.65rem 1.25rem; font-size: var(--step--1); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  align-items: center;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--teal-deep);
}
.link-arrow::after {
  content: '';
  width: 1.1em; height: 1.1em;
  background: currentColor;
  -webkit-mask: var(--arrow-mask) center / contain no-repeat;
  mask: var(--arrow-mask) center / contain no-repeat;
  transition: transform var(--dur) var(--ease);
}
:root {
  --arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.link-arrow:hover { color: var(--green-deep); text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card h3 { font-size: var(--step-2); }
.card > :last-child { margin-bottom: 0; }

.card--link:focus-within {
  transform: translateY(-4px);
  border-color: rgba(14, 191, 170, 0.45);
  box-shadow: var(--shadow-m);
}
@media (hover: hover) and (pointer: fine) {
  .card--link:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 191, 170, 0.45);
    box-shadow: var(--shadow-m);
  }
}

/* full-card click target without nesting interactive elements */
.card--link .card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card--flush { background: transparent; border: 0; box-shadow: none; padding: 0; }
.card--tint { background: var(--surface-tint-teal); border-color: rgba(14, 191, 170, 0.22); }
.card--tint-green { background: var(--surface-tint-green); border-color: rgba(92, 201, 60, 0.25); }

/* a thin brand rule along the top of a card */
.card--ruled { overflow: hidden; }
.card--ruled::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-bright);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: var(--sp-s);
  border-radius: var(--r-m);
  background: var(--surface-tint-teal);
  color: var(--teal-deep);
}
.card-icon svg { width: 28px; height: 28px; }
.card-icon--green { background: var(--surface-tint-green); color: var(--green-deep); }

/* ==========================================================================
   Feature list (ticks)
   ========================================================================== */

.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.tick-list li {
  position: relative;
  padding-left: 2rem;
  margin: 0;
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--surface-tint-green) var(--tick-mask) center / 0.8rem no-repeat;
  box-shadow: inset 0 0 0 1px rgba(52, 123, 36, 0.25);
}
:root {
  --tick-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5.2 5.2L20 7' fill='none' stroke='%23347b24' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tick-list--2 { }
@media (min-width: 720px) {
  .tick-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-m); }
}

/* ==========================================================================
   Numbered process steps
   ========================================================================== */

.steps { counter-reset: step; display: grid; gap: var(--sp-m); }
@media (min-width: 900px) {
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-l); }
}

.step { position: relative; counter-increment: step; padding-top: var(--sp-s); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: var(--step-2); }

/* connector rule between steps on wide screens */
@media (min-width: 900px) {
  .steps--3 .step::after {
    content: '';
    position: absolute;
    top: calc(var(--sp-s) + 0.5em);
    left: 3.6rem; right: -1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
  }
  .steps--3 .step:last-child::after { display: none; }
}

/* ==========================================================================
   Stat / figure strip
   ========================================================================== */

.pillars { display: grid; gap: var(--sp-m); }
@media (min-width: 880px) { .pillars--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-l); } }

.pillar { padding-left: var(--sp-m); border-left: 3px solid; border-image: var(--grad-bright) 1; }
.pillar h3 { font-size: var(--step-2); }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-m);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
}
.quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.75;
  height: 2rem;
  background: var(--grad-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote blockquote p { font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.85rem; }

.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: 0.03em;
}
.quote-name { font-weight: 800; color: var(--ink); display: block; line-height: 1.3; }
.quote-role { font-size: var(--step--1); color: var(--muted); display: block; line-height: 1.3; }

/* ==========================================================================
   Header & navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(43, 42, 61, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-m);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: 168px; height: 50px; object-fit: contain; }
@media (max-width: 420px) { .brand img { width: 136px; height: 41px; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 800;
  cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.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 { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-s);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.site-nav a:hover { background: var(--surface-tint-teal); color: var(--teal-deep); }
.site-nav a[aria-current='page'] {
  color: var(--teal-deep);
  background: var(--surface-tint-teal);
}
.nav-cta { margin-left: var(--sp-2xs); }

/* phone link in header */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--teal-deep); }
.header-phone svg { width: 18px; height: 18px; color: var(--teal-deep); }

/* The desktop nav needs ~864px of header row (brand + 5 links + CTA + phone).
   At 900px the container is only 836px, so the switch happens at 1024px, and
   the phone number joins the row only once there is comfortable room at 1120px. */
@media (max-width: 1023px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--sp-m) 1.25rem var(--sp-l);
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav-open .site-nav { transform: translateY(0); visibility: visible; }
  .nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a { padding: 0.85rem 0.9rem; font-size: var(--step-1); }
  .nav-cta { margin: var(--sp-s) 0 0; }
  .nav-cta .btn { width: 100%; }
}
.header-phone { display: none; }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; }
}
@media (min-width: 1120px) {
  .header-phone { display: inline-flex; }
}

/* Tap-to-call inside the nav panel, so the number is never unreachable on the
   widths where the header row has no space for it. */
.nav-phone a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.nav-phone svg { width: 18px; height: 18px; }
@media (min-width: 1120px) { .nav-phone { display: none; } }
@media (max-width: 1023px) {
  .nav-phone { margin-top: var(--sp-xs); border-top: 1px solid var(--line); padding-top: var(--sp-s); }
  .nav-phone a { font-size: var(--step-1); padding: 0.4rem 0.9rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 1.5rem + 6vw, 6.5rem) clamp(3.5rem, 2rem + 6vw, 7rem);
  background: var(--grad-wash);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 42rem; height: 42rem;
  top: -18rem; right: -14rem;
  background: radial-gradient(circle, rgba(0, 204, 179, 0.22), transparent 62%);
}
.hero::after {
  width: 34rem; height: 34rem;
  bottom: -20rem; left: -12rem;
  background: radial-gradient(circle, rgba(117, 215, 82, 0.2), transparent 62%);
}
.hero > .container { position: relative; z-index: 1; }

.hero h1 { margin-bottom: var(--sp-m); }
.hero .lede { max-width: 34rem; font-size: var(--step-2); }
.hero .btn-row { margin-top: var(--sp-l); }

.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--r-xl); }

.hero-trust {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: var(--sp-m);
  border-top: 1px solid rgba(43, 42, 61, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-s) var(--sp-l);
  align-items: center;
}
.hero-trust p { font-size: var(--step--1); font-weight: 700; color: var(--body); margin: 0; }

/* compact page hero for interior pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--grad-wash);
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 32rem; height: 32rem;
  top: -16rem; right: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 204, 179, 0.2), transparent 62%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: var(--sp-s); }
.page-hero .lede { max-width: 44rem; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumb { margin-bottom: var(--sp-s); font-size: var(--step--1); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb li + li::before { content: '/'; color: var(--muted); }
.breadcrumb a { color: var(--body); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { color: var(--teal-deep); text-decoration: underline; }
.breadcrumb [aria-current='page'] { color: var(--muted); }

/* ==========================================================================
   In-page section nav
   ========================================================================== */

.section-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.section-nav ul {
  list-style: none;
  display: flex;
  gap: var(--sp-2xs);
  margin: 0;
  padding: 0.6rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.section-nav li { margin: 0; flex: none; }
.section-nav a {
  display: block;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: var(--step--1);
  font-weight: 800;
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.section-nav a:hover { background: var(--surface-tint-teal); color: var(--teal-deep); }
.section-nav a.is-active { background: var(--ink); color: #fff; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-grid { display: grid; gap: var(--sp-m); }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-field--full { grid-column: 1 / -1; }
}

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 800; color: var(--ink); font-size: var(--step--1); }
.form-field .req { color: var(--green-deep); }
.form-field .hint { font-size: var(--step--1); color: var(--muted); font-weight: 400; }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-m);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-field textarea { min-height: 7rem; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); opacity: 1; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 4px rgba(14, 191, 170, 0.18);
}
.form-field input[aria-invalid='true'],
.form-field textarea[aria-invalid='true'] {
  border-color: #b4272b;
  box-shadow: 0 0 0 4px rgba(180, 39, 43, 0.12);
}

.field-error {
  font-size: var(--step--1);
  font-weight: 700;
  color: #96211f;
}
/* These are live regions and stay in the DOM; collapse them while empty. */
.field-error:empty { display: none; }
.form-status:empty { display: none; }

.form-status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-m);
  font-weight: 700;
  border: 1.5px solid;
}
.form-status.is-pending { background: var(--surface-alt); border-color: var(--line-strong); color: var(--body); }
.form-status.is-success { background: var(--surface-tint-green); border-color: rgba(52, 123, 36, 0.4); color: #275c1a; }
.form-status.is-error { background: #fdeeee; border-color: rgba(150, 33, 31, 0.35); color: #96211f; }

.form-footnote { font-size: var(--step--1); color: var(--muted); }

/* Honeypot: must be reachable by a scraping bot but never by a person, so it
   is taken out of flow rather than display:none (which some bots skip). It is
   aria-hidden and tabindex=-1, so assistive tech and keyboard users miss it. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { display: grid; gap: 0.75rem; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq details[open] { border-color: rgba(14, 191, 170, 0.4); box-shadow: var(--shadow-s); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-s);
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 1.4rem; height: 1.4rem;
  margin-top: 0.2em;
  border-radius: 50%;
  background: var(--surface-tint-teal) var(--plus-mask) center / 0.85rem no-repeat;
  transition: transform var(--dur) var(--ease);
}
:root {
  --plus-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23125a5c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--teal-deep); }

.faq-body { padding: 0 1.25rem 1.25rem; }
.faq-body > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Contact / footer
   ========================================================================== */

.contact-panel {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  padding: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-l);
}
@media (min-width: 960px) {
  .contact-panel { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-m); }
.contact-list li { display: flex; gap: 0.9rem; margin: 0; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--teal-deep); margin-top: 0.3em; }
.contact-list a { font-weight: 800; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-label { display: block; font-size: var(--step--1); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.site-footer {
  background: var(--surface-ink);
  color: var(--on-ink-soft);
  padding-block: var(--sp-2xl) var(--sp-m);
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: var(--step-1); }
.site-footer a { color: var(--on-ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--on-ink-accent); text-decoration: underline; }

.footer-grid { display: grid; gap: var(--sp-l); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-xl); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.footer-brand img {
  width: 190px; height: 57px;
  object-fit: contain;
  margin-bottom: var(--sp-s);
  /* the logo artwork is dark-on-transparent; lift it for the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-blurb { font-size: var(--step--1); max-width: 30ch; }

.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-list li { margin: 0; }

.footer-social { display: flex; gap: 0.6rem; margin-top: var(--sp-s); }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .footer-social a:hover { background: var(--teal-deep); transform: translateY(-2px); }
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-m);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs) var(--sp-m);
  justify-content: space-between;
  align-items: center;
  font-size: var(--step--1);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-s); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--grad-brand);
  color: #fff;
  text-align: center;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 24rem at 15% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(40rem 20rem at 95% 100%, rgba(117, 215, 82, 0.3), transparent 60%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.92); font-size: var(--step-1); max-width: 42rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-l); }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.45); }
.cta-band .btn--on-ink { --btn-bg: transparent; --btn-fg: #fff; }

/* ==========================================================================
   Prose (legal pages)
   ========================================================================== */

.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-3); margin-top: var(--sp-xl); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-2); margin-top: var(--sp-l); }
.prose ul, .prose ol { margin-bottom: var(--sp-m); }
.prose > p + p { margin-top: 0; }

.notice {
  padding: 1.1rem 1.3rem;
  background: var(--surface-tint-teal);
  border-left: 4px solid var(--teal-deep);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  font-size: var(--step--1);
}
.notice > :last-child { margin-bottom: 0; }

/* ==========================================================================
   404
   ========================================================================== */

.error-page { display: grid; place-items: center; text-align: center; padding-block: var(--sp-3xl); }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 12vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  background: var(--grad-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-s);
}

/* ==========================================================================
   Motion
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay='1'] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay='2'] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay='3'] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .site-header, .site-footer, .cta-band, .section-nav, .skip-link, .btn-row { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-hero, .section--tint, .section--alt { background: none !important; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 0.85em; }
}

/* ==========================================================================
   Brand motifs
   --------------------------------------------------------------------------
   1. The arch — lifted from the pitched roof in the Oggle Blox house mark and
      the domed sky in the estate illustration. Frames every illustration.
   2. The window dots — the 2x2 green squares inside the logo's house, reused
      as a small repeating accent.
   ========================================================================== */

.arch {
  --arch-radius: 50% 50% var(--r-l) var(--r-l) / 38% 38% var(--r-l) var(--r-l);
  position: relative;
  display: block;
  padding: 14px;
  background: var(--surface);
  border-radius: calc(var(--r-l) + 14px);
  border-radius: var(--arch-radius);
  box-shadow: var(--shadow-m);
}
.arch::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: var(--arch-radius);
  background: var(--grad-bright);
  z-index: -1;
  opacity: 0.55;
}
.arch img {
  width: 100%;
  border-radius: var(--arch-radius);
  background: var(--surface-tint-teal);
}
.arch--plain { box-shadow: var(--shadow-s); }
.arch--plain::before { display: none; }

/* a soft wash that sits behind an illustration without banding */
.media-wash { position: relative; isolation: isolate; }
.media-wash::after {
  content: '';
  position: absolute;
  z-index: -2;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(0, 204, 179, 0.18), transparent 62%);
  pointer-events: none;
}

/* ==========================================================================
   F.V.C.C. values — the acronym is the visual hook
   ========================================================================== */

.values { display: grid; gap: var(--sp-m); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-l); } }

.value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-s) var(--sp-m);
  align-items: start;
}
.value-letter {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.25rem);
  font-weight: 800;
  line-height: 0.82;
  color: var(--teal-deep);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  grid-row: span 2;
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .value-letter { -webkit-text-fill-color: var(--teal-deep); color: var(--teal-deep); }
}
.value h3 { font-size: var(--step-2); margin-bottom: 0.3rem; align-self: center; }
.value p { grid-column: 2; margin: 0; }

/* ==========================================================================
   Audience cards (who we work with)
   ========================================================================== */

.audience {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: var(--sp-m);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
.audience h3 { font-size: var(--step-1); margin: 0; }
.audience p { font-size: var(--step--1); margin: 0; }

/* ==========================================================================
   Service detail blocks
   ========================================================================== */

.service-block { scroll-margin-top: calc(var(--header-h) + 4rem); }
.service-block + .service-block { margin-top: var(--section-y); }

.service-head { display: flex; align-items: center; gap: var(--sp-m); margin-bottom: var(--sp-m); flex-wrap: wrap; }
.service-head h2 { margin: 0; }

.capability {
  padding: var(--sp-m) 0;
  border-top: 1px solid var(--line);
}
.capability:first-of-type { border-top: 0; padding-top: 0; }
.capability h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.capability p { margin: 0; }

@media (min-width: 820px) {
  .capability { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-l); align-items: start; }
}
