/* ==========================================================================
   Online Edge Limited: site styles
   Layered on Bootstrap 5.3. Mobile-first: base rules target small screens and
   min-width media queries add the larger layouts.

    1. Design tokens
    2. Base and typography
    3. Shared components (cut corner, tags, titles, buttons, links, icons)
    4. Navigation
    5. Hero
    6. Section shells and angled edges
    7. Budget leaks
    8. Services
    9. Method
   10. Playbooks
   11. About
   12. Contact
   13. Footer
   14. Motion and print
   ========================================================================== */


/* 1. Design tokens
   ========================================================================== */
:root {
  /* Brand palette */
  --oe-ink: #0F1226;
  --oe-ink-950: #090B19;
  --oe-paper: #F5F4EF;
  --oe-white: #FFFFFF;
  --oe-line: #E2E0D8;
  --oe-rule: rgba(15, 18, 38, .12);
  --oe-rule-dark: rgba(255, 255, 255, .12);
  --oe-heading: #0F1226;
  --oe-body: #363A52;
  --oe-muted: #5A5F77;
  --oe-muted-dark: #A9AECB;
  --oe-on-dark: #C3C7E0;
  --oe-volt: #C8F25A;
  --oe-volt-bright: #D9F98C;
  --oe-volt-deep: #B6E33F;
  --oe-violet: #6C5CFF;
  --oe-violet-ink: #5141E0;
  --oe-violet-soft: #F1EFFF;
  --oe-danger: #C42B45;
  --oe-success: #1C7C4D;
  --oe-input-border: #8A8FA6;

  /* Typography */
  --oe-font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --oe-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape: square corners, with the top-right corner cut (see section 3) */
  --oe-cut-sm: 10px;
  --oe-cut: 22px;
  --oe-cut-lg: clamp(26px, 3vw, 44px);

  /* Layout and motion */
  --oe-nav-h: 72px;
  --oe-section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --oe-edge-h: clamp(28px, 5vw, 72px);
  --oe-ease: cubic-bezier(.2, .7, .2, 1);
  --oe-focus: var(--oe-violet-ink);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--oe-font-body);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.65;
  --bs-body-color: var(--oe-body);
  --bs-body-color-rgb: 54, 58, 82;
  --bs-body-bg: var(--oe-paper);
  --bs-heading-color: var(--oe-heading);
  --bs-link-color: var(--oe-violet-ink);
  --bs-link-color-rgb: 81, 65, 224;
  --bs-link-hover-color: var(--oe-ink);
  --bs-link-hover-color-rgb: 15, 18, 38;
  --bs-border-color: var(--oe-line);
  --bs-secondary-color: var(--oe-muted);
  --bs-form-valid-color: var(--oe-success);
  --bs-form-valid-border-color: var(--oe-success);
  --bs-form-invalid-color: var(--oe-danger);
  --bs-form-invalid-border-color: var(--oe-danger);
}

@media (min-width: 992px) {
  :root { --bs-body-font-size: 1.0625rem; }
}


/* 2. Base and typography
   ========================================================================== */
html {
  scroll-padding-top: calc(var(--oe-nav-h) + 1rem);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--oe-font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}

p { text-wrap: pretty; }

::selection {
  background: var(--oe-volt);
  color: var(--oe-ink);
}

/* One consistent, high-contrast focus ring; dark areas switch it to lime. */
:focus-visible {
  outline: 3px solid var(--oe-focus);
  outline-offset: 3px;
}

main:focus { outline: none; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1100;
  padding: .7rem 1.1rem;
  background: var(--oe-volt);
  color: var(--oe-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--oe-ease);
}

.skip-link:focus {
  color: var(--oe-ink);
  transform: none;
}


/* 3. Shared components
   ========================================================================== */

/* The cut corner: panels, photos, tags, and buttons all trim the top-right
   corner at 45 degrees, the direction of the logo's arrow. Each component
   sets --cut to choose the size. */
.tag,
.btn::before,
.icon-tile,
.cut-frame > img,
.stage-card,
.loop-panel,
.loop-step-num,
.pb-col,
.brief-card,
.contact-icon {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

/* Section tag: a lime label in place of the usual eyebrow line */
.tag {
  --cut: 9px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: .42rem .9rem .4rem .7rem;
  background: var(--oe-volt);
  font-family: var(--oe-font-display);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oe-ink);
}

.section-head {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-head-center .section-intro { margin-inline: auto; }

.section-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.625rem);
  line-height: 1.04;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--oe-muted);
}

.lead-text {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--oe-body);
}

/* Highlighter band behind a phrase (light backgrounds) */
.hl-mark {
  padding: 0 .04em;
  background: linear-gradient(transparent 60%, var(--oe-volt) 60%, var(--oe-volt) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Lime phrase (dark backgrounds) */
.hl-volt { color: var(--oe-volt); }

/* Buttons: the fill lives on ::before so it can take the cut corner while
   the focus outline stays a full rectangle. */
.btn {
  --cut: var(--oe-cut-sm);
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-padding-y: .85rem;
  --bs-btn-font-family: var(--oe-font-display);
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-width: 0;
  --bs-btn-border-radius: 0;
  --bs-btn-bg: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-active-bg: transparent;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  letter-spacing: -.005em;
  transition: color .2s ease, transform .2s var(--oe-ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--oe-btn-fill);
  transition: background-color .2s ease;
}

.btn:hover::before { background: var(--oe-btn-fill-hover); }
.btn:active::before { background: var(--oe-btn-fill-active); }
.btn:hover { transform: translateY(-1px); }

.btn-lg {
  --cut: 12px;
  --bs-btn-padding-x: 1.65rem;
  --bs-btn-padding-y: 1rem;
  --bs-btn-font-size: 1.0625rem;
  min-height: 56px;
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
  transition: transform .25s var(--oe-ease);
}

.btn:hover .icon { transform: translateX(3px); }

.btn:focus-visible {
  outline: 3px solid var(--oe-focus);
  outline-offset: 3px;
  box-shadow: none;
}

.btn-volt {
  --oe-btn-fill: var(--oe-volt);
  --oe-btn-fill-hover: var(--oe-volt-bright);
  --oe-btn-fill-active: var(--oe-volt-deep);
  --bs-btn-color: var(--oe-ink);
  --bs-btn-hover-color: var(--oe-ink);
  --bs-btn-active-color: var(--oe-ink);
}

.btn-ink {
  --oe-btn-fill: var(--oe-ink);
  --oe-btn-fill-hover: var(--oe-violet-ink);
  --oe-btn-fill-active: #4232C8;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
}

.btn-ink .icon { color: var(--oe-volt); }

/* Secondary action: text with a lime band that fills in on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 .2rem;
  background: linear-gradient(var(--oe-volt), var(--oe-volt)) 0 calc(100% - 12px) / 100% 6px no-repeat;
  font-family: var(--oe-font-display);
  font-weight: 600;
  color: var(--oe-ink);
  text-decoration: none;
  transition: background-size .3s var(--oe-ease), color .2s ease;
}

.link-arrow:hover {
  background-size: 100% 24px;
  color: var(--oe-ink);
}

.link-arrow .icon {
  width: 1.15em;
  height: 1.15em;
  transition: transform .25s var(--oe-ease);
}

.link-arrow:hover .icon { transform: translate(2px, 1px); }

/* On dark grounds the band starts as a thin rule below the text */
.link-arrow-light {
  background-position: 0 calc(100% - 8px);
  background-size: 100% 2px;
  color: #fff;
}

.link-arrow-light:hover {
  background-size: 100% 28px;
  color: var(--oe-ink);
}

/* Line icons from the inline sprite */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-tile {
  --cut: 8px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--oe-ink);
  color: var(--oe-volt);
  transition: background-color .3s var(--oe-ease), color .3s var(--oe-ease);
}

.icon-tile .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-tile-sm {
  --cut: 7px;
  width: 2.5rem;
  height: 2.5rem;
}

.icon-tile-sm .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Photos: a cut frame with a lime tab tucked into the missing corner */
.cut-frame {
  --cut: var(--oe-cut-lg);
  position: relative;
  margin: 0;
}

.cut-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cut-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: calc(var(--cut) - 7px);
  height: calc(var(--cut) - 7px);
  background: var(--oe-volt);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}


/* 4. Navigation
   ========================================================================== */
.site-nav {
  --bs-navbar-padding-y: .75rem;
  --bs-navbar-color: var(--oe-body);
  --bs-navbar-hover-color: var(--oe-ink);
  --bs-navbar-active-color: var(--oe-ink);
  --bs-navbar-brand-color: var(--oe-ink);
  --bs-navbar-brand-hover-color: var(--oe-ink);
  --bs-navbar-nav-link-padding-x: .8rem;
  min-height: var(--oe-nav-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}

.site-nav.is-scrolled,
.site-nav.is-open {
  background-color: rgba(245, 244, 239, .94);
  box-shadow: 0 1px 0 var(--oe-rule);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.site-nav.is-open { background-color: var(--oe-paper); }

/* Brand lockup (also used in the footer) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 0;
  margin-right: 1rem;
  color: var(--oe-ink);
  text-decoration: none;
}

.brand:hover,
.brand:focus { color: var(--oe-ink); }

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--oe-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-suffix {
  margin-top: .32rem;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--oe-muted);
}

/* Toggle: three bars that morph into a close icon */
.nav-toggle {
  display: inline-grid;
  place-content: center;
  gap: 5px;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(15, 18, 38, .22);
  border-radius: 0;
}

.nav-toggle:focus { box-shadow: none; }

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--oe-ink);
  transition: transform .3s var(--oe-ease), opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu (base) */
.site-nav .navbar-collapse {
  max-height: calc(100vh - var(--oe-nav-h));
  max-height: calc(100dvh - var(--oe-nav-h));
  overflow-y: auto;
}

.site-nav .navbar-nav {
  margin-top: .75rem;
  border-top: 1px solid var(--oe-rule);
}

.site-nav .nav-link {
  padding: .9rem .9rem;
  border-bottom: 1px solid var(--oe-rule);
  font-size: 1.125rem;
  font-weight: 500;
}

.site-nav .nav-link.active {
  font-weight: 600;
  color: var(--oe-ink);
  box-shadow: inset 4px 0 0 var(--oe-volt-deep);
}

.nav-cta {
  width: 100%;
  margin: 1.25rem 0 1rem;
}

/* Desktop menu: links sit right, next to the call to action */
@media (min-width: 992px) {
  .site-nav .navbar-collapse {
    max-height: none;
    overflow: visible;
  }

  .site-nav .navbar-nav {
    gap: .15rem;
    margin-top: 0;
    border-top: 0;
  }

  .site-nav .nav-link {
    position: relative;
    z-index: 0;
    padding: .5rem var(--bs-navbar-nav-link-padding-x);
    border-bottom: 0;
    font-size: .96rem;
  }

  /* Highlighter band behind the link text */
  .site-nav .nav-link::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: calc(var(--bs-navbar-nav-link-padding-x) - .15rem);
    right: calc(var(--bs-navbar-nav-link-padding-x) - .15rem);
    bottom: .7rem;
    height: .5rem;
    background: var(--oe-volt);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--oe-ease);
  }

  .site-nav .nav-link:hover::after,
  .site-nav .nav-link.active::after { transform: scaleX(1); }

  .site-nav .nav-link.active { box-shadow: none; }

  .nav-cta {
    width: auto;
    margin: 0 0 0 1.25rem;
  }
}


/* 5. Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--oe-nav-h) + clamp(2.5rem, 1rem + 5vw, 5.5rem));
  background: var(--oe-paper);
}

/* Faint grid, fading out from the top-right */
.hero-grid {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 75%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 18, 38, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 18, 38, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 85% 15%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 65% 75% at 85% 15%, #000 10%, transparent 70%);
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

.hero-kicker .tag { margin: 0; }

.hero-kicker-text {
  font-family: var(--oe-font-display);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--oe-muted);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.75rem, 1.25rem + 5.8vw, 6rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.05em;
  color: var(--oe-ink);
  text-wrap: balance;
}

.hero-lead {
  max-width: 36rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
}

@media (max-width: 575.98px) {
  .hero-actions .btn { width: 100%; }
}

.hero-stage {
  position: relative;
  margin-top: clamp(2.75rem, 2rem + 3vw, 4.5rem);
}

.hero-stage > .container {
  position: relative;
  z-index: 1;
}

.hero-frame { aspect-ratio: 4 / 3; }

/* Ink rises behind the photo's lower half at the same angle as the section
   edges, then runs on under the spec strip. The hero clips the overflow. */
.hero-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 2400px;
  transform: translateX(-50%);
  background: var(--oe-ink);
  clip-path: polygon(0 var(--oe-edge-h), 100% 0, 100% 100%, 0 100%);
}

.hero-frame > img { object-position: 50% 42%; }

/* Spec strip under the photo */
.hero-ledger {
  display: grid;
  margin: 0;
  padding-top: 1.5rem;
}

.hero-ledger > div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--oe-rule-dark);
}

.hero-ledger dt {
  margin-bottom: .35rem;
  font-family: var(--oe-font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oe-volt);
}

.hero-ledger dd {
  margin: 0;
  font-family: var(--oe-font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

@media (min-width: 576px) {
  .hero-ledger {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-frame { aspect-ratio: 16 / 9; }
}

@media (min-width: 992px) {
  .hero-frame { aspect-ratio: 2.35 / 1; }

  .hero-ledger {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 0;
    padding-top: 2.25rem;
  }

  .hero-ledger > div {
    padding: .25rem 1.5rem;
    border-bottom: 0;
    border-left: 1px solid var(--oe-rule-dark);
  }

  .hero-ledger > div:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

/* Wide screens: the intro moves beside the headline, bottoms aligned */
@media (min-width: 1200px) {
  .hero-aside { padding-bottom: .35rem; }
}


/* 6. Section shells and angled edges
   ========================================================================== */
.section {
  position: relative;
  isolation: isolate;
  padding-block: var(--oe-section-y);
}

.section > .container {
  position: relative;
  z-index: 2;
}

.section-paper { background: var(--oe-paper); }
.section-white { background: var(--oe-white); }

.section-dark {
  --oe-focus: var(--oe-volt);
  --bs-heading-color: #fff;
  background: var(--oe-ink);
  color: var(--oe-muted-dark);
}

.section-dark .section-intro { color: var(--oe-muted-dark); }

/* Soft glows, clipped to the section so they never cause horizontal scroll */
.section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-bg::before,
.section-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.section-bg::before {
  top: 5%;
  right: -20%;
  width: 70vw;
  max-width: 820px;
  height: 70vw;
  max-height: 820px;
  background: radial-gradient(closest-side, rgba(108, 92, 255, .24), transparent);
}

.section-bg::after {
  left: -15%;
  bottom: 0;
  width: 55vw;
  max-width: 640px;
  height: 55vw;
  max-height: 640px;
  background: radial-gradient(closest-side, rgba(200, 242, 90, .07), transparent);
}

/* Angled transitions: a wedge in the neighboring section's color.
   Every edge rises to the right, echoing the logo's arrow. */
.section.edge-top { padding-top: calc(var(--oe-section-y) + var(--oe-edge-h) * .6); }
.section.edge-bottom { padding-bottom: calc(var(--oe-section-y) + var(--oe-edge-h) * .6); }

.edge-top::before,
.edge-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: var(--oe-edge-h);
  pointer-events: none;
}

.edge-top::before {
  top: -1px;
  background: var(--oe-edge-top, var(--oe-white));
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.edge-bottom::after {
  bottom: -1px;
  background: var(--oe-edge-bottom, var(--oe-paper));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.edge-bottom-white { --oe-edge-bottom: var(--oe-white); }


/* 7. Budget leaks
   ========================================================================== */
.leaks-section { --leak-cols: 3.25rem minmax(0, 1fr) 2.5rem minmax(0, 1.05fr); }

/* Column headings, shown once the rows sit side by side */
.leaks-cols { display: none; }

.leaks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.leak {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--oe-rule-dark);
}

.leak:last-child { border-bottom: 1px solid var(--oe-rule-dark); }

.leak-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(200, 242, 90, .5);
  font-family: var(--oe-font-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--oe-volt);
  transition: background-color .3s var(--oe-ease), color .3s var(--oe-ease);
}

.leak:hover .leak-num {
  background: var(--oe-volt);
  color: var(--oe-ink);
}

.leak-title {
  margin: .3rem 0 .4rem;
  font-size: 1.25rem;
  color: #fff;
}

.leak-problem p {
  margin: 0;
  color: var(--oe-muted-dark);
}

.leak-arrow { display: none; }

.leak-fix {
  grid-column: 2;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--oe-volt);
  background: rgba(200, 242, 90, .06);
}

.leak-fix p {
  margin: 0;
  color: #E3E5F3;
}

.leak-fix-label {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--oe-font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oe-volt);
}

.leaks-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 2.5rem;
}

.leaks-foot p {
  max-width: 38rem;
  margin: 0;
  color: var(--oe-on-dark);
}

@media (min-width: 992px) {
  .leaks-cols {
    display: grid;
    grid-template-columns: var(--leak-cols);
    column-gap: 1.75rem;
    padding-bottom: .9rem;
    font-family: var(--oe-font-display);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--oe-muted-dark);
  }

  .leaks-cols span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
  }

  .leaks-cols .icon {
    width: 1rem;
    height: 1rem;
    color: var(--oe-volt);
  }

  .leak {
    grid-template-columns: var(--leak-cols);
    column-gap: 1.75rem;
    align-items: start;
    padding: 1.9rem 0;
    transition: background-color .3s ease;
  }

  .leak:hover { background: rgba(255, 255, 255, .025); }

  .leak-num {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1rem;
  }

  .leak-title { margin-top: .5rem; }

  .leak-arrow {
    display: block;
    margin-top: .85rem;
    color: var(--oe-volt);
    transition: transform .3s var(--oe-ease);
  }

  .leak:hover .leak-arrow { transform: translateX(4px); }

  .leak-fix {
    grid-column: auto;
    padding: .55rem 0 0;
    border-left: 0;
    background: none;
  }

  .leak-fix p { font-size: 1.0625rem; }

  /* The column heading already names this; keep it for screen readers only */
  .leak-fix-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .leaks-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}


/* 8. Services
   ========================================================================== */
.services-head { margin-bottom: clamp(3rem, 2.5rem + 2.5vw, 5rem); }

.services-frame { aspect-ratio: 3 / 2; }

/* Three stages, two services each; the stages darken toward the sale */
.stages {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage { position: relative; }

.stage-card {
  --cut: var(--oe-cut);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  background: var(--oe-paper);
}

.stage-2 .stage-card { background: var(--oe-violet-soft); }

.stage-3 .stage-card {
  --oe-focus: var(--oe-volt);
  background: var(--oe-ink);
}

.stage-label {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  margin: 0 0 .5rem;
}

/* Outlined stage number */
.stage-num {
  font-family: var(--oe-font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--oe-ink);
}

.stage-name {
  font-family: var(--oe-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--oe-heading);
}

.stage-sub {
  margin: 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--oe-rule);
  color: var(--oe-muted);
}

.svc { padding-top: 1.4rem; }

.svc + .svc {
  margin-top: 1.4rem;
  border-top: 1px dashed rgba(15, 18, 38, .18);
}

.svc-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .75rem;
}

.svc-title {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.25;
}

.svc p {
  margin-bottom: .85rem;
  font-size: .96875rem;
  color: var(--oe-muted);
}

.svc .svc-includes {
  margin: 0;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--oe-body);
}

.svc-includes span {
  margin-right: .55rem;
  font-family: var(--oe-font-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--oe-violet-ink);
}

.svc:hover .icon-tile {
  background: var(--oe-volt);
  color: var(--oe-ink);
}

/* Final stage on ink */
.stage-3 .stage-num { -webkit-text-stroke-color: var(--oe-volt); }
.stage-3 .stage-name,
.stage-3 .svc-title { color: #fff; }
.stage-3 .stage-sub { border-color: var(--oe-rule-dark); color: var(--oe-muted-dark); }
.stage-3 .svc + .svc { border-color: rgba(255, 255, 255, .16); }
.stage-3 .svc p { color: var(--oe-muted-dark); }
.stage-3 .svc .svc-includes { color: var(--oe-on-dark); }
.stage-3 .svc-includes span { color: var(--oe-volt); }

.stage-3 .icon-tile {
  background: var(--oe-volt);
  color: var(--oe-ink);
}

.stage-3 .svc:hover .icon-tile {
  background: #fff;
  color: var(--oe-ink);
}

.stage-arrow { display: none; }

@media (min-width: 992px) {
  .stages {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* Arrow badge centered in the gap between two stages */
  .stage-arrow {
    position: absolute;
    top: 2.1rem;
    right: -2rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--oe-volt);
    box-shadow: 0 0 0 6px var(--oe-white);
    color: var(--oe-ink);
  }

  .stage-arrow .icon {
    width: 1.15rem;
    height: 1.15rem;
    stroke-width: 2.25;
  }
}


/* 9. Method
   ========================================================================== */
.method-phase {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 2.75rem 0 1.5rem;
  font-family: var(--oe-font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oe-volt);
}

.method-phase::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--oe-rule-dark);
}

/* Before launch: lettered steps joined by a dashed line */
.setup {
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1.1rem;
  padding-bottom: 1.75rem;
}

.setup-step:last-child { padding-bottom: 0; }

.setup-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  bottom: 0;
  left: calc(1.25rem - .5px);
  border-left: 1px dashed rgba(200, 242, 90, .45);
}

.setup-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--oe-volt);
  font-family: var(--oe-font-display);
  font-weight: 700;
  color: var(--oe-volt);
}

.setup-step h3 {
  margin: .4rem 0 .35rem;
  font-size: 1.1875rem;
}

.setup-step p {
  margin: 0;
  color: var(--oe-muted-dark);
}

/* After launch: the loop panel */
.loop-panel {
  --cut: var(--oe-cut-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(108, 92, 255, .32), transparent 60%),
    linear-gradient(160deg, #1B1F45, #12152E);
}

.loop-panel .method-phase { margin: 0 0 .75rem; }

.loop-title {
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

/* Ring on top, the four steps beneath it */
.loop-grid {
  display: grid;
  gap: 2.25rem;
  margin-block: auto;
}

.loop-svg {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: auto;
  margin-inline: auto;
}

.loop-track {
  fill: none;
  stroke: rgba(255, 255, 255, .2);
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
}

.loop-arrows path {
  fill: none;
  stroke: var(--oe-volt);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loop-comet {
  transform-origin: 160px 160px;
  fill: #fff;
}

.loop-node circle { fill: var(--oe-volt); }

.loop-node text {
  font-family: var(--oe-font-display);
  font-size: 13px;
  font-weight: 700;
  fill: var(--oe-ink);
  text-anchor: middle;
  dominant-baseline: central;
}

.loop-center {
  font-family: var(--oe-font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
  fill: #fff;
  text-anchor: middle;
}

.loop-center-sub {
  font-family: var(--oe-font-body);
  font-size: 12px;
  fill: var(--oe-muted-dark);
  text-anchor: middle;
}

.loop-steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.loop-step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .9rem;
}

.loop-step-num {
  --cut: 6px;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--oe-volt);
  font-family: var(--oe-font-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--oe-ink);
}

.loop-step-title {
  margin: .2rem 0 .2rem;
  font-size: 1.0625rem;
}

.loop-step p {
  margin: 0;
  font-size: .9375rem;
  color: var(--oe-muted-dark);
}

/* What every report answers */
.report-qs {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--oe-rule-dark);
}

.report-qs-label {
  margin: 0;
  font-family: var(--oe-font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oe-volt);
}

.report-qs-list {
  display: grid;
  gap: .9rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: q;
}

.report-qs-list li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  counter-increment: q;
  font-family: var(--oe-font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}

.report-qs-list li::before {
  content: "Q" counter(q);
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--oe-volt);
}

@media (min-width: 576px) {
  .loop-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .report-qs-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .report-qs {
    grid-template-columns: 11rem 1fr;
    align-items: start;
    gap: 2rem;
  }

  .report-qs-label { padding-top: .2rem; }

  .report-qs-list { grid-template-columns: repeat(5, 1fr); }

  .report-qs-list li {
    flex-direction: column;
    gap: .4rem;
  }
}


/* 10. Playbooks
   ========================================================================== */

/* Small screens: two stacked playbooks, each with its own row labels */
.pb {
  display: grid;
  gap: 1.25rem;
}

.pb-labels { display: none; }

.pb-col {
  --cut: var(--oe-cut);
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  background: var(--oe-white);
}

.pb-col-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--oe-ink);
}

.pb-col-title {
  margin: 0 0 .15rem;
  font-size: 1.375rem;
}

.pb-col-sub {
  margin: 0;
  font-size: .875rem;
  color: var(--oe-muted);
}

.pb-col-store .icon-tile {
  background: var(--oe-violet-ink);
  color: #fff;
}

.pb-list { margin: 0; }

.pb-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--oe-line);
}

.pb-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pb-item dt {
  margin-bottom: .35rem;
  font-family: var(--oe-font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--oe-violet-ink);
}

.pb-item dd {
  margin: 0;
  color: var(--oe-body);
}

.pb-note {
  max-width: 40rem;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--oe-muted);
}

/* Large screens: one comparison grid. Subgrid keeps each row level across
   the label column and both playbooks. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 992px) {
    .pb {
      grid-template-columns: 12.5rem 1fr 1fr;
      grid-template-rows: auto repeat(5, auto);
      column-gap: 1.5rem;
      row-gap: 0;
    }

    .pb-labels,
    .pb-col {
      display: grid;
      grid-row: 1 / -1;
      grid-template-rows: subgrid;
    }

    .pb-list {
      display: grid;
      grid-row: 2 / -1;
      grid-template-rows: subgrid;
    }

    .pb-label-head {
      align-self: end;
      padding-bottom: 1.25rem;
      border-bottom: 2px solid var(--oe-ink);
      font-family: var(--oe-font-display);
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--oe-muted);
    }

    .pb-label {
      padding: 1.1rem 0;
      border-bottom: 1px solid var(--oe-rule);
      font-family: var(--oe-font-display);
      font-weight: 600;
      line-height: 1.35;
      color: var(--oe-heading);
    }

    .pb-label:last-child { border-bottom: 0; }

    /* The label column names each row; keep the terms for screen readers */
    .pb-item dt {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: -1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
  }
}


/* 11. About
   ========================================================================== */
.about-top {
  max-width: 64rem;
  margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
}

.statement {
  margin: 0;
  font-size: clamp(2.125rem, 1.2rem + 3.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.statement-muted { color: var(--oe-muted); }

.about-frame { aspect-ratio: 4 / 3; }

.about-frame > img { object-position: 50% 32%; }

.mission-row {
  display: grid;
  gap: .5rem;
  margin: 2rem 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 2px solid var(--oe-ink);
  border-bottom: 1px solid var(--oe-line);
}

.mission-label {
  margin: .2rem 0 0;
  font-family: var(--oe-font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oe-violet-ink);
}

.mission-text {
  margin: 0;
  font-family: var(--oe-font-display);
  font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--oe-heading);
}

.rules-title {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.rules {
  display: grid;
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule {
  padding-top: 1rem;
  border-top: 1px solid var(--oe-line);
}

.rule-num {
  display: block;
  margin-bottom: .4rem;
  font-family: var(--oe-font-display);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--oe-violet-ink);
}

.rule-title {
  margin-bottom: .35rem;
  font-size: 1.0625rem;
}

.rule p {
  margin: 0;
  font-size: .9375rem;
  color: var(--oe-muted);
}

@media (min-width: 576px) {
  .rules { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .mission-row {
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .about-frame { aspect-ratio: 4 / 5; }
}


/* 12. Contact
   ========================================================================== */
.contact-head {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}

.brief-card {
  --cut: var(--oe-cut-lg);
  --oe-focus: var(--oe-violet-ink);
  background: var(--oe-white);
  color: var(--oe-body);
}

.brief-body {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}

.brief-title {
  margin-bottom: .4rem;
  font-size: 1.5rem;
  color: var(--oe-heading);
}

.brief-note {
  margin: 0;
  font-size: .9375rem;
  color: var(--oe-muted);
}

/* The sentence: labels and blanks share one line of large type */
.brief-line {
  margin: 0 0 .75rem;
  font-family: var(--oe-font-display);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: -.01em;
  color: var(--oe-heading);
}

.brief-form .brief-input {
  display: inline-block;
  width: 100%;
  min-height: 0;
  padding: .05em .3em;
  border: 0;
  border-bottom: 2px solid var(--oe-input-border);
  border-radius: 0;
  background-color: transparent;
  font: inherit;
  line-height: 1.35;
  color: var(--oe-violet-ink);
  vertical-align: baseline;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

/* Leave room for the full stop that follows these two blanks */
.brief-form .brief-input-email,
.brief-form .brief-input-subject { width: calc(100% - .45em); }

.brief-form .brief-input::placeholder {
  font-weight: 400;
  color: #6B7088;
  opacity: 1;
}

.brief-form .brief-input:hover { border-bottom-color: var(--oe-muted); }

.brief-form .brief-input:focus {
  border-bottom-color: var(--oe-violet-ink);
  background-color: var(--oe-violet-soft);
  box-shadow: 0 2px 0 var(--oe-violet-ink);
  outline: none;
}

.was-validated .brief-input:invalid {
  border-bottom-color: var(--oe-danger);
  padding-right: .3em;
  background-image: none;
}

.was-validated .brief-input:valid {
  border-bottom-color: var(--oe-success);
  padding-right: .3em;
  background-image: none;
}

.was-validated .brief-input:invalid:focus {
  background-color: #FDF0F2;
  box-shadow: 0 2px 0 var(--oe-danger);
}

.was-validated .brief-input:valid:focus {
  background-color: #EDF8E4;
  box-shadow: 0 2px 0 var(--oe-success);
}

/* Errors for the three blanks collect under the sentence */
.brief-errors {
  display: grid;
  gap: .3rem;
}

.brief-form .invalid-feedback {
  margin: 0;
  font-size: .875rem;
  font-weight: 500;
}

.brief-errors .invalid-feedback:not(:empty) { display: block; }

.brief-message { margin-top: 1.75rem; }

.brief-message label {
  display: block;
  margin-bottom: .75rem;
  font-family: var(--oe-font-display);
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--oe-heading);
}

.brief-form textarea.form-control {
  min-height: 9rem;
  padding: .9rem 1rem;
  border: 1px solid var(--oe-input-border);
  border-radius: 0;
  background-color: #FCFCFA;
  font-size: 1rem;
  color: var(--oe-heading);
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.brief-form textarea.form-control::placeholder {
  color: #6B7088;
  opacity: 1;
}

.brief-form textarea.form-control:hover { border-color: var(--oe-muted); }

.brief-form textarea.form-control:focus {
  border-color: var(--oe-violet-ink);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(108, 92, 255, .2);
  outline: none;
}

.was-validated textarea.form-control:invalid:focus { box-shadow: 0 0 0 4px rgba(196, 43, 69, .18); }
.was-validated textarea.form-control:valid:focus { box-shadow: 0 0 0 4px rgba(28, 124, 77, .18); }

.brief-message .form-text {
  margin: .5rem 0 0;
  font-size: .875rem;
  color: var(--oe-muted);
}

.brief-message .invalid-feedback { margin-top: .4rem; }

.brief-submit {
  width: 100%;
  margin-top: 1.75rem;
}

/* Contact details along the bottom of the card */
.brief-contacts {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--oe-line);
  background: var(--oe-paper);
}

.brief-contacts li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.25rem clamp(1.5rem, 1rem + 3vw, 3.5rem);
}

.brief-contacts li + li { border-top: 1px solid var(--oe-line); }

.contact-icon {
  --cut: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--oe-ink);
  color: var(--oe-volt);
}

.contact-icon .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-label {
  display: block;
  font-family: var(--oe-font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--oe-muted);
}

.contact-value {
  display: block;
  margin-top: .15rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--oe-heading);
  overflow-wrap: anywhere;
}

/* Result message (Bootstrap .alert with brand variants) */
.form-status:not(:empty) { margin-top: 1.25rem; }

.form-alert {
  display: flex;
  gap: .8rem;
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 0;
  font-size: .9375rem;
  line-height: 1.5;
}

.form-alert .icon {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: .05rem;
}

.form-alert strong {
  display: block;
  margin-bottom: .15rem;
  font-family: var(--oe-font-display);
  font-size: 1rem;
}

.form-alert p { margin: 0; }

.alert-oe-success {
  --bs-alert-color: #174A2D;
  --bs-alert-bg: #EDF8E4;
  --bs-alert-border-color: #BFE3A6;
}

.alert-oe-error {
  --bs-alert-color: #7A1628;
  --bs-alert-bg: #FDF0F2;
  --bs-alert-border-color: #F1C1CB;
}

@media (min-width: 576px) {
  .brief-form .brief-input-name { width: 10.5em; }
  .brief-form .brief-input-email { width: 11.5em; }
  .brief-form .brief-input-subject { width: 14em; }

  .brief-submit { width: auto; }
}

@media (min-width: 992px) {
  .brief-body {
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 3.5rem;
  }

  /* Each phrase travels with its blank, so the sentence breaks between clauses */
  .brief-clause { white-space: nowrap; }

  .brief-intro { padding-top: .6rem; }

  /* Email and phone share a row; the office address takes the next one */
  .brief-contacts { grid-template-columns: 1fr 1fr; }

  .brief-contacts li + li {
    border-top: 0;
    border-left: 1px solid var(--oe-line);
  }

  .brief-contacts li:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--oe-line);
    border-left: 0;
  }
}

/* Small laptops: a slightly smaller sentence keeps every clause on one line */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .brief-line { font-size: 1.5rem; }
}

@media (min-width: 1200px) {
  .brief-contacts { grid-template-columns: 1.25fr .8fr 1.45fr; }

  .brief-contacts li {
    padding-block: 1.5rem;
    padding-inline: 1.75rem;
  }

  .brief-contacts li:first-child { padding-left: clamp(1.5rem, 1rem + 3vw, 3.5rem); }

  .brief-contacts li:last-child {
    grid-column: auto;
    border-top: 0;
    border-left: 1px solid var(--oe-line);
  }
}


/* 13. Footer
   ========================================================================== */
.site-footer {
  --oe-focus: var(--oe-volt);
  padding: clamp(4rem, 3rem + 4vw, 6rem) 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: var(--oe-ink-950);
  color: var(--oe-muted-dark);
}

.site-footer .brand,
.site-footer .brand:hover,
.site-footer .brand:focus { color: #fff; }

.site-footer .brand-suffix { color: var(--oe-muted-dark); }

.footer-statement {
  max-width: 14ch;
  margin: 1.75rem 0;
  font-family: var(--oe-font-display);
  font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: #fff;
}

.footer-heading {
  margin-bottom: 1rem;
  font-family: var(--oe-font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
}

.footer-links a {
  display: inline-block;
  padding: .35rem 0;
  color: var(--oe-muted-dark);
  text-decoration: none;
  transition: color .2s ease, transform .25s var(--oe-ease);
}

.footer-links a:hover {
  color: var(--oe-volt);
  transform: translateX(3px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .35rem 0;
}

.footer-contact .icon {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .2rem;
  color: var(--oe-volt);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}

.footer-bottom p { margin: 0; }

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}

.back-to-top:hover { color: var(--oe-volt); }

.back-to-top .icon {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform .25s var(--oe-ease);
}

.back-to-top:hover .icon { transform: translateY(-3px); }

@media (min-width: 992px) {
  .site-footer .row > nav { padding-top: .35rem; }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}


/* 14. Motion and print
   ========================================================================== */

/* Reveal-on-scroll; main.js only adds these classes to content below the fold. */
.reveal-pending {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-in {
  transition: opacity .8s var(--oe-ease), transform .8s var(--oe-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="1"] { --reveal-delay: 90ms; }
[data-reveal="2"] { --reveal-delay: 180ms; }
[data-reveal="3"] { --reveal-delay: 270ms; }

@media (prefers-reduced-motion: no-preference) {
  /* A dot travels round the optimization loop */
  .loop-comet { animation: oe-orbit 14s linear infinite; }
}

@keyframes oe-orbit {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

@media print {
  .site-nav { display: none !important; }

  .reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }
}
