/* --------------------------------------------------------------------------
   0. Inter, self-hosted
   Google's Inter v20 is a variable font: one file covers 400-800, so the
   whole family is two requests from our own origin instead of a
   render-blocking round trip to fonts.googleapis.com plus fonts.gstatic.com.
   Replace by re-downloading from Google Fonts with a modern browser UA.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Astrum Industria Automation — astrumindustriaautomation.com
   Design tokens are all in :root. Change a brand colour once, here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled directly from the identity artwork */
  --ink:          #050505;
  --ink-raised:   #0B0B0C;
  --ink-card:     #0F0F11;
  --ink-hover:    #151517;

  --orange:       #FE5200;
  --orange-soft:  #FF6A22;
  --coral:        #FB7863;
  --pink:         #E890CA;
  --lilac:        #E49CF0;
  --violet:       #C57CF1;

  --white:        #FFFFFF;
  --text:         #ECECEE;
  --text-muted:   #A3A3AC;
  --text-faint:   #74747E;

  --line:         rgba(255,255,255,.10);
  --line-strong:  rgba(255,255,255,.18);

  /* The signature diagonal sweep */
  --brand-sweep:  linear-gradient(112deg,
                    var(--lilac)  0%,
                    var(--violet) 17%,
                    var(--pink)   32%,
                    var(--coral)  55%,
                    var(--orange) 84%);
  --brand-sweep-flat: linear-gradient(100deg, var(--violet) 0%, var(--coral) 45%, var(--orange) 100%);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 9vw, 124px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-lift: 0 24px 60px -28px rgba(0,0,0,.9);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* The etched-line texture from the identity, laid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/texture-lines.png");
  background-size: 620px 620px;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -0.025em; }
h4 { font-size: 1.02rem; letter-spacing: -0.015em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--orange-soft); text-decoration: none; }
a:hover { color: var(--coral); }

strong { color: var(--white); font-weight: 650; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }
li::marker { color: var(--orange); }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

::selection { background: var(--orange); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--ink);
  padding: 12px 20px; border-radius: 0 0 8px 0; font-weight: 600; z-index: 999;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 800px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(52px, 6vw, 82px); }
.section--hairline { border-top: 1px solid var(--line); }

.lead { font-size: clamp(1.06rem, 2vw, 1.28rem); color: var(--text-muted); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* --------------------------------------------------------------------------
   4. Brand devices
   -------------------------------------------------------------------------- */
.grad-text {
  background: var(--brand-sweep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fallback for engines that ignore background-clip:text */
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px; border-radius: 2px;
  background: var(--brand-sweep-flat);
}
.center .eyebrow::before { display: none; }
.center .eyebrow { justify-content: center; }

.rule-sweep { height: 3px; border: 0; border-radius: 2px; background: var(--brand-sweep); margin: 0 0 28px; width: 76px; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit; font-size: .97rem; font-weight: 650; letter-spacing: -0.01em;
  cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease), color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-sweep-flat);
  background-size: 170% 100%;
  background-position: 8% 50%;
  color: #170303;                 /* near-black on the saturated sweep: AA at every stop */
  font-weight: 700;
  box-shadow: 0 12px 34px -14px rgba(254,82,0,.75);
}
.btn--primary:hover { background-position: 100% 50%; color: #170303; box-shadow: 0 18px 42px -14px rgba(254,82,0,.9); }

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.34); color: var(--white); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #EDEDED; color: var(--ink); }

.btn--wide { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .95rem; color: var(--white);
}
.arrow-link::after { content: "→"; color: var(--orange); transition: transform .25s var(--ease); }
.arrow-link:hover { color: var(--white); }
.arrow-link:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,5,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(5,5,5,.92); }

.nav { display: flex; align-items: center; gap: 18px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); flex: 0 0 auto; }
.brand:hover { color: var(--white); }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.brand-name { font-weight: 700; letter-spacing: -0.045em; font-size: 1.02rem; line-height: 1.12; }
.brand-name span { display: block; font-size: .69rem; font-weight: 500; letter-spacing: .155em;
                   text-transform: uppercase; color: var(--text-faint); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 13px; border-radius: 9px;
  font-size: .93rem; font-weight: 550; color: var(--text-muted);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta { margin-left: 10px; }
/* the .nav-links a rule above is more specific than .btn — restate button colours */
.nav-links a.btn--primary,
.nav-links a.btn--primary:hover { color: #170303; background-color: transparent; }
.nav-links a.btn--ghost,
.nav-links a.btn--ghost:hover { color: var(--white); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--white); cursor: pointer;
}
.nav-toggle span { display: block; width: 17px; height: 1.5px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 16px var(--gutter) 28px;
    background: #070707; border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 74px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 12px; font-size: 1.02rem; }
  .nav-cta { margin: 12px 0 0; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 104px); overflow: hidden; }

/* The identity's diagonal split, rebuilt as a live background */
.hero::after {
  content: "";
  position: absolute; z-index: 0;
  top: -42%; right: -26%;
  width: min(920px, 74vw); aspect-ratio: 1 / 1;
  background: var(--brand-sweep);
  filter: blur(0px);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 4% 100%);
  opacity: .16;
  transform: rotate(-6deg);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.08rem, 2.1vw, 1.32rem); margin-bottom: 32px; }

.hero-note { margin-top: 26px; font-size: .88rem; color: var(--text-faint); display: flex; align-items: flex-start; gap: 10px; }
.hero-note::before { content: ""; width: 7px; height: 7px; margin-top: .52em; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(254,82,0,.16); flex: 0 0 auto; }

/* Before / after panel in the hero */
.swap-panel {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  padding: 22px; box-shadow: var(--shadow-lift);
}
.swap-panel h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; font-weight: 650; }
.swap-list { list-style: none; margin: 0; padding: 0; }
.swap-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; margin-bottom: 11px; color: var(--text-muted); line-height: 1.5; }
.swap-list li:last-child { margin-bottom: 0; }
.swap-list .ico { flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 700; margin-top: 2px; }
.swap-list .ico--x { background: rgba(255,255,255,.08); color: var(--text-faint); }
.swap-list .ico--v { background: var(--brand-sweep-flat); color: #16060B; }
.swap-divider { height: 1px; background: var(--line); margin: 20px -22px; }
.swap-panel .after li { color: var(--text); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-card);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--brand-sweep); opacity: 0; transition: opacity .3s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); background: var(--ink-hover); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }
.card p + p { margin-top: .8em; }

.card-num {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: var(--orange); margin-bottom: 12px;
}

a.card { display: block; color: inherit; }
a.card:hover { color: inherit; }
a.card .arrow-link { margin-top: 16px; }

.card--flat { background: transparent; }
.card--pad-lg { padding: clamp(26px, 4vw, 42px); }

/* Icon chip */
.chip {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(197,124,241,.20), rgba(254,82,0,.20));
  border: 1px solid var(--line);
  color: var(--white);
}
.chip svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   9. Steps
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li {
  position: relative;
  padding: 0 0 34px 62px;
  counter-increment: step;
  margin: 0;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 700; letter-spacing: -0.02em;
  background: var(--ink-card); border: 1px solid var(--line-strong); color: var(--white);
}
.steps > li::after {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: 7px; }
.steps p { color: var(--text-muted); font-size: .96rem; }

/* --------------------------------------------------------------------------
   10. Feature list with ticks
   -------------------------------------------------------------------------- */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-muted); font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--brand-sweep-flat);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat,
           radial-gradient(circle, #000 99%, #000);
  -webkit-mask-composite: source-out;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ticks li strong { color: var(--white); }

.crosses { list-style: none; margin: 0; padding: 0; }
.crosses li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-muted); font-size: .97rem; }
.crosses li::before {
  content: "×"; position: absolute; left: 3px; top: -1px;
  color: var(--text-faint); font-size: 1.25rem; line-height: 1.35;
}

/* --------------------------------------------------------------------------
   11. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}
.trust-strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 0; }
.trust-item { padding: 26px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: .98rem; margin-bottom: 4px; letter-spacing: -0.02em; }
.trust-item span { font-size: .87rem; color: var(--text-muted); line-height: 1.5; display: block; }
@media (max-width: 720px) {
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .trust-item:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   12. Split feature block
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(32px, 5vw, 68px); grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); align-items: center; }
.split--top { align-items: start; }

/* Contact page: form + sidebar. One column on small screens — an inline
   grid-template-columns here used to force two columns at every width. */
.split--contact { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split--contact { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
}

/* --------------------------------------------------------------------------
   13. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 24px 44px 24px 0; position: relative;
  font-weight: 600; font-size: 1.06rem; color: var(--white); letter-spacing: -0.02em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-soft); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .faq-body { padding: 0 clamp(0px, 6vw, 60px) 26px 0; color: var(--text-muted); }
.faq .faq-body p { font-size: .98rem; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--brand-sweep);
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 30% 100%);
  opacity: .14; pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--ink-card); padding: clamp(24px, 4vw, 38px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--white); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--text-faint); }

.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: #08080A; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .97rem; line-height: 1.5;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5C5C66; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); background: #0B0B0E;
  box-shadow: 0 0 0 3px rgba(197,124,241,.18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A3AC' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 40px;
}
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--text-muted); }
.consent input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--orange); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: .84rem; color: var(--text-faint); margin-top: 16px; }

.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: .93rem; margin-bottom: 22px; border: 1px solid; }
.alert--ok  { background: rgba(120,220,150,.08); border-color: rgba(120,220,150,.35); color: #A8E8BE; }
.alert--err { background: rgba(254,82,0,.09);   border-color: rgba(254,82,0,.42);   color: #FFB08A; }
.alert ul { margin: .5em 0 0; padding-left: 1.1em; }
.alert a { color: inherit; text-decoration: underline; }

/* --------------------------------------------------------------------------
   16. Contact meta
   -------------------------------------------------------------------------- */
.contact-meta { list-style: none; margin: 0; padding: 0; }
.contact-meta li { margin-bottom: 22px; }
.contact-meta strong { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 5px; font-weight: 650; }
.contact-meta a { color: var(--white); font-weight: 600; word-break: break-word; }
.contact-meta a:hover { color: var(--orange-soft); }

/* --------------------------------------------------------------------------
   17. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-head { position: relative; padding-block: clamp(52px, 7vw, 92px) clamp(34px, 4vw, 52px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head::after {
  content: ""; position: absolute; z-index: 0; top: -60%; right: -14%;
  width: min(760px, 72vw); aspect-ratio: 1/1;
  background: var(--brand-sweep);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 6% 100%);
  opacity: .13; transform: rotate(-6deg); pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }

/* Breadcrumb */
.crumbs { font-size: .84rem; color: var(--text-faint); margin-bottom: 16px; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin-inline: 8px; }

/* --------------------------------------------------------------------------
   18. Service detail blocks
   -------------------------------------------------------------------------- */
.service-block {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--ink-card);
  padding: clamp(24px, 3.6vw, 38px);
  margin-bottom: 20px;
  scroll-margin-top: 100px;
}
.service-block h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; font-size: clamp(1.25rem, 2.3vw, 1.6rem); }
.service-block h3 .n { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--orange); }
.sb-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sb-grid h4 { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; font-weight: 650; }
.sb-grid p { font-size: .95rem; color: var(--text-muted); margin: 0; }
.sb-fit { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-faint); }
.sb-fit strong { color: var(--text-muted); font-weight: 600; }

.toc-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; }
.toc-links a { color: var(--text-muted); }
.toc-links a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   19. Definition-style table
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); font-weight: 650; background: rgba(255,255,255,.025); }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--white); }

/* --------------------------------------------------------------------------
   20. Prose (legal pages)
   -------------------------------------------------------------------------- */
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.08rem; }
.prose p, .prose li { color: var(--text-muted); font-size: .99rem; }
.prose strong { color: var(--white); }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 30px; background: #060606; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: minmax(0,1.6fr) repeat(auto-fit, minmax(150px, 1fr)); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: .93rem; max-width: 38ch; }
.footer-col h4 { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; font-weight: 650; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-muted); font-size: .93rem; overflow-wrap: anywhere; }
/* The contact address is one long unbreakable token; without this it pushes the
   whole page sideways at phone widths (~120px of horizontal scroll). */
.footer-col li { overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   22. Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Print */
@media print {
  body::before, .site-header, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  h1,h2,h3,h4 { color: #000; }
}

/* --------------------------------------------------------------------------
   23. Founder
   -------------------------------------------------------------------------- */
.founder {
  display: grid;
  gap: clamp(28px, 4.5vw, 56px);
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } }

.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: var(--brand-sweep);
  max-width: 260px;
}
.portrait img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-lg) - 3px);
  background: var(--ink-card);
}
.portrait-fig { margin: 0; max-width: 260px; }
.portrait-fig figcaption {
  margin-top: 16px;
  font-size: .86rem;
  color: var(--text-faint);
  line-height: 1.55;
}
.portrait-fig figcaption strong { display: block; color: var(--white); font-size: 1.02rem; letter-spacing: -0.025em; margin-bottom: 2px; }

.founder-body p { color: var(--text-muted); }
.founder-body p:first-of-type { font-size: clamp(1.04rem, 1.9vw, 1.18rem); color: var(--text); line-height: 1.6; }

.sign-off {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between;
}
.sign-off .who { font-size: .95rem; color: var(--white); font-weight: 600; }
.sign-off .who span { display: block; font-weight: 400; font-size: .86rem; color: var(--text-faint); }

.creds { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li {
  font-size: .82rem; color: var(--text-muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; background: rgba(255,255,255,.025);
}

/* People grid — takes a second and third card without any layout change */
.people { display: grid; gap: clamp(28px, 4vw, 44px); grid-template-columns: 1fr; }
.people:has(.person:nth-child(2)) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }

.person {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 820px) { .person { grid-template-columns: 1fr; } }

.person-body p { color: var(--text-muted); }
.person-body p:first-of-type { font-size: clamp(1.02rem, 1.8vw, 1.14rem); color: var(--text); line-height: 1.6; }

.person-link {
  display: block; width: fit-content; margin-top: 12px;
  font-size: .84rem; font-weight: 600; color: var(--white);
  border-bottom: 1px solid var(--orange); padding-bottom: 1px;
}
.person-link:hover { color: var(--orange-soft); }

/* Compact version used in the contact sidebar */
.who-card { display: flex; gap: 14px; align-items: center; }
.who-card img { width: 58px; height: 58px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 2px var(--orange); }
.who-card .n { font-weight: 650; color: var(--white); font-size: .98rem; letter-spacing: -0.02em; }
.who-card .r { font-size: .84rem; color: var(--text-faint); }

/* --------------------------------------------------------------------------
   24. Contact form — success overlay
   -------------------------------------------------------------------------- */
.form-shell { position: relative; }

.form-shell.is-done .form-card {
  filter: blur(2px);
  opacity: .35;
  pointer-events: none;
  user-select: none;
}

.form-success {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
  border-radius: var(--radius-lg);
  background: rgba(5, 5, 5, .55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transform: scale(.98);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.form-success[hidden] { display: none; }
.form-success.is-shown { opacity: 1; transform: none; }

.form-success__card {
  max-width: 400px;
  text-align: center;
  padding: clamp(26px, 4vw, 36px) clamp(22px, 3.5vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-card);
  box-shadow: var(--shadow-lift);
}
.form-success__card h3 { margin-bottom: 10px; }
.form-success__card p { color: var(--text-muted); font-size: .96rem; }
.form-success__card .btn { margin-top: 20px; }

.form-success__icon {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-sweep-flat);
  color: #170303;
  box-shadow: 0 10px 28px -12px rgba(254, 82, 0, .8);
}
.form-success__icon svg { width: 25px; height: 25px; }

.form-success__meta { font-size: .87rem !important; color: var(--text-faint) !important; margin-top: 12px; }

/* On a short viewport the overlay can exceed the fold — let it scroll. */
@media (max-height: 640px) {
  .form-success { align-items: start; overflow-y: auto; }
}

/* Service hub -> service page link (added by _source/seo-patch.py) */
.sb-more { margin-top: 14px; }
.sb-more .arrow-link { font-size: .95rem; }
