/* ================================================================
   ANTELIO GROUP — Microsoft Power Platform Consultancy
   Home page styles
================================================================ */

:root {
  /* Brand colour system — Antelio Group Design System (Sand / Ink / Ember) */
  --ground:       #F9F7F4;  /* sand-100 */
  --ground-alt:   #EEEDE9;  /* sand-200 */
  --ink:          #0B2026;  /* ink-900 */
  --ink-soft:     #354B51;  /* ink-500 */
  --ink-faint:    #5E747A;  /* ink-400 */
  --line:         #E1DED6;  /* sand-300 */

  --accent:       #FF3621;  /* ember-600 */
  --accent-hover: #DB2711;  /* ember-700 */
  --accent-tint:  #FFE4DF;  /* ember-100 */
  --accent-tint-2:#FFC3B8;  /* ember-200 */

  --dark:         #0B2026;  /* ink-900 */
  --dark-2:       #1C3439;  /* ink dark-surface hover tint */

  --font-head: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;

  --container-max: 1440px;
  --container-pad: clamp(20px, 4vw, 48px);
  --section-pad: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--ground); }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ── Reveal-on-scroll ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { flex-shrink: 0; }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); }

.link-cta {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease);
}
.link-cta:hover { color: var(--accent); }
.link-cta--dark { color: var(--ink); }
.link-cta--dark:hover { color: var(--accent); }
.nav--scrolled .link-cta { color: var(--ink); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--outline:hover { border-color: var(--ink); }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.nav--scrolled {
  background: var(--ground);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%;
  padding: 16px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: #fff;
  transition: color 0.3s var(--ease);
}
.nav--scrolled .nav-logo-text { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav--scrolled .nav-link { color: var(--ink-soft); }
.nav--scrolled .nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: #fff; font-weight: 600; }
.nav--scrolled .nav-link.is-active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.3s var(--ease);
}
.nav--scrolled .nav-toggle span,
.nav--scrolled .nav-toggle::before,
.nav--scrolled .nav-toggle::after {
  background: var(--ink);
}
.nav-toggle::before { position: absolute; transform: translateY(-6px); }
.nav-toggle::after { position: absolute; transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links, .nav-cta .link-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--container-pad) 20px;
  }
  .nav.is-open .nav-link { padding: 10px 0; width: 100%; color: var(--ink-soft); }
  .nav.is-open .nav-link:hover { color: var(--ink); }
  .nav-links__talk {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 3px;
    transition: color 0.2s var(--ease);
  }
  .nav-links__talk:hover { color: var(--accent); }
}
@media (min-width: 861px) {
  .nav-links__talk { display: none; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: -4px;
  z-index: 0;
}
.hero__fallback-img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.hero__video.is-ready { opacity: 1; }
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 32, 38, 0.55) 0%, rgba(11, 32, 38, 0.72) 55%, rgba(11, 32, 38, 0.92) 100%),
    linear-gradient(100deg, rgba(11, 32, 38, 0.55) 0%, rgba(11, 32, 38, 0.15) 55%);
}
.hero--ink {
  background: var(--dark);
}
.hero--ink::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 85% 15%, rgba(255, 54, 33, 0.16) 0%, rgba(255, 54, 33, 0) 60%);
}
.hero__body {
  position: relative;
  z-index: 1;
  padding: 140px 0 96px;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-tint-2);
  margin-bottom: 22px;
}
.hero__headline {
  font-size: clamp(40px, 6.4vw, 76px);
  max-width: 15ch;
  margin-bottom: 26px;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Section shell ───────────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--ground-alt); }
.section__header {
  max-width: 640px;
  margin-bottom: 56px;
}
.section__title { font-size: clamp(28px, 3.6vw, 40px); }
.section__lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ── Section intro (two-column) ───────────────────────────────── */
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-intro__title {
  font-size: clamp(28px, 3.6vw, 40px);
  max-width: 14ch;
  margin: 0;
}
.section-intro__lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 0 20px;
}
.section-intro__link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease);
}
.section-intro__link:hover { color: var(--accent); }

@media (max-width: 760px) {
  .section-intro { grid-template-columns: 1fr; align-items: start; }
}

/* ── Products grid ───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: clamp(24px, 2.4vw, 36px);
  gap: 40px;
}
.product-panel--paper { background: var(--ground); color: var(--ink); }
.product-panel--stone { background: var(--ground-alt); color: var(--ink); }
.product-panel--dark  { background: var(--dark); color: var(--ground); }

.product-panel__top { display: flex; align-items: flex-start; justify-content: space-between; }
.product-mark {
  width: clamp(72px, 7vw, 104px);
  height: auto;
  opacity: 0.82;
  transform-origin: 50% 50%;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}
.product-panel--dark .product-mark { opacity: 0.72; }
.product-panel:hover .product-mark { transform: rotate(9deg); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .product-mark { transition: none; }
  .product-panel:hover .product-mark { transform: none; }
}
.product-panel__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.5;
}
.product-panel__num .dot { color: var(--accent); opacity: 0.9; }

.product-panel__body { max-width: 34ch; }
.product-panel__status {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--accent-hover);
}
.product-panel--dark .product-panel__status { color: var(--accent-tint-2); }
.product-panel__title {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.15s var(--ease);
}
.product-panel:hover .product-panel__title { color: var(--accent); }
.product-panel--dark:hover .product-panel__title { color: var(--accent-tint-2); }
.product-panel__desc {
  margin: 0;
  font-size: clamp(14px, 1vw, 15.5px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.product-panel--dark .product-panel__desc { color: #93A3A8; }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-panel { gap: 32px; }
}

/* ── Numbers ─────────────────────────────────────────────────── */
.numbers {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}
.numbers__img-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
}
.numbers__img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--ground-alt);
  padding: 32px 28px;
}
.stat__value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 46px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .numbers { grid-template-columns: 1fr; }
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
}
.faq-q__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-q__icon::before, .faq-q__icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.faq-q__icon::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q__icon::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.is-open .faq-q__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a__inner {
  padding: 0 4px 26px;
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 68ch;
  line-height: 1.65;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}
.contact__meta-item {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact__meta-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin-bottom: 6px;
}
.contact__meta-value { font-size: 16px; }
.contact__meta-value a:hover { color: var(--accent); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 2px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  font-size: 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}
.form-field textarea { resize: vertical; min-height: 100px; }

.form-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  background: #E8F5EC;
  border: 1px solid #BFE3C7;
  border-radius: 6px;
  font-size: 14.5px;
  color: #1E7A34;
}
.form-success.is-visible { display: block; }
.form-error {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--accent-tint-2);
  border-radius: 6px;
  font-size: 14.5px;
  color: var(--accent-hover);
}
.form-error.is-visible { display: block; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__brand-logo img { width: 32px; height: 32px; border-radius: 7px; }
.footer__brand-logo span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.footer__tagline { font-size: 14.5px; max-width: 30ch; line-height: 1.6; }

.footer__col-title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93A3A8;
  margin-bottom: 18px;
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col a { font-size: 14.5px; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }

.footer__rule { border: none; border-top: 1px solid rgba(255, 255, 255, 0.12); margin: 0 0 28px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer__back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease);
}
.footer__back-top:hover { color: #fff; }

@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ── Responsive section spacing ─────────────────────────────── */
@media (max-width: 640px) {
  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero__body { padding: 120px 0 72px; }
}

/* ── Full-height section utility (inner pages) ────────────────── */
.section--tall {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.section--tall .container { width: 100%; }

@media (max-width: 640px) {
  .section--tall { min-height: auto; padding-top: 96px; padding-bottom: 96px; }
}

/* The closing CTA is too light on content (heading + lede + two buttons) to
   justify a forced full-height section below desktop — it just reads as
   empty space, so let it size to its content instead. */
@media (max-width: 900px) {
  .closing-cta { min-height: auto; padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
}

/* ── Hairline grid (bordered divider cells) ───────────────────── */
.hairline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.hairline-cell {
  background: #fff;
  padding: 32px;
}
.hairline-cell--sand {
  background: var(--ground);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}
.hairline-cell__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-hover);
  margin: 0 0 14px;
}
.hairline-cell__statement {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.hairline-cell__body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.hairline-cell h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}

/* ── Simple bordered card grid ─────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-hover);
  margin: 0 0 10px;
}
.card p:last-child {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

/* ── Ink band ──────────────────────────────────────────────────── */
.ink-band {
  padding: 72px 0;
  background: var(--dark);
  color: var(--ground);
}
.ink-band__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #93A3A8;
  margin: 0 0 20px;
}
.ink-band__statement {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  max-width: 34ch;
}
.ink-band__body {
  font-size: 15.5px;
  line-height: 1.5;
  color: #C6CFD2;
  margin: 0;
  max-width: 66ch;
}

/* ── Diamond tile ──────────────────────────────────────────────── */
.diamond-tile {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.diamond-tile span {
  width: 12px;
  height: 12px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ── Vertical timeline (animated draw-on line) ────────────────── */
.timeline {
  position: relative;
  margin-top: 56px;
}
.timeline__line {
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(249, 247, 244, 0.14);
}
.timeline__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 1.8s var(--ease);
}
.timeline.is-visible .timeline__line-fill { height: 100%; }

.timeline__steps {
  display: grid;
  gap: 48px;
}
.timeline__step {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 24px;
  align-items: start;
}
.timeline__marker {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  background: var(--accent);
  transform: rotate(45deg) scale(0);
  transition: transform 0.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.15s + 0.5s);
}
.timeline.is-visible .timeline__marker { transform: rotate(45deg) scale(1); }
.timeline__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #93A3A8;
  margin: 0 0 6px;
}
.timeline__step h3 {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.timeline__step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #93A3A8;
  margin: 0;
  max-width: 46ch;
}

@media (max-width: 560px) {
  .timeline__step p { max-width: none; }
}

/* ── Diamond bullet list ───────────────────────────────────────── */
.bullet-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.bullet-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.bullet-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── Pull-quote statement (light background) ──────────────────── */
.statement {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 40ch;
}

/* ================================================================
   ABOUT PAGE
================================================================ */

/* ── About hero ────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 88px;
}
.about-hero__rays {
  position: absolute;
  top: -90px;
  right: -40px;
  width: min(58vw, 820px);
  height: min(80vh, 700px);
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 54, 33, 1) 0 3px,
    rgba(255, 54, 33, 0.55) 3px 7px,
    rgba(255, 54, 33, 0.15) 7px 14px
  );
  -webkit-mask-image: radial-gradient(72% 70% at 84% 12%, #000 0%, rgba(0, 0, 0, 0.5) 42%, transparent 72%);
  mask-image: radial-gradient(72% 70% at 84% 12%, #000 0%, rgba(0, 0, 0, 0.5) 42%, transparent 72%);
}
.about-hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
}
.about-hero__title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
  max-width: 21ch;
}
.about-hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.about-hero__card {
  position: absolute;
  right: var(--container-pad);
  bottom: 56px;
  width: clamp(150px, 15vw, 200px);
  border: 2px solid var(--accent);
  border-radius: 14px;
  overflow: hidden;
  z-index: 1;
}
.about-hero__card img,
.about-hero__video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--dark);
}
.about-hero__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero__play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 32, 38, 0.25);
  transition: background 0.2s var(--ease);
}
.about-hero__play:hover::before { background: rgba(11, 32, 38, 0.4); }
.about-hero__play svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  padding: 10px 10px 10px 12px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s var(--ease);
}
.about-hero__play:hover svg { transform: scale(1.08); }
.about-hero__card.is-playing .about-hero__play {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.about-hero__close,
.about-hero__expand {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 32, 38, 0.55);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.about-hero__close:hover,
.about-hero__expand:hover { background: var(--accent); }
.about-hero__close { top: 10px; right: 10px; }
.about-hero__expand { bottom: 10px; right: 10px; }

/* Mobile: card is hidden until the headline's video chip is tapped, then
   it pops up as a small fixed card bottom-right. Close + fullscreen controls
   stay hidden until the card itself is hovered/touched. */
@media (max-width: 1000px) {
  .about-hero__card { display: none; }
  .about-hero__card.is-visible {
    display: block;
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: 130px;
    z-index: 45;
    box-shadow: 0 12px 28px rgba(11, 32, 38, 0.28);
  }
  .about-hero__card.is-visible:hover .about-hero__close,
  .about-hero__card.is-visible:hover .about-hero__expand {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 640px) {
  .about-hero { min-height: 100vh; min-height: 100dvh; padding: 128px 0 72px; }
}

/* ── Inline chip (sits inside a headline) ─────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.34em;
  vertical-align: middle;
  transform: translateY(-0.1em);
  padding: 0.22em 0.52em;
  border-radius: 0.34em;
  background: var(--ink);
  color: #fff;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.chip img {
  width: 1.5em;
  height: 1.5em;
  border-radius: 0.24em;
  object-fit: cover;
}
.chip--media {
  padding: 0.18em;
  background: var(--ground-alt);
  border: 1px solid var(--line);
}
.chip--media img {
  width: 2.6em;
  height: 1.5em;
  border-radius: 0.22em;
}

/* ── Pill buttons ──────────────────────────────────────────────── */
.btn--pill {
  border-radius: 99px;
  padding: 9px 9px 9px 22px;
  gap: 14px;
}
.btn--pill .btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}
.btn--pill-outline {
  border-radius: 99px;
  padding: 11px 24px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn--pill-outline:hover { background: var(--accent); color: #fff; }

/* ── Logo / technology strip ───────────────────────────────────── */
.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ground);
}
.logo-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: var(--container-max);
  margin: 0 auto;
}
.logo-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 16px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.logo-strip__item:first-child { border-left: none; }
.logo-strip__item img,
.logo-strip__item svg {
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  flex-shrink: 0;
}

/* ── Founder card ──────────────────────────────────────────────── */
.founder-card {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark);
  justify-self: start;
}
.founder-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(11, 32, 38, 0) 0%, rgba(11, 32, 38, 0.05) 38%, rgba(11, 32, 38, 0.88) 100%);
  color: #fff;
}
.founder-card__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.founder-card__role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 18px;
}
.founder-card__rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 0 14px;
}
.founder-card__contact {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}
.founder-card__contact a { color: inherit; }
.founder-card__contact a:hover { color: var(--accent-tint-2); }

/* ── Two-tone display title ───────────────────────────────────── */
.display-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0 0 28px;
  max-width: 27ch;
}
.display-title .muted { color: var(--ink-faint); }

.about-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) {
  .about-lead { grid-template-columns: 1fr; }
  .founder-card { max-width: none; }
}
@media (max-width: 640px) {
  .founder-card {
    max-width: 280px;
    margin: 0 auto;
    justify-self: center;
  }
}

/* ── Feature cards row ─────────────────────────────────────────── */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.feature-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  min-height: 230px;
}
.feature-card__label {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 24ch;
}
.feature-card__metric {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 54px);
  line-height: 1;
  color: var(--accent);
  margin: auto 0 0;
}
.feature-card__quote-mark {
  font-size: 34px;
  line-height: 0.8;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 16px;
}
.feature-card__quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.feature-card__quote strong { color: var(--ink); font-weight: 600; }
.feature-card__cite { font-size: 13.5px; font-weight: 600; margin: auto 0 0; }
.feature-card__cite span { color: var(--ink-faint); font-weight: 400; }
.feature-card__title { font-size: 15.5px; font-weight: 600; margin: 0 0 16px; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: auto 0 0;
}
.tech-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
}

/* ── Statement block (free text) + rotating stamp ─────────────── */
.statement-block {
  position: relative;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.statement-card__text {
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 32ch;
}
.statement-card__text mark { background: none; color: var(--accent); }

/* ── Statement card (stat row wrapper) ─────────────────────────── */
.statement-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(32px, 4vw, 56px);
}

.stamp {
  position: absolute;
  top: clamp(28px, 4vw, 52px);
  right: clamp(28px, 4vw, 52px);
  width: clamp(74px, 7vw, 96px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: stamp-spin 26s linear infinite;
}
.stamp text {
  font-family: var(--font-mono);
  font-size: 8.2px;
  fill: var(--ink-faint);
  letter-spacing: 0.08em;
}
.stamp__mark {
  width: 13px;
  height: 13px;
  background: var(--accent);
  transform: rotate(45deg);
}
@keyframes stamp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stamp svg { animation: none; } }
@media (max-width: 560px) { .stamp { display: none; } }

/* ── Staggered stat row ───────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-top: 1px solid var(--line);
  margin-top: clamp(36px, 4vw, 56px);
}
.stat-row__item {
  position: relative;
  padding: 34px 28px 4px;
  border-left: 1px solid var(--line);
}
.stat-row__item:first-child { border-left: none; padding-left: 0; }
.stat-row__item::before {
  content: '';
  position: absolute;
  top: -3.5px;
  left: 28px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}
.stat-row__item:first-child::before { left: 0; }
.stat-row__value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  margin: 0 0 14px;
}
.stat-row__label { font-size: 14.5px; font-weight: 600; margin: 0 0 8px; }
.stat-row__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 32ch;
}
@media (min-width: 861px) {
  .stat-row__item:nth-child(2) { padding-top: 78px; }
}
@media (max-width: 640px) {
  .stat-row { border-top: none; row-gap: 28px; }
  .stat-row__item { border-left: none; padding-left: 0; padding-right: 0; }
  .stat-row__item::before { left: 0; }
  .stat-row__item:last-child { padding-bottom: 32px; }
}

/* ── Split layout + numbered list ─────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.numbered-list { border-top: 1px solid var(--line); }
.numbered-list__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.numbered-list__row:hover,
.numbered-list__row.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.numbered-list__num { font-family: var(--font-mono); font-size: 13px; }
.numbered-list__title {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.numbered-list__arrow { transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.numbered-list__row:hover .numbered-list__arrow,
.numbered-list__row.is-active .numbered-list__arrow {
  transform: translateX(5px);
  color: var(--accent);
}
