:root {
  --navy: #012056;
  --navy-deep: #01163f;
  --navy-soft: #0c316e;
  --ink: #10203a;
  --muted: #5c6d84;
  --paper: #f4f6f8;
  --paper-2: #e8eef4;
  --white: #ffffff;
  --gold: #e3a008;
  --orange: #f26b00;
  --green: #2f9e44;
  --green-bright: #7dce3a;
  --blue: #1a73c9;
  --teal: #1497a8;
  --line: rgba(1, 32, 86, 0.1);
  --shadow: 0 18px 50px rgba(1, 32, 86, 0.08);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 3rem));
  --header: 5.6rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.skip:focus {
  top: 1rem;
}

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 7px;
  z-index: 60;
  background: linear-gradient(
    #2f9e44 0 20%,
    #e3a008 20% 40%,
    #f26b00 40% 60%,
    #1a73c9 60% 80%,
    #1497a8 80% 100%
  );
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
  width: var(--wrap);
  margin-inline: auto;
  padding: 0.7rem 0;
  background: transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(1, 32, 86, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled::before {
  box-shadow: 0 10px 30px rgba(1, 22, 63, 0.28);
}

.brand {
  display: block;
  min-width: 0;
  max-width: 58%;
}

.brand img {
  height: 68px;
  width: auto;
  max-width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.15rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: white;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 70;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--navy);
  color: white;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(227, 160, 8, 0.16), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(20, 151, 168, 0.18), transparent 46%),
    var(--navy);
  color: white;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid,
.split,
.contact-grid,
.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split {
  align-items: start;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker.light {
  color: var(--gold);
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.6vw, 5.15rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  color: var(--navy);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.lede,
.journey {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 38rem;
}

.journey {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid rgba(227, 160, 8, 0.7);
}

.journey li {
  padding: 0.35rem 0 0.35rem 1rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #f0b322;
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
  background: transparent;
}

.btn-line:hover {
  background: white;
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(1, 32, 86, 0.28);
}

.btn-ghost:hover {
  background: var(--paper);
}

.btn-navy:hover {
  background: var(--navy-soft);
}

.cycle-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.4rem 1.4rem 1.2rem;
}

.cycle-card ol {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.cycle-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.cycle-card span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.15rem;
}

.cycle-card p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.motto-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.motto-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.motto-bar .wrap > span:first-child {
  flex: 1 1 12rem;
  min-width: 0;
}

.dots {
  display: flex;
  gap: 0.45rem;
}

.dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: block;
}

.dots .b { background: var(--blue); }
.dots .g { background: var(--green); }
.dots .y { background: var(--gold); }
.dots .t { background: var(--teal); }

.section {
  padding: clamp(4.2rem, 8vw, 7rem) 0;
}

.section.paper {
  background: var(--paper);
}

.section.deep {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(227, 160, 8, 0.16), transparent 40%),
    radial-gradient(ellipse at 0% 90%, rgba(20, 151, 168, 0.16), transparent 42%),
    var(--navy-deep);
  color: white;
}

.section.deep h2,
.section.deep h3 {
  color: white;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.4rem;
}

.section-head p,
.prose p {
  color: var(--muted);
}

.section.deep .section-head p,
.section.deep p {
  color: rgba(255, 255, 255, 0.78);
}

.why-grid,
.dim-grid,
.eco-grid,
.audience-grid,
.principles,
.indicator-grid,
.role-grid {
  display: grid;
  gap: 1rem;
}

.why-grid,
.feature-grid,
.contact-grid {
  align-items: stretch;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.dim-grid,
.eco-grid {
  grid-template-columns: repeat(4, 1fr);
}

.audience-grid,
.principles {
  grid-template-columns: repeat(3, 1fr);
}

.indicator-grid,
.role-grid {
  grid-template-columns: 1fr 1fr;
}

.card,
.panel,
.form-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.4rem 1.3rem 1.35rem;
  border-left: 4px solid var(--blue);
}

.card.green { border-left-color: var(--green); }
.card.gold { border-left-color: var(--gold); }
.card.teal { border-left-color: var(--teal); }
.card.orange { border-left-color: var(--orange); }

.card p,
.panel p {
  margin: 0;
  color: var(--muted);
}

.card .index,
.step-no {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}

.dim {
  position: relative;
  padding: 1.3rem 1.15rem 1.2rem;
  background: white;
  border-radius: 22px;
  border: 1px solid var(--line);
  min-height: 100%;
}

.dim::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0;
  width: 42px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--accent, var(--blue));
}

.dim .num {
  width: 2.3rem;
  height: 2.3rem;
  margin: 1.3rem 0 0.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 650;
  background: var(--accent, var(--blue));
}

.dim p {
  margin: 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(227, 160, 8, 0.14);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section.deep .link-arrow,
.link-arrow {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.audience {
  padding: 1rem 1rem 1rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent, var(--gold));
  border-radius: 0 14px 14px 0;
  color: white;
  font-weight: 550;
}

.logic {
  margin-top: 1.6rem;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: white;
  color: var(--navy);
}

.logic strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.logic p {
  margin: 0;
  color: var(--navy);
}

.callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.3rem;
  border-radius: 18px;
  background: var(--navy);
  color: white;
  border-left: 6px solid var(--gold);
}

.callout span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.callout p {
  margin: 0;
  color: white;
}

.page-hero {
  background: var(--navy);
  color: white;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0 2.8rem;
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.page-hero p {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.instrument {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.instrument .code {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}

.instrument .meta {
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.flow li {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.question {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
}

.cycle-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cycle-line li {
  padding: 1rem 0.8rem;
  border-top: 3px solid var(--accent, var(--gold));
  background: white;
  border-radius: 0 0 16px 16px;
}

.cycle-line strong {
  display: block;
  color: var(--navy);
}

.cycle-line span {
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-block {
  max-width: 48rem;
}

.quote-block p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--navy);
}

.quote-block .sub {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--muted);
}

.closing-line {
  margin: 1.6rem 0 0;
  color: var(--green);
  font-weight: 650;
  font-size: 1.15rem;
}

.role-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.role-list li {
  padding-left: 0.9rem;
  border-left: 3px solid var(--teal);
}

.indicator {
  padding: 1.15rem 1.15rem 1.05rem;
  background: white;
  border-radius: 18px;
  border-top: 4px solid var(--accent, var(--blue));
}

.indicator span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.footer-logo img {
  height: 74px;
  width: auto;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.legal p {
  margin: 0;
}

.kinnect {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: 12px;
  background: #1c7a38;
  color: white;
  line-height: 1.15;
}

.kinnect-mark {
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: white;
  color: #1c7a38;
  font-weight: 700;
  font-size: 1.15rem;
}

.kinnect small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
}

.kinnect strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
}

.site-footer a.kinnect,
.site-footer a.kinnect:hover {
  color: white;
}

.form-card {
  padding: 1.3rem;
}

.fields {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(1, 32, 86, 0.16);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  color: var(--ink);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-status {
  margin: 0.8rem 0 0;
  color: var(--navy);
  font-weight: 600;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .why-grid,
  .feature-grid,
  .contact-grid,
  .footer-grid,
  .audience-grid,
  .principles,
  .dim-grid,
  .eco-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cycle-line {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 7px;
    z-index: 65;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    padding: 5.5rem 2rem 2rem;
    background: var(--navy);
    visibility: hidden;
    pointer-events: none;
  }

  .nav.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.6rem;
    font-family: var(--serif);
  }
}

@media (max-width: 680px) {
  .why-grid,
  .dim-grid,
  .eco-grid,
  .audience-grid,
  .principles,
  .indicator-grid,
  .role-grid,
  .two {
    grid-template-columns: 1fr;
  }

  .instrument {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .brand img {
    height: 52px;
  }

  .page-hero h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav {
    transition: none;
  }
}
