/* ==========================================================================
   Marketwell Partners — site styles (v2, November 2026)
   Light-first editorial design with a restrained glassmorphic layer:
   frosted white panels, thin Pacific Cyan edges, soft layered shadows,
   and faint cyan-to-crimson light trails. Palette values come from the
   approved brand standards; do not substitute sampled colors.
   ========================================================================== */

/* Web fonts: self-hosted files supplied by Tamera in assets/fonts/ (Nov 2026).
   Plus Jakarta Sans, Poppins, and Lora are published under the SIL Open
   Font License, which permits web use. No external font service is used. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/Plus%20Jakarta%20Sans/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/PoppinsLatin-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/PoppinsLatin-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/PoppinsLatin-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/PoppinsLatin-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins/PoppinsLatin-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/Lora/variable/lora-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../assets/fonts/Lora/variable/lora-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Approved palette */
  --crimson: #D6373A;
  --snow: #FFF9F2;
  --bone: #EED7C1;
  --gunmetal: #2D2D2D;
  --cyan: #288DA4;
  --white: #FFFFFF;

  /* Roles */
  --surface: var(--snow);
  --text: var(--gunmetal);
  --text-soft: rgba(45, 45, 45, 0.82);
  --hairline: rgba(45, 45, 45, 0.12);
  --edge: rgba(40, 141, 164, 0.38);        /* thin Pacific Cyan edge */
  --edge-strong: rgba(40, 141, 164, 0.7);

  /* Glass surfaces (kept nearly opaque so text stays high-contrast) */
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --glass-warm: rgba(255, 249, 242, 0.82);
  --glass-blur: blur(18px) saturate(140%);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.95);

  /* Shallow, layered depth */
  --shadow-sm: 0 1px 2px rgba(45, 45, 45, 0.06), 0 4px 14px -4px rgba(45, 45, 45, 0.08);
  --shadow-md: 0 2px 4px rgba(45, 45, 45, 0.05), 0 14px 32px -10px rgba(45, 45, 45, 0.16);
  --shadow-lg: 0 4px 10px rgba(45, 45, 45, 0.05), 0 28px 60px -20px rgba(45, 45, 45, 0.24);
  --shadow-cyan: 0 18px 40px -20px rgba(40, 141, 164, 0.55);

  /* Type */
  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Lora", Georgia, "Times New Roman", serif;

  /* 8px spacing rhythm */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 80px;
  --speed: 180ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 48px; --header-h: 96px; }
}

/* ---------- Base ---------- */

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

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

body {
  position: relative;
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Faint ambient color behind the glass (decorative only). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(40, 141, 164, 0.10), transparent 60%),
    radial-gradient(800px 600px at 105% 20%, rgba(214, 55, 58, 0.06), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(238, 215, 193, 0.55), transparent 65%);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--gunmetal);
  margin: 0 0 var(--s2);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.125rem, 1.3rem + 3.2vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.625rem, 1.15rem + 1.6vw, 2.5rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 var(--s2); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--s2); padding-left: 1.25em; }

a {
  color: var(--gunmetal);
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--speed) ease, text-decoration-color var(--speed) ease, background-color var(--speed) ease;
}
a:hover { text-decoration-color: var(--crimson); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 100;
  background: var(--gunmetal);
  color: var(--snow);
  padding: var(--s1) var(--s2);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

/* ---------- Layout helpers ---------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { position: relative; padding-block: var(--s8); }
@media (min-width: 900px) {
  .section { padding-block: var(--s12); }
}
.section--white { background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45)); }
.section--tight { padding-block: var(--s6); }
@media (min-width: 900px) {
  .section--tight { padding-block: var(--s8); }
}

.section-head { max-width: 780px; margin-bottom: var(--s6); }
.section-head p { font-size: 1.125rem; color: var(--text-soft); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--s2);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gunmetal);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(40, 141, 164, 0.35));
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-soft);
}

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3125rem;
  line-height: 1.45;
  color: var(--gunmetal);
}

.section-more { margin-top: var(--s5); }

/* ---------- Glass primitives ---------- */

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-highlight), var(--shadow-md);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 48px;
  padding: 12px var(--s3);
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--speed) ease, color var(--speed) ease, border-color var(--speed) ease, box-shadow var(--speed) ease, transform var(--speed) var(--ease);
}
.btn--primary {
  background: var(--crimson);
  color: var(--snow);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -10px rgba(214, 55, 58, 0.7);
}
.btn--primary:hover {
  background: var(--gunmetal);
  color: var(--snow);
  box-shadow: 0 10px 24px -10px rgba(45, 45, 45, 0.6);
  transform: translateY(-1px);
}
.btn--secondary {
  background: var(--glass-strong);
  color: var(--gunmetal);
  border-color: var(--edge-strong);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn--small { min-height: 44px; padding: 8px 20px; font-size: 0.9375rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}
.link-arrow::after { content: "\2192"; transition: transform var(--speed) ease; }
.link-arrow:hover { border-bottom-color: var(--crimson); }
.link-arrow:hover::after { transform: translateX(3px); }

.email-note { font-size: 0.9375rem; margin-top: var(--s2); color: var(--text-soft); }
.email-note a { font-weight: 600; word-break: break-word; color: var(--gunmetal); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 242, 0.84);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 3px solid var(--cyan);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 8px 24px -18px rgba(45, 45, 45, 0.35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: var(--header-h);
}

/* Wordmark (wordmark-large-name-transparent.png, 1920 x 1080, supplied by
   Tamera Nov 8, 2026, name in Plus Jakarta Sans): the art sits at roughly
   x 94-1826, y 354-726, with
   transparent padding around it. The box is sized to the art and hides only
   that empty padding, so the logo is never cropped, distorted, or recolored.
   Scale factor --logo-s. Used by the header link and the footer logo. */
.site-logo,
.site-footer__logo {
  --logo-s: 0.126;                         /* phones: about 220px wide */
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  width: calc(1732px * var(--logo-s));
  height: calc(372px * var(--logo-s));
}
.site-logo img,
.site-footer__logo img {
  display: block;
  max-width: none;
  width: calc(1920px * var(--logo-s));
  height: calc(1080px * var(--logo-s));
  margin-left: calc(-94px * var(--logo-s));
  margin-top: calc(-354px * var(--logo-s));
}
@media (min-width: 1100px) {
  .site-logo { --logo-s: 0.183; }          /* desktop: about 320px wide */
}

.header-tools { display: flex; align-items: center; gap: var(--s2); }
.header-cta { display: none; white-space: nowrap; }
@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--s1);
  min-height: 44px;
  padding: 8px 14px;
  background: var(--glass-strong);
  border: 1px solid var(--edge-strong);
  border-radius: 999px;
  color: var(--gunmetal);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--speed) ease, opacity var(--speed) ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.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;
  flex-wrap: wrap;
  gap: 4px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--speed) ease, border-color var(--speed) ease, box-shadow var(--speed) ease;
}
.site-nav a:hover { background: var(--glass-strong); border-color: var(--edge); }
.site-nav a[aria-current="page"] {
  background: var(--white);
  border-color: var(--edge-strong);
  box-shadow: var(--shadow-sm);
}
.site-nav__cta { display: none; }

/* Wide screens: inline navigation */
@media (min-width: 1280px) {
  .site-header__inner { display: grid; grid-template-columns: auto 1fr auto; }
  .site-nav ul { justify-content: center; flex-wrap: nowrap; }
  .site-nav a { padding: 0 12px; }
}

/* Narrower screens: menu button (only when JavaScript is running;
   without JS the links simply stay visible below the logo). */
@media (max-width: 1279px) {
  .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { flex-basis: 100%; padding-bottom: var(--s2); }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 249, 242, 0.97);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul {
    flex-direction: column;
    gap: 6px;
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
    padding-block: var(--s2) var(--s3);
  }
  .js .site-nav a {
    width: 100%;
    min-height: 52px;
    padding: 0 var(--s2);
    font-size: 1.0625rem;
    border-radius: var(--radius);
    background: var(--glass-strong);
    border-color: var(--hairline);
  }
  .js .site-nav__cta { display: block; padding-top: var(--s1); }
  .js .site-nav__cta a.btn {
    min-height: 52px;
    font-size: 1rem;
    background: var(--crimson);
    color: var(--snow);
    border-radius: 999px;
    justify-content: center;
    white-space: normal;
  }
}

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

.hero { padding-block: var(--s4) var(--s8); }
@media (min-width: 900px) {
  .hero { padding-block: var(--s6) var(--s10); }
}

/* Framed hero panel: thin Pacific Cyan edge, soft outer ring, deep shadow */
.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--edge-strong);
  background:
    url("../assets/decor/light-trails.svg") bottom center / 100% 70% no-repeat,
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(255, 249, 242, 0.9) 100%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.55), var(--shadow-lg);
  padding: var(--s5) var(--s3);
}
@media (min-width: 900px) {
  .hero-frame { padding: var(--s10) var(--s8); }
}
/* Tablet and desktop, motion allowed: the trails gain two resting data nodes
   and one soft node that travels slowly from left to right (about 20 seconds
   per pass). Visitors who prefer reduced motion keep the static trails. */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero-frame {
    background:
      url("../assets/decor/light-trails-live.svg") bottom center / 100% auto no-repeat,
      linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(255, 249, 242, 0.9) 100%);
  }
}
.hero__grid {
  position: relative;
  display: grid;
  gap: var(--s6);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--s8); }
}
.hero h1 { margin-bottom: var(--s3); }
.hero .lead { margin-bottom: var(--s3); }
.hero .accent { margin-bottom: var(--s4); }

/* Ecosystem composition: the 3D monogram inside a glass orb, with the
   three segments as floating glass chips. */
.ecosystem {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: center;
  aspect-ratio: 1 / 1;
}
.ecosystem__orb {
  position: absolute;
  inset: 14%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.55) 55%, rgba(40, 141, 164, 0.10) 100%);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-highlight), 0 30px 60px -24px rgba(40, 141, 164, 0.45), 0 10px 24px -12px rgba(45, 45, 45, 0.2);
}
.ecosystem__orb::before {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1px dashed rgba(40, 141, 164, 0.35);
}
.ecosystem__orb img { width: 64%; }
.ecosystem__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 230px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-highlight), var(--shadow-md);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  color: var(--gunmetal);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) ease, border-color var(--speed) ease;
}
a.ecosystem__chip:hover { transform: translateY(-3px); box-shadow: var(--glass-highlight), var(--shadow-lg); border-color: var(--cyan); }
.ecosystem__chip small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.75rem; color: var(--text-soft); }
.ecosystem__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(40, 141, 164, 0.16);
}
.ecosystem__dot--crimson { background: var(--crimson); box-shadow: 0 0 0 4px rgba(214, 55, 58, 0.14); }
.ecosystem__dot--bone { background: var(--bone); box-shadow: 0 0 0 4px rgba(45, 45, 45, 0.08); }
/* Chips sit above and below the monogram, never over it. */
.ecosystem__chip--a { top: 0; left: -6%; }
.ecosystem__chip--b { top: 3%; right: -10%; }
.ecosystem__chip--c { bottom: 1%; left: 2%; }
/* Below the wide-desktop width the column is too narrow for floating chips:
   orb on top, chips stacked beneath it, so nothing overlaps the monogram. */
@media (max-width: 1279px) {
  .ecosystem {
    aspect-ratio: auto;
    max-width: 440px;
    display: grid;
    gap: var(--s1);
  }
  .ecosystem__orb {
    position: relative;
    inset: auto;
    width: 180px;
    height: 180px;
    margin: 0 auto var(--s3);
  }
  .ecosystem__chip,
  .ecosystem__chip--a,
  .ecosystem__chip--b,
  .ecosystem__chip--c {
    position: static;
    transform: none;
    max-width: none;
  }
}
@media (max-width: 520px) {
  .ecosystem__chip { font-size: 0.8125rem; max-width: 200px; }
}

/* ---------- Interior page hero ---------- */

.page-hero { padding-block: var(--s4) var(--s6); }
@media (min-width: 900px) {
  .page-hero { padding-block: var(--s6) var(--s8); }
}
.page-hero .hero-frame { padding: var(--s5) var(--s3); }
@media (min-width: 900px) {
  .page-hero .hero-frame { padding: var(--s8); }
}
.page-hero__grid { position: relative; display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: 8fr 4fr; gap: var(--s8); }
}
.page-hero .lead { margin-bottom: var(--s3); }

/* ---------- Art tile (glass stage for a 3D element) ---------- */

.art-tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.7) 60%, rgba(40, 141, 164, 0.08) 100%);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-highlight), 0 0 0 6px rgba(255, 255, 255, 0.5), var(--shadow-lg);
}
.art-tile img { width: 74%; }
.art-tile--wide { aspect-ratio: 5 / 4; }
.art-tile--wide img { width: 82%; }
.art-tile--sm { max-width: 260px; }
@media (max-width: 899px) {
  .page-hero .art-tile { max-width: 200px; justify-self: start; }
}

/* Small icon badge used inside cards */
.icon-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--s2);
  border-radius: 18px;
  background: radial-gradient(circle at 30% 25%, #fff, rgba(255, 255, 255, 0.75) 70%, rgba(40, 141, 164, 0.12));
  border: 1px solid var(--edge);
  box-shadow: var(--glass-highlight), var(--shadow-sm);
}
.icon-badge img { width: 48px; height: 48px; object-fit: contain; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: var(--s3);
}
@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  box-shadow: var(--glass-highlight), var(--shadow-sm);
}
.card h3 { margin-bottom: var(--s1); }
.card p { color: var(--text-soft); }
.card--edge { border-color: var(--edge); border-top: 3px solid var(--cyan); }

/* Interaction card: the whole card is one link (stretched link pattern). */
.link-card {
  position: relative; /* keeps each stretched link inside its own card */
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) ease, border-color var(--speed) ease;
}
.link-card:hover,
.link-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--edge-strong);
  box-shadow: var(--glass-highlight), var(--shadow-lg);
}
.link-card .stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.link-card .stretched:focus-visible { outline: none; }
.link-card:focus-within { outline: 3px solid var(--cyan); outline-offset: 3px; }
.link-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--gunmetal);
}
.link-card__cta::after { content: "\2192"; transition: transform var(--speed) ease; }
.link-card:hover .link-card__cta::after { transform: translateX(4px); }

/* ---------- Pathway cards (equal widths) ---------- */

.pathways {
  display: grid;
  gap: var(--s4);
}
@media (min-width: 900px) {
  .pathways { grid-template-columns: 1fr 1fr; }
}
.pathway {
  display: flex;
  flex-direction: column;
  padding: var(--s4);
  border-radius: var(--radius-xl);
  border: 1px solid var(--edge);
  border-top: 5px solid var(--cyan);
  background: var(--glass-strong);
  box-shadow: var(--glass-highlight), var(--shadow-md), var(--shadow-cyan);
}
@media (min-width: 900px) {
  .pathway { padding: var(--s6) var(--s5); }
}
.pathway--crimson { border-top-color: var(--crimson); box-shadow: var(--glass-highlight), var(--shadow-md), 0 18px 40px -20px rgba(214, 55, 58, 0.45); }
.pathway__head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
.pathway__head .icon-badge { margin: 0; }
.pathway__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--snow);
  border: 1px solid var(--hairline);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pathway h3 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.875rem); }
.pathway > p { color: var(--text-soft); }
.pathway ul { margin: var(--s1) 0 var(--s4); }
.pathway li + li { margin-top: 8px; }
.pathway .link-card__cta { margin-top: auto; }

.segment-note {
  max-width: none;
  margin-top: var(--s4);
  padding: var(--s3);
  border-radius: var(--radius);
  border: 1px dashed var(--edge-strong);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}
.segment-note strong { font-family: var(--font-heading); }
.segment-note p { max-width: none; margin: 0 0 var(--s1); }

/* ---------- Check list ---------- */

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li + li { margin-top: 10px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* ---------- Need cards (ecosystem challenges) ---------- */

.need {
  position: relative;
  border-top: 3px solid var(--cyan);
}

/* ---------- Service cards (each service in its own card) ---------- */

.services-panel {
  display: grid;
  gap: var(--s3);
}
.service-card {
  display: grid;
  gap: var(--s2) var(--s6);
  padding: var(--s4);
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--cyan);
  box-shadow: var(--glass-highlight), var(--shadow-md);
}
@media (min-width: 900px) {
  .service-card { grid-template-columns: 5fr 7fr; padding: var(--s5); }
}
.service-card h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); margin: 0; }
.service-card__body > p:first-child { color: var(--gunmetal); }
.service-card__body h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: var(--s3) 0 6px;
  color: var(--gunmetal);
}
.service-card__body h4 + p { color: var(--text-soft); }

/* ---------- Three-tier path (home) ---------- */

.tiers {
  display: grid;
  gap: var(--s5);
  align-items: center;
}
@media (min-width: 1000px) {
  .tiers { grid-template-columns: 5fr 7fr; gap: var(--s8); }
}
.tiers .art-tile { margin-top: var(--s4); justify-self: start; }
@media (max-width: 999px) {
  .tiers .art-tile { display: none; }
}
.tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s2);
}
.tier {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s3);
  align-items: start;
  padding: var(--s3);
}
.tier .icon-badge { margin: 0; }
.tier h3 { margin-bottom: 4px; }
.tier p { margin: 0; color: var(--text-soft); }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps--three { grid-template-columns: repeat(3, 1fr); }
  .steps--four { grid-template-columns: repeat(4, 1fr); }
}
.steps > li {
  position: relative;
  padding: var(--s4) var(--s3) var(--s3);
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--cyan);
  box-shadow: var(--glass-highlight), var(--shadow-sm);
}
.steps h3 { font-size: 1.125rem; margin-bottom: var(--s1); }
.steps p { font-size: 1rem; color: var(--text-soft); }

/* ---------- Principle / safeguards panel (light glass with shield) ---------- */

.principle {
  display: grid;
  gap: var(--s4);
  padding: var(--s5) var(--s4);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 242, 0.88));
  border: 1.5px solid var(--edge-strong);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5), var(--shadow-lg);
}
@media (min-width: 900px) {
  .principle { grid-template-columns: 5fr 7fr; padding: var(--s8); gap: var(--s8); align-items: center; }
}
.principle__head .art-tile { max-width: 180px; margin: 0 0 var(--s4); justify-self: start; }
.principle h2 { margin: 0; }
.principle ul { margin: 0; }
.principle li + li { margin-top: var(--s2); }

/* ---------- Split feature (text + one illustration) ---------- */

.split {
  display: grid;
  gap: var(--s5);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; gap: var(--s8); }
  .split--reverse { grid-template-columns: 5fr 7fr; }
  .split--reverse > .art-tile { order: -1; }
}
@media (max-width: 899px) {
  .split > .art-tile { max-width: 220px; justify-self: start; }
}

/* ---------- Editorial aside (Lora italic + Poppins detail) ---------- */

.editorial {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  padding: var(--s5) var(--s4) var(--s5) var(--s5);
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-highlight), var(--shadow-md);
}
.editorial::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--s4);
  bottom: var(--s4);
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--cyan), var(--crimson));
}
@media (min-width: 900px) {
  .editorial { padding: var(--s8) var(--s8) var(--s8) var(--s10); }
}
.editorial__label {
  margin-bottom: var(--s2);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gunmetal);
}
.editorial__quote {
  margin: 0 0 var(--s3);
  max-width: 36ch;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.35;
  color: var(--gunmetal);
}
.editorial__detail { color: var(--text-soft); }

/* ---------- Portrait (About) ---------- */

.portrait {
  margin: 0;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  padding: 12px;
  background: var(--glass-strong);
  border: 1.5px solid var(--edge-strong);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.55), var(--shadow-lg);
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}
@media (max-width: 899px) {
  .portrait { max-width: 300px; justify-self: start; }
}

.bio-card { max-width: 920px; }
@media (min-width: 900px) {
  .bio-card { padding: var(--s6); }
}

/* ---------- Credentials (About) ---------- */

.creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s2);
}
@media (min-width: 700px) {
  .creds { grid-template-columns: repeat(2, 1fr); }
}
.cred {
  padding: var(--s3);
  border-radius: var(--radius);
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--cyan);
  box-shadow: var(--glass-highlight), var(--shadow-sm);
}
.cred--progress { border-left-color: var(--crimson); }
.cred strong { display: block; font-family: var(--font-heading); font-size: 1.0625rem; }
.cred span { display: block; color: var(--text-soft); font-size: 0.9375rem; }
.status-pill {
  display: inline-block;
  margin-top: var(--s1);
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(214, 55, 58, 0.08);
  border: 1px solid rgba(214, 55, 58, 0.35);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gunmetal);
}

/* ---------- Call-to-action band ---------- */

.cta-band { padding-block: var(--s8); }
@media (min-width: 900px) {
  .cta-band { padding-block: var(--s10); }
}
.cta-band__inner {
  display: grid;
  gap: var(--s4);
  align-items: center;
  padding: var(--s5) var(--s4);
  border-radius: var(--radius-xl);
  background:
    url("../assets/decor/light-trails.svg") bottom center / 100% 90% no-repeat,
    linear-gradient(135deg, rgba(238, 215, 193, 0.85), rgba(255, 249, 242, 0.95));
  border: 1.5px solid var(--edge-strong);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.55), var(--shadow-lg);
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 7fr 5fr; gap: var(--s8); padding: var(--s8); }
}
.cta-band h2 { margin-bottom: var(--s2); }
.cta-band .actions { flex-direction: column; align-items: flex-start; }

/* ---------- Placeholders (visible on purpose; remove before launch) ---------- */

.placeholder {
  border: 2px dashed var(--cyan);
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  padding: var(--s4);
  box-shadow: var(--shadow-md);
}
.placeholder__label {
  display: inline-block;
  margin-bottom: var(--s2);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gunmetal);
  color: var(--snow);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.confirm-flag {
  display: inline-block;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--bone);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---------- Contact layout and future-form preview ---------- */

.contact-grid {
  display: grid;
  gap: var(--s5);
  align-items: start;
}
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--s6); }
}
.notice {
  margin-top: var(--s3);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius);
  background: rgba(214, 55, 58, 0.06);
  border: 1px solid rgba(214, 55, 58, 0.3);
  font-size: 0.9375rem;
}
.social-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s1);
}
.social-cards .card { padding: var(--s2); border-radius: var(--radius); }
.social-cards a { font-family: var(--font-heading); font-weight: 700; text-decoration: none; }
.contact-sub { font-size: 1.25rem; margin-top: var(--s5); }

.form-preview fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: var(--s3);
}
@media (min-width: 640px) {
  .form-preview fieldset { grid-template-columns: 1fr 1fr; }
  .form-preview .field--full { grid-column: 1 / -1; }
}
.field label,
.field legend,
.field .field__label {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-weight: 600;
  font-size: 0.9375rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid rgba(45, 45, 45, 0.3);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gunmetal);
  font: inherit;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.05);
}
.field textarea { min-height: 140px; resize: vertical; }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: block; }
.check-grid {
  display: grid;
  gap: var(--s1);
  margin-top: 4px;
}
@media (min-width: 520px) {
  .check-grid { grid-template-columns: repeat(2, 1fr); }
}
.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--hairline);
  font-size: 0.9375rem;
}
.check-option input { width: 18px; height: 18px; accent-color: var(--cyan); flex-shrink: 0; }
.field input:disabled,
.field select:disabled,
.field textarea:disabled,
.form-preview button:disabled { cursor: not-allowed; }
.field__help { margin-top: 6px; font-size: 0.875rem; color: var(--text-soft); }

/* GrowthHub365 form embed (Contact page). GrowthHub365's script sets the
   iframe height; the minimum keeps it from collapsing before the script runs. */
.form-card h2 { margin-bottom: var(--s3); }
.notice--lead { max-width: none; margin: 0 0 var(--s4); }

/* Legal pages (Privacy Policy, Terms and Conditions): readable single column */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); margin: var(--s5) 0 var(--s1); }
.legal p { max-width: none; }
.legal__date { font-size: 0.9375rem; color: var(--text-soft); }
.form-card iframe { display: block; min-height: 739px; }
.form-preview .btn:disabled { background: var(--bone); color: var(--gunmetal); box-shadow: none; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--s4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.98));
  border-top: 3px solid var(--cyan);
  padding-block: var(--s8) var(--s4);
  font-size: 0.9375rem;
}
.site-footer__grid {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 5fr 3fr 3fr; gap: var(--s6); }
}
.site-footer__logo { --logo-s: 0.143; margin-bottom: var(--s3); }  /* about 250px wide */
.site-footer p { color: var(--text-soft); }
.site-footer h2 {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 4px; }
.site-footer li a { display: inline-block; padding-block: 6px; }
.site-footer__bottom {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2);
  font-size: 0.875rem;
}

/* ---------- Glass fallback (browsers without backdrop-filter) ---------- */

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .glass, .service-card, .editorial, .ecosystem__chip { background: var(--white); }
  .site-header { background: var(--snow); }
}

/* ---------- Motion (optional, quick, off for reduced motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 360ms var(--ease), transform 360ms var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .link-card:hover, .btn:hover, a.ecosystem__chip:hover { transform: none; }
}

/* ---------- Print ---------- */

@media print {
  body::before { display: none; }
  .site-header, .nav-toggle, .skip-link { position: static; }
  .site-nav, .header-tools { display: none !important; }
  .hero-frame, .cta-band__inner { background: none; box-shadow: none; }
}
