:root {
      --ink: #13251f;
      --muted: #5d6c66;
      --paper: #f7f6f0;
      --surface: #ffffff;
      --line: #d8ddd8;
      --green: #245c46;
      --green-2: #3f7a5d;
      --soft-green: #e7eee8;
      --gold: #bd7d2d;
      --soft-gold: #f2e8d8;
      --max: 1180px;
      --radius: 18px;
      --shadow: 0 18px 45px rgba(19, 37, 31, 0.08);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.6;
    }

    a { color: inherit; }
    p { margin: 0 0 1rem; }
    h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
    h2 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 820px; }
    h3 { font-size: 1.3rem; letter-spacing: -0.015em; }

    .shell { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }

    .nav {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(247, 246, 240, 0.94);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(216, 221, 216, 0.85);
    }

    .nav-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      font-weight: 800;
      text-decoration: none;
      letter-spacing: -0.035em;
      font-size: 1.1rem;
    }

    .brand span { color: var(--green-2); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      font-size: 0.94rem;
    }

    .nav-links a { text-decoration: none; color: var(--muted); }
    .nav-links a:hover { color: var(--ink); }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 46px;
      padding: 0 18px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 750;
      border: 1px solid var(--green);
      background: var(--green);
      color: white;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .nav-links a.button {
      color: var(--green);
      border-color: var(--green);
      background: transparent;
    }
    
    .button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(36, 92, 70, 0.2); }
    .button.secondary { background: transparent; color: var(--green); }

    .hero {
      padding: clamp(72px, 11vw, 140px) 0 88px;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
      gap: 64px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-weight: 800;
      color: var(--green);
      margin-bottom: 24px;
    }

    .eyebrow::before {
      content: "";
      width: 30px;
      height: 2px;
      background: var(--gold);
    }

    h1 {
      font-size: clamp(3.25rem, 7.4vw, 7rem);
      max-width: 980px;
    }

    .hero h1 em {
      font-style: normal;
      color: var(--green-2);
    }

    .hero-copy {
      max-width: 720px;
      margin-top: 28px;
      font-size: clamp(1.12rem, 2vw, 1.38rem);
      color: var(--muted);
    }

    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

    .hero-proof {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 28px;
      padding: 32px;
      box-shadow: var(--shadow);
      position: relative;
    }

    .hero-proof::after {
      content: "";
      position: absolute;
      inset: auto -40px -40px auto;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: var(--soft-gold);
      z-index: -1;
    }

    .metric {
      padding: 20px 0;
      border-bottom: 1px solid var(--line);
    }

    .metric:first-child { padding-top: 0; }
    .metric:last-child { padding-bottom: 0; border-bottom: 0; }
    .metric strong { display: block; font-size: 1.05rem; margin-bottom: 5px; }
    .metric span { color: var(--muted); font-size: 0.95rem; }

    .section { padding: 96px 0; }
    .section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

    .section-head {
      display: grid;
      grid-template-columns: 0.75fr 1.25fr;
      gap: 48px;
      align-items: end;
      margin-bottom: 48px;
    }

    .section-head p {
      color: var(--muted);
      max-width: 680px;
      font-size: 1.08rem;
      margin-bottom: 2px;
    }

    .statement {
      font-size: clamp(2rem, 4.6vw, 4.6rem);
      line-height: 1.12;
      letter-spacing: -0.045em;
      max-width: 1030px;
    }

    .statement strong { color: var(--green-2); }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 28px;
    }

    .alt .card { background: var(--paper); }
    .card .num { color: var(--gold); font-weight: 800; margin-bottom: 32px; font-size: 0.8rem; letter-spacing: 0.12em; }
    .card p { color: var(--muted); margin-top: 12px; margin-bottom: 0; }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .service {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 22px;
      padding: 32px;
      min-height: 260px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .service-label {
      color: var(--green);
      font-size: 0.76rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-weight: 800;
      margin-bottom: 22px;
    }

    .service p { color: var(--muted); margin: 14px 0 0; }
    .service ul { margin: 22px 0 0; padding-left: 20px; color: var(--muted); }
    .service li { margin: 7px 0; }

    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 22px;
      color: var(--green);
      font-weight: 750;
      text-decoration: none;
    }

    .text-link:hover { text-decoration: underline; }

    .social-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 20px;
      margin-top: 28px;
    }

    .social-links a {
      color: var(--green);
      font-weight: 750;
      text-decoration: none;
    }

    .social-links a:hover { text-decoration: underline; }

    .process {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      counter-reset: process;
    }

    .step {
      counter-increment: process;
      padding: 28px 22px;
      border-top: 2px solid var(--green);
      background: rgba(255,255,255,0.52);
    }

    .step::before {
      content: "0" counter(process);
      display: block;
      color: var(--gold);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      margin-bottom: 30px;
    }

    .step p { color: var(--muted); margin-top: 10px; }

    .story {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 64px;
      align-items: start;
    }

    .story-panel {
      background: var(--ink);
      color: white;
      border-radius: 28px;
      padding: 42px;
      position: sticky;
      top: 110px;
    }

    .story-panel p { color: #c9d3cf; font-size: 1.07rem; }
    .story-panel .quote { font-size: 1.7rem; color: white; line-height: 1.3; letter-spacing: -0.025em; margin-bottom: 28px; }

    .story-copy h3 { margin-top: 34px; }
    .story-copy h3:first-child { margin-top: 0; }
    .story-copy p { color: var(--muted); margin-top: 10px; }

    .work-grid { display: grid; gap: 16px; }

    .work-item {
      display: grid;
      grid-template-columns: 0.9fr 2fr auto;
      gap: 24px;
      align-items: center;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 22px 24px;
    }

    .work-item strong { font-size: 1.05rem; }
    .work-item p { color: var(--muted); margin: 0; }
    .work-item a { color: var(--green); font-weight: 750; text-decoration: none; white-space: nowrap; }

    .cta {
      background: var(--green);
      color: white;
      border-radius: 30px;
      padding: clamp(38px, 7vw, 76px);
      display: grid;
      grid-template-columns: 1.4fr 0.6fr;
      gap: 38px;
      align-items: center;
    }

    .cta p { color: #dce9e2; max-width: 700px; font-size: 1.1rem; margin-top: 18px; }
    .cta .button { background: white; color: var(--green); border-color: white; justify-self: end; }

    footer { padding: 36px 0 56px; color: var(--muted); font-size: 0.9rem; }
    .footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

    .note {
      padding: 16px 18px;
      border-left: 3px solid var(--gold);
      background: var(--soft-gold);
      color: #5d4930;
      margin-top: 26px;
      font-size: 0.94rem;
    }

    .article-hero {
      padding: clamp(56px, 9vw, 110px) 0 48px;
    }

    .article-hero h1 {
      font-size: clamp(2.6rem, 6vw, 5.2rem);
      max-width: 920px;
    }

    .article-hero .hero-copy { overflow-wrap: break-word; }

    .article-body {
      max-width: 760px;
    }

    .article-body h2 {
      font-size: clamp(1.55rem, 3vw, 2.15rem);
      margin: 8px 0 16px;
    }

    .article-body p,
    .article-body li {
      color: var(--muted);
      font-size: 1.05rem;
    }

    .article-body ul {
      margin: 0 0 1.2rem;
      padding-left: 20px;
    }

    .article-body li { margin: 10px 0; }

    .article-stack { display: grid; gap: 48px; }

    .compare {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin-top: 8px;
    }

    .compare .num { margin-bottom: 18px; }

    .project-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 34px;
    }

    .demo-stage { margin-top: 36px; }

    .demo-frame {
      position: relative;
      aspect-ratio: 1288 / 621;
      background: #111318;
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .demo-poster,
    .demo-frame iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      border: 0;
    }

    .demo-poster {
      padding: 0;
      background: transparent;
      cursor: pointer;
      text-decoration: none;
    }

    .demo-poster:focus-visible {
      outline: 3px solid var(--gold);
      outline-offset: -3px;
    }

    .demo-poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .demo-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 16px;
    }

    .design-split {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
      grid-template-areas:
        "copy flow"
        "points flow";
      gap: 8px 48px;
      align-items: center;
    }

    .design-copy { grid-area: copy; align-self: end; }

    .design-split h2 {
      max-width: none;
      font-size: clamp(1.7rem, 3.5vw, 2.7rem);
    }

    .choice-points {
      grid-area: points;
      list-style: none;
      margin: 12px 0 0;
      padding: 0;
      align-self: start;
    }

    .choice-points li {
      color: var(--muted);
      padding: 16px 0;
      border-top: 1px solid var(--line);
      font-size: 1.02rem;
      overflow-wrap: break-word;
    }

    .choice-points li:last-child { border-bottom: 1px solid var(--line); }

    .choice-points strong {
      display: block;
      color: var(--ink);
      margin-bottom: 4px;
    }

    .flow-frame {
      grid-area: flow;
      margin: 0;
      background: #161616;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      aspect-ratio: 851 / 442;
    }

    .flow-frame img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .demo-frame.interview {
      aspect-ratio: 1120 / 720;
      background: #1b1d2a;
    }

    .play-chip {
      position: absolute;
      left: 18px;
      bottom: 18px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 40px;
      padding: 0 14px 0 12px;
      border-radius: 999px;
      background: rgba(247, 246, 240, 0.94);
      color: var(--ink);
      font-weight: 750;
      font-size: 0.92rem;
    }

    .play-chip::before {
      content: "";
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 6px 0 6px 10px;
      border-color: transparent transparent transparent var(--green);
    }

    .ranking-shot {
      display: block;
      margin-top: 28px;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      background: #1b1d2a;
    }

    .ranking-shot img {
      display: block;
      width: 100%;
      height: auto;
    }

    .shot-caption {
      color: var(--muted);
      font-size: 0.98rem;
      margin: 12px 0 0;
    }

    .card p a {
      color: var(--green);
      font-weight: 650;
    }

    .card .project-links {
      margin-top: 4px;
    }

    @media (max-width: 880px) {
      .nav-links a:not(.button) { display: none; }
      .hero-grid,
      .section-head,
      .story,
      .cta,
      .compare,
      .design-split { grid-template-columns: 1fr; }
      .design-split { grid-template-areas: "copy" "flow" "points"; gap: 22px; }
      .cards, .process { grid-template-columns: repeat(2, 1fr); }
      .service-grid { grid-template-columns: 1fr; }
      .story-panel { position: relative; top: 0; }
      .cta .button { justify-self: start; }
      .work-item { grid-template-columns: 1fr; gap: 8px; }
    }

    @media (max-width: 560px) {
      .shell { width: min(calc(100% - 24px), var(--max)); }
      .nav-inner { min-height: 64px; }
      .hero { padding-top: 62px; }
      .cards, .process { grid-template-columns: 1fr; }
      .card, .service { padding: 24px; }
      .hero-proof { padding: 25px; }
      .button { width: 100%; }
      .nav .button { width: auto; min-height: 40px; padding: 0 14px; }
    }
