@import url("fonts.css");

/* ==================================================================
   StartupAdil — startupadil.com
   Hand-written CSS. No build step, no framework.

   Contents
     1.  Tokens
     2.  Reset & base
     3.  Layout primitives
     4.  Typography helpers
     5.  Header & navigation
     6.  Hero
     7.  Section headings
     8.  Capabilities
     9.  Venture studio
     10. Process
     11. Company
     12. Contact
     13. Footer
     14. Legal pages
     15. Motion
     16. Responsive
   ================================================================== */

/* --- 1. Tokens ---------------------------------------------------- */
:root {
  --ink: #050c16;
  --ink-raised: #0a1524;
  --ink-line: #16283f;

  --navy: #16304f;
  --navy-lift: #1f4972;

  --teal: #2e9b8a;
  --teal-bright: #4cc9ae;
  --teal-dim: #1d6a5f;

  --bone: #f2efe8;
  --bone-muted: #9dafc2;
  --bone-faint: #6c8399;

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --max: 110rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Reset & base ---------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--ink-line);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--ink-line) var(--ink);
  scrollbar-width: thin;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

::selection {
  background: var(--teal);
  color: #05131a;
}

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--teal-bright);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* Film grain over the whole canvas ------------------------------- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- 3. Layout primitives ----------------------------------------- */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 7rem;
  border-top: 1px solid var(--ink-line);
  position: relative;
  scroll-margin-top: 6rem;
  overflow: hidden;
}

/* Decorative colour wash behind a section ------------------------ */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
}

.glow--hero {
  top: -10rem;
  right: -10rem;
  width: 46rem;
  height: 46rem;
  opacity: 0.45;
  background: radial-gradient(
    circle at center,
    var(--teal-dim) 0%,
    rgba(31, 73, 114, 0.35) 45%,
    transparent 70%
  );
}

.glow--studio {
  bottom: -15rem;
  left: -10rem;
  width: 40rem;
  height: 40rem;
  opacity: 0.3;
  background: radial-gradient(
    circle at center,
    var(--navy-lift) 0%,
    transparent 68%
  );
}

.glow--contact {
  top: -10rem;
  right: 0;
  width: 38rem;
  height: 38rem;
  opacity: 0.35;
  background: radial-gradient(circle at center, var(--teal-dim) 0%, transparent 68%);
}

/* Hairline blueprint rules --------------------------------------- */
.blueprint {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(to right, var(--ink-line) 1px, transparent 1px);
  background-size: clamp(6rem, 12vw, 12rem) 100%;
}

/* A grid whose 1px gaps show the background through as hairlines -- */
.cellgrid {
  display: grid;
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}

.cell {
  background: var(--ink);
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background-color 0.5s var(--ease);
}

.cell:hover {
  background: var(--ink-raised);
}

/* --- 4. Typography helpers ---------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.94;
}

em,
.italic {
  font-style: italic;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

.rule-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

.mono {
  font-family: var(--font-mono);
}

.accent {
  color: var(--teal-bright);
}

.muted {
  color: var(--bone-muted);
}

.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--bone-muted);
  max-width: 42rem;
}

/* Buttons --------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: var(--teal-bright);
  color: var(--ink);
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.btn:hover::after {
  transform: scaleX(1);
}

.btn--ghost {
  background: transparent;
  color: var(--bone-muted);
  border-bottom: 1px solid var(--ink-line);
  padding: 0 0 0.35rem;
  transition:
    color 0.3s,
    border-color 0.3s;
}

.btn--ghost::after {
  display: none;
}

.btn--ghost:hover {
  color: var(--bone);
  border-color: var(--teal-bright);
}

.btn--outline {
  background: transparent;
  color: var(--teal-bright);
  border: 1px solid var(--teal-dim);
  padding: 0.7rem 1.25rem;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.btn--outline::after {
  display: none;
}

.btn--outline:hover {
  background: var(--teal-bright);
  color: var(--ink);
}

/* --- 5. Header & navigation --------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.5s,
    border-color 0.5s,
    backdrop-filter 0.5s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 12, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--ink-line);
}

.site-header__bar {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* The supplied logo is a light-background asset: its navy sits at roughly
   1.2:1 against this canvas and would all but vanish. Rather than alter the
   artwork, it is placed unmodified on a light plate, which is how the mark is
   meant to be seen. Swap this for a plain <img> the moment the designer
   supplies a reversed (light-on-dark) lockup. */
.brand__plate {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--bone);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

/* The mark is portrait (901×1021), so it is sized from its height and lets
   its own aspect ratio set the width. An explicit height keeps the optical
   padding inside the plate identical at every breakpoint. */
.brand__plate img {
  height: 1.75rem;
  width: auto;
}

.brand:hover .brand__plate {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(76, 201, 174, 0.25);
}

.wordmark {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wordmark span {
  color: var(--teal-bright);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-muted);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--bone);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  height: 1px;
  width: 0;
  background: var(--teal-bright);
  transition: width 0.4s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--bone);
  transition: transform 0.3s;
}

.site-header.is-open .nav-toggle span:first-of-type {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-of-type {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--ink-line);
  background: var(--ink);
}

.site-header.is-open .nav-mobile {
  display: block;
}

.nav-mobile ul {
  padding-block: 1.5rem;
}

.nav-mobile a {
  display: block;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-display);
  font-size: 1.875rem;
}

.nav-mobile .btn {
  display: block;
  margin-top: 2rem;
}

.nav-mobile__email {
  display: block;
  margin-top: 1.5rem;
  padding-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--bone-muted);
}

/* --- 6. Hero ------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.9rem, 8vw, 7.5rem);
  margin-top: 2rem;
}

.hero h1 span {
  display: block;
}

.hero__lede {
  margin-top: 2.5rem;
  max-width: 36rem;
}

.hero__actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.hero__graphic {
  margin-top: 4rem;
  width: 100%;
}

.pillars {
  margin-top: 6rem;
  border-top: 1px solid var(--ink-line);
  display: grid;
}

.pillars li {
  border-bottom: 1px solid var(--ink-line);
  padding-block: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-muted);
}

/* --- 7. Section headings ------------------------------------------ */
.section__head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.section__index {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.section__index .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--teal-dim);
}

.section__title {
  font-size: clamp(2.1rem, 4.6vw, 4.25rem);
}

.section__head .lede {
  margin-top: 1.75rem;
}

/* --- 8. Capabilities ---------------------------------------------- */
.caps {
  position: relative;
  z-index: 1;
  margin-top: 6rem;
  border-top: 1px solid var(--ink-line);
}

.cap {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem;
  border-bottom: 1px solid var(--ink-line);
  transition: background-color 0.5s var(--ease);
}

.cap:hover {
  background: rgba(10, 21, 36, 0.6);
}

.cap__key {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--teal-dim);
  transition: color 0.5s;
}

.cap:hover .cap__key {
  color: var(--teal-bright);
}

.cap h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.cap__summary {
  font-size: 1.125rem;
  line-height: 1.7;
}

.cap__detail {
  margin-top: 1.25rem;
  color: var(--bone-muted);
}

.cap__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-muted);
  line-height: 1.5;
}

.cap__list li + li {
  margin-top: 0.75rem;
}

.cap__list li::before {
  content: "";
  flex: none;
  margin-top: 0.55rem;
  width: 0.75rem;
  height: 1px;
  background: var(--teal-dim);
  transition: background-color 0.5s;
}

.cap:hover .cap__list li::before {
  background: var(--teal-bright);
}

/* --- 9. Venture studio -------------------------------------------- */
.models {
  position: relative;
  z-index: 1;
  margin-top: 6rem;
}

.model__key {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--teal-dim);
}

.model h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.1;
}

.model p {
  margin-top: 1.25rem;
  color: var(--bone-muted);
  flex: 1;
}

.model__tone {
  margin-top: 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

.model::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.model:hover::after {
  transform: scaleX(1);
}

.note {
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
  max-width: 52rem;
  border-left: 1px solid var(--teal-dim);
  padding-left: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--bone-muted);
}

/* --- 10. Process --------------------------------------------------- */
.steps {
  position: relative;
  z-index: 1;
  margin-top: 6rem;
}

.step__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--teal-bright);
}

.step__rule {
  flex: 1;
  height: 1px;
  background: var(--ink-line);
  transition: background-color 0.5s;
}

.cell:hover .step__rule {
  background: var(--teal-dim);
}

.step h3 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.1;
}

.step p {
  margin-top: 1.25rem;
  color: var(--bone-muted);
}

/* --- 11. Company ---------------------------------------------------- */
.company__body {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
}

.company__body > p:first-child {
  font-size: 1.25rem;
  line-height: 1.7;
}

.company__body > p + p {
  margin-top: 1.75rem;
  color: var(--bone-muted);
}

.facts {
  margin-top: 4rem;
}

.facts .cell {
  padding: 1.75rem;
}

.facts dd {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.regulatory {
  margin-top: 4rem;
  border: 1px solid rgba(29, 106, 95, 0.4);
  background: var(--ink-raised);
  padding: 2rem;
}

.regulatory p {
  margin-top: 1.25rem;
  color: var(--bone-muted);
}

/* --- 12. Contact ---------------------------------------------------- */
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4rem;
}

.contact h2 {
  margin-top: 2rem;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
}

.contact__email {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal-bright);
  border-bottom: 1px solid var(--teal-dim);
  padding-bottom: 0.25rem;
  transition:
    color 0.3s,
    border-color 0.3s;
}

.contact__email:hover {
  color: var(--bone);
  border-color: var(--bone);
}

.form > * + * {
  margin-top: 2.5rem;
}

.chips {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  border: 1px solid var(--ink-line);
  background: transparent;
  color: var(--bone-muted);
  padding: 0.65rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
}

.chip:hover {
  border-color: var(--teal-dim);
  color: var(--bone);
}

.chip[aria-pressed="true"] {
  background: var(--teal-bright);
  border-color: var(--teal-bright);
  color: var(--ink);
}

.field label {
  display: block;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding-bottom: 0.75rem;
  background: transparent;
  border-bottom: 1px solid var(--ink-line);
  font-size: 1.125rem;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--teal-bright);
}

.field ::placeholder {
  color: var(--bone-faint);
}

.form__status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--bone-faint);
  line-height: 1.6;
}

/* --- 13. Footer ------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--ink-line);
  background: var(--ink-raised);
}

.site-footer__top {
  display: grid;
  gap: 3.5rem;
  padding-block: 5rem;
}

/* Full lockup, unmodified, on the light surface it was drawn for. This
   carries the wordmark and tagline, so the footer needs no text version. */
.site-footer__logo {
  display: block;
  width: fit-content;
  padding: 1.75rem 2rem;
  border-radius: 0.5rem;
  background: var(--bone);
}

.site-footer__logo img {
  width: 13rem;
  max-width: 100%;
  height: auto;
}

.site-footer__email {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--teal-bright);
  border-bottom: 1px solid var(--teal-dim);
  padding-bottom: 0.25rem;
  transition:
    color 0.3s,
    border-color 0.3s;
}

.site-footer__email:hover {
  color: var(--bone);
  border-color: var(--bone);
}

.site-footer h2 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

.site-footer ul {
  margin-top: 1.5rem;
}

.site-footer ul li + li {
  margin-top: 0.75rem;
}

.site-footer ul a {
  font-size: 0.875rem;
  color: var(--bone-muted);
  transition: color 0.3s;
}

.site-footer ul a:hover {
  color: var(--bone);
}

.site-footer address {
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--bone-muted);
}

.site-footer__reg {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
}

.site-footer__compliance {
  border-top: 1px solid var(--ink-line);
  padding-block: 2.5rem;
}

.site-footer__compliance p {
  max-width: 64rem;
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--bone-faint);
}

.site-footer__base {
  border-top: 1px solid var(--ink-line);
  padding-block: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__base p,
.site-footer__base a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
  transition: color 0.3s;
}

.site-footer__base a:hover {
  color: var(--bone);
}

.site-footer__links {
  display: flex;
  gap: 2rem;
}

/* --- 14. Legal pages -------------------------------------------------- */
.legal {
  padding-top: 10rem;
  padding-bottom: 7rem;
}

.legal__grid {
  display: grid;
  gap: 3rem;
}

.legal h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.legal__body {
  margin-top: 4rem;
  max-width: 48rem;
}

.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.15;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
}

.legal__body > p:first-child + h2 {
  margin-top: 2.5rem;
}

.legal__body p {
  margin-top: 1.125rem;
  color: var(--bone-muted);
  line-height: 1.75;
}

.legal__body strong {
  color: var(--bone);
  font-weight: 600;
}

.legal__body ul {
  margin-top: 1.125rem;
  padding-left: 1.1rem;
}

.legal__body li {
  position: relative;
  margin-top: 0.6rem;
  color: var(--bone-muted);
  line-height: 1.75;
}

.legal__body li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.8rem;
  width: 0.5rem;
  height: 1px;
  background: var(--teal-dim);
}

.legal__body a {
  color: var(--teal-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__body h3 {
  margin-top: 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bone);
}

.legal__date {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--bone-muted);
}

.legal__standfirst {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--bone);
  padding-bottom: 0.5rem;
}

/* Legal-bases table. Wide content scrolls inside its own container so the
   page body never scrolls sideways on a phone. */
.legal__table {
  margin-top: 1.75rem;
  overflow-x: auto;
  border: 1px solid var(--ink-line);
}

.legal__table table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.legal__table th,
.legal__table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ink-line);
  line-height: 1.6;
}

.legal__table th {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: var(--ink-raised);
  white-space: nowrap;
}

.legal__table td {
  color: var(--bone-muted);
}

.legal__table tbody tr:last-child td {
  border-bottom: 0;
}

.legal__table td:first-child {
  color: var(--bone);
}

/* Row-header variant (the company information table): the label is the <th>,
   so the value beside it takes the emphasis, and it needs far less width than
   the three-column table above. */
.legal__table--rows table {
  min-width: 0;
}

.legal__table--rows th {
  width: 1%;
  vertical-align: middle;
}

.legal__table--rows th[scope="row"] + td {
  color: var(--bone);
}

/* 404 ------------------------------------------------------------- */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 10rem;
  padding-bottom: 7rem;
}

.notfound h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  margin-top: 1.5rem;
}

/* --- 15. Motion -------------------------------------------------------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 1.75rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -1.25rem, 0);
  }
}

@keyframes pulse-node {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes ledger-flow {
  from {
    stroke-dashoffset: 220;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Page-load stagger — [data-rise] elements animate in on arrival. */
[data-rise] {
  animation: rise 0.9s var(--ease) both;
}

/* Scroll reveal — script.js flips data-visible via IntersectionObserver.
   The hiding rule is gated on .reveal-ready, which script.js only adds once
   it knows the observer exists, so content is never hidden without something
   able to show it again. */
.reveal {
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

html.reveal-ready .reveal:not([data-visible="true"]) {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
}

.ledger__signal {
  animation: ledger-flow 4.5s linear infinite;
}

.ledger__block {
  animation: drift 8s ease-in-out infinite;
}

.ledger__core {
  animation: pulse-node 3.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.reveal-ready .reveal:not([data-visible="true"]) {
    opacity: 1;
    transform: none;
  }
}

/* --- 16. Responsive ----------------------------------------------------- */
@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts.cellgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__base {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 10rem;
  }

  .hero {
    padding-top: 13rem;
    padding-bottom: 8rem;
  }

  .section__head {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }

  .section__index {
    grid-column: span 3;
  }

  .section__head > div:last-child {
    grid-column: span 9;
  }

  .cap h3 {
    font-size: 2.25rem;
  }

  .cell {
    padding: 2.75rem;
  }

  .steps.cellgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company__grid,
  .contact__grid,
  .legal__grid,
  .site-footer__top {
    grid-template-columns: repeat(12, 1fr);
  }

  .company__body {
    grid-column: 4 / span 7;
  }

  .contact__intro {
    grid-column: span 5;
  }

  .contact__form {
    grid-column: 7 / span 6;
  }

  .legal__meta {
    grid-column: span 3;
  }

  .legal__main {
    grid-column: span 8;
  }

  .site-footer__brand {
    grid-column: span 5;
  }

  .site-footer__nav {
    grid-column: span 3;
  }

  .site-footer__office {
    grid-column: span 4;
  }

  .site-footer__top {
    padding-block: 5rem;
  }

  .regulatory {
    padding: 2.5rem;
  }

  .contact__email {
    font-size: 1.875rem;
  }

  .legal {
    padding-top: 13rem;
    padding-bottom: 10rem;
  }
}

/* The capability rows and the three engagement models only earn their
   multi-column layout once there is real width to divide. Below this they
   stay stacked rather than squeezing into unreadable columns. */
@media (min-width: 900px) {
  .cap {
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
  }

  .cap__id {
    grid-column: span 3;
  }

  .cap__copy {
    grid-column: span 5;
  }

  .cap__items {
    grid-column: span 4;
  }

  .models.cellgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
    align-items: center;
  }

  .hero__copy {
    grid-column: span 7;
  }

  .hero__art {
    grid-column: span 5;
  }

  .hero__graphic {
    margin-top: 0;
  }

  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }

  .pillars li {
    border-bottom: 0;
    border-right: 1px solid var(--ink-line);
    padding-right: 1.5rem;
  }

  .pillars li:last-child {
    border-right: 0;
  }
}

@media (min-width: 1280px) {
  .steps.cellgrid {
    grid-template-columns: repeat(4, 1fr);
  }
}
