/* ============================================================
   KAYADO — Swiss brutalist / editorial print
   Tokens: 5 colors, 3 type roles, 0 radius, hard 1px rules
   ============================================================ */

:root {
  --paper: #F2F0EA;
  --ink: #0A0A0A;
  --rule: #0A0A0A;
  --muted: #5A5A55;
  --accent-start: #00A3B5;
  --accent-end: #0A0A0A;
  --accent-solid: #00879B;
  --accent-gradient: linear-gradient(100deg, #00A3B5 0%, #0A0A0A 100%);
  /* on black bars the ink end would vanish — fade to deep teal instead */
  --accent-gradient-dark: linear-gradient(100deg, #2BD3E2 0%, #0E6771 100%);

  --pad-x: 24px;
  --display: "Archivo Black", "Helvetica Now Display", "Inter", -apple-system, sans-serif;
  --serif: "Playfair Display", "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

@media (min-width: 768px)  { :root { --pad-x: 48px; } }
@media (min-width: 1200px) { :root { --pad-x: 72px; } }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--paper); }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.pad { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* content sits above the fixed hex texture (z-index 0) */
main, .footer-cta { position: relative; z-index: 1; }

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

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

:focus-visible {
  outline: 2px solid var(--accent-solid);
  outline-offset: 2px;
}

/* gradient text: solid fallback first, clip where supported */
.num, .t-nm, .s-num {
  color: var(--accent-solid);
}

/* gradient text sitting on black bars uses the on-dark variant */
.hb-text, .fc-big, .sb-text {
  color: #2BD3E2;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  /* clip declarations must FOLLOW the background shorthand in the same
     rule — the shorthand resets background-clip to border-box */
  .num, .t-nm, .s-num {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .hb-text, .fc-big, .sb-text {
    background: var(--accent-gradient-dark);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* ---- type roles ------------------------------------------- */

.mono-label,
.tag, .fl-text, .note, .fc-left, .pill {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  line-height: 1.5;
}

/* ---- header ----------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--pad-x);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  /* own composited layer — stops iOS Safari dropping the sticky bar on scroll */
  transform: translateZ(0);
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px 0;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--ink);
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo-hex {
  width: 0.92em;
  height: 0.92em;
  margin-left: 0.04em;
  transform: translateY(0.02em);
}

.pill {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.pill:hover { background: var(--ink); color: var(--paper); }

/* ---- menu overlay ----------------------------------------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 0 var(--pad-x);
}

.menu[hidden] { display: none; }

.menu a {
  color: var(--paper);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  border-bottom: 1px solid var(--paper);
  padding-bottom: 0.75rem;
  width: fit-content;
  min-width: 60%;
}

.menu a:hover { color: #4ED4E0; border-color: #4ED4E0; }

.menu-close {
  position: absolute;
  top: 12px;
  right: var(--pad-x);
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

/* ---- new hero (dark full-bleed image) --------------------- */

.site-header { transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }

.site-header.over-hero { background: transparent; border-bottom-color: transparent; }
.over-hero .burger span { background: #fff; }
.over-hero .logo { color: #fff; }
.over-hero .pill { border-color: #fff; color: #fff; }
.over-hero .pill:hover { background: #fff; color: var(--ink); }

.new-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* pull up under the sticky 64px header so the photo starts at the very top
     and the white header marks sit on the image, not the paper strip above it */
  margin-top: -64px;
  min-height: 88svh;
  display: flex;
  overflow: hidden;
  background: var(--ink);
}

.nh-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: grayscale(1) contrast(1.05);
}

.nh-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.20) 40%,
    rgba(10,10,10,0.85) 100%);
}

.nh-inner {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 40px;
}

.nh-h { color: #fff; font-size: clamp(3rem, 13vw, 5rem); }

.nh-form {
  width: min(80%, 560px);
  margin-top: 2rem;
  border-bottom-color: #fff;
}

.nh-form .fl-text { color: #fff; }

/* ---- shared collage pieces (used by the closing section) -- */

.card {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--ink);
  z-index: 2;
}

.card img { width: 100%; filter: grayscale(1) contrast(1.1); }

.card .tag {
  position: absolute;
  top: 10px;
  left: 12px;
  color: #fff;
  background: var(--ink);
  padding: 5px 8px;
}

.sketch-arrow { position: absolute; right: 4%; bottom: 2%; width: 52%; height: auto; }
.sketch-marks { position: absolute; top: 4%; right: 6%; width: 18%; height: auto; }

h1 {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 15vw, 5.5rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.mask { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
h1 .line { display: block; }
h1 .l1 { white-space: nowrap; font-size: 0.9em; }

.hl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: lowercase;
  font-size: 0.88em;
  letter-spacing: -0.01em;
  background: var(--accent-gradient);
  color: #fff;
  padding: 0 8px;
  margin-left: 0.06em;
  line-height: 0.9;
  display: inline-block;
  vertical-align: baseline;
}

.form-line {
  position: relative;
  display: block;
  z-index: 3;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 16px;
  padding-right: 64px;
}

.fl-text { display: inline-block; }

.fl-dot {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.15s ease;
}

.form-line:hover .fl-dot { transform: translateY(4px); }

/* ---- what you get ----------------------------------------- */

.what { border-top: 1px solid var(--rule); }
.what-eyebrow { padding-top: 32px; }
.what-block { padding-top: 4px; padding-bottom: 40px; }
.what-block-2 { border-top: 1px solid var(--rule); padding-top: 32px; }

.sl-head { margin-bottom: 1.25rem; }

.sl-line {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 13vw, 4.5rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.sl-hl {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: lowercase;
  color: #fff;
  background: var(--accent-gradient);
  padding: 4px 14px;
  font-size: clamp(1.5rem, 6.5vw, 2.5rem);
  line-height: 1.05;
  margin-top: -0.25em;
}

.s2-devices { position: relative; width: min(100%, 460px); margin: 0 auto; }
.s2-devices img { width: 100%; filter: grayscale(1) contrast(1.08); }
.s2-arrow { position: absolute; left: 26%; bottom: 4%; width: 36%; height: auto; }

.sl-cap {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 14px;
}

.s3-stack { position: relative; width: min(100%, 500px); margin: 2.4rem auto 2.6rem; }

.panel { background: #FDFCFA; border: 1px solid var(--ink); font-family: var(--mono); }

.p-dash { position: relative; width: 80%; margin-left: 10%; display: flex; }
.pd-side { width: 15%; background: #E7E5DE; padding: 8px 6px; display: flex; flex-direction: column; gap: 5px; }
.pd-side i { display: block; height: 4px; background: #B4B2AA; }
.pd-main { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pd-chart { width: 100%; height: 52px; display: block; }
.pd-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pd-tiles span { border: 1px solid #D6D4CC; padding: 4px 3px; font-size: 6px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); min-width: 0; overflow: hidden; }
.pd-tiles b { display: block; font-size: 8px; color: var(--ink); margin-bottom: 2px; }
.pd-bars { display: flex; gap: 3px; align-items: flex-end; height: 24px; }
.pd-bars i { flex: 1; background: #C6C4BC; }
.pd-bars i:nth-child(1){height:35%}.pd-bars i:nth-child(2){height:55%}.pd-bars i:nth-child(3){height:45%}.pd-bars i:nth-child(4){height:70%}.pd-bars i:nth-child(5){height:52%}.pd-bars i:nth-child(6){height:82%}.pd-bars i:nth-child(7){height:66%}.pd-bars i:nth-child(8){height:92%}

.p-crm { position: absolute; left: 0; bottom: -9%; width: 44%; transform: rotate(-2deg); }
.pc-top { display: flex; gap: 4px; padding: 5px; border-bottom: 1px solid #D6D4CC; }
.pc-search { flex: 1; border: 1px solid #D6D4CC; font-size: 6px; color: var(--muted); padding: 2px 4px; }
.pc-add { background: var(--ink); color: #fff; font-size: 6px; padding: 3px 6px; }
.pc-row { display: flex; align-items: center; gap: 4px; padding: 4px 5px; border-bottom: 1px solid #ECEAE2; }
.pc-row i { width: 8px; height: 8px; border-radius: 50%; background: #B4B2AA; flex-shrink: 0; }
.pc-name { font-size: 6.5px; color: var(--ink); flex: 1; white-space: nowrap; overflow: hidden; }
.pc-pill { font-size: 5.5px; text-transform: uppercase; border: 1px solid #B4B2AA; border-radius: 999px; padding: 1px 4px; color: var(--muted); }

.p-stats { position: absolute; right: 0; top: -12%; width: 25%; transform: rotate(2deg); padding: 6px; }
.ps-row { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; border-bottom: 1px solid #ECEAE2; }
.ps-row b { font-size: 8px; color: var(--ink); }
.ps-row span { font-size: 5.5px; color: var(--muted); }
.ps-spark { width: 100%; height: 14px; display: block; margin-top: 5px; }

.lead { position: absolute; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 8px; color: var(--ink); }
.lead::after { content: ""; position: absolute; width: 1px; background: var(--ink); }
.lead-dash { top: -20px; left: 38%; }
.lead-dash::after { left: 50%; top: 100%; height: 14px; }
.lead-crm { bottom: -24px; left: 4%; }
.lead-crm::after { left: 50%; bottom: 100%; height: 12px; }
.lead-stats { top: -20px; right: 2%; }
.lead-stats::after { left: 50%; top: 100%; height: 12px; }

/* ---- closing collage -------------------------------------- */

.closing { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.closing .pad { padding-top: 32px; padding-bottom: 56px; }

.collage { position: relative; margin-top: 2rem; }

.card-a { width: 62%; transform: rotate(-1.5deg) translateY(var(--py, 0px)); }
.card-b {
  width: 58%;
  margin-left: auto;
  margin-top: -6%;
  margin-right: calc(-1 * var(--pad-x));
  transform: rotate(2deg) translateY(var(--py, 0px));
}

/* ---- why choose us ---------------------------------------- */

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

.why .pad { padding-top: 40px; padding-bottom: 40px; }

h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 13vw, 4.5rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
}

h2 .wc { display: block; }
h2 .us { display: inline-block; }

h2 .row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

h2 .us {
  margin-left: 0.35em;
  color: var(--ink);
}

@supports ((-webkit-text-stroke: 2px black) or (text-stroke: 2px black)) {
  h2 .us {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
    text-stroke: 2px var(--ink);
  }
}

h2 .note {
  font-weight: 400;
  text-align: right;
  flex-shrink: 0;
}

/* ---- feature grid ----------------------------------------- */

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.features li {
  padding: 20px 10px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.features li + li { border-left: 1px solid var(--rule); }

.f-icon {
  width: 20px;
  height: 20px;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.5rem, 14vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.features h3 {
  font-family: var(--display);
  font-size: clamp(0.95rem, 4.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.features p {
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- how it works ----------------------------------------- */

.how .pad { padding-top: 32px; }

.steps {
  list-style: none;
  border-top: 1px solid var(--rule);
  /* 12px left of the numerals, tracking the centered content cap */
  --spine-x: calc(max(0px, (100% - 1100px - 2 * var(--pad-x)) / 2) + var(--pad-x) - 12px);
}

.steps li { position: relative; }

.steps li + li { border-top: 1px solid var(--rule); }

.s-row {
  display: grid;
  grid-template-columns: minmax(68px, 90px) minmax(0, 1fr) auto;
  column-gap: 16px;
  padding: 28px var(--pad-x);
  max-width: calc(1100px + 2 * var(--pad-x));
  margin: 0 auto;
}

.s-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.8rem, 12vw, 4rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
}

.s-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.s-body p {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 36ch;
}

.s-day {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.65rem;
  color: var(--muted);
  text-align: right;
  align-self: start;
  white-space: nowrap;
}

/* timeline spine: segment + tick per row, acid square terminus */
.steps li::before {
  content: "";
  position: absolute;
  left: var(--spine-x);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--ink);
}

.steps li:last-child::before { bottom: 50%; }

.steps li::after {
  content: "";
  position: absolute;
  left: var(--spine-x);
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
}

.steps li:last-child::after {
  width: 8px;
  height: 8px;
  background: var(--accent-gradient);
  transform: translateY(-50%);
  left: calc(var(--spine-x) - 3px);
}

/* the spine draws downward once on scroll-into-view */
.js .steps li::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.15s linear;
}

.js .steps li::after {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.js .steps li:nth-child(1)::before { transition-delay: 0s; }
.js .steps li:nth-child(2)::before { transition-delay: 0.15s; }
.js .steps li:nth-child(3)::before { transition-delay: 0.3s; }
.js .steps li:nth-child(4)::before { transition-delay: 0.45s; }
.js .steps li:nth-child(1)::after { transition-delay: 0.15s; }
.js .steps li:nth-child(2)::after { transition-delay: 0.3s; }
.js .steps li:nth-child(3)::after { transition-delay: 0.45s; }
.js .steps li:nth-child(4)::after { transition-delay: 0.6s; }

.how.in .steps li::before { transform: scaleY(1); }
.how.in .steps li::after { opacity: 1; }

/* closing band */
.how-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--ink);
  padding: 28px var(--pad-x);
}

.hb-text {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.how-band:hover .fc-circle {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

/* ---- meet the team ---------------------------------------- */

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

.team .pad { padding-top: 32px; }

.team-eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  margin-bottom: 1.5rem;
}

.team-h {
  font-size: clamp(2.6rem, 10.5vw, 5rem);
}

.team-h .t1 { display: block; }

.team-h .t2 {
  display: block;
  text-align: right;
}

@supports ((-webkit-text-stroke: 2px black) or (text-stroke: 2px black)) {
  .team-h .t2 {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
    text-stroke: 2px var(--ink);
  }
}

.team-photo {
  margin: 2rem 28px 24px 24px;
  border: 1px solid var(--ink);
  transform: rotate(-0.7deg);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.08);
}

.team-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}

.team-grid li { padding: 24px 10px 32px; }

.team-grid li + li { border-left: 1px solid var(--rule); }

.t-nm {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.1rem, 4.6vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.team-grid h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  line-height: 1.1;
  margin-bottom: 14px;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.t-cap {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
}

/* the one team motion: photo fades in with a 6px rise */
.js .team-photo.sr-soft {
  opacity: 0;
  transform: rotate(-0.7deg) translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.team.in .team-photo.sr-soft {
  opacity: 1;
  transform: rotate(-0.7deg);
}

/* ---- footer CTA ------------------------------------------- */

.footer-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  /* invisible on paper; separates the bar when a black band sits above it */
  border-top: 1px solid var(--paper);
  padding: 28px var(--pad-x);
}

.fc-left { color: #fff; flex-shrink: 0; font-size: 0.62rem; }

.fc-rule {
  width: 1px;
  align-self: stretch;
  background: #fff;
  flex-shrink: 0;
}

.fc-mask { flex-grow: 1; min-width: 0; }

.fc-big {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 6vw, 3.25rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.footer-cta:hover .fc-circle { background: var(--accent-gradient); color: #fff; border-color: transparent; }

.fc-circle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background 0.15s ease, color 0.15s ease;
}


/* ---- hexagon paper texture -------------------------------- */
/* fixed behind all content; 4 staggered groups breathe on opacity only */

/* z-index 0 (not negative): a negative-z fixed layer behind a transparent
   body makes iOS Safari drop the sticky header's layer during scroll. It sits
   above the paper background and below all content (which is lifted to z-index 1). */
.hex-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.09;
}

.hx {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 216px 125px;
  animation: hex-breathe 12s ease-in-out infinite;
}

.hx1 { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 216 124.708%27%3E%3Cg fill=%27none%27 stroke=%27%230A0A0A%27 stroke-width=%271%27%3E%3Cpolygon points=%2736.00,0.00 18.00,31.18 -18.00,31.18 -36.00,0.00 -18.00,-31.18 18.00,-31.18%27/%3E%3Cpolygon points=%2712.00,0.00 6.00,10.39 -6.00,10.39 -12.00,0.00 -6.00,-10.39 6.00,-10.39%27/%3E%3Cpolygon points=%2736.00,124.71 18.00,155.88 -18.00,155.88 -36.00,124.71 -18.00,93.53 18.00,93.53%27/%3E%3Cpolygon points=%2712.00,124.71 6.00,135.10 -6.00,135.10 -12.00,124.71 -6.00,114.32 6.00,114.32%27/%3E%3Cpolygon points=%27144.00,62.35 126.00,93.53 90.00,93.53 72.00,62.35 90.00,31.18 126.00,31.18%27/%3E%3Cpolygon points=%27120.00,62.35 114.00,72.75 102.00,72.75 96.00,62.35 102.00,51.96 114.00,51.96%27/%3E%3Cpolygon points=%27252.00,0.00 234.00,31.18 198.00,31.18 180.00,0.00 198.00,-31.18 234.00,-31.18%27/%3E%3Cpolygon points=%27228.00,0.00 222.00,10.39 210.00,10.39 204.00,0.00 210.00,-10.39 222.00,-10.39%27/%3E%3Cpolygon points=%27252.00,124.71 234.00,155.88 198.00,155.88 180.00,124.71 198.00,93.53 234.00,93.53%27/%3E%3Cpolygon points=%27228.00,124.71 222.00,135.10 210.00,135.10 204.00,124.71 210.00,114.32 222.00,114.32%27/%3E%3C/g%3E%3C/svg%3E"); }
.hx2 { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 216 124.708%27%3E%3Cg fill=%27none%27 stroke=%27%230A0A0A%27 stroke-width=%271%27%3E%3Cpolygon points=%2790.00,31.18 72.00,62.35 36.00,62.35 18.00,31.18 36.00,0.00 72.00,0.00%27/%3E%3Cpolygon points=%2766.00,31.18 60.00,41.57 48.00,41.57 42.00,31.18 48.00,20.78 60.00,20.78%27/%3E%3Cpolygon points=%27198.00,93.53 180.00,124.71 144.00,124.71 126.00,93.53 144.00,62.35 180.00,62.35%27/%3E%3Cpolygon points=%27174.00,93.53 168.00,103.92 156.00,103.92 150.00,93.53 156.00,83.14 168.00,83.14%27/%3E%3C/g%3E%3C/svg%3E"); }
.hx3 { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 216 124.708%27%3E%3Cg fill=%27none%27 stroke=%27%230A0A0A%27 stroke-width=%271%27%3E%3Cpolygon points=%2736.00,62.35 18.00,93.53 -18.00,93.53 -36.00,62.35 -18.00,31.18 18.00,31.18%27/%3E%3Cpolygon points=%2712.00,62.35 6.00,72.75 -6.00,72.75 -12.00,62.35 -6.00,51.96 6.00,51.96%27/%3E%3Cpolygon points=%27144.00,0.00 126.00,31.18 90.00,31.18 72.00,0.00 90.00,-31.18 126.00,-31.18%27/%3E%3Cpolygon points=%27120.00,0.00 114.00,10.39 102.00,10.39 96.00,0.00 102.00,-10.39 114.00,-10.39%27/%3E%3Cpolygon points=%27144.00,124.71 126.00,155.88 90.00,155.88 72.00,124.71 90.00,93.53 126.00,93.53%27/%3E%3Cpolygon points=%27120.00,124.71 114.00,135.10 102.00,135.10 96.00,124.71 102.00,114.32 114.00,114.32%27/%3E%3Cpolygon points=%27252.00,62.35 234.00,93.53 198.00,93.53 180.00,62.35 198.00,31.18 234.00,31.18%27/%3E%3Cpolygon points=%27228.00,62.35 222.00,72.75 210.00,72.75 204.00,62.35 210.00,51.96 222.00,51.96%27/%3E%3C/g%3E%3C/svg%3E"); }
.hx4 { background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 216 124.708%27%3E%3Cg fill=%27none%27 stroke=%27%230A0A0A%27 stroke-width=%271%27%3E%3Cpolygon points=%2790.00,93.53 72.00,124.71 36.00,124.71 18.00,93.53 36.00,62.35 72.00,62.35%27/%3E%3Cpolygon points=%2766.00,93.53 60.00,103.92 48.00,103.92 42.00,93.53 48.00,83.14 60.00,83.14%27/%3E%3Cpolygon points=%27198.00,31.18 180.00,62.35 144.00,62.35 126.00,31.18 144.00,0.00 180.00,0.00%27/%3E%3Cpolygon points=%27174.00,31.18 168.00,41.57 156.00,41.57 150.00,31.18 156.00,20.78 168.00,20.78%27/%3E%3C/g%3E%3C/svg%3E"); }

.hx2 { animation-delay: 3s; }
.hx3 { animation-delay: 6s; }
.hx4 { animation-delay: 9s; }

@keyframes hex-breathe {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}

/* ---- paper grain ------------------------------------------ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- scroll motion ---------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* hidden states only apply once JS confirms it can reveal them */
.js .rise {
  transform: translateY(115%);
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .sr {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .sr-pop {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.4, 0.5, 1);
}

.in .rise { transform: translateY(0); }
.in .sr, .in .sr-pop, .in.sr { opacity: 1; transform: none; }

/* stagger within each observed group */
.why .us.rise { transition-delay: 0.12s; }
.why .note { transition-delay: 0.3s; }
.features li:nth-child(2) { transition-delay: 0.1s; }
.features li:nth-child(3) { transition-delay: 0.2s; }
.footer-cta .fc-big { transition-delay: 0.05s; }
.footer-cta .fc-circle { transition-delay: 0.3s; }

/* hero lines are load-animated; hero cards parallax via --py */

/* ---- load motion ------------------------------------------ */

h1 .line {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1 .l1 { animation-delay: 0.05s; }
h1 .l2 { animation-delay: 0.15s; }
h1 .l3 { animation-delay: 0.25s; }

.card-a, .card-b {
  animation: appear 0.6s ease both;
}

.card-a { animation-delay: 0.5s; }
.card-b { animation-delay: 0.65s; }

/* hand-drawn arrow sketches itself in after the headline lands */
.sketch-arrow .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.7s ease forwards;
}

.sketch-arrow .draw-1 { animation-delay: 0.9s; }
.sketch-arrow .draw-2 { animation-duration: 0.25s; animation-delay: 1.55s; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes rise {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

@keyframes appear {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  /* texture stays but rests at a uniform mid value */
  .hex-layer .hx {
    animation: none !important;
    opacity: 0.6 !important;
  }
}

/* ---- request page ----------------------------------------- */

.request-main .pad { padding-top: 48px; padding-bottom: 64px; }

.request-main .eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--muted);
  display: block;
  margin-bottom: 1.25rem;
}

.request-main h1 { margin-bottom: 3rem; }

.request-form { max-width: 720px; }

.field { margin-bottom: 2.5rem; }

.field label {
  display: block;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  margin-bottom: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--ink);
  padding: 6px 0 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 11px;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent-solid);
  outline-offset: 2px;
}

.submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: var(--ink);
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.25rem, 5vw, 2rem);
  padding: 22px 24px;
  text-align: left;
}

.submit-bar .arr { color: #fff; font-size: 1.5rem; }

.submit-bar:hover .arr { color: #4ED4E0; }

.form-note {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---- tablet / desktop ------------------------------------- */

@media (min-width: 900px) {
  h2 { font-size: clamp(4.5rem, 9vw, 8rem); }

  .logo { font-size: 1.6rem; }
  .pill { font-size: 11px; padding: 9px 16px; letter-spacing: 0.12em; }

  .new-hero { min-height: 90vh; }
  .nh-h { font-size: clamp(5rem, 9vw, 8.5rem); }
  .nh-inner { padding-bottom: 56px; }
  .nh-form { max-width: 560px; }
  .nh-form .fl-text { font-size: 0.8rem; }

  .what { display: grid; grid-template-columns: 1fr 1fr; }
  .what-eyebrow { grid-column: 1 / -1; padding-top: 40px; }
  .what-block { padding-top: 8px; padding-bottom: 56px; }
  .what-block-2 { border-top: 0; border-left: 1px solid var(--rule); padding-top: 8px; }
  .s2-devices { width: min(78%, 460px); margin: 1.5rem auto 0; }
  .s3-stack { width: min(84%, 460px); }
  .sl-line { font-size: clamp(3rem, 5vw, 4rem); }

  .collage { max-width: 1100px; margin-left: auto; margin-right: auto; }
  .card-a { width: 46%; }
  .card-b { width: 42%; margin-top: -14%; margin-right: 6%; }

  .fl-text { font-size: 0.8rem; }

  .num { font-size: clamp(5rem, 6vw, 6.5rem); }

  .features li { padding: 32px 28px 48px; }
  .features h3 { font-size: 1.5rem; }
  .features p { font-size: 0.78rem; }

  .team-photo { max-width: 1100px; margin-left: auto; margin-right: auto; }
  .team-grid li { padding: 32px 28px 48px; }
  .team-grid h3 { font-size: 1.35rem; }
  .t-cap { font-size: 0.78rem; }
  .t-nm { font-size: 2.4rem; }

  .footer-cta { padding: 40px var(--pad-x); gap: 32px; }
  .fc-left { font-size: 0.78rem; }
  .fc-circle { width: 64px; height: 64px; }
  .hx { background-size: 288px 167px; }
}
