@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
  color-scheme: light;
  --forest: #163a32;
  --forest-deep: #102c26;
  --paper: #f4f3eb;
  --white: #fffefa;
  --ink: #1e2a25;
  --muted: #68736c;
  --line: #d8ded4;
  --lime: #d7f36a;
  --coral: #f18468;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .7rem 1rem; background: var(--lime); color: var(--forest-deep); }
.skip-link:focus { top: 1rem; }

.site-header { min-height: 76px; padding: 0 clamp(1.25rem, 5.5vw, 5.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--paper); }
.wordmark { color: var(--forest); font-size: 1.75rem; font-weight: 700; letter-spacing: 0; line-height: 1; text-decoration: none; }
.wordmark span { color: var(--coral); }
.main-nav { display: flex; gap: 2.2rem; margin-left: auto; }
.main-nav a, .header-link { text-decoration: none; font-size: .88rem; font-weight: 600; }
.main-nav a { color: #4f5c54; }
.main-nav a:hover, .header-link:hover { color: #67843c; }
.header-link { padding: .65rem 0; border-bottom: 1px solid var(--forest); }
.header-link span { margin-left: .55rem; color: #78913c; }

.hero { min-height: 545px; position: relative; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); overflow: hidden; padding: 5rem clamp(1.25rem, 10vw, 10rem) 5rem clamp(1.25rem, 12vw, 12rem); background-color: var(--forest); background-image: radial-gradient(rgba(255,255,255,.105) .7px, transparent .7px); background-size: 9px 9px; color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(16,44,38,.98) 0%, rgba(22,58,50,.94) 49%, rgba(22,58,50,.66) 100%); }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1rem; color: var(--lime); font: 500 .68rem/1.4 var(--mono); letter-spacing: 0; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; width: 8px; height: 8px; margin-right: .55rem; border-radius: 50%; background: var(--coral); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 10ch; margin-bottom: 1.25rem; font: 600 clamp(3.2rem, 6vw, 5.4rem)/.99 var(--serif); letter-spacing: 0; }
h1 em, .approach-copy h2 em { color: var(--lime); font-weight: 600; }
.hero-description { max-width: 31rem; margin-bottom: 1.75rem; color: #d1ddd5; font-size: 1.04rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 1.35rem; padding: .75rem 1rem; border: 1px solid transparent; border-radius: 2px; font-size: .88rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--lime); color: var(--forest-deep); }
.button-light:hover { background: #e3ff85; }
.hero-promises { display: grid; gap: .45rem; max-width: 31rem; margin-top: 1.15rem; padding: .8rem 1rem; border-left: 3px solid var(--lime); background: rgba(9,32,27,.42); }
.hero-promises p { margin: 0; color: #e0eae3; font-size: .84rem; font-weight: 600; }
.hero-promises strong { color: var(--lime); }
.hero-promises a, .process-steps a { color: var(--lime); font-weight: 700; text-underline-offset: .18em; }
.hero-visual { max-width: 470px; justify-self: end; width: 100%; padding: 1.5rem 1.5rem 1rem; border: 1px solid rgba(228,239,225,.25); background: rgba(9,32,27,.22); }
.visual-caption { display: flex; justify-content: space-between; color: #b8c9be; font: .62rem var(--mono); }
.route-line { position: relative; height: 2px; margin: 3rem 1.15rem 1.2rem; background: rgba(218,239,205,.35); }
.route-line::before { content: ""; position: absolute; inset: -1px auto -1px 0; width: 100%; background: var(--lime); }
.route-node { position: absolute; top: 50%; z-index: 1; width: 13px; height: 13px; border: 3px solid var(--forest); border-radius: 50%; background: var(--lime); transform: translate(-50%, -50%); box-shadow: 0 0 0 1px var(--lime); }
.node-one { left: 0; }
.node-two { left: 50%; }
.node-three { left: 100%; }
.route-stops { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.route-stops > div { display: grid; align-content: start; gap: .18rem; }
.stop-number { margin-bottom: .25rem; color: var(--lime); font: .64rem var(--mono); }
.route-stops strong { color: var(--white); font-size: .79rem; }
.route-stops small { color: #a9bdb2; font-size: .7rem; }
.visual-footer { display: flex; align-items: center; gap: .5rem; margin: 2.4rem 0 0; padding-top: .85rem; border-top: 1px solid rgba(228,239,225,.18); color: #c3d2c9; font-size: .72rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero-stamp { position: absolute; right: 4.1%; bottom: 2.1rem; color: rgba(238,247,231,.14); font: 700 1.35rem/.95 var(--mono); text-align: right; transform: rotate(-8deg); }

.paths-section { padding: 6rem clamp(1.25rem, 10vw, 10rem) 6.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.2rem; }
.eyebrow-dark { color: #70883c; }
.section-heading h2, .approach-copy h2 { margin-bottom: 0; font: 600 clamp(2.4rem, 4vw, 3.6rem)/1.04 var(--serif); }
.section-intro { max-width: 23rem; margin-bottom: .25rem; color: var(--muted); font-size: .94rem; }
.path-tools { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; }
.search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.search-wrap { width: min(100%, 360px); min-height: 42px; display: flex; align-items: center; gap: .65rem; padding: 0 .75rem; border: 1px solid #bdc8bd; background: var(--white); }
.search-icon { color: #718079; font-size: 1.3rem; line-height: 1; }
.search-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .81rem; }
.search-wrap input::placeholder { color: #828d85; }
.search-wrap kbd { padding: .05rem .35rem; border: 1px solid #d6dcd3; color: #7a857e; font: .68rem var(--mono); }
.result-count { margin: 0 0 0 auto; color: var(--muted); font: .68rem var(--mono); }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.path-card { min-height: 256px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.2rem 1.15rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,254,250,.64); transition: background-color .18s ease, transform .18s ease; }
.path-card:hover { position: relative; z-index: 1; background: var(--white); transform: translateY(-3px); }
.card-topline { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.path-index { color: #89948b; font: .67rem var(--mono); }
.path-symbol { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d9dfd5; border-radius: 50%; color: var(--forest); font: 500 .72rem var(--mono); }
.symbol-code, .symbol-python { background: #e5f0d5; }
.symbol-iam, .symbol-security { background: #fbe3db; }
.symbol-dotnet, .symbol-data { background: #e8e6f0; }
.symbol-devops, .symbol-admin { background: #f7edc9; }
.path-category { margin: 1.35rem 0 .25rem; color: #70883c; font: 500 .62rem var(--mono); text-transform: uppercase; }
.path-card h3 { margin: 0 0 .55rem; color: var(--forest-deep); font: 600 1.36rem/1.2 var(--serif); }
.path-description { max-width: 25rem; margin: 0 0 1rem; color: var(--muted); font-size: .79rem; line-height: 1.55; }
.path-action { display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; padding: .35rem 0; border: 0; border-bottom: 1px solid #b4c29a; background: transparent; color: var(--forest); cursor: pointer; font-size: .75rem; font-weight: 700; }
.path-action:hover { border-color: var(--forest); }
.path-action span { color: #78913c; font-size: 1rem; }
.path-card[hidden] { display: none; }
.empty-state { padding: 2rem 0; color: var(--muted); }

.approach-section { display: grid; grid-template-columns: .55fr 1.1fr 1fr; align-items: center; gap: 3.4rem; padding: 4.7rem clamp(1.25rem, 10vw, 10rem); background: var(--forest); color: var(--white); }
.approach-mark { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid rgba(215,243,106,.55); border-radius: 50%; color: var(--lime); font: 600 3rem var(--serif); transform: rotate(-9deg); }
.approach-copy h2 { color: var(--white); }
.approach-copy h2 em { color: var(--lime); }
.approach-detail p { max-width: 27rem; margin-bottom: 1.2rem; color: #c5d3ca; font-size: .9rem; }
.process-steps { display: grid; gap: .65rem; margin: 0 0 1.2rem; padding: 0; list-style: none; counter-reset: process; }
.process-steps li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .5rem; color: #c5d3ca; font-size: .82rem; counter-increment: process; }
.process-steps li::before { content: "0" counter(process); color: var(--lime); font: .67rem var(--mono); }
.process-steps strong { color: var(--white); }
.button-outline { min-height: 43px; border-color: rgba(215,243,106,.55); color: var(--lime); font-size: .77rem; }
.button-outline:hover { background: rgba(215,243,106,.1); }

.site-footer { min-height: 112px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 2rem; padding: 1.4rem clamp(1.25rem, 5.5vw, 5.5rem); }
.footer-wordmark { font-size: 1.4rem; }
.site-footer p { margin: 0; color: var(--muted); font-size: .77rem; }
.footer-contact { margin-left: .6rem; white-space: nowrap; }
.footer-contact a { color: var(--forest); font-weight: 700; text-underline-offset: .16em; }
.back-top { color: var(--forest); font-size: .77rem; font-weight: 600; text-decoration: none; }
.site-footer small { color: var(--muted); font: .64rem var(--mono); }

.next-step-dialog { position: fixed; inset: 50% auto auto 50%; width: min(520px, calc(100% - 2rem)); max-height: min(88vh, 680px); overflow: auto; padding: 2rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); transform: translate(-50%, -50%); }
.next-step-dialog:not([open]) { display: none; }
.next-step-dialog::backdrop { background: rgba(10, 29, 24, .72); }
.dialog-backdrop { display: none; }
.next-step-dialog form:first-child { position: absolute; top: .8rem; right: .8rem; }
.dialog-close { width: 34px; height: 34px; border: 1px solid var(--line); background: transparent; color: var(--forest); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.next-step-dialog h2 { margin: 0 2rem .55rem 0; color: var(--forest); font: 600 2.1rem/1.1 var(--serif); }
.dialog-intro { max-width: 28rem; color: var(--muted); font-size: .88rem; }
.dialog-steps { display: grid; gap: .55rem; margin: 1.2rem 0; padding: 0; list-style: none; counter-reset: roadmap; }
.dialog-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; align-items: baseline; padding: .75rem 0; border-top: 1px solid var(--line); counter-increment: roadmap; font-size: .88rem; }
.dialog-steps li::before { content: "0" counter(roadmap); color: #70883c; font: .67rem var(--mono); }
.dialog-steps li > span { display: block; }
.dialog-steps strong { color: var(--forest); }
.dialog-steps a { color: #70883c; font-weight: 700; text-underline-offset: .18em; }
.dialog-note { margin: 0 0 1.2rem; color: var(--muted); font-size: .74rem; }
.button-dark { min-height: 42px; background: var(--forest); color: var(--white); cursor: pointer; }
.button-dark:hover { background: var(--forest-deep); }

@media (max-width: 1000px) {
  .hero { padding-left: 7vw; padding-right: 7vw; }
  .paths-section, .approach-section { padding-left: 7vw; padding-right: 7vw; }
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach-section { grid-template-columns: .35fr 1fr 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  .site-header { min-height: 68px; gap: 1rem; }
  .main-nav { display: none; }
  .header-link { margin-left: auto; font-size: .78rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.6rem; padding: 4rem 1.35rem 3.5rem; }
  .hero-copy { max-width: 34rem; }
  h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .hero-visual { justify-self: start; max-width: 34rem; }
  .hero-stamp { right: 1.2rem; top: 1rem; bottom: auto; font-size: .9rem; }
  .paths-section { padding: 4rem 1.25rem; }
  .section-heading { display: block; }
  .section-intro { margin: 1rem 0 0; }
  .approach-section { grid-template-columns: auto 1fr; gap: 1.4rem; padding: 3.5rem 1.35rem; }
  .approach-mark { width: 65px; height: 65px; font-size: 2.2rem; }
  .approach-detail { grid-column: 2; }
  .site-footer { grid-template-columns: auto 1fr; gap: .6rem 1rem; padding: 1.5rem 1.25rem; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .back-top { justify-self: end; }
  .site-footer small { justify-self: end; }
}
@media (max-width: 440px) {
  .wordmark { font-size: 1.5rem; }
  .header-link { font-size: .7rem; }
  .path-tools { flex-wrap: wrap; }
  .search-wrap { width: 100%; }
  .result-count { margin-left: 0; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 230px; }
  .route-line { display: none; }
  .route-stops { grid-template-columns: 1fr; gap: .85rem; }
  .route-stops > div { grid-template-columns: 1.7rem minmax(0, 1fr); grid-template-rows: auto auto; gap: .05rem .65rem; align-items: center; }
  .stop-number { grid-row: 1 / 3; display: grid; width: 1.5rem; height: 1.5rem; place-items: center; margin: 0; border: 1px solid var(--lime); border-radius: 50%; font-size: .58rem; }
  .route-stops strong { font-size: .78rem; }
  .route-stops small { font-size: .68rem; }
  .visual-footer { margin-top: 1rem; }
  .next-step-dialog { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}