/* Renowned: the shared design system.
   Every page links this file, so a change here changes every page. Colours,
   fonts and corner radii are the variables in :root at the top. Change them
   there, never by pasting a hex code further down.
   Page specific components live in a small <style> block on the page itself. */
:root {
    --cream:    #FBF4E4;
    --cream-2:  #F3E8D0;
    --ink:      #211A11;
    --ink-2:    #4E4335;
    --muted:    #7B7060;
    --pine:     #1C4540;
    --pine-2:   #143430;
    --burgundy: #7B2028;
    --gold:     #FFC700;

    --card-line: rgba(33, 26, 17, 0.14);

    --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --sans: 'Avenir Next', Avenir, 'Segoe UI', system-ui, -apple-system, sans-serif;
    --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
    --script: 'Iowan Old Style', Baskerville, Georgia, serif;

    --r: 26px;
    --r-sm: 16px;
    --pill: 999px;

    --bg: var(--cream);
    --fg: var(--ink);
    --fg-2: var(--ink-2);
    --dim: var(--muted);
    --accent: var(--burgundy);
    --line: var(--card-line);
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --cream: #14120E; --cream-2: #1D1A14; --ink: #F7F0E0; --ink-2: #D8CFBB;
      --muted: #9C9384; --pine: #163B37; --pine-2: #102C29;
      --burgundy: #9C2A33; --gold: #FFC700;
      --card-line: rgba(247, 240, 224, 0.16);
    }
  }
  :root[data-theme="dark"] {
    --cream: #14120E; --cream-2: #1D1A14; --ink: #F7F0E0; --ink-2: #D8CFBB;
    --muted: #9C9384; --pine: #163B37; --pine-2: #102C29;
    --burgundy: #9C2A33; --gold: #FFC700;
    --card-line: rgba(247, 240, 224, 0.16);
  }
  :root[data-theme="light"] {
    --cream: #FBF4E4; --cream-2: #F3E8D0; --ink: #211A11; --ink-2: #4E4335;
    --muted: #7B7060; --pine: #1C4540; --pine-2: #143430;
    --burgundy: #7B2028; --gold: #FFC700;
    --card-line: rgba(33, 26, 17, 0.14);
  }

  * { box-sizing: border-box; }
  img { max-width: 100%; }
  [hidden] { display: none !important; }

  body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }

  .wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 26px; }
  section { padding: 30px 0; }

  /* ---------- type ---------- */

  h1, h2, h3, .big {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -0.038em;
    line-height: 0.97;
    margin: 0;
    text-wrap: balance;
  }
  h1 { font-size: clamp(46px, 8.4vw, 118px); }
  h2 { font-size: clamp(34px, 5.6vw, 72px); }
  h3 { font-size: clamp(23px, 2.6vw, 33px); letter-spacing: -0.028em; line-height: 1.03; }

  p { margin: 0 0 18px; color: var(--fg-2); }
  .lede { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.5; max-width: 50ch; }
  .col { max-width: 62ch; }
  strong { color: var(--fg); font-weight: 600; }


  /* ---------- buttons ---------- */

  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--sans); font-weight: 700; font-size: 15px;
    letter-spacing: -0.01em;
    padding: 17px 30px; border-radius: var(--pill);
    background: var(--ink); color: var(--cream);
    text-decoration: none; border: 2px solid var(--ink);
    transition: transform 0.18s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.18s, color 0.18s;
  }
  .btn:hover { transform: translateY(-3px); }
  .btn--gold { background: var(--gold); color: #241903; border-color: var(--gold); }
  .btn--ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
  .btn--ghost span { transition: transform 0.2s; }
  .btn--ghost:hover span { transform: translateX(5px); }

  .arrowlink {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 15px; color: var(--fg);
    text-decoration: none;
  }
  .arrowlink span { transition: transform 0.2s; }
  .arrowlink:hover span { transform: translateX(5px); }

  .actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 34px; }

  a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

  /* ---------- cards ---------- */

  .card {
    --bg: var(--cream-2); --fg: var(--ink); --fg-2: var(--ink-2);
    --dim: var(--muted); --accent: var(--burgundy); --line: var(--card-line);
    background: var(--bg); color: var(--fg);
    border-radius: var(--r); padding: 54px;
    position: relative; overflow: hidden;
  }
  .card--pine { --bg: var(--pine); --fg: var(--cream); --fg-2: #CFE0DA; --dim: #8FA9A2; --accent: var(--gold); --line: rgba(251, 244, 228, 0.18); }
  .card--gold { --bg: var(--gold); --fg: #241903; --fg-2: #40300A; --dim: #6B5312; --accent: #7B2028; --line: rgba(36, 25, 3, 0.22); }
  .card--burg { --bg: var(--burgundy); --fg: var(--cream); --fg-2: #EFD9CE; --dim: #CE9A9E; --accent: var(--gold); --line: rgba(251, 244, 228, 0.2); }
  .card--outline { --bg: transparent; border: 2px solid var(--card-line); }
  .card .btn { background: var(--fg); color: var(--bg); border-color: var(--fg); }
  .card .btn--gold { background: var(--gold); color: #241903; border-color: var(--gold); }
  .card .btn--ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
  .card > *:not(.watermark) { position: relative; z-index: 1; }

  .grid { display: grid; gap: 18px; }
  .g2 { grid-template-columns: 1fr 1fr; }
  .g2--lead { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .span2 { grid-column: span 2; }

  /* ---------- nav ---------- */

  .nav { position: sticky; top: 0; z-index: 60; background: var(--cream); }
  .nav-in { display: flex; align-items: center; gap: 26px; height: 78px; }
  .mark { display: flex; align-items: center; margin-right: auto; text-decoration: none; line-height: 0; }
  .mark img { display: block; height: 27px; width: auto; }
  .nav-links { display: flex; gap: 26px; }
  .nav-links a { font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.16s; }
  .nav-links a:hover { color: var(--ink); }
  .nav .btn { padding: 12px 22px; font-size: 14px; }

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

  .hero { padding: 26px 0 34px; }
  .hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: stretch; }

  .hero h1 {
    font-size: clamp(40px, 6.4vw, 86px);
    max-width: 14ch;
    color: var(--gold);
    text-shadow: 0.046em 0.046em 0 var(--burgundy);
  }
  .hero .circled path { stroke: var(--cream); }

  .circled { position: relative; display: inline-block; white-space: nowrap; }
  .circled svg {
    position: absolute; left: -7%; top: -22%; width: 114%; height: 148%;
    overflow: visible; pointer-events: none;
  }
  .circled path {
    fill: none; stroke: var(--burgundy); stroke-width: 5.5; stroke-linecap: round;
    stroke-dasharray: 980; stroke-dashoffset: 980;
    animation: draw 1.5s cubic-bezier(0.5, 0, 0.2, 1) 0.55s forwards;
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @media (prefers-reduced-motion: reduce) { .circled path { stroke-dashoffset: 0; } }

  .sticker {
    position: absolute; right: 30px; top: 30px; z-index: 2;
    transform: rotate(7deg);
    background: var(--gold); color: #241903;
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em;
    text-transform: uppercase; font-weight: 600;
    padding: 11px 17px; border-radius: var(--pill);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
  }

  /* ---------- imagery ---------- */

  .imgcard {
    position: relative; border-radius: var(--r); overflow: hidden;
    background: var(--pine-2); line-height: 0;
  }
  .imgcard img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .imgcard video { display: block; width: 100%; height: 100%; object-fit: cover; }
  .imgcard--portrait img { aspect-ratio: 3 / 4; }
  .imgcard--wide img, .imgcard--wide video { aspect-ratio: 16 / 9; }
  .imgcard--short img { aspect-ratio: 21 / 9; }
  .imgcard .ph {
    position: absolute; left: 18px; bottom: 18px; z-index: 2;
    font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em;
    text-transform: uppercase; color: rgba(251, 244, 228, 0.92);
    background: rgba(20, 18, 14, 0.55);
    border: 1px solid rgba(251, 244, 228, 0.28); border-radius: var(--pill);
    padding: 6px 13px; line-height: 1.4;
  }

  .watermark {
    position: absolute; right: 46px; bottom: 38px;
    width: min(30%, 260px); height: auto; opacity: 0.10;
    pointer-events: none; user-select: none; z-index: 0;
  }

  .stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 18px; }
  .stack .imgcard img, .stack .imgcard video { aspect-ratio: 16 / 9; }
  .stack .imgcard .ph { left: 12px; bottom: 12px; font-size: 8.5px; padding: 5px 10px; }

  /* ---------- trusted by ---------- */

  .trust { padding: 34px 44px; }
  .trust-head {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--dim); margin: 0 0 24px;
  }
  .people { display: flex; flex-wrap: wrap; gap: 16px 34px; }
  .person { display: flex; align-items: center; gap: 13px; }
  .avatar {
    width: 46px; height: 46px; border-radius: 50%; flex: none;
    display: grid; place-items: center; overflow: hidden;
    font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em;
    background: var(--pine); color: var(--gold); border: 2px solid var(--gold);
  }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .person .who { font-weight: 700; font-size: 15px; color: var(--fg); line-height: 1.25; }
  .person .role { font-size: 12.5px; color: var(--dim); line-height: 1.3; }

  /* ---------- marquee ---------- */

  .marq {
    background: var(--gold); color: #241903;
    border-radius: var(--pill); padding: 17px 0; overflow: hidden;
    display: flex; white-space: nowrap;
  }
  .marq-track {
    display: flex; gap: 46px; padding-right: 46px;
    animation: slide 34s linear infinite;
    font-family: var(--display); font-weight: 800; font-size: 19px;
    letter-spacing: -0.02em; flex: none;
  }
  .marq-track b { color: var(--burgundy); font-weight: 800; }
  .marq-lab {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--muted); margin: 0 0 12px; padding-left: 4px;
  }
  .mperson { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
  .marq-track { gap: 40px; }
  .mavatar {
    width: 42px; height: 42px; border-radius: 50%; flex: none; overflow: hidden;
    display: grid; place-items: center; background: var(--pine); color: var(--gold);
    font-family: var(--display); font-weight: 800; font-size: 13.5px; letter-spacing: -0.02em;
  }
  .mavatar img { width: 100%; height: 100%; object-fit: cover; }
  .mtext { display: flex; flex-direction: column; }
  .mname { font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: -0.022em; color: #241903; line-height: 1.12; }
  .mrole { font-size: 11.5px; color: #6B5312; line-height: 1.2; margin-top: 1px; }
  .mrole { font-size: 12px; color: #6B5312; display: block; line-height: 1.3; }
  @media (prefers-reduced-motion: reduce) {
    .marq { flex-wrap: wrap; padding: 22px 26px; }
    .marq-track { flex-wrap: wrap; gap: 18px 30px; padding-right: 0; }
    .marq-track[aria-hidden="true"] { display: none; }
  }
  @keyframes slide { to { transform: translateX(-100%); } }
  .marq:hover .marq-track { animation-play-state: paused; }

  /* ---------- statement ---------- */

  .statement { padding: 76px 54px; }
  .statement .big { font-size: clamp(38px, 7.6vw, 104px); max-width: 15ch; }
  .statement .after { margin: 34px 0 0; max-width: 44ch; font-size: 17px; }

  /* ---------- numbered cards ---------- */

  .num-card { padding: 40px 34px 34px; }
  .num-card .n {
    font-family: var(--display); font-weight: 800; font-size: 52px;
    letter-spacing: -0.05em; color: var(--accent); line-height: 1; margin-bottom: 16px;
  }
  .num-card h3 { margin-bottom: 12px; }
  .num-card p { font-size: 15.5px; margin: 0; }

  /* ---------- index ---------- */

  .idx-row { padding: 24px 0; border-top: 1.5px solid var(--line); }
  .idx-row:first-of-type { border-top: none; }
  .idx-top { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .idx-top h3 { margin-right: auto; }
  .idx-q { font-family: var(--script); font-style: italic; font-size: 17px; color: var(--dim); }
  .idx-n {
    font-family: var(--display); font-weight: 800; font-size: 34px;
    letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums;
  }
  .track {
    position: relative; height: 14px; border-radius: var(--pill);
    background: rgba(255, 255, 255, 0.13); margin-top: 16px;
  }
  .fill {
    position: absolute; left: 0; top: 0; bottom: 0; width: 0;
    border-radius: var(--pill); background: var(--accent);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .bench { position: absolute; top: -6px; bottom: -6px; width: 3px; border-radius: 2px; background: var(--fg); }
  .idx-foot { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; }
  .pillnote {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--dim); border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 12px;
  }

  /* ---------- method ---------- */

  .stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .stage { padding: 30px 24px; border-radius: var(--r-sm); }
  .stage .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }
  .stage h3 { font-size: 25px; margin: 14px 0 12px; }
  .stage p { font-size: 14.5px; line-height: 1.5; margin: 0; }

  /* ---------- lists ---------- */

  .nots { list-style: none; margin: 22px 0 0; padding: 0; }
  .nots li {
    padding: 16px 0 16px 34px; position: relative; font-size: 16.5px; color: var(--fg-2);
    border-bottom: 1.5px solid var(--line);
  }
  .nots li:last-child { border-bottom: none; }
  .nots li::before {
    content: '\2715'; position: absolute; left: 0; top: 15px;
    color: var(--accent); font-size: 15px; font-weight: 700;
  }

  /* ---------- versus ---------- */

  .vs { display: grid; gap: 12px; margin-top: 34px; }
  .vs-row {
    display: grid; grid-template-columns: 210px 1fr; gap: 8px 26px;
    align-items: baseline; padding: 20px 26px; border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.05); border: 1.5px solid var(--line);
  }
  .vs-row .who { font-weight: 700; font-size: 16.5px; color: var(--fg); }
  .vs-row .what { font-size: 15.5px; color: var(--fg-2); margin: 0; }
  .vs-row .what b { color: var(--dim); font-weight: 700; }
  .vs-row--us { background: var(--gold); border-color: var(--gold); }
  .vs-row--us .who { color: #241903; }
  .vs-row--us .what { color: #40300A; }
  .vs-row--us .what b { color: #6B5312; }

  /* ---------- quotes ---------- */

  .quote p {
    font-family: var(--display); font-weight: 700; font-size: 21px;
    line-height: 1.24; letter-spacing: -0.022em; color: var(--fg); margin-bottom: 20px;
  }
  .quote cite {
    font-style: normal; font-family: var(--mono); font-size: 10.5px;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);
  }

  /* ---------- capabilities ---------- */

  .caps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
  .caps span {
    font-weight: 600; font-size: 15px; color: var(--fg-2);
    border: 1.5px solid var(--line); border-radius: var(--pill); padding: 10px 19px;
    transition: background 0.18s, color 0.18s, transform 0.18s;
  }
  .caps span:hover { background: var(--gold); color: #241903; border-color: var(--gold); transform: translateY(-2px); }

  /* ---------- faq ---------- */

  details { border-bottom: 1.5px solid var(--line); }
  details:last-of-type { border-bottom: none; }
  summary {
    cursor: pointer; list-style: none; padding: 24px 0;
    display: flex; gap: 22px; align-items: baseline; justify-content: space-between;
    font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 25px);
    letter-spacing: -0.026em; color: var(--fg); line-height: 1.15;
  }
  summary::-webkit-details-marker { display: none; }
  summary::after {
    content: '+'; font-family: var(--mono); font-size: 20px; color: var(--accent);
    flex: none; transition: transform 0.2s;
  }
  details[open] summary::after { transform: rotate(45deg); }
  details p { font-size: 16px; padding-bottom: 10px; max-width: 60ch; }

  /* ---------- footer ---------- */

  .foot { background: var(--pine-2); color: #C6BCA6; border-radius: var(--r) var(--r) 0 0; margin-top: 30px; padding: 62px 0 46px; }
  .foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
  .foot .mark img { height: 31px; }
  .foot h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
  .foot ul { list-style: none; margin: 0; padding: 0; }
  .foot li { margin-bottom: 10px; }
  .foot a { color: #C6BCA6; text-decoration: none; font-size: 14.5px; }
  .foot a:hover { color: var(--cream); }
  .foot .fine { margin-top: 16px; font-size: 14px; color: #8CA096; max-width: 32ch; }

  /* ---------- reveal ---------- */

  .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .rv.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

  /* ---------- responsive ---------- */

  @media (max-width: 1040px) {
    .hero-grid { grid-template-columns: 1fr; }
    .stack { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
    .stages { grid-template-columns: 1fr 1fr; }
    .g3 { grid-template-columns: 1fr; }
    .span2 { grid-column: auto; }
    .nav-links { display: none; }
    .card { padding: 38px 28px; }
    .statement { padding: 52px 28px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .sticker { right: 18px; top: 18px; }
  }
  @media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .stack { grid-template-columns: 1fr 1fr; }
    .g2, .g2--lead { grid-template-columns: 1fr; }
    .stages { grid-template-columns: 1fr; }
    .vs-row { grid-template-columns: 1fr; gap: 6px; }
    .foot-grid { grid-template-columns: 1fr; gap: 32px; }
    .card { padding: 32px 22px; border-radius: 20px; }
    .idx-top { gap: 8px; }
    .idx-top h3 { width: 100%; }
  }
