/*
Theme Name: AZR Capital by Interactive Switch
Theme URI: https://interactive-switch.com/
Author: Interactive Switch
Author URI: https://interactive-switch.com/
Description: Custom WordPress theme converted from the AZR Capital Claude HTML design.
Version: 1.0.16
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: azr-interactive-switch
*/:root {
    --olive: #79852B;
    --olive-dark: #5a6520;
    --olive-soft: #a0aa5a;
    --olive-tint: rgba(121, 133, 43, 0.08);
    --olive-square: rgba(121, 133, 43, 0.11);
    --olive-square-deep: rgba(121, 133, 43, 0.18);
    --ink: #1C1C1B;
    --ink-soft: #3a3a37;
    --paper: #f6f2ea;
    --paper-warm: #efe8da;
    --paper-deep: #e8e1cf;
    --rule: rgba(28, 28, 27, 0.14);
    --muted: rgba(28, 28, 27, 0.62);
    --serif: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
    --sans: 'Inter', system-ui, sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    pointer-events: none; z-index: 1;
    mix-blend-mode: multiply; opacity: 0.7;
  }
  a { color: inherit; text-decoration: none; }

  /* ============ NAV ============ */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 48px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(246, 242, 234, 0.0);
    backdrop-filter: blur(0);
    transition: all 0.5s ease;
    border-bottom: 1px solid transparent;
  }
  nav.scrolled {
    background: rgba(246, 242, 234, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--rule);
    padding: 14px 48px;
  }
  .brand-img {
    height: 42px; width: auto;
    display: block;
    transition: height 0.4s ease, opacity 0.5s ease;
  }
  nav.scrolled .brand-img { height: 32px; }
  .nav-links {
    display: flex; gap: 36px;
    font-size: 11px; letter-spacing: 0.2em;
    text-transform: uppercase; font-weight: 400;
    color: var(--ink);
  }
  .nav-links a { position: relative; transition: color 0.3s; }
  .nav-links a::after {
    content: ''; position: absolute;
    left: 0; bottom: -6px; width: 0; height: 1px;
    background: var(--olive); transition: width 0.4s ease;
  }
  .nav-links a:hover { color: var(--olive); }
  .nav-links a:hover::after { width: 100%; }
  .nav-toggle { display: none; }
  @media (max-width: 960px) {
    nav { padding: 14px 20px; }
    nav.scrolled { padding: 12px 20px; }
    .brand-img { height: 34px; }
    nav.scrolled .brand-img { height: 28px; }
    .nav-links {
      position: absolute; top: 100%; left: 0; right: 0;
      background: var(--paper); flex-direction: column;
      padding: 24px; gap: 18px;
      border-bottom: 1px solid var(--rule);
      transform: translateY(-120%); transition: transform 0.4s ease;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle {
      display: block; background: none; border: none; cursor: pointer;
      font-family: var(--sans); font-size: 11px;
      letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
    }
  }

  /* ============ HERO ============ */
  .hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    overflow: hidden;
  }

  /* CHESSBOARD BACKDROP - light olive squares bleeding from right edge */
  .hero-board {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 60%;
    pointer-events: none;
    z-index: 0;
  }
  .hero-board svg { width: 100%; height: 100%; display: block; }
  /* Fade the board into the paper on the left side */
  .hero-board::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right,
      var(--paper) 0%,
      var(--paper) 8%,
      rgba(246,242,234,0) 35%,
      rgba(246,242,234,0) 100%);
    z-index: 1;
    pointer-events: none;
  }
  /* Top vignette so nav sits cleanly */
  .hero-board::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 140px;
    background: linear-gradient(to bottom, var(--paper), rgba(246,242,234,0));
    z-index: 1;
  }

  .hero-text {
    padding: 40px 56px 40px 64px;
    position: relative;
    z-index: 2;
  }
  .hero-label {
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 32px;
    display: flex; align-items: center; gap: 16px;
    opacity: 0; animation: fadeUp 1s ease 0.8s forwards;
  }
  .hero-label::before { content: ''; width: 40px; height: 1px; background: var(--olive); }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5.2vw, 82px);
    line-height: 1.04;
    letter-spacing: -0.015em;
    max-width: 14ch;
    color: var(--ink);
    opacity: 0; animation: fadeUp 1.1s ease 1.0s forwards;
  }
  .hero h1 em { font-style: italic; color: var(--olive); font-weight: 300; }
  .hero-lede {
    margin-top: 40px; max-width: 48ch;
    font-size: 16.5px; line-height: 1.75; color: var(--ink-soft);
    opacity: 0; animation: fadeUp 1.1s ease 1.2s forwards;
  }
  .hero-meta {
    margin-top: 56px;
    display: flex; gap: 44px; flex-wrap: wrap;
    font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
    opacity: 0; animation: fadeUp 1.1s ease 1.4s forwards;
  }
  .hero-meta span { display: flex; align-items: center; gap: 10px; }
  .hero-meta span::before {
    content: ''; width: 5px; height: 5px;
    background: var(--olive); transform: rotate(45deg);
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* QUEEN OPENING MOVE on the board */
  .hero-queen {
    position: absolute;
    /* Start at the bottom of the visible board */
    right: 14vw;
    bottom: 18%;
    width: clamp(44px, 5vw, 68px);
    height: auto;
    z-index: 3;
    opacity: 0;
    fill: var(--olive);
    animation:
      queenAppear 1.2s ease 1.8s forwards,
      queenMove 2.2s cubic-bezier(0.22, 1, 0.36, 1) 2.7s forwards;
  }
  @keyframes queenAppear {
    0%   { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  /* Rise slightly, then land on higher square */
  @keyframes queenMove {
    0%   { transform: translateY(0); }
    40%  { transform: translateY(-14px); }
    60%  { transform: translate(clamp(-110px, -12vw, -80px), -180px); }
    100% { transform: translate(clamp(-110px, -12vw, -80px), -180px); }
  }
  /* destination highlight */
  .hero-square-glow {
    position: absolute;
    right: calc(14vw + clamp(80px, 12vw, 110px));
    bottom: calc(18% + 180px);
    width: clamp(52px, 6vw, 78px);
    height: clamp(52px, 6vw, 78px);
    background: var(--olive);
    opacity: 0;
    z-index: 2;
    border-radius: 1px;
    animation: glowIn 2s ease 4.4s forwards;
  }
  @keyframes glowIn {
    0%   { opacity: 0; }
    50%  { opacity: 0.14; }
    100% { opacity: 0.08; }
  }

  @media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; padding: 130px 0 40px; }
    .hero-board { width: 100%; opacity: 0.5; }
    .hero-board::before {
      background: linear-gradient(to bottom,
        var(--paper) 0%, rgba(246,242,234,0.4) 40%, rgba(246,242,234,0.85) 100%);
    }
    .hero-text { padding: 0 24px; }
    .hero-queen, .hero-square-glow { display: none; }
  }

  /* ============ SECTIONS ============ */
  section { padding: 140px 56px; position: relative; z-index: 2; }
  .section-label {
    font-size: 11px; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--olive);
    margin-bottom: 36px;
    display: flex; align-items: center; gap: 14px;
  }
  .section-label::before {
    content: '';
    width: 7px;
    height: 18px;
    background: var(--olive);
    clip-path: polygon(50% 0, 76% 18%, 63% 100%, 37% 100%, 24% 18%);
    flex-shrink: 0;
  }
  .section-label-queen { width: 7px; height: 18px; fill: var(--olive); flex-shrink: 0; }
  .section-label::after {
    content: ''; flex: 0 0 40px; height: 1px;
    background: var(--olive); margin-left: 2px;
  }
  .section-title {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.1; letter-spacing: -0.01em;
    max-width: 20ch;
  }
  .section-title em { font-style: italic; color: var(--olive); font-weight: 300; }
  .section-title sup.chess-move {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.4em;
    color: var(--olive);
    font-weight: 400;
    margin-left: 8px;
    vertical-align: super;
    letter-spacing: 0.04em;
    opacity: 0.75;
  }
  .section-subline {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--olive);
    font-weight: 500;
    margin-top: 18px;
    line-height: 1.5;
    max-width: 70ch;
  }

  /* SEO crawl-only block — hidden visually but readable to Google */
  .seo-crawl {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }

  /* Manifesto pre-hero */
  .manifesto {
    min-height: 70vh;
    background: var(--paper);
    display: flex; align-items: center; justify-content: center;
    padding: 80px 48px;
    border-bottom: 1px solid var(--rule);
    position: relative;
    overflow: hidden;
  }
  .manifesto-text {
    font-family: var(--serif);
    font-size: clamp(36px, 5.5vw, 80px);
    line-height: 1.15;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.015em;
    max-width: 22ch;
    text-align: left;
    position: relative;
    z-index: 2;
  }
  .manifesto-text em { font-style: italic; color: var(--olive); font-weight: 300; }
  .manifesto-mark {
    position: absolute;
    right: -40px;
    bottom: -80px;
    width: 480px;
    opacity: 0.05;
    pointer-events: none;
    fill: var(--olive);
    z-index: 1;
  }
  .manifesto-cont {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--olive);
    font-weight: 500;
    text-decoration: none;
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
  }
  .manifesto-cont::after {
    content: '';
    width: 1px; height: 32px;
    background: var(--olive);
    opacity: 0.5;
  }

  /* Founder letter */
  .letter {
    background: var(--paper-warm);
    padding: 120px 48px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .letter-wrap {
    max-width: 720px;
    margin: 0 auto;
  }
  .letter-label {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--olive);
    font-weight: 500;
    margin-bottom: 32px;
    display: flex; align-items: center; gap: 16px;
  }
  .letter-label::before, .letter-label::after {
    content: '';
    flex: 1; height: 1px;
    background: var(--rule);
  }
  .letter-body {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.7;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: 0.005em;
  }
  .letter-body p { margin-bottom: 22px; }
  .letter-body p:first-child::first-letter {
    font-size: 64px;
    float: left;
    line-height: 0.9;
    margin: 6px 14px 0 0;
    color: var(--olive);
    font-weight: 400;
    font-style: italic;
  }
  .letter-signoff {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
    display: flex; flex-direction: column; gap: 6px;
  }
  .letter-signature {
    font-family: var(--serif);
    font-style: italic;
    font-size: 28px;
    color: var(--olive);
    font-weight: 400;
    line-height: 1;
  }
  .letter-name {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 500;
  }
  @media (max-width: 700px) {
    .letter { padding: 80px 24px; }
    .letter-body { font-size: 18px; }
    .manifesto { padding: 60px 24px; }
  }

  /* ============ THE FIRM ============ */
  .firm { background: var(--paper-warm); border-top: 1px solid var(--rule); }
  .firm-grid {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 120px; align-items: start;
    max-width: 1400px; margin: 0 auto;
  }
  .firm-body p { font-size: 17px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 22px; }
  .firm-body p:first-of-type {
    font-family: var(--serif); font-size: 28px;
    line-height: 1.45; color: var(--ink);
    font-weight: 400; margin-bottom: 36px;
  }
  .firm-body p:first-of-type em { color: var(--olive); font-style: italic; }
  .firm-stats {
    margin-top: 48px; padding-top: 40px;
    border-top: 1px solid var(--rule);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  }
  .firm-stat { display: flex; flex-direction: column; gap: 8px; }
  .firm-stat-figure {
    font-family: var(--serif); font-size: 32px; line-height: 1;
    color: var(--olive); font-weight: 400; letter-spacing: -0.005em;
  }
  .firm-stat-figure em { font-style: italic; font-weight: 400; }
  .firm-stat-label {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-soft); font-weight: 500;
  }
  @media (max-width: 960px) { .firm-grid { grid-template-columns: 1fr; gap: 48px; } }
  @media (max-width: 700px) {
    .firm-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  }

  /* ============ PRINCIPLES - ALGEBRAIC NOTATION ============ */
  #principles { background: var(--paper); }
  .principles { max-width: 1400px; margin: 0 auto; }
  .principles-header {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 120px; margin-bottom: 80px; align-items: end;
  }
  .principles-intro { max-width: 50ch; font-size: 17px; color: var(--ink-soft); line-height: 1.75; }

  .principle-list { border-top: 1px solid var(--rule); }
  .principle {
    display: grid;
    grid-template-columns: 110px 1fr 2.4fr;
    gap: 48px;
    padding: 44px 0;
    border-bottom: 1px solid var(--rule);
    align-items: center;
    transition: padding 0.5s ease;
    position: relative;
  }
  .principle:hover { padding-left: 12px; }

  /* Chess-square tile for the principle number */
  .principle-tile {
    width: 72px; height: 72px;
    display: flex; align-items: center; justify-content: center;
    background: var(--olive-square);
    border: 1px solid var(--rule);
    position: relative;
    transition: background 0.5s ease;
  }
  .principle:hover .principle-tile { background: var(--olive-square-deep); }
  /* alternating shading like a board */
  .principle:nth-child(2) .principle-tile,
  .principle:nth-child(4) .principle-tile {
    background: transparent;
  }
  .principle:nth-child(2):hover .principle-tile,
  .principle:nth-child(4):hover .principle-tile {
    background: var(--olive-square);
  }
  .principle-notation {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--olive);
    line-height: 1;
  }
  .principle-notation small {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 9px;
    letter-spacing: 0.24em;
    color: var(--muted);
    margin-top: 4px;
    text-align: center;
  }
  .principle-name {
    font-family: var(--serif);
    font-size: 32px; font-weight: 400;
    letter-spacing: -0.005em; color: var(--ink);
    line-height: 1.15;
  }
  .principle-name em { font-style: italic; color: var(--olive); font-weight: 300; }
  .principle-desc {
    font-size: 15.5px; line-height: 1.75;
    color: var(--ink-soft); max-width: 58ch;
  }

  @media (max-width: 960px) {
    .principles-header { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
    .principle { grid-template-columns: 60px 1fr; gap: 20px; }
    .principle-tile { width: 54px; height: 54px; }
    .principle-notation { font-size: 18px; }
    .principle-notation small { font-size: 8px; }
    .principle-desc { grid-column: 1 / -1; }
  }

  /* ============ INDEPENDENT SPONSORS ============ */
  .independent-sponsors { background: var(--paper-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .is-wrap { max-width: 1400px; margin: 0 auto; }
  .is-header { margin-bottom: 80px; }
  .is-body { max-width: 1100px; }
  .is-lede {
    font-size: 17px;
    line-height: 1.8; color: var(--ink-soft);
    font-weight: 300; margin-bottom: 22px;
    max-width: 70ch;
  }
  .is-body > p { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 22px; max-width: 70ch; }
  .is-pillars {
    margin-top: 64px;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  .is-pillar {
    padding: 40px 32px 0 0;
    border-right: 1px solid var(--rule);
  }
  .is-pillar:last-child { border-right: none; padding-right: 0; }
  .is-pillar:not(:first-child) { padding-left: 32px; }
  .is-pillar-num {
    font-family: var(--serif); font-style: italic;
    font-size: 14px; color: var(--olive);
    letter-spacing: 0.1em; margin-bottom: 20px;
  }
  .is-pillar h4 {
    font-family: var(--serif); font-size: 24px; font-weight: 400;
    margin-bottom: 14px; color: var(--ink); line-height: 1.2;
  }
  .is-pillar p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
  @media (max-width: 840px) {
    .is-pillars { grid-template-columns: 1fr; }
    .is-pillar { border-right: none; border-bottom: 1px solid var(--rule); padding: 32px 0; }
    .is-pillar:not(:first-child) { padding-left: 0; }
    .is-pillar:last-child { border-bottom: none; }
  }

  /* ============ REACH ============ */
  .reach { background: var(--paper); border-top: 1px solid var(--rule); }
  .reach-wrap { max-width: 1400px; margin: 0 auto; }
  .reach-header { margin-bottom: 72px; max-width: 900px; }
  .reach-lede {
    font-family: var(--serif); font-size: 22px;
    line-height: 1.55; color: var(--ink-soft);
    font-weight: 400; margin-top: 28px; max-width: 64ch;
  }
  .reach-lede em { color: var(--olive); font-style: italic; }
  .reach-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
  }
  .reach-col {
    padding: 48px 40px 48px 0;
    border-right: 1px solid var(--rule);
    position: relative;
  }
  .reach-col:last-child { border-right: none; padding-right: 0; }
  .reach-col:not(:first-child) { padding-left: 40px; }
  .reach-marker {
    font-family: var(--serif); font-style: italic;
    font-size: 14px; color: var(--olive);
    letter-spacing: 0.08em; margin-bottom: 18px;
  }
  .reach-col h3 {
    font-family: var(--serif); font-size: 28px; font-weight: 400;
    margin-bottom: 18px; color: var(--ink); line-height: 1.2;
    letter-spacing: -0.005em;
  }
  .reach-col h3 em { color: var(--olive); font-style: italic; }
  .reach-col p {
    font-size: 15.5px; line-height: 1.75; color: var(--ink-soft);
    margin-bottom: 18px;
  }
  .reach-col p:last-child { margin-bottom: 0; }
  .reach-tags {
    margin-top: 22px; padding-top: 20px;
    border-top: 1px solid var(--rule);
    display: flex; flex-wrap: wrap; gap: 8px 16px;
    font-family: var(--serif); font-style: italic;
    font-size: 14px; color: var(--olive);
  }
  .reach-tags span::after {
    content: '·'; margin-left: 16px; color: var(--rule);
  }
  .reach-tags span:last-child::after { content: ''; }
  @media (max-width: 840px) {
    .reach-grid { grid-template-columns: 1fr; }
    .reach-col { border-right: none; border-bottom: 1px solid var(--rule); padding: 40px 0; }
    .reach-col:not(:first-child) { padding-left: 0; }
    .reach-col:last-child { border-bottom: none; }
  }

  /* ============ SOLUTIONS ============ */
  .solutions { background: var(--ink); color: var(--paper); }
  .solutions .section-label { color: var(--olive-soft); }
  .solutions .section-label::before { background: var(--olive-soft); }
  .solutions .section-label::after { background: var(--olive-soft); }
  .solutions .section-label-queen { fill: var(--olive-soft); }
  .solutions-grid {
    max-width: 1400px; margin: 80px auto 0;
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(246, 242, 234, 0.18);
  }
  .solution {
    padding: 56px 40px;
    border-bottom: 1px solid rgba(246, 242, 234, 0.18);
    border-right: 1px solid rgba(246, 242, 234, 0.18);
    position: relative;
  }
  .solution:first-child { padding-left: 0; }
  .solution:last-child { border-right: none; padding-right: 0; }
  .solution-tag {
    font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--olive-soft); margin-bottom: 28px;
  }
  .solution h3 {
    font-family: var(--serif); font-weight: 400;
    font-size: 34px; line-height: 1.12;
    letter-spacing: -0.01em; margin-bottom: 24px;
  }
  .solution h3 em { font-style: italic; color: var(--olive-soft); font-weight: 300; }
  .solution p {
    font-size: 16px; line-height: 1.8;
    color: rgba(246, 242, 234, 0.8); max-width: 48ch;
  }
  .solution p + p { margin-top: 16px; }
  .solution-sub {
    list-style: none; padding: 0; margin: 28px 0 0;
    border-top: 1px solid rgba(246, 242, 234, 0.14);
  }
  .solution-sub li {
    padding: 18px 0; border-bottom: 1px solid rgba(246, 242, 234, 0.14);
    display: grid; grid-template-columns: 140px 1fr; gap: 20px;
    align-items: baseline;
  }
  .solution-sub .sub-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-weight: 400;
    color: var(--olive-soft); font-size: 16px;
    letter-spacing: 0.01em;
  }
  .solution-sub .sub-copy {
    font-size: 14.5px; line-height: 1.65;
    color: rgba(246, 242, 234, 0.72);
  }
  @media (max-width: 840px) {
    .solutions-grid { grid-template-columns: 1fr; }
    .solution { padding: 48px 0; border-right: none; }
    .solution:first-child { padding-left: 0; }
    .solution-sub li { grid-template-columns: 1fr; gap: 4px; }
  }

  /* ============ APPROACH ============ */
  .approach { background: var(--paper); }
  .approach-wrap { max-width: 1400px; margin: 0 auto; }
  .approach-content {
    margin-top: 80px;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid var(--rule);
  }
  .approach-col { padding: 48px 32px 0 0; border-right: 1px solid var(--rule); }
  .approach-col:last-child { border-right: none; padding-right: 0; }
  .approach-col:not(:first-child) { padding-left: 32px; }
  .approach-num {
    font-family: var(--serif); font-style: italic; font-size: 14px;
    color: var(--olive); letter-spacing: 0.1em; margin-bottom: 20px;
  }
  .approach-col h4 {
    font-family: var(--serif); font-size: 26px; font-weight: 400;
    margin-bottom: 20px; line-height: 1.2;
  }
  .approach-col h4 em { font-style: italic; color: var(--olive); }
  .approach-col p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
  @media (max-width: 840px) {
    .approach-content { grid-template-columns: 1fr; }
    .approach-col { border-right: none; border-bottom: 1px solid var(--rule); padding: 36px 0; }
    .approach-col:not(:first-child) { padding-left: 0; }
    .approach-col:last-child { border-bottom: none; }
  }

  /* ============ TEAM ============ */
  .team { background: var(--paper-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .team-wrap { max-width: 1400px; margin: 0 auto; }
  .team-header {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 120px; margin-bottom: 80px; align-items: end;
  }
  .team-intro { max-width: 50ch; font-size: 17px; color: var(--ink-soft); line-height: 1.75; }
  .team-list { border-top: 1px solid var(--rule); }
  .team-member {
    display: grid; grid-template-columns: 60px 140px 1fr;
    gap: 40px; padding: 48px 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
    transition: padding 0.4s ease;
  }
  .team-member:hover { padding-left: 12px; }
  .team-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--olive); margin-top: 10px; }
  .team-photo {
    width: 140px; height: 140px;
    border-radius: 50%;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }
  .team-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    display: block;
  }
  .team-photo-monogram {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 300;
    color: var(--olive);
    letter-spacing: 0.02em;
    line-height: 1;
  }
  .team-person { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .team-name {
    font-family: var(--serif); font-size: 34px;
    font-weight: 400; letter-spacing: -0.01em;
    color: var(--ink); line-height: 1.1;
  }
  .team-title {
    font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--olive); font-weight: 400;
    margin-top: -6px;
  }
  .team-bio {
    font-size: 15.5px; line-height: 1.7;
    color: var(--ink-soft); max-width: 70ch;
    margin-top: 6px;
  }
  .team-bio p { margin: 0; }
  .team-bio p + p { margin-top: 14px; }
  .team-bio-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  .team-bio-expand.open { max-height: 3000px; }
  .team-bio-expand > p:first-child { margin-top: 14px; }
  .team-bio-toggle {
    display: inline-block;
    margin-top: 16px;
    padding: 0;
    background: none; border: none;
    font-family: var(--serif);
    font-style: italic;
    font-size: 14.5px;
    color: var(--olive);
    cursor: pointer;
    letter-spacing: 0.01em;
    border-bottom: 1px solid var(--olive);
    transition: opacity 0.3s ease;
    align-self: flex-start;
  }
  .team-bio-toggle:hover { opacity: 0.7; }
  .team-linkedin {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px; padding: 6px 0;
    font-size: 10.5px; letter-spacing: 0.24em;
    text-transform: uppercase; color: var(--olive);
    text-decoration: none; font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    align-self: flex-start;
  }
  .team-linkedin svg { width: 13px; height: 13px; fill: currentColor; }
  .team-linkedin:hover { border-bottom-color: var(--olive); opacity: 0.85; }
  .team-langs {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 6px 18px; margin-top: 10px;
    font-size: 11.5px; letter-spacing: 0.14em;
    color: var(--ink-soft);
  }
  .team-langs-label {
    font-size: 9.5px; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--olive);
    margin-right: 6px;
    font-weight: 500;
  }
  .team-langs span:not(.team-langs-label) {
    padding: 4px 12px;
    border: 1px solid var(--rule);
    background: transparent;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    color: var(--ink);
  }
  @media (max-width: 840px) {
    .team-member { grid-template-columns: 40px 100px 1fr; gap: 16px; padding: 36px 0; }
    .team-photo { width: 100px; height: 100px; }
    .team-photo-monogram { font-size: 32px; }
    .team-name { font-size: 26px; }
    .team-bio { font-size: 15px; }
  }

  /* ============ RESPONSIBILITY ============ */
  .responsibility { background: var(--paper); }
  .resp-grid {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 100px; align-items: center;
  }
  .resp-quote {
    font-family: var(--serif); font-style: italic; font-weight: 300;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.35; color: var(--ink);
    padding-left: 32px; border-left: 2px solid var(--olive);
  }
  .resp-body p { font-size: 17px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 18px; }
  .resp-charities {
    margin-top: 40px;
    display: flex; flex-wrap: wrap; gap: 10px 28px;
    font-family: var(--serif); font-style: italic;
    font-size: 18px; color: var(--olive);
  }
  .resp-charities span::after { content: '·'; margin-left: 28px; color: var(--ink); opacity: 0.4; }
  .resp-charities span:last-child::after { content: ''; }
  @media (max-width: 960px) { .resp-grid { grid-template-columns: 1fr; gap: 48px; } }

  /* ============ DIALOGUE / ENDGAME ============ */
  .endgame {
    background: var(--paper-deep);
    text-align: center;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 160px 56px;
    position: relative;
    overflow: hidden;
  }
  /* A small chessboard tile pattern behind the dialogue */
  .endgame-board {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    pointer-events: none;
    background-image:
      linear-gradient(45deg, var(--olive-square) 25%, transparent 25%),
      linear-gradient(-45deg, var(--olive-square) 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, var(--olive-square) 75%),
      linear-gradient(-45deg, transparent 75%, var(--olive-square) 75%);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0px;
  }
  .endgame::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 20%, var(--paper-deep) 80%);
    z-index: 1;
  }
  .endgame-wrap { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
  .endgame-queen {
    width: 28px; height: 72px;
    fill: var(--olive);
    margin: 0 auto 44px;
    display: block;
  }
  .endgame h2 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 28px;
  }
  .endgame h2 em { font-style: italic; color: var(--olive); }
  .endgame p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 54ch;
    margin: 0 auto;
    line-height: 1.7;
  }

  /* ============ CONTACT ============ */
  .contact { background: var(--ink); color: var(--paper); padding: 140px 56px 80px; }
  .contact-wrap { max-width: 1400px; margin: 0 auto; }
  .contact .section-label { color: var(--olive-soft); }
  .contact .section-label::before { background: var(--olive-soft); }
  .contact .section-label::after { background: var(--olive-soft); }
  .contact .section-label-queen { fill: var(--olive-soft); }
  .contact h2 {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(40px, 6vw, 90px);
    line-height: 1.05; letter-spacing: -0.015em;
    max-width: 16ch; margin-bottom: 64px;
  }
  .contact h2 em { font-style: italic; color: var(--olive-soft); }
  .contact-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 64px; padding: 64px 0;
    border-top: 1px solid rgba(246, 242, 234, 0.18);
    border-bottom: 1px solid rgba(246, 242, 234, 0.18);
  }
  .contact-col h5 {
    font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--olive-soft); margin-bottom: 20px; font-weight: 500;
  }
  .contact-col p, .contact-col a { font-size: 15px; line-height: 1.75; color: rgba(246, 242, 234, 0.82); }
  .contact-col a:hover { color: var(--olive-soft); }
  @media (max-width: 840px) {
    .contact { padding: 100px 24px 60px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  }

  /* ============ FOOTER ============ */
  footer {
    background: var(--ink); color: rgba(246, 242, 234, 0.5);
    padding: 48px 56px 56px; font-size: 12px; line-height: 1.7;
    position: relative; z-index: 2;
  }
  .footer-wrap { max-width: 1400px; margin: 0 auto; }
  .footer-top {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 24px; margin-bottom: 32px;
  }
  .footer-logo {
    height: 42px; width: auto; display: block;
    /* Invert the logo for dark background - make it paper-coloured  */
    filter: brightness(0) invert(1) sepia(0.2) saturate(2) hue-rotate(25deg);
    opacity: 0.9;
  }
  /* Actually - simpler: use the logo as-is but brightened */
  .footer-logo { filter: none; }
  .footer-links {
    display: flex; gap: 28px;
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  }
  .footer-links a:hover { color: var(--olive-soft); }
  .footer-legal { font-family: var(--sans); font-size: 12px; font-weight: 300; line-height: 1.75; color: rgba(246, 242, 234, 0.55); max-width: 100ch; }
  .footer-bottom {
    margin-top: 28px; padding-top: 20px;
    border-top: 1px solid rgba(246, 242, 234, 0.1);
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    font-size: 11px; letter-spacing: 0.12em; color: rgba(246, 242, 234, 0.4);
  }
  @media (max-width: 840px) { footer { padding: 36px 24px; } }

  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    .hero-logo, .hero-label, .hero h1, .hero-lede, .hero-meta,
    .hero-queen, .hero-square-glow {
      animation: none !important; opacity: 1 !important; transform: none !important;
    }
    .hero-queen { transform: translate(clamp(-110px, -12vw, -80px), -180px); }
    .hero-square-glow { opacity: 0.08; }
  }

  /* ============ SOLUTION STATS ============ */
  .solution-stats {
    margin-top: 32px; padding-top: 28px;
    border-top: 1px solid rgba(246, 242, 234, 0.18);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
  }
  .solution-stat {}
  .solution-stat-figure {
    font-family: var(--serif);
    font-size: 32px; font-weight: 400;
    color: var(--olive-soft);
    letter-spacing: -0.01em;
    line-height: 1;
  }
  .solution-stat-label {
    font-size: 10.5px; letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(246, 242, 234, 0.5);
    margin-top: 6px; font-weight: 400;
    line-height: 1.4;
  }
  .solution-stat-note {
    grid-column: 1 / -1;
    font-size: 11px; color: rgba(246, 242, 234, 0.35);
    margin-top: 4px; line-height: 1.6;
    letter-spacing: 0.02em;
  }
/* WordPress integration */
html { margin: 0 !important; padding: 0 !important; }
body { margin: 0 !important; padding: 0 !important; }
#wpadminbar { display: none !important; }
#nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
}
#nav .brand-img {
  height: 42px !important;
  width: auto !important;
  transition: height 0.4s ease, opacity 0.5s ease !important;
}
#nav:not(.scrolled) {
  background: rgba(246, 242, 234, 0) !important;
  backdrop-filter: blur(0) !important;
  -webkit-backdrop-filter: blur(0) !important;
  border-bottom-color: transparent !important;
  padding: 20px 48px !important;
}
#nav.scrolled,
html.azr-scrolled #nav,
body.azr-scrolled #nav {
  background: rgba(246, 242, 234, 0.86) !important;
  background-color: rgba(246, 242, 234, 0.86) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom-color: var(--rule) !important;
  padding: 14px 48px !important;
}
#nav.scrolled .brand-img,
html.azr-scrolled #nav .brand-img,
body.azr-scrolled #nav .brand-img {
  height: 32px !important;
}
.site-main,
.azr-page-content,
.wp-site-blocks,
.entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  overflow-x: hidden !important;
}
.entry-content > .wp-block-html,
.entry-content > .wp-block-shortcode,
.entry-content > .wp-block-group,
.entry-content > .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.azr-page-content .wp-block-group,
.azr-page-content .wp-block-heading,
.azr-page-content p,
.azr-page-content ul,
.entry-content .wp-block-group,
.entry-content .wp-block-heading,
.entry-content p,
.entry-content ul {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.entry-content > section,
.entry-content .wp-block-html > section {
  margin: 0 !important;
}
.azr-page-content section,
.azr-page-content > .wp-block-group,
.azr-page-content .wp-block-html > section,
.entry-content > section,
.entry-content > .wp-block-group,
.entry-content .wp-block-html > section {
  padding: 140px 56px !important;
}
.azr-page-content .hero,
.entry-content > .hero,
.entry-content .wp-block-html > .hero {
  padding: 140px 0 80px !important;
}
.azr-page-content .letter,
.entry-content > .letter,
.entry-content .wp-block-html > .letter {
  padding: 120px 48px !important;
}
.azr-page-content .manifesto,
.entry-content > .manifesto,
.entry-content .wp-block-html > .manifesto {
  padding: 80px 48px !important;
}
.azr-page-content .endgame,
.entry-content > .endgame,
.entry-content .wp-block-html > .endgame {
  padding: 160px 56px !important;
}
.azr-page-content .contact,
.entry-content > .contact,
.entry-content .wp-block-html > .contact {
  padding: 140px 56px 80px !important;
}
@media (max-width: 960px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .site-main,
  .azr-page-content,
  .entry-content,
  .entry-content > .wp-block-group,
  .azr-page-content > .wp-block-group {
    width: 100% !important;
    max-width: 100% !important;
  }
  #nav:not(.scrolled) {
    padding: 14px 20px !important;
  }
  #nav.scrolled,
  html.azr-scrolled #nav,
  body.azr-scrolled #nav {
    padding: 12px 20px !important;
  }
  #nav.scrolled .brand-img,
  html.azr-scrolled #nav .brand-img,
  body.azr-scrolled #nav .brand-img {
    height: 28px !important;
  }
  .azr-page-content .hero,
  .entry-content > .hero,
  .entry-content .wp-block-html > .hero {
    padding: 130px 0 40px !important;
  }
  .nav-links.open,
  #navLinks.open {
    transform: translateY(0) !important;
  }
  .nav-links .menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }
  .azr-page-content section,
  .azr-page-content > .wp-block-group,
  .azr-page-content .wp-block-html > section,
  .entry-content > section,
  .entry-content > .wp-block-group,
  .entry-content .wp-block-html > section {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
@media (max-width: 840px) {
  .team-header {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .team-intro {
    max-width: 100% !important;
  }
  .azr-page-content .contact,
  .entry-content > .contact,
  .entry-content .wp-block-html > .contact {
    padding: 100px 24px 60px !important;
  }
}
@media (max-width: 700px) {
  .azr-page-content .letter,
  .entry-content > .letter,
  .entry-content .wp-block-html > .letter {
    padding: 80px 24px !important;
  }
  .azr-page-content .manifesto,
  .entry-content > .manifesto,
  .entry-content .wp-block-html > .manifesto {
    padding: 60px 24px !important;
  }
  .azr-page-content .contact,
  .entry-content > .contact,
  .entry-content .wp-block-html > .contact {
    padding: 100px 24px 60px !important;
  }
}
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.nav-links .menu { display: contents; list-style: none; margin: 0; padding: 0; }
.nav-links .menu-item { margin: 0; padding: 0; }
@media (max-width: 960px) {
  .nav-links .menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }
}
.footer-links .menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-links .menu-item { margin: 0; padding: 0; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reveal { opacity: 1; transform: translateY(0); }
html.azr-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}
html.azr-reveal-ready .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.azr-reveal-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.editor-styles-wrapper { font-family: var(--sans); color: var(--ink); background: var(--paper); }
.editor-styles-wrapper .wp-block { max-width: none; }


