@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./assets/manrope-latin-v20.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/cormorant-garamond-italic-latin-v21.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* Arctic color system */
  --surface: #fbf5ec;
  --surface-alt: #f5eee5;
  --field: #e3f1f3;
  --ink: #17343e;
  --ink-soft: #405b64;
  --graphite: #647980;
  --signal: #4bb9cf;
  --signal-deep: #00687e;
  --rule: #b9ced2;
  --rule-strong: #7da8b1;
  --focus: #005f73;

  /* Type and layout */
  --font-primary: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-signature: "Cormorant Garamond", Georgia, serif;
  --content-width: 1280px;
  --reading-width: 68ch;
  --header-height: 68px;
  --radius-field: 16px;
  /* Square-edge controls across the page (founder request, 2026-08-29). */
  --radius-pill: 0;

  /* Four point spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 160ms;
  --duration-ui: 220ms;

  /* Layer scale: art, story copy, direct controls, header, menu, modal, skip */
  --z-art: 1;
  --z-story: 3;
  --z-controls: 5;
  --z-header: 20;
  --z-menu: 30;
  --z-modal: 40;
  --z-skip: 50;

  /* Device insets remain part of the same light editorial canvas. */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--surface);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ol,
ul {
  margin-block: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

section,
[id] {
  scroll-margin-top: calc(var(--header-height) + var(--safe-top) + var(--space-5));
}

::selection {
  color: var(--ink);
  background: color-mix(in srgb, var(--signal) 38%, var(--surface));
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: calc(10px + var(--safe-top));
  left: calc(12px + var(--safe-left));
  z-index: var(--z-skip);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: var(--surface);
  background: var(--ink);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

.section-shell {
  width: min(calc(100% - clamp(32px, 6vw, 80px)), var(--content-width));
  margin-inline: auto;
}

.section-heading,
.team-heading {
  max-width: 52rem;
}

.section-heading h2,
.team-heading h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
  line-height: 0.98;
}

.section-heading > p,
.team-heading > p {
  max-width: var(--reading-width);
  margin-top: var(--space-5);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.button:hover {
  border-color: var(--signal-deep);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-primary {
  border-color: var(--signal-deep);
  color: #062f39;
  background: var(--signal);
}

.button-primary:hover {
  color: #041f26;
  background: #63c9dd;
}

.button-small {
  min-height: 44px;
  padding-inline: 1rem;
  background: transparent;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.7rem;
  color: var(--signal-deep);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  width: 1.75rem;
  height: 1px;
  content: "";
  background: currentColor;
  transition: width var(--duration-fast) var(--ease-out);
}

.text-link:hover::after {
  width: 2.5rem;
}

/* Compact 68px navigation */
.site-header {
  position:sticky;
  top: 0;
  z-index: var(--z-header);
  height: calc(var(--header-height) + var(--safe-top));
  padding-top: var(--safe-top);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  isolation: isolate;
}

html:not(.has-js) .site-header {
  position: relative;
}

.header-inner {
  position: relative;
  display: grid;
  width: min(
    calc(100% - 40px - var(--safe-left) - var(--safe-right)),
    var(--content-width)
  );
  height: 100%;
  margin-inline: auto;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.7rem, 1.5vw, 1.5rem);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.35vw, 1.35rem);
}

.site-header nav > a:not(.button) {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-fast) var(--ease-out);
}

.site-header nav > a:not(.button):hover::after,
.site-header nav > a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  min-width: 86px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--surface);
}

.menu-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-icon {
  display: grid;
  width: 17px;
  gap: 5px;
}

.menu-icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform var(--duration-fast) var(--ease-out);
}

.site-header.is-menu-open .menu-icon i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-menu-open .menu-icon i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.motion-toggle {
  display: inline-flex;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--rule);
  color: var(--ink-soft);
  background: transparent;
}

.motion-toggle-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.motion-toggle:hover,
.motion-toggle[aria-pressed="true"] {
  color: var(--signal-deep);
}

/* A pause control only renders where there is motion to pause. */
html.is-motion-unavailable .motion-toggle {
  display: none;
}

.anchor-proxy {
  position: absolute;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* Market evidence is a ruled editorial spread, not a metric dashboard. */
.evidence {
  padding-block: clamp(4.5rem, 8vw, 8rem);
  border-block: 1px solid var(--rule);
  background: var(--field);
}

/* Heading stack reads full width above the band; the two statistics are peers. */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2.5rem, 6vw, 6rem);
  row-gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.evidence .section-heading {
  grid-column: 1 / -1;
}

.evidence article {
  min-width: 0;
}

.evidence strong {
  display: block;
  color: var(--ink);
  font-size: clamp(4rem, 7.5vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.86;
}

.evidence article p {
  margin-top: var(--space-5);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.evidence article a {
  display: inline-block;
  margin-top: var(--space-5);
  color: var(--signal-deep);
  font-size: 0.76rem;
  font-weight: 800;
}

/* Trust landing creates a calm reading interval between story acts. */
.trust-landing {
  background: var(--surface);
}

/* One calm interval, not a second site: the trust unit stays near one viewport. */
.trust-interlude {
  padding-block: clamp(3rem, 5.5vw, 5rem);
}

.team {
  border-bottom: 1px solid var(--rule);
}

.team .section-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

/* One founder per full width row: name and role left, evidence right. */
.team-roster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule-strong);
}

.founder {
  display: grid;
  min-width: 0;
  padding-block: clamp(1.25rem, 2.4vw, 1.9rem);
  border-bottom: 1px solid var(--rule);
  grid-template-columns: minmax(14rem, 0.32fr) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: var(--space-3);
}

.founder-name {
  display: grid;
  min-width: 0;
  gap: var(--space-1);
  align-content: start;
}

.founder-name a {
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 750;
  line-height: 1.12;
  text-decoration: none;
}

.founder-name a:hover,
.founder-name a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--signal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.founder-name span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder p {
  max-width: var(--reading-width);
  color: var(--ink-soft);
}

.decision-summary,
.outcome-list {
  display: grid;
  gap: 0;
  margin-top: var(--space-5);
  padding: 0;
  border-top: 1px solid var(--rule-strong);
  list-style: none;
}

.decision-summary li,
.outcome-list > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.45fr) minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--rule);
}

.decision-summary strong,
.outcome-list dt {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.decision-summary span,
.outcome-list dd {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.walkthrough-intent {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-block: 1px solid var(--rule-strong);
  background: var(--field);
}

/* The four conversation routes stay visible under the final CTA; the CTA scrolls to them. */
.walkthrough-intent-shell {
  display: grid;
  grid-template-columns: minmax(20rem, 0.7fr) minmax(0, 1.3fr);
  column-gap: clamp(2.5rem, 7vw, 7rem);
  row-gap: var(--space-6);
}

.walkthrough-intent-heading h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.8rem);
  line-height: 0.98;
}

.walkthrough-intent-heading p {
  max-width: 32rem;
  margin-top: var(--space-5);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.walkthrough-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}

.walkthrough-routes article {
  min-width: 0;
  padding: var(--space-5) clamp(1rem, 2.4vw, 2rem) var(--space-6) 0;
  border-bottom: 1px solid var(--rule);
}

.walkthrough-routes article:nth-child(even) {
  padding-right: 0;
  padding-left: clamp(1rem, 2.4vw, 2rem);
  border-left: 1px solid var(--rule);
}

.walkthrough-routes a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--signal-deep);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 800;
  line-height: 1.2;
}

.walkthrough-routes p {
  margin-top: var(--space-3);
  color: var(--ink-soft);
}

.walkthrough-intent-utility {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-top: var(--space-5);
}

.walkthrough-intent-utility p {
  color: var(--ink-soft);
}

.walkthrough-intent-utility a {
  color: var(--signal-deep);
  font-weight: 800;
}

.button-secondary {
  background: transparent;
}

/* The page's one italic lives in the hero. The agentic pull quote stays in Manrope. */
.editorial-signature {
  max-width: 28rem;
  margin-top: var(--space-5);
  padding: 0 0 0.35rem var(--space-5);
  border-left: 2px solid var(--rule-strong);
  color: var(--ink);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
}

.hero-signature {
  display: block;
  color: var(--signal-deep);
  font-family: var(--font-signature);
  font-size: 1.16em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  padding-bottom: 0.08em;
}

.contact-action {
  display: grid;
  justify-items: start;
  gap: var(--space-4);
}

.contact-action > p:last-child {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.contact-action > p:last-child a {
  color: var(--signal-deep);
  font-weight: 750;
}

.site-footer {
  padding-block: var(--space-8) calc(var(--space-8) + var(--safe-bottom));
  border-top: 1px solid var(--rule);
  background: var(--field);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-6);
}

.footer-inner p {
  justify-self: end;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.footer-legal a {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

/*
 * Policy row. Sits outside .footer-inner so the brand/copyright grid keeps its
 * columns; it still matches the small-screen type ramp and coarse-pointer
 * touch target via .footer-legal a.
 */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
}

dialog {
  width: min(calc(100% - 2rem), 46rem);
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: auto;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-field);
  color: var(--ink);
  background: var(--surface);
}

dialog::backdrop {
  background: rgb(23 52 62 / 46%);
}

/* Above the single column breakpoint the heading measure has to grow with the
   viewport, not shrink against it. Section headings settle near 2.75rem so a
   full width heading stack sets in two balanced lines instead of five. */
@media (min-width: 1121px) {
  .section-heading h2,
  .team-heading h2,
  .walkthrough-intent-heading h2 {
    font-size: clamp(2.5rem, 3.05vw, 2.75rem);
    line-height: 1.06;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 3;
  }

  .motion-toggle {
    grid-column: 4;
  }

  .site-header nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    z-index: var(--z-menu);
    display: none;
    padding: 1rem;
    border: 1px solid var(--rule);
    background: var(--surface);
  }

  .site-header.is-menu-open nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header.is-menu-open nav .button {
    grid-column: 1 / -1;
  }

  html:not(.has-js) .site-header {
    position: relative;
    height: auto;
  }

  html:not(.has-js) .header-inner {
    grid-template-columns: 1fr;
    padding-block: 0.75rem;
  }

  html:not(.has-js) .menu-toggle,
  html:not(.has-js) .motion-toggle {
    display: none;
  }

  html:not(.has-js) .site-header nav {
    position: static;
    display: flex;
    grid-column: 1;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0;
    border: 0;
  }

  .evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 961px) and (max-width: 1280px) {
  .site-header nav>a:not(.button) {
    font-size: 13px;
  }

  .site-header .button-small {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    width: min(
      calc(100% - 24px - var(--safe-left) - var(--safe-right)),
      var(--content-width)
    );
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.45rem;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    display: inline-flex;
    min-width: 44px;
    width: 44px;
    padding-inline: 0;
  }

  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .motion-toggle {
    width: 44px;
    min-width: 44px;
    padding-inline: 0;
  }

  .site-header.is-menu-open nav {
    grid-template-columns: 1fr;
  }

  .trust-interlude {
    padding-block: var(--space-10);
  }

  .founder {
    grid-template-columns: minmax(0, 1fr);
  }

  .decision-summary li,
  .outcome-list > div {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .walkthrough-intent-shell,
  .walkthrough-routes {
    grid-template-columns: minmax(0, 1fr);
  }

  .walkthrough-routes article,
  .walkthrough-routes article:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .walkthrough-intent-utility {
    grid-column: 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-inner p {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .footer-legal a,
  .footer-inner p {
    font-size: 13px;
  }
}

@media (pointer: coarse) {
  button,
  a.button,
  .text-link,
  .site-header nav > a {
    min-height: 44px;
  }

  /* Below 1121px the wordmark drops out and the mark alone is only 36px wide. */
  .brand {
    min-width: 44px;
    justify-content: center;
  }

  /*
   * A blockified link takes its hit area from padding and gives the space back
   * with an equal negative margin, so the target reaches 44px while the text
   * baseline, the row height and the line rhythm stay exactly where they were.
   */
  .founder-name a {
    margin-block: -0.65rem;
    padding-block: 0.65rem;
  }

  .evidence article a {
    margin-block: calc(var(--space-5) - 0.8rem) -0.8rem;
    padding-block: 0.8rem;
  }

  /*
   * These sit inline inside running prose. Block padding on an inline box grows
   * the hit target and the reported box without entering line layout at all, so
   * no negative margin is needed and no line moves.
   */
  .contact-action > p:last-child a,
  .walkthrough-intent-utility p a,
  .footer-legal a {
    padding-block: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
  }
}

@media (forced-colors: active) {
  :root {
    --surface: Canvas;
    --surface-alt: Canvas;
    --field: Canvas;
    --ink: CanvasText;
    --ink-soft: CanvasText;
    --graphite: CanvasText;
    --signal: Highlight;
    --signal-deep: LinkText;
    --rule: CanvasText;
    --rule-strong: CanvasText;
    --focus: Highlight;
  }

  :focus-visible {
    outline-color: Highlight;
  }

  .button,
  .menu-toggle,
  dialog {
    border-color: ButtonText;
  }

  /*
   * High contrast mode flattens the colours these controls are drawn with, so
   * every control states its own edge in system colours. Forced colours only:
   * the normal palette and the normal geometry are untouched, and box-sizing
   * is border-box so no edge changes a control's size.
   */
  button,
  .button,
  [role="tab"],
  .menu-toggle,
  .motion-toggle {
    border: 1px solid ButtonText;
  }

  .button-primary {
    color: HighlightText;
    background: Highlight;
  }
}
