/* ==========================================================================
   BUSINESS SHOPIE — Core Stylesheet
   --------------------------------------------------------------------------
   HOW TO EDIT THE LOOK:
   Almost everything you'd want to change lives in the :root token block below.
   • Colours   -> --navy, --emerald, --slate, --mist ...
   • Fonts     -> --font-display, --font-sans
   • Roundness -> --r-sm ... --r-xl
   • Spacing   -> --section-y (vertical breathing room between sections)
   Change a value once here and it updates everywhere on every page.
   ========================================================================== */

:root {
  /* ---- Brand colours (from the official brand sheet) ---- */
  --navy:          #11324D;   /* Deep navy — primary text + dark sections   */
  --navy-deep:     #0C2840;   /* Richer navy for layered dark panels        */
  --navy-900:      #07223A;   /* Deepest navy — gradient ends / footer      */
  --emerald:       #0EA47A;   /* Growth emerald — primary accent            */
  --emerald-bright:#1FBE93;   /* Brighter emerald — accents on dark         */
  --slate:         #5B7185;   /* Slate grey — muted body text               */
  --slate-light:   #93A6B7;   /* Lighter slate — muted text on dark         */
  --mist:          #F4F7FA;   /* Mist — soft light section background       */
  --paper:         #FFFFFF;   /* White                                      */

  /* ---- Derived / utility colours ---- */
  --ink:           var(--navy);
  --emerald-soft:  rgba(14, 164, 122, 0.08);
  --emerald-line:  rgba(14, 164, 122, 0.35);
  --line:          rgba(17, 50, 77, 0.12);   /* hairlines on light          */
  --line-strong:   rgba(17, 50, 77, 0.18);
  --line-dark:     rgba(255, 255, 255, 0.14);/* hairlines on navy           */
  --halo:          rgba(31, 190, 147, 0.18); /* emerald glow                */

  /* ---- Typography ---- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:    "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- Radius ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* ---- Shadows (soft, navy-tinted) ---- */
  --shadow-sm: 0 1px 2px rgba(11, 36, 58, 0.06), 0 2px 8px rgba(11, 36, 58, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 36, 58, 0.08), 0 2px 8px rgba(11, 36, 58, 0.05);
  --shadow-lg: 0 30px 60px rgba(7, 34, 58, 0.16), 0 8px 20px rgba(7, 34, 58, 0.08);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t-med:  0.4s;
  --t-slow: 0.7s;

  /* ---- Layout ---- */
  --container: 1240px;
  --container-narrow: 960px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* offset for sticky header on anchor jumps */
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--emerald); color: #fff; }

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 470;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}

.display-xl {
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.1rem);
  font-weight: 460;
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.display-lg {
  font-size: clamp(2.2rem, 1.5rem + 3.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.display-md {
  font-size: clamp(1.8rem, 1.35rem + 2vw, 2.9rem);
  line-height: 1.08;
}

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.12rem, 1.04rem + 0.45vw, 1.4rem);
  line-height: 1.6;
  color: var(--slate);
  font-weight: 400;
}

.accent { color: var(--emerald); }
.serif-italic { font-style: italic; }

/* Eyebrow — small tracked label with an emerald tick. A recurring brand mark. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-bright));
  border-radius: 2px;
}
.eyebrow.is-light { color: var(--emerald-bright); }
.eyebrow.is-center { justify-content: center; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* Background variants (kept on a separate axis from .section spacing) */
.bg-mist  { background: var(--mist); }
.bg-paper { background: var(--paper); }
.bg-navy  {
  background: radial-gradient(120% 140% at 80% 0%, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: #fff;
}
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .lead { color: var(--slate-light); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate); }
.bg-navy .section-head p { color: var(--slate-light); }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--emerald);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  box-shadow: 0 6px 18px rgba(14, 164, 122, 0.28);
  will-change: transform;
}
.btn .arrow { transition: transform var(--t-med) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14, 164, 122, 0.34); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

/* Outline / ghost on dark */
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

/* Outline on light */
.btn-line {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-line:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Quiet text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--emerald);
  transition: gap var(--t-fast) var(--ease);
}
.link-arrow .arrow { transition: transform var(--t-med) var(--ease); }
.link-arrow:hover { gap: 0.7rem; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 58px; width: auto; transition: opacity var(--t-med) var(--ease); }
.brand .logo-light { position: absolute; }   /* white logo over navy hero    */
.brand .logo-dark  { opacity: 0; }            /* navy logo, shown when scrolled */

/* Default (top of page, over navy hero): transparent header, white logo */
.site-header .nav-link { color: rgba(255, 255, 255, 0.82); }
.site-header .nav-cta  { color: #fff; }
.site-header .nav-toggle span { background: #fff; }

/* Scrolled state: solid white header, navy logo, dark links */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}
.site-header.scrolled .logo-light { opacity: 0; }
.site-header.scrolled .logo-dark  { opacity: 1; }
.site-header.scrolled .nav-link { color: var(--slate); }
.site-header.scrolled .nav-cta  { color: var(--navy); }
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* Pages without a dark hero start in the solid state immediately */
.site-header.solid {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-color: var(--line);
}
.site-header.solid .logo-light { opacity: 0; }
.site-header.solid .logo-dark  { opacity: 1; }
.site-header.solid .nav-link { color: var(--slate); }
.site-header.solid .nav-cta  { color: var(--navy); }
.site-header.solid .nav-toggle span { background: var(--navy); }

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); }
.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  transition: color var(--t-fast) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover,
.nav-link.active { color: var(--emerald); }
.site-header:not(.scrolled):not(.solid) .nav-link:hover,
.site-header:not(.scrolled):not(.solid) .nav-link.active { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--emerald);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(14, 164, 122, 0.28);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14, 164, 122, 0.36); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  padding: 10px;
}
.nav-toggle span {
  height: 2px; width: 100%;
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease), background var(--t-med) var(--ease);
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(130% 120% at 78% -10%, var(--navy-deep) 0%, var(--navy) 48%, var(--navy-900) 100%);
  color: #fff;
  padding-top: clamp(8rem, 12vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.hero::after {
  /* soft emerald halo, top-right */
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, var(--halo) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-copy { max-width: 620px; }
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--emerald-bright); }
.hero-sub {
  color: var(--slate-light);
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 33em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Video frame — the brand reveal moment */
.hero-visual { position: relative; }
.video-frame {
  position: relative;
  border-radius: var(--r-lg);
  padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 60%;
  background: radial-gradient(circle at 50% 0, var(--halo), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}
.video-frame video,
.video-frame img {
  width: 100%;
  border-radius: calc(var(--r-lg) - 10px);
  /* display:block is inherited from the global img/svg/video reset; keeping it
     out of this rule lets the .hero-launch-video / .hero-poster-fallback
     display toggles win without specificity battles. */
}
/* Hidden by default — the <video> element (with its poster attribute) handles
   display. This <img> is only a fallback for browsers that can't play <video>
   at all. Scoped with .video-frame to outrank the generic image rule above. */
.video-frame img.hero-poster-fallback { display: none; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
  justify-content: center;
}
.tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
}

/* Compact hero for interior pages */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 130% at 82% -20%, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-900) 100%);
  color: #fff;
  padding-top: clamp(8.5rem, 13vw, 12rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -25%; right: -8%;
  width: 50vw; height: 50vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, var(--halo) 0%, transparent 62%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 16ch; margin-bottom: 1.2rem; }
.page-hero h1 .accent { color: var(--emerald-bright); }
.page-hero .lead { color: var(--slate-light); max-width: 56ch; }
.page-hero .hero-actions { margin-top: 2rem; }

/* ==========================================================================
   Positioning band (statement strip)
   ========================================================================== */
.statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1rem + 1.7vw, 2.35rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 24ch;
}
.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.statement-grid .body { color: var(--slate); }

/* ==========================================================================
   Cards — services / value
   ========================================================================== */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}
/* Emerald accent that draws upward on hover — the "lift" signature */
.card::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card .card-index {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--emerald);
  margin-bottom: 1.1rem;
}
.card .card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--emerald-soft);
  color: var(--emerald);
  margin-bottom: 1.3rem;
}
.card .card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  margin-bottom: 0.6rem;
}
.card p { color: var(--slate); font-size: 0.98rem; margin-bottom: 1.2rem; }
.card .link-arrow { margin-top: auto; }

/* On mist background, cards sit on white and pop a touch more */
.bg-mist .card { box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Value / differentiators (text rows on navy)
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.value-item { position: relative; padding-left: 2.4rem; }
.value-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35rem;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--emerald-bright);
  box-shadow: 0 0 0 4px rgba(31, 190, 147, 0.16);
}
.value-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.bg-navy .value-item p { color: var(--slate-light); }

/* ==========================================================================
   SIGNATURE: lifecycle trajectory (numbered process)
   --------------------------------------------------------------------------
   A vertical emerald spine threads the numbered steps — visualising the
   single continuous path the firm shepherds a business along.
   ========================================================================== */
.journey { position: relative; }
.journey-track {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
  padding-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.step:last-child { padding-bottom: 0; }
.step-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-node {
  position: relative;
  z-index: 1;
  width: 58px; height: 58px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--emerald);
  background: var(--paper);
  border: 1.5px solid var(--emerald-line);
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.bg-navy .step-node { background: rgba(255,255,255,0.04); border-color: rgba(31,190,147,0.4); color: var(--emerald-bright); }
/* connecting line */
.step-rail::after {
  content: "";
  position: absolute;
  top: 58px; bottom: -1px;
  width: 2px;
  background: linear-gradient(180deg, var(--emerald-line), rgba(14,164,122,0.08));
}
.step:last-child .step-rail::after { display: none; }
.step:hover .step-node {
  transform: translateY(-4px);
  background: var(--emerald);
  color: #fff;
}
.step-body { padding-top: 0.5rem; }
.step-body .step-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}
.bg-navy .step-body .step-name { color: var(--emerald-bright); }
.step-body h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); margin-bottom: 0.4rem; }
.step-body p { color: var(--slate); margin: 0; }
.bg-navy .step-body p { color: var(--slate-light); }

/* ==========================================================================
   Detailed service blocks (Services page)
   ========================================================================== */
.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.service-block:first-of-type { border-top: 0; }
.service-aside .service-no {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 3vw, 4.6rem);
  font-weight: 420;
  line-height: 1;
  color: var(--emerald);
  opacity: 0.9;
}
.service-aside .eyebrow { margin-top: 1rem; }
.service-main h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.7rem);
  margin-bottom: 1rem;
}
.service-main p { color: var(--slate); max-width: 60ch; }
.service-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.55rem);
  color: var(--navy);
  margin-bottom: 1.2rem !important;
}

/* "Includes" / detail list */
.detail-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.detail-list.two-col { grid-template-columns: 1fr 1fr; gap: 0.7rem 2rem; }
.detail-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--slate);
  font-size: 0.97rem;
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 16px; height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}
.detail-list .li-strong { color: var(--navy); font-weight: 600; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.chip {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate);
  padding: 0.42rem 0.95rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.bg-mist .chip { background: var(--paper); }

.service-callout {
  margin-top: 1.8rem;
  padding: 1.3rem 1.5rem;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-line);
  border-radius: var(--r-md);
}
.service-callout strong { color: var(--navy); }
.service-callout p { margin: 0; color: var(--slate); font-size: 0.95rem; }

/* Two-mode (turnkey) split */
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.mode {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
}
.bg-mist .mode { box-shadow: var(--shadow-sm); }
.mode .mode-tag {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 0.6rem;
}
.mode h4 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: 0; }
.mode p { font-size: 0.92rem; color: var(--slate); margin: 0; }

/* ==========================================================================
   Marketplace — buyer / seller split
   ========================================================================== */
.split-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.split-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.split-card .role-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--emerald);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--emerald-line);
  border-radius: var(--r-pill);
  margin-bottom: 1.4rem;
}
.split-card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 0.8rem; }
.split-card > p { color: var(--slate); margin-bottom: 1.6rem; }
.split-card .detail-list { margin-top: 0; margin-bottom: 1.8rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(120% 160% at 50% -30%, var(--navy-deep), var(--navy) 55%, var(--navy-900));
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 100%;
  background: radial-gradient(circle at 50% 100%, var(--halo), transparent 65%);
  pointer-events: none;
}
.cta-band .container-inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: var(--slate-light); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* Full-bleed CTA section variant */
.cta-section { padding-block: clamp(3rem, 6vw, 5rem); }

/* ==========================================================================
   Forms (Contact)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.005em;
}
.field label .req { color: var(--emerald); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--navy);
  padding: 0.85rem 1rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: #9fb0bf; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--emerald-soft);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B7185' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-note { font-size: 0.86rem; color: var(--slate); margin-top: 0.4rem; }
.form-success {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-line);
  border-radius: var(--r-md);
  color: var(--navy);
  font-weight: 500;
}
.form-success.show { display: flex; }
.form-success svg { color: var(--emerald); flex: none; }

/* Contact details panel */
.contact-info { display: grid; gap: 1.4rem; }
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.info-item .info-icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--emerald);
  border: 1px solid var(--line);
}
.info-item .info-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.2rem; }
.info-item .info-value { color: var(--navy); font-weight: 500; }
.info-item a.info-value:hover { color: var(--emerald); }
.social-row { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.social-link {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--navy);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.social-link:hover { transform: translateY(-3px); background: var(--navy); color: #fff; border-color: var(--navy); }

/* ==========================================================================
   About — story / mission / values
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.mission-card {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}
.mission-card .eyebrow { margin-bottom: 1rem; }
.mission-card p { color: var(--slate-light); font-size: 1.05rem; line-height: 1.6; }
.mission-card .big {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem);
  line-height: 1.32;
  color: #fff;
  font-weight: 400;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.4rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.pull-quote .accent { color: var(--emerald); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-light);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 32px; margin-bottom: 1.3rem; }
.footer-brand p { color: var(--slate-light); max-width: 30ch; font-size: 0.96rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: var(--slate-light); font-size: 0.95rem; transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--emerald-bright); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.86rem;
  color: var(--slate-light);
}
.footer-bottom .footer-tag { font-style: italic; font-family: var(--font-display); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .split-card, .step-node, .social-link { transition: none !important; }
  /* The hero logo animation is intentionally kept on — it's a slow, muted,
     decorative loop the owner asked to always be visible. */
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  /* Collapse the primary nav to a menu button — the larger logo needs the room. */
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header .bar { height: 72px; }
  .brand img { height: 52px; }

  /* Slide-down menu (toggled by .menu-open on <body>) */
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 0.5rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
  }
  body.menu-open .nav-links {
    display: flex;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    inset-block-start: 72px;
  }
  body.menu-open .nav .nav-cta {
    display: inline-flex;
    margin-top: 1rem;
    justify-content: center;
  }
  .nav-links .nav-link {
    color: var(--navy) !important;
    padding: 1rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-link::after { display: none; }
  /* Hamburger -> X */
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open .nav-toggle span { background: var(--navy); }
}

@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 540px; margin-inline: auto; width: 100%; }
  .service-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-aside { display: flex; align-items: baseline; gap: 1.5rem; }
  .service-aside .eyebrow { margin-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .statement-grid { grid-template-columns: 1fr; }
  .statement { max-width: none; }
  .value-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .detail-list.two-col { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .service-aside { flex-direction: column; gap: 0.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  .brand img { height: 46px; }   /* fits narrow phones beside the menu button */
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
}
