/* =========================================================================
   Cooper Companies — Foundations
   Colors + typography tokens, drawn from the brand color sheet
   (assets/brand-color-and-type.png) and the live www.cooper.build pages.

   The brand sheet defines the canonical hex values. The live site uses
   one near-equivalent — Goldenrod is shipped as #FBB040 on the homepage
   but speced as #FBAB35 on the brand sheet. We expose both: the swatch
   value is authoritative; the production value is available as a tweak.
   ========================================================================= */

@font-face {
  font-family: "Usual";
  src: url("/fonts/Usual-Medium.woff2") format("woff2"),
       url("/fonts/Usual-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Source Sans 3 is the variable body face called out on the brand sheet
   ("Source Sans Variable — Regular"). Free via Google Fonts. */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  /* -------- Brand palette (canonical, from brand sheet) -------- */
  --c-coopers-best:   #394d2a;   /* Primary dark green                      */
  --c-washed-black:   #241f17;   /* Warm near-black, text + dark surfaces   */
  --c-goldenrod:      #fbab35;   /* Primary action / accent amber (brand)   */
  --c-ash-gray:       #b3beb6;   /* Cool neutral / muted text on dark       */
  --c-golden-brown:   #9b6127;   /* Bronze, used for eyebrow labels         */
  --c-powder-day:     #f6f7f9;   /* Off-white, default page background      */
  --c-bark:           #321b06;   /* Deepest brown, accent on warm surfaces  */
  --c-white:          #ffffff;

  /* Hover/active variants of the brand sheet goldenrod */
  --c-goldenrod-hover:#e89a25;   /* ~10% darker for press/hover             */
  --c-coopers-best-deep: #2d3e22;/* Active/hover variant of green           */

  /* -------- Semantic colors -------- */
  --bg:           var(--c-powder-day);
  --bg-elevated: var(--c-white);
  --bg-inverse:  var(--c-washed-black);
  --bg-brand:    var(--c-coopers-best);

  --fg:          var(--c-washed-black);
  --fg-muted:    #555555;
  --fg-subtle:   #777777;
  --fg-on-dark:        var(--c-white);
  --fg-on-dark-muted:  var(--c-ash-gray);
  --fg-on-dark-subtle: rgba(255,255,255,0.45);

  --accent:        var(--c-goldenrod);
  --accent-hover:  var(--c-goldenrod-hover);
  --accent-deep:   #d8901c;
  --eyebrow:       var(--c-golden-brown);     /* on light surfaces */
  --eyebrow-dark:  var(--c-goldenrod);        /* on dark surfaces  */

  --border:        rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.16);
  --border-on-dark:rgba(255,255,255,0.08);

  /* -------- Type families -------- */
  --font-display: "Usual", "Source Sans 3", system-ui, sans-serif;
  --font-body:    "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-mono:    ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* -------- Type scale -------- */
  --fs-eyebrow:   11px;
  --fs-caption:   12px;
  --fs-small:     13px;
  --fs-body:      15px;
  --fs-body-lg:   17px;
  --fs-h4:        22px;
  --fs-h3:        26px;
  --fs-h2:        clamp(28px, 3vw, 40px);
  --fs-h1:        clamp(36px, 5vw, 60px);
  --fs-display:   clamp(42px, 5vw, 68px);

  --lh-tight:     1.05;
  --lh-snug:      1.2;
  --lh-normal:    1.5;
  --lh-relaxed:   1.75;

  --tracking-eyebrow: 0.18em;
  --tracking-uppercase: 0.08em;
  --tracking-tight:   -0.02em;

  /* -------- Spacing & radii -------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 100px;

  --radius-sm: 2px;   /* tags, eyebrow pills */
  --radius:    3px;   /* buttons, inputs, cards — the brand's default */
  --radius-md: 4px;   /* card grids */
  --radius-lg: 8px;   /* rare; large containers */

  /* -------- Elevation -------- */
  --shadow-1: 0 1px 2px rgba(36,31,23,0.06);
  --shadow-2: 0 2px 24px rgba(36,31,23,0.06);   /* the standard "form card" shadow */
  --shadow-3: 0 12px 40px rgba(36,31,23,0.10);

  /* -------- Lines & rules -------- */
  --rule-amber: 3px solid var(--accent);  /* signature 3px amber underline */
  --rule-green: 3px solid var(--bg-brand);
  --nav-h: 72px;
}

/* =========================================================================
   Semantic element styles
   Apply directly, or use the matching class for non-semantic markup.
   ========================================================================= */

body, .p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--fg);
  letter-spacing: 0;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--fg);
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--fg);
}

h4, .h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--fg);
}

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--fg);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--eyebrow);
}
.eyebrow--on-dark { color: var(--eyebrow-dark); }

.label-uppercase {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: var(--tracking-uppercase);
  text-transform: uppercase;
}

.body-lg { font-size: var(--fs-body-lg); line-height: var(--lh-relaxed); }
.body    { font-size: var(--fs-body);    line-height: var(--lh-relaxed); }
.body-sm { font-size: var(--fs-small);   line-height: var(--lh-relaxed); }
.caption { font-size: var(--fs-caption); line-height: var(--lh-normal); color: var(--fg-muted); }

code, .code, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}


/* UI kit-only styles. Tokens come from the root colors_and_type.css. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow .line { width: 32px; height: 2px; background: var(--accent); }
.eyebrow.short .line { width: 24px; }
.eyebrow .text {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow.bronze .text { color: var(--eyebrow); }
.eyebrow.amber  .text { color: var(--accent); }

/* ---- Buttons ---- */
.btn-primary {
  background: var(--accent); color: var(--c-washed-black);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block; white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-green {
  width: 100%;
  background: var(--bg-brand); color: var(--c-white);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-green:hover { background: var(--c-coopers-best-deep); transform: translateY(-1px); }

.btn-ghost {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 0;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--c-white); }
.btn-ghost .ghost-arrow {
  width: 20px; height: 1px; background: currentColor; position: relative;
  transition: width 0.2s;
}
.btn-ghost .ghost-arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.btn-ghost:hover .ghost-arrow { width: 28px; }

.btn-underline {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bg-brand);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  white-space: nowrap; cursor: pointer;
  transition: color 0.2s;
}
.btn-underline:hover { color: var(--eyebrow); }

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--bg-brand);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  border-bottom: 3px solid var(--accent);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; cursor: pointer; }
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-white);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: var(--c-washed-black) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); }

/* ---- Page hero (dark) ---- */
.page-hero {
  padding-top: var(--nav-h);
  background: var(--bg-inverse);
  padding-bottom: 72px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px,
    transparent 1px, transparent 80px);
  pointer-events: none;
}
.page-hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.page-hero-inner {
  max-width: 900px; padding: 72px 80px 0;
  position: relative; z-index: 2;
}
.page-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500; line-height: 1.05;
  color: var(--c-white);
  margin: 24px 0;
}
.page-sub {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.75;
  color: var(--fg-on-dark-muted);
  max-width: 640px;
}

/* ---- Homepage hero ---- */
.home-hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--bg-inverse);
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.home-hero::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px,
    transparent 1px, transparent 80px);
  pointer-events: none;
}
.home-hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 56px 80px 80px;
  position: relative; z-index: 2;
}
.home-hero-logo { margin-bottom: 36px; }
.home-hero-logo img { height: 132px; width: auto; }
.home-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500; line-height: 1.05;
  color: var(--c-white);
  margin: 28px 0 12px;
}
.home-hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.home-hero-body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.7;
  color: var(--c-ash-gray);
  max-width: 480px;
  margin-bottom: 44px;
}
.home-hero-actions {
  display: flex; align-items: center; gap: 20px;
}
.home-hero-right {
  position: relative; overflow: hidden;
  background: var(--c-bark);
}
.home-hero-right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(36,31,23,0.45) 0%, transparent 40%);
}
.home-hero-right::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0;
  width: 4px; background: var(--accent); z-index: 2;
}
.home-hero-photo {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
}

/* ---- Generic section ---- */
.section { padding: 100px 80px; }
.section.dark { background: var(--bg-inverse); position: relative; }
.section.light { background: var(--bg); }
.section.white { background: var(--c-white); }
.section.green { background: var(--bg-brand); position: relative; }
.section.green::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px; gap: 32px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500; line-height: 1.1;
  color: var(--fg);
  margin-top: 14px;
}
.section.dark .section-title, .section.green .section-title { color: var(--c-white); }

/* ---- Service cards grid (homepage) ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px; overflow: hidden;
}
.service-card {
  background: var(--c-white);
  padding: 48px 40px;
  position: relative;
  transition: background 0.25s;
  cursor: pointer;
}
.service-card:hover { background: var(--bg-brand); }
.service-card-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover .service-card-bar { transform: scaleX(1); }
.service-card-number {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 500;
  color: var(--eyebrow);
  line-height: 1; margin-bottom: 24px;
  transition: color 0.25s;
}
.service-card:hover .service-card-number { color: rgba(255,255,255,0.10); }
.service-card-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  color: var(--fg);
  margin-bottom: 16px;
  transition: color 0.25s;
}
.service-card:hover .service-card-title { color: var(--c-white); }
.service-card-body {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.7;
  color: #666;
  transition: color 0.25s;
}
.service-card:hover .service-card-body { color: rgba(255,255,255,0.65); }

/* ---- Presence band ---- */
.presence {
  background: var(--bg-brand);
  padding: 64px 80px;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; align-items: center;
  position: relative;
}
.presence::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.presence-heading {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 500;
  color: var(--c-white);
  line-height: 1.15;
}
.presence-body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.presence-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.presence-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.presence-tag.active { color: var(--accent); border-color: var(--accent); }

/* ---- Markets ---- */
.markets-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: rgba(0,0,0,0.06);
  border-radius: 4px; overflow: hidden;
}
.market-card {
  background: var(--bg);
  padding: 56px 48px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: start;
  transition: background 0.2s;
}
.market-card:hover { background: #edeeed; }
.market-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--eyebrow);
  background: rgba(155,97,39,0.10);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.market-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.2;
}
.market-body {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.75;
  color: #555;
}
.market-icon {
  width: 56px; height: 56px;
  background: var(--bg-brand);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.market-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.market-bullets {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.market-bullet {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; color: #444;
}
.market-bullet::before {
  content: ''; display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---- Stats ---- */
.stats-section {
  background: var(--bg-inverse);
  padding: 96px 80px;
  position: relative; overflow: hidden;
}
.stats-section::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px,
    transparent 1px, transparent 80px);
  pointer-events: none;
}
.stats-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.stats-header { text-align: center; margin-bottom: 72px; }
.stats-header .eyebrow { justify-content: center; margin-bottom: 16px; }
.stats-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--c-white);
  line-height: 1.1;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
}
.stat-card {
  background: rgba(255,255,255,0.03);
  padding: 56px 40px;
  border-top: 3px solid var(--accent);
  text-align: center;
  transition: background 0.2s;
}
.stat-card:hover { background: rgba(255,255,255,0.06); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* ---- Contact ---- */
.contact { background: var(--bg); padding: 100px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-sub {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.75;
  color: #555;
  margin: 20px 0 40px;
  max-width: 480px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body);
  font-size: 15px; color: var(--fg);
  font-weight: 500;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--bg-brand);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.contact-form {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 48px;
  border-top: 3px solid var(--accent);
  box-shadow: 0 2px 24px rgba(36,31,23,0.06);
}
.form-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  color: var(--fg);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 8px;
}
.form-input {
  width: 100%; padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px; color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--bg-brand); }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---- Action cards (replaces contact form) ---- */
.contact-actions { display: flex; flex-direction: column; gap: 18px; }
.action-card {
  display: block;
  background: var(--c-white);
  border-top: 3px solid var(--accent);
  padding: 32px 36px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 24px rgba(36,31,23,0.06);
}
.action-card:hover { background: var(--bg); transform: translateY(-1px); }
.action-card .ac-eyebrow {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bronze);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.action-card .ac-eyebrow::before {
  content: ""; width: 20px; height: 2px; background: var(--accent); flex-shrink: 0;
}
.action-card .ac-value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--c-washed-black);
  line-height: 1.15;
  margin-bottom: 8px;
  word-break: break-word;
}
.action-card .ac-arrow {
  font-size: 0.7em; color: var(--accent);
  transition: transform 0.2s;
  display: inline-block;
  margin-left: 6px;
}
.action-card:hover .ac-arrow { transform: translateX(6px); }
.action-card .ac-note {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.65;
  color: rgba(36,31,23,0.6);
}

.include-block { margin-top: 14px; padding: 28px 36px; }
.include-eyebrow {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bronze);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.include-eyebrow::before {
  content: ""; width: 20px; height: 2px; background: var(--accent); flex-shrink: 0;
}
.include-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px;
}
.include-list li {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.5;
  color: var(--c-washed-black);
  display: flex; align-items: flex-start; gap: 12px;
}
.include-list li::before {
  content: ""; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 8px;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-inverse);
  padding: 48px 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  border-top: 3px solid var(--bg-brand);
}
.footer-logo img { height: 30px; width: auto; }
.footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ---- Service page sections ---- */
.service-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.service-section.reverse { direction: rtl; }
.service-section.reverse > * { direction: ltr; }
.service-img {
  position: relative; overflow: hidden; min-height: 480px;
  background: #aaa;
}
.service-img::after {
  content: ''; position: absolute; top: 0; bottom: 0; right: 0;
  width: 4px; background: var(--accent); z-index: 2;
}
.service-section.reverse .service-img::after { right: auto; left: 0; }
.service-img-fill {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.service-img-fill::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(36,31,23,0.25) 0%, transparent 40%);
}
.service-content {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--c-white);
}
.service-content .number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--eyebrow);
  line-height: 1; margin-bottom: 20px;
}
.service-content .title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500; color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}
.service-content .body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.85;
  color: #555;
  margin-bottom: 28px;
}
.cap-label {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 14px;
}
.cap-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.cap-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-body);
  font-size: 14px; color: #444; line-height: 1.5;
}
.cap-item::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  margin-top: 9px;
}

/* ---- Markets — full page layout ---- */
.markets-full {
  background: var(--c-white);
}
.market-index {
  position: sticky; top: var(--nav-h);
  z-index: 50;
  display: flex; align-items: center; gap: 0;
  background: var(--bg-inverse);
  border-bottom: 3px solid var(--accent);
  padding: 0 80px;
  overflow-x: auto;
}
.market-index-item {
  display: inline-flex; align-items: center; height: 56px;
  padding: 0 22px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
}
.market-index-item:first-child { border-left: 1px solid rgba(255,255,255,0.06); }
.market-index-item:hover { color: var(--accent); background: rgba(255,255,255,0.02); }

.markets-rows { display: flex; flex-direction: column; }
.market-row {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 80px; align-items: start;
  padding: 80px;
  border-bottom: 1px solid var(--border);
}
.market-row:last-child { border-bottom: none; }
.market-row-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--fg);
  margin: 12px 0 20px;
}
.market-row-body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.85;
  color: #555;
  margin-bottom: 32px;
  max-width: 660px;
}
.market-row .market-caps { margin-bottom: 32px; }
.market-row-icon {
  display: flex; justify-content: flex-end;
  padding-top: 6px;
}
.market-row-icon .market-icon { width: 88px; height: 88px; }
.market-row-icon .market-icon svg { width: 40px; height: 40px; }
.story-section {
  background: var(--c-white);
  padding: 80px;
  border-bottom: 3px solid var(--accent);
}
.story-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.story-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500; color: var(--fg);
  line-height: 1.1;
  margin: 12px 0 28px;
}
.story-body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.85;
  color: #555;
  margin-bottom: 20px;
}
.story-body:last-child { margin-bottom: 0; }
.story-right { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.story-callout {
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  background: var(--bg);
}
.story-callout-text {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  color: var(--fg);
  line-height: 1.4;
}
.story-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.story-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-white);
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg);
}
.story-badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ---- Leadership grid ---- */
.leadership-section {
  background: var(--bg);
  padding: 80px;
  border-top: 3px solid var(--accent);
}
.leadership-inner { max-width: 1200px; margin: 0 auto; }
.leadership-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(0,0,0,0.06);
}
.leader-card {
  background: var(--c-white);
  display: flex; flex-direction: column;
}
.leader-img-wrap {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--bg-brand); position: relative;
}
.leader-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Cooper's photo has different framing — dog sits low in frame with ground above. */
.leader-img[src*="cooper.png"] {
  object-position: 50% 40%;
}
.leader-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--c-coopers-best-deep) 0%, var(--bg-brand) 100%);
  display: flex; align-items: center; justify-content: center;
}
.leader-img-initials {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 500;
  color: rgba(251,171,53,0.4);
  letter-spacing: 0.02em;
}
.leader-info {
  padding: 28px 28px 32px;
  border-top: 3px solid var(--accent);
}
.leader-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
}
.leader-title {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--eyebrow);
}

/* ---- Partners carousel ---- */
.partners-section {
  background: var(--c-white);
  padding: 80px;
  border-top: 3px solid var(--accent);
}
.partners-inner { max-width: 1200px; margin: 0 auto; }
.partners-block { margin-bottom: 56px; }
.partners-block:last-child { margin-bottom: 0; }
.partners-block-label {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 24px;
}
.carousel-wrap { overflow: hidden; position: relative; }
.carousel-wrap::before, .carousel-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.carousel-wrap::before { left: 0; background: linear-gradient(to right, var(--c-white), transparent); }
.carousel-wrap::after { right: 0; background: linear-gradient(to left, var(--c-white), transparent); }
.carousel-track {
  display: flex; gap: 16px; width: max-content;
  animation: carousel-scroll 28s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
.carousel-logo {
  flex-shrink: 0; width: 200px; height: 88px;
  border: 1px solid var(--border);
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  padding: 16px 20px;
}
.carousel-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--bg-brand);
  padding: 80px;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  position: relative;
}
.cta-band::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.cta-band-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500; color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.cta-band-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-right { display: none; }
  .home-hero-left, .section, .contact { padding: 64px 32px; }
  .presence { padding: 56px 32px; grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 40px 32px; flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .include-list { grid-template-columns: 1fr; }
  .action-card { padding: 28px 28px; }
  .include-block { padding: 24px 28px; }
  .page-hero-inner { padding: 56px 32px 0; }
  .service-section { grid-template-columns: 1fr; min-height: auto; }
  .service-section.reverse { direction: ltr; }
  .service-content { padding: 48px 32px; }
}


/* ---- Mobile nav (added for static export) ---- */
.nav-hamburger { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger {
    display: flex; flex-direction: column; justify-content: space-around;
    width: 32px; height: 28px; background: none; border: 0;
    padding: 4px; cursor: pointer;
  }
  .nav-hamburger span {
    display: block; height: 2px; background: var(--accent); border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }
  body.nav-open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-brand); padding: 24px 32px; gap: 18px;
    box-shadow: 0 12px 40px rgba(36,31,23,0.20);
    z-index: 1000;
  }
  body.nav-open .nav-links a { font-size: 16px; }
  body.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
