/* ── TRESANE BRAND SYSTEM ─────────────────────────────────────────────────
   Colors: Allports Blue #0A6AA2 | Golden Grass #DFA32C | Navy #1a4a6b
   Type: Lora (display) + Inter (body)
   Updated: June 2026
───────────────────────────────────────────────────────────────────────── */

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

:root {
  --blue:       #0A6AA2;
  --blue-dark:  #085a8a;
  --gold:       #DFA32C;
  --gold-dark:  #c48f22;
  --navy:       #1a4a6b;
  --aqua-bg:    #EBF4FA;
  --off-white:  #F8F8F8;
  --border:     #E5E5E5;
  --body:       #1a1a1a;
  --gray:       #6B7280;
  --white:      #ffffff;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-width: 1100px;
  --section-pad: 80px 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
sup { font-size: 0.6em; vertical-align: super; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────── */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; }

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--blue); }
h3 { font-size: 1.2rem; color: var(--body); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 680px;
  margin: 16px auto 48px;
  text-align: center;
  line-height: 1.7;
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-large { font-size: 1rem; padding: 16px 36px; }

/* ── NAV ────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--body); }

/* ── HERO ───────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #1a7ab8 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  border: 1px solid rgba(223,163,44,0.4);
  padding: 5px 14px;
  border-radius: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-rule {
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 40%, transparent 100%);
  margin-top: 60px;
  opacity: 0.6;
}

/* ── BRIDGE ─────────────────────────────────────────────────────────────── */

.bridge {
  padding: 80px 0;
  background: var(--white);
}

.bridge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bridge-text p {
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.bridge-lead {
  font-size: 1.2rem !important;
  font-weight: 500;
  color: var(--blue) !important;
}

.bridge-pull {
  background: linear-gradient(135deg, var(--gold) 0%, #c48f22 100%);
  border-radius: 12px;
  padding: 40px 36px;
}

.bridge-pull blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--white);
  border: none;
  margin: 0;
}

/* ── HOW WE WORK ─────────────────────────────────────────────────────────── */

.how-we-work {
  padding: var(--section-pad);
  background: var(--off-white);
  text-align: center;
}

.how-we-work h2 { margin-bottom: 8px; }

.engage-block {
  background: var(--aqua-bg);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 28px 36px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}
.engage-block h3 { color: var(--blue); margin-bottom: 16px; font-family: var(--font-body); font-size: 1rem; }

.engage-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.engage-list li {
  font-size: 0.95rem;
  color: var(--body);
  padding-left: 16px;
  position: relative;
}
.engage-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── WEQ ────────────────────────────────────────────────────────────────── */

.weq {
  padding: var(--section-pad);
  background: var(--navy);
  color: var(--white);
}

.weq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.weq .section-label { color: var(--gold); }
.weq h2 { color: var(--white); margin-bottom: 20px; }
.weq p { color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.8; }
.weq .btn-primary { background: var(--gold); margin-top: 8px; }
.weq .btn-primary:hover { background: var(--gold-dark); }

.weq-stat-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.weq-stat {
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

.weq-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.weq-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ── STORIES ────────────────────────────────────────────────────────────── */

.stories {
  padding: var(--section-pad);
  background: var(--white);
  text-align: center;
}

.stories h2 { margin-bottom: 48px; }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.story-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-card--featured {
  background: var(--aqua-bg);
  border-color: var(--blue);
  border-top: 3px solid var(--blue);
}

.story-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--body);
  flex: 1;
}
.story-quote::before { content: '\201C'; color: var(--gold); font-size: 1.5rem; line-height: 0; }

.story-attribution {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

/* ── BOOK ───────────────────────────────────────────────────────────────── */

.book {
  padding: var(--section-pad);
  background: var(--off-white);
}

.book-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.book-cover {
  display: flex;
  align-items: flex-start;
}

.book-cover-img {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  box-shadow: 8px 8px 32px rgba(0,0,0,0.2);
}

.book-text h2 { margin-bottom: 8px; }
.book-sub { font-style: italic; color: var(--gray); margin-bottom: 20px; }
.book-text p { margin-bottom: 16px; line-height: 1.8; }
.book-text .btn-primary { margin-top: 8px; background: var(--gold); }
.book-text .btn-primary:hover { background: var(--gold-dark); }

/* ── ABOUT ──────────────────────────────────────────────────────────────── */

.about {
  padding: var(--section-pad);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; line-height: 1.8; color: var(--body); }
.about-tagline {
  font-weight: 600;
  color: var(--blue);
  font-size: 1.05rem;
  margin-top: 24px;
}

.about-david {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.david-photo {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  object-fit: cover;
}

.david-bio h3 { font-size: 1.2rem; color: var(--blue); margin-bottom: 4px; }
.david-title { font-size: 0.85rem; color: var(--gray); margin-bottom: 12px; }
.david-bio p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 12px; }

/* ── CTA ────────────────────────────────────────────────────────────────── */

.cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  text-align: center;
  color: var(--white);
}

.cta h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.cta p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-contact {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0 !important;
}
.cta-contact a { color: var(--gold); text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */

.footer {
  background: #1a4a6b;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img { margin-bottom: 12px; }
.footer-tagline { font-size: 0.85rem; color: var(--gold); }

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .bridge-grid,
  .weq-grid,
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .stories-grid { grid-template-columns: 1fr; }

  .book-grid { grid-template-columns: 1fr; }
  .book-cover { max-width: 220px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

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

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .nav-links.nav-open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }

  .hero { padding: 70px 24px 60px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; }

  :root { --section-pad: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ── LEARNING CYCLE ───────────────────────────────────────────────────────
   Sits directly after the navy .weq band, so it is light for contrast. The
   four beats are the canonical names (System, Experience, Scorecard,
   Learn & Adapt) with WeQ named in the hub, matching the cycle graphic.
───────────────────────────────────────────────────────────────────────── */
.cycle {
  padding: var(--section-pad);
  background: var(--off-white);
  text-align: center;
}

.cycle h2 { margin-bottom: 20px; }
.cycle .section-intro { margin-bottom: 40px; }

/* The gold hub. In the graphic WeQ sits in the middle of the ring; in a
   responsive column layout a centered pill above the beats reads the same
   way and survives a 375px screen, which a real ring does not. */


.cycle-note {
  margin-top: 36px;
  color: var(--gray);
  font-style: italic;
  font-family: var(--font-display);
}

@media (max-width: 900px) {

}
@media (max-width: 600px) {

}

/* ── NAV BREAKPOINT ───────────────────────────────────────────────────────
   The collapse to a hamburger lived at 640px, which left an awkward band
   between 641px and ~900px where the horizontal nav had to fit every link
   plus the Get Started button. It was already tight at five links; adding
   Learning Cycle made it wrap "How We Work" onto two lines mid-bar. Collapse
   earlier instead of shortening the labels, since the labels are the
   navigation. Declared after the 640px block so it wins on specificity order.
───────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .nav-links.nav-open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
}

/* ── PRIMARY CTA ON THE DARK BANDS ────────────────────────────────────────
   .hero and .cta both use the navy-to-blue gradient, and .btn-primary is
   #0A6AA2, which is the exact blue the gradient ends on. The result was the
   site's main conversion button, "Schedule a Call", rendering as plain white
   text with no visible button beneath it, sitting next to a clearly outlined
   secondary. It read as a link, or as nothing.

   Gold is already the established treatment for a primary button on a dark
   band (.weq and .book-text both do it), so this follows the existing pattern
   rather than introducing a colour. Navy text on gold, because white on
   #DFA32C does not carry enough contrast to be read comfortably.
───────────────────────────────────────────────────────────────────────── */
.hero .btn-primary,
.cta .btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.hero .btn-primary:hover,
.cta .btn-primary:hover {
  background: var(--gold-dark);
  color: var(--navy);
}


.cycle-cta { display: inline-block; margin-top: 28px; }

/* ── INLINE SVG DIAGRAMS ──────────────────────────────────────────────────
   The learning cycle and the Tresane model, drawn rather than photographed.
   A few KB instead of 1MB, crisp at any size, and the words are real indexable
   text instead of pixels.

   The pattern that makes SVG work where the raster could not: the drawing
   carries only the SHORT names, which stay legible scaled down to a 327px
   screen. Every description lives in the HTML legend underneath, where it
   reflows. That is why there is no swipe frame here.
───────────────────────────────────────────────────────────────────────── */
.dia {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto 32px;
  overflow: visible;
}

.dia-arc path { fill: none; stroke: var(--gold); stroke-width: 3; }


.dia-node circle { fill: var(--white); stroke: var(--blue); stroke-width: 3; }
.dia-badge circle { fill: var(--blue); }
.dia-badge-t text {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 700; fill: var(--white); text-anchor: middle;
}

.dia-name text {
  font-family: var(--font-body);
  font-size: 22px; font-weight: 700; fill: var(--navy);
  text-anchor: middle; letter-spacing: 0.03em;
}

/* The model: three interlocking domains. No numbers, deliberately. 01/02/03
   reads as an order, and the model is not sequential: align self is the
   foundation, which is not the same as the starting line. */
.dia-ring { stroke-width: 3; }
.dia-ring--self { fill: rgba(10,106,162,0.10); stroke: var(--blue); }
.dia-ring--rel  { fill: rgba(223,163,44,0.16); stroke: var(--gold); }
.dia-ring--team { fill: rgba(26,74,107,0.10); stroke: var(--navy); }

.dia-legend {
  display: grid;
  gap: 18px 24px;
  max-width: 940px;
  margin: 0 auto;
  text-align: left;
}
.dia-legend-4 { grid-template-columns: repeat(4, 1fr); }
.dia-legend-3 { grid-template-columns: repeat(3, 1fr); }
.dia-legend p { font-size: 0.9rem; line-height: 1.7; color: var(--gray); }
.dia-legend b { color: var(--navy); font-weight: 600; }

.dia-note {
  max-width: 640px;
  margin: 28px auto 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gray);
  text-align: center;
}

@media (max-width: 860px) {
  .dia-legend-4, .dia-legend-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .dia-legend-4, .dia-legend-3 { grid-template-columns: 1fr; }
  .dia { max-width: 100%; }
}

/* The gold WeQ mark sits at the hub instead of a flat circle and SVG text.
   Trimmed and resized from the master lockup: 896KB -> 52KB. Sized to 210 of a
   600 unit viewBox so its corners stay clear of the four beat circles, whose
   inner edges sit 110 out from centre. */
.dia-hub-img { }
