@charset "UTF-8";

/* Tokens and base */
:root {
  --ink: #141820;
  --muted: #5a6370;
  --line: #d9dee6;
  --blue: #2555db;
  --blue-dark: #1a40af;
  --tint: #f0f4fb;
  --paper: #fff;
  --dark: #121d30;
  --max-width: 1200px;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body,
button,
input,
textarea {
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
button,
a,
textarea {
  outline-offset: 5px;
}
:focus-visible {
  outline: 3px solid var(--blue);
}
.wrap {
  width: min(var(--max-width),calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: var(--blue);
  color: white;
  padding: 12px 18px;
}
.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: white;
}
.header-inner {
  width: min(1360px,calc(100% - 96px));
  margin: auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.2px;
  white-space: nowrap;
}
.brand img {
  width: 40px;
  height: 40px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a {
  padding: 13px 0;
}
.site-header nav a:hover,
.quiet-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.header-contact {
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  gap: 32px;
  align-items: center;
}
.header-contact:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  column-gap: 48px;
  align-items: center;
  padding-block: 72px 24px;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 1.6px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero .eyebrow {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
}
.square {
  width: 6px;
  height: 6px;
  margin-top: 6px;
  background: var(--blue);
  flex-shrink: 0;
}
h1 {
  font-size: clamp(50px,5.6vw,76px);
  line-height: 1.04;
  letter-spacing: -4px;
  font-weight: 600;
  margin: 26px 0;
}
h1 span {
  color: var(--blue);
}
.hero-intro {
  font-size: 17px;
  line-height: 1.75;
  max-width: 505px;
  color: #4b5563;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 33px;
}
.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  min-height: 50px;
  padding: 13px 19px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  line-height: 1.5;
  transition: background .15s ease, color .15s ease;
}
.button-primary {
  background: var(--blue);
  color: white;
}
.button-primary:hover {
  background: var(--blue-dark);
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}
.hero-art {
  min-width: 0;
}

/* The engraving as five building blocks: an exploded view. Each layer is the image masked to one
   part, with its direction away from the centre. On load the parts come together from 2.5 times
   that distance (the hub from twice its scale); pointing at a part pulls it out while the rest
   gives way to one faint copy of the whole drawing. --k keeps the moves a similar size on screen
   as the drawing gets smaller. */
.blocks {
  --k: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 614;
  overflow: visible;
}
.blocks .ghost,
.blocks .rest,
.blocks .layer {
  pointer-events: none;
  transition: opacity .35s ease;
}
.blocks .ghost {
  opacity: 0;
}
.blocks.has-active .ghost {
  opacity: .25;
}
.blocks .layer {
  --dx: 0px;
  --dy: 0px;
  --s: 1;
}
.blocks .layer[data-block="licensing"] {
  --dy: 14px;
  --i: 0;
}
.blocks .layer[data-block="contracts"] {
  --dy: -14px;
  --i: 1;
}
.blocks .layer[data-block="enforcement"] {
  --dy: -20px;
  --i: 2;
}
.blocks .layer[data-side="left"] {
  --dx: -24px;
  --i: 3;
}
.blocks .layer[data-side="right"] {
  --dx: 24px;
  --i: 3;
}
.blocks .layer[data-block="design"] {
  --s: 1.08;
  --i: 4;
}
.blocks .lift {
  transform-origin: 600px 325px;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.blocks .layer.is-on .lift {
  transform: translate(calc(var(--dx) * var(--k)), calc(var(--dy) * var(--k))) scale(var(--s));
}
.blocks.has-active .rest,
.blocks.has-active .layer:not(.is-on) {
  opacity: 0;
}
.blocks .hit {
  fill: transparent;
  cursor: pointer;
}
.blocks .hit:focus {
  outline: none;
}
.blocks .hit:focus-visible {
  stroke: var(--blue);
  stroke-width: 4;
  stroke-dasharray: 12 9;
}
@keyframes assemble {
  from {
    transform: translate(calc(var(--dx) * var(--k) * 2.5), calc(var(--dy) * var(--k) * 2.5)) scale(calc(1 + (var(--s) - 1) * 2));
  }
}
.blocks-caption {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  column-gap: 10px;
  align-content: start;
  min-height: 74px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.blocks-caption::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--blue);
}
.blocks-caption b {
  color: var(--ink);
  font-weight: 600;
}
.blocks-caption span {
  grid-column: 2;
}

/* Sections and building blocks */
.section {
  padding-block: 88px;
}
.section-top {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 44px;
}
h2 {
  font-size: clamp(35px,3.6vw,48px);
  letter-spacing: -2px;
  line-height: 1.14;
  font-weight: 500;
}
.expertise-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.section-intro {
  position: sticky;
  top: 32px;
}
.section-intro p {
  max-width: 400px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.block-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.block-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding-block: 14px 26px;
  scroll-margin-top: 24px;
}
/* The thread that weaves the blocks together: from each icon to the next. */
.block-row:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 42px;
  bottom: -42px;
  border-left: 1px solid var(--line);
}
.block-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), color .2s ease, border-color .2s ease, box-shadow .3s ease;
}
.block-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.block-icon .thin {
  stroke-width: .8;
}
.block-icon .slice {
  fill: currentColor;
  fill-opacity: .18;
}
.block-row:hover .block-icon,
.block-row.is-on .block-icon,
.block-row:target .block-icon {
  transform: translateY(-5px);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 7px 0 #e6ecf6;
}
/* A row reached from the hero stays marked until another block is pointed at. */
.block-list:has(.block-row:hover, .block-row.is-on) .block-row:target:not(:hover, .is-on) .block-icon {
  transform: none;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}
h3 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.5px;
  margin: 13px 0 6px;
}
.block-num {
  margin-right: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  vertical-align: 2px;
}
.block-row p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* How a vault works: in place of "Explore with AI" for now (prompt/README.md) */
.flow {
  background: var(--tint);
}
.flow-head {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: end;
}
.flow-head p {
  max-width: 460px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}
/* The thread from the first step's icon to the last, as under What we do. */
.flow-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc((100% - 96px) / 4 - 28px);
  border-top: 1px solid #c9d3e3;
}
.flow-step p {
  max-width: 270px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.flow-step:hover .block-icon {
  transform: translateY(-5px);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 7px 0 #dfe6f3;
}
.flow-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: start;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #d3dcea;
}
.flow-cta {
  align-self: center;
}
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  padding: 10px 0;
  min-height: 44px;
}
.demo-link:hover {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.demo-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 420px;
  margin-top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Contact */
.contact {
  background: var(--dark);
  color: white;
}
.contact .section-top {
  border-color: #3a4658;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 72px;
  padding-bottom: 10px;
}
.contact h2 {
  font-size: clamp(39px,4vw,54px);
  line-height: 1.1;
}
.contact-grid>div>p {
  max-width: 440px;
  color: #bfc8d6;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 24px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.field-wide {
  grid-column: 1 / -1;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: #e3e8f0;
}
.field label span {
  font-weight: 400;
  color: #aebacc;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #74839b;
  border-radius: 2px;
  background: #18253b;
  color: white;
  font-size: 16px;
  line-height: 1.5;
  outline-offset: 2px;
}
.field textarea {
  height: auto;
  min-height: 124px;
  resize: vertical;
}
.field input:hover,
.field textarea:hover {
  border-color: #a3afc0;
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #ff9d8c;
}
.field ::placeholder {
  color: #8d99ab;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.button-light {
  background: white;
  color: var(--dark);
}
.button-light:hover {
  background: #dce5ff;
}
.button-light:disabled {
  opacity: .6;
  cursor: progress;
}
.form-status {
  font-size: 14px;
  line-height: 1.6;
  color: #c9d6ff;
}
.form-status:empty {
  min-height: 0;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin-top: 24px;
  padding-top: 10px;
  border-top: 1px solid #3a4658;
  font-size: 13px;
  color: #aebacc;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.contact-links a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-links svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.contact :focus-visible {
  outline-color: #b7c9ff;
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding-block: 30px;
  min-height: 100px;
}
.site-footer .brand {
  font-size: 22px;
}
.site-footer .brand img {
  width: 34px;
  height: 34px;
}
.site-footer p {
  font-size: 12px;
  color: var(--muted);
}
.back-to-top {
  display: flex;
  gap: 24px;
  font-size: 12px;
  min-height: 44px;
  align-items: center;
}
.back-to-top:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Breakpoints: 1600px up, 1199px and 1050px down, 900px down (every two-column grid stacks), 760px down (phone), 480px and 370px down */
@media (min-width: 1600px) {
  .hero {
    padding-top: 96px;
  }
}

@media (max-width: 1050px) {
  .wrap,
  .header-inner {
    width: calc(100% - 64px);
  }
  .hero {
    column-gap: 28px;
    padding-top: 56px;
  }
  h1 {
    font-size: 57px;
    letter-spacing: -3px;
  }
  .hero-intro {
    font-size: 16px;
  }
  .hero-actions {
    gap: 18px;
  }
  .expertise-grid,
  .flow-head,
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 1199px) {
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
  .flow-steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 8px;
  }
  .hero-intro {
    max-width: 550px;
  }
  .hero-art {
    margin-top: 44px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-intro {
    position: static;
  }
  .section-intro p {
    max-width: 550px;
  }
  .flow-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .flow-foot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .flow-cta {
    grid-column: 1 / -1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .wrap,
  .header-inner {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 76px;
    gap: 6px 20px;
    flex-wrap: wrap;
    padding-block: 10px 4px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 27px;
    border-top: 1px solid var(--line);
    padding-top: 2px;
  }
  .site-header nav a {
    padding: 11px 0;
  }
  .header-contact {
    gap: 20px;
    padding: 11px 0;
  }
  .hero {
    padding-top: 43px;
  }
  .hero .eyebrow {
    letter-spacing: 1.3px;
  }
  h1 {
    font-size: clamp(45px,10.5vw,70px);
    letter-spacing: -2.5px;
    line-height: 1.06;
    margin: 24px 0;
  }
  .hero-intro {
    font-size: 16px;
    max-width: 550px;
  }
  .hero-actions {
    margin-top: 27px;
    gap: 19px;
  }
  .blocks {
    --k: 1.2;
  }
  .section {
    padding-block: 57px;
  }
  .section-top {
    margin-bottom: 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  h2 {
    font-size: 37px;
    letter-spacing: -1.5px;
  }
  .block-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding-block: 12px 18px;
  }
  .block-row:not(:last-child)::before {
    left: 24px;
    top: 36px;
    bottom: -36px;
  }
  .block-icon {
    width: 48px;
    height: 48px;
  }
  .block-icon svg {
    width: 32px;
    height: 32px;
  }
  h3 {
    font-size: 18px;
    margin-top: 10px;
  }
  .block-row p {
    max-width: none;
  }
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 36px;
  }
  .flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 18px;
    padding-block: 12px 18px;
  }
  .flow-step .block-icon {
    grid-row: 1 / span 2;
  }
  .flow-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 36px;
    bottom: -36px;
    border-left: 1px solid #c9d3e3;
  }
  .flow-step p {
    max-width: none;
  }
  .flow-foot {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .contact-grid {
    gap: 30px;
  }
  .contact h2 {
    font-size: 43px;
  }
  .contact-grid>div>p {
    max-width: 500px;
    margin-top: 20px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-block: 26px;
    gap: 12px;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
  .back-to-top {
    gap: 16px;
  }
  .site-footer .brand {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .blocks {
    --k: 1.6;
  }
}

@media (max-width: 370px) {
  .wrap,
  .header-inner {
    width: calc(100% - 32px);
  }
  h1 {
    font-size: 42px;
  }
  .hero .eyebrow {
    letter-spacing: 1px;
  }
  .hero-actions {
    gap: 11px;
  }
  .button {
    font-size: 12px;
    padding-inline: 14px;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .blocks .lift {
    animation: assemble 1s cubic-bezier(.22,1,.36,1) backwards;
    animation-delay: calc(.2s + var(--i) * .12s);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none!important;
  }
}

@media print {
  .site-header nav,
  .header-contact,
  .hero-actions,
  .blocks-caption,
  .contact-form,
  .back-to-top {
    display: none;
  }
  .wrap,
  .header-inner {
    width: 100%;
  }
  .hero {
    padding-top: 25px;
  }
  .section {
    padding-block: 30px;
  }
  .section-intro {
    position: static;
  }
  .contact {
    background: white;
    color: var(--ink);
  }
  .contact p,
  .contact-links {
    color: var(--muted)!important;
  }
  .block-row,
  .flow-step,
  figure {
    break-inside: avoid;
  }
}
