/* ==========================================================================
   Retro Wovens Private Limited — retro-links.com
   Brand: #FF7621 (orange) / #676767 (grey)  — from the official logo
   ========================================================================== */

:root {
  --orange: #ff7621;
  --orange-soft: #ff9451;
  --orange-dim: rgba(255, 118, 33, 0.12);

  --bg: #0a0b0d;
  --bg-2: #101216;
  --surface: #15181d;
  --surface-2: #1c2027;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f5f7;
  --muted: #9aa1aa;
  --muted-2: #6f7680;

  --display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --wrap: 1180px;
  --r: 16px;
  --r-lg: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
em { color: var(--orange); font-style: normal; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.lead { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-size: 0.735rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.15rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.92rem 1.7rem; border-radius: 100px;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--orange); color: #14100c; }
.btn-primary:hover { background: var(--orange-soft); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

/* ---------- Scroll progress ---------- */
#progress {
  position: fixed; inset: 0 auto auto 0; height: 2px; width: 0;
  background: var(--orange); z-index: 200; transition: width 0.08s linear;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header .logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.925rem; color: var(--muted); font-weight: 500;
  transition: color 0.16s ease; position: relative;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav .btn { padding: 0.62rem 1.3rem; font-size: 0.88rem; }

.burger {
  display: none; width: 42px; height: 38px; background: none; border: 0;
  cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px;
}
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -22%; right: -12%;
  width: 780px; height: 780px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,118,33,0.16) 0%, transparent 66%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 85% 60% at 50% 35%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 35%, #000 30%, transparent 78%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { font-size: 1.12rem; margin-bottom: 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.9rem; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.75rem; color: var(--orange); line-height: 1.1; }
.hero-stats span { font-size: 0.815rem; color: var(--muted-2); line-height: 1.45; display: block; margin-top: 0.35rem; }

.hero-visual { position: relative; }
.hero-visual img { filter: drop-shadow(0 40px 70px rgba(0,0,0,0.75)); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.95rem; border-radius: 100px;
  background: rgba(21, 24, 29, 0.9); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); font-size: 0.79rem; font-weight: 600;
  font-family: var(--display); white-space: nowrap;
}
.chip i { color: var(--orange); font-style: normal; }
.chip-1 { top: 12%; left: -4%; }
.chip-2 { bottom: 18%; right: -3%; }

/* ---------- Credential rail ---------- */
.rail { border-block: 1px solid var(--line); background: var(--bg-2); }
.rail-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.rail-item { background: var(--bg-2); padding: 1.6rem 1.5rem; }
.rail-item b { display: block; font-family: var(--display); font-size: 0.95rem; margin-bottom: 0.2rem; }
.rail-item span { font-size: 0.82rem; color: var(--muted-2); }

/* ---------- Generic section head ---------- */
.head { max-width: 720px; margin-bottom: 3.2rem; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { margin-bottom: 1.1rem; }
.head.center .eyebrow::before { display: none; }

/* ---------- Split (problem / solution) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media img { border-radius: var(--r-lg); border: 1px solid var(--line); }
.checklist { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.checklist li {
  position: relative; padding-left: 1.65rem;
  font-size: 0.97rem; color: var(--muted);
}
.checklist li::before {
  content: "\2192"; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 700;
  font-family: var(--display); line-height: 1.65;
}
.checklist b { color: var(--text); font-weight: 600; }

/* ---------- Transformation band ---------- */
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.band-media {
  margin-top: 2.5rem; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.band-media img { width: 100%; }
.band-caption { margin-top: 1rem; font-size: 0.85rem; color: var(--muted-2); text-align: center; }

/* ---------- Innovation cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  position: relative; padding: 2rem 1.7rem 1.8rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: rgba(255,118,33,0.45); transform: translateY(-4px); background: var(--surface-2); }
.card-num {
  font-family: var(--display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--orange); display: block; margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.925rem; color: var(--muted); }
.tag {
  display: inline-block; margin-top: 1.1rem; padding: 0.28rem 0.7rem;
  border-radius: 100px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  font-family: var(--display); text-transform: uppercase;
}
.tag-granted { background: var(--orange); color: #14100c; }
.tag-pending { background: var(--orange-dim); color: var(--orange-soft); border: 1px solid rgba(255,118,33,0.3); }

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
thead th {
  background: var(--surface); font-family: var(--display); font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
  padding: 1.05rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line);
}
thead th.hl { color: var(--orange); }
tbody td { padding: 1.05rem 1.4rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: var(--text); font-weight: 600; }
td.hl { background: rgba(255,118,33,0.055); color: var(--text); font-weight: 600; }
.price { font-family: var(--display); font-size: 1.5rem; color: var(--orange); font-weight: 700; }

/* ---------- Benefit grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.benefit { background: var(--bg); padding: 2.1rem 1.6rem; }
.benefit b { font-family: var(--display); font-size: 1.6rem; color: var(--orange); display: block; margin-bottom: 0.9rem; }
.benefit h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.benefit p { font-size: 0.885rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fact { background: var(--surface); padding: 1.15rem 1.4rem; display: flex; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.fact dt { font-size: 0.83rem; color: var(--muted-2); letter-spacing: 0.03em; text-transform: uppercase; font-family: var(--display); }
.fact dd { font-size: 0.94rem; font-weight: 600; text-align: right; }

.founder { margin-top: 2rem; padding: 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); border-left: 3px solid var(--orange); }
.founder h3 { margin-bottom: 0.25rem; }
.founder .role { font-size: 0.84rem; color: var(--orange); font-family: var(--display); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
.founder p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.contact-item { background: var(--surface); padding: 1.5rem 1.6rem; }
.contact-item span { display: block; font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); font-family: var(--display); font-weight: 600; margin-bottom: 0.45rem; }
.contact-item a, .contact-item address { font-style: normal; font-size: 1rem; color: var(--text); line-height: 1.55; }
.contact-item a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3.2rem 0 2.2rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.footer .logo img { height: 28px; margin-bottom: 0.9rem; }
.footer-tag { font-size: 0.9rem; color: var(--muted-2); max-width: 34ch; }
.footer-cols { display: flex; gap: clamp(2.5rem, 6vw, 5rem); flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a, .footer-col address { font-size: 0.9rem; color: var(--muted); font-style: normal; line-height: 1.6; }
.footer-col a:hover { color: var(--orange); }
.footer-legal {
  border-top: 1px solid var(--line); padding-top: 1.7rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.83rem; color: var(--muted-2);
}
.footer-legal b { color: var(--muted); font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .rail-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 61px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.5rem;
    transform: translateY(-130%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    max-height: calc(100dvh - 61px); overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 1.1rem; justify-content: center; border-bottom: 0; }

  .hero-grid, .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0.5rem auto 0; }
  .chip { font-size: 0.72rem; padding: 0.42rem 0.8rem; }
  .chip-1 { left: 0; top: 6%; } .chip-2 { right: 0; bottom: 10%; }
  .hero-actions { margin-bottom: 2.2rem; }
  .split-media { order: -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .benefits, .rail-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.2rem; text-align: left; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .fact { flex-direction: column; gap: 0.3rem; }
  .fact dd { text-align: left; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Diagram plate + spotlight ---------- */
.band-media { background: #f2f3f5; padding: 1.5rem; }
.spotlight-sec .split-media { order: -1; }
@media (max-width: 860px) { .spotlight-sec .split-media { order: -1; } }
.head h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 1.1rem; }

/* ==========================================================================
   Development-stage components
   ========================================================================== */

/* ---------- Transformation labels (drawn in HTML, not baked into the image) ---------- */
.band-labels {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem;
  flex-wrap: wrap; margin-top: 1.3rem;
  font-family: var(--display); font-size: 0.86rem; color: var(--muted-2);
}
.band-labels b { color: var(--orange); font-weight: 700; }
.band-labels span[aria-hidden] { color: var(--orange); font-size: 1.2rem; }

/* ---------- Innovation card imagery ---------- */
.card { display: flex; flex-direction: column; padding-top: 1.4rem; }
.card-media {
  margin: -0.6rem -0.4rem 1.4rem; border-radius: 12px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, rgba(255,118,33,0.10) 0%, transparent 68%), var(--bg-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 0.9rem;
}
.card-media img {
  max-height: 100%; width: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,0.55));
  transition: transform 0.35s ease;
}
.card:hover .card-media img { transform: scale(1.045); }
.card p { flex: 1; }

.card-foot { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; align-items: center; }
.stage {
  display: inline-block; padding: 0.28rem 0.7rem; border-radius: 100px;
  font-family: var(--display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.stage-design { border-color: rgba(255,255,255,0.18); color: var(--muted-2); }
.stage-proto  { border-color: rgba(120,180,255,0.38); color: #8fbcff; }
.stage-dfm    { border-color: rgba(88,214,141, 0.42); color: #6fe0a0; }
.tag { margin-top: 0; }

/* ---------- Progress meter in the status table ---------- */
.meter {
  display: block; width: 120px; height: 7px; border-radius: 100px;
  background: rgba(255,255,255,0.10); overflow: hidden;
}
.meter i { display: block; height: 100%; border-radius: 100px; background: var(--orange); }
tbody td:first-child { white-space: nowrap; }

/* ---------- Roadmap ---------- */
.roadmap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; margin-top: 2.5rem;
}
.rm-item { background: var(--bg-2); padding: 1.9rem 1.5rem; position: relative; }
.rm-item b {
  display: block; font-family: var(--display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.9rem;
}
.rm-item.done b { color: var(--orange); }
.rm-item.done::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--orange);
}
.rm-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.rm-item p { font-size: 0.885rem; color: var(--muted); }

/* ---------- R&D gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: start; }
.gallery figure {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption {
  padding: 0.85rem 1rem 1rem; font-size: 0.83rem; color: var(--muted-2); line-height: 1.5;
}

/* ---------- Patent certificate ---------- */
.cert {
  margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.cert img { width: 100%; }
.cert figcaption {
  padding: 0.9rem 1.1rem 1.1rem; font-size: 0.82rem; color: var(--muted-2); line-height: 1.5;
}

/* ---------- Responsive for the new blocks ---------- */
@media (max-width: 1000px) {
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .roadmap, .gallery { grid-template-columns: 1fr; }
  .meter { width: 90px; }
  .band-labels { gap: 0.6rem; font-size: 0.8rem; }
  .band-labels span[aria-hidden] { transform: rotate(90deg); }
}

/* ---------- Final polish ---------- */
/* diagram sits straight on the dark band — its background is already transparent */
.band-media { background: none; border: 0; padding: 0; }
.band-media img { max-width: 960px; margin-inline: auto; }

/* keep the certificate from stretching the About column */
.cert { max-width: 330px; }

/* balance the About columns on wide screens */
@media (min-width: 861px) { .about-grid { align-items: stretch; } }

/* specificity fix: .nav a was overriding the button's own text colour */
.nav a.btn-primary,
.nav a.btn-primary:hover,
.nav a.btn-primary.active { color: #14100c; }

/* transparent product images need no frame — the border read as an empty box */
.split-media img {
  border: 0; border-radius: 0;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,0.6));
}
.about-grid img[src*="smart-loom"] { border: 0 !important; border-radius: 0 !important; }

/* ---------- Status table becomes stacked cards on small screens ---------- */
@media (max-width: 720px) {
  .table-wrap { border: 0; overflow: visible; }
  table { min-width: 0; display: block; }
  thead { display: none; }
  tbody { display: block; }
  tbody tr {
    display: block; margin-bottom: 0.9rem; padding: 1.15rem 1.25rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  }
  tbody td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
    padding: 0.42rem 0; border: 0; white-space: normal; text-align: right;
  }
  tbody td:first-child {
    font-family: var(--display); font-size: 1.02rem; color: var(--text);
    display: block; text-align: left; padding-bottom: 0.7rem; margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--line);
  }
  tbody td:first-child::before { display: none; }
  tbody td::before {
    content: attr(data-label); flex: 0 0 auto; text-align: left;
    font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--muted-2);
  }
  .meter { width: 100%; max-width: 150px; }
}

/* ---------- Contact form status panel ---------- */
.form-status {
  margin-top: 1.4rem; padding: 1.3rem 1.5rem;
  border-radius: var(--r); border: 1px solid var(--line);
  background: var(--surface); font-size: 0.95rem; line-height: 1.6;
  display: grid; gap: 0.5rem;
}
.form-status b { font-family: var(--display); font-size: 1.05rem; display: block; }
.form-status a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.form-status span { color: var(--muted); font-size: 0.92rem; }

.form-status.is-ok {
  border-color: rgba(88,214,141,0.45);
  background: linear-gradient(180deg, rgba(88,214,141,0.10), transparent 70%), var(--surface);
}
.form-status.is-ok b { color: #6fe0a0; }
.form-status.is-ok b::before { content: "✓  "; }

.form-status.is-warn {
  border-color: rgba(255,118,33,0.45);
  background: linear-gradient(180deg, rgba(255,118,33,0.10), transparent 70%), var(--surface);
}
.form-status.is-warn b { color: var(--orange-soft); }
.form-status.is-warn b::before { content: "✉  "; }

/* The `hidden` attribute loses to any explicit `display` rule — make it win.
   Without this, .form and .form-status (both display:grid) stay visible when hidden. */
[hidden] { display: none !important; }

/* ==========================================================================
   Why-this-is-unsolved grid + founder timeline
   ========================================================================== */

.forces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.force {
  padding: 1.9rem 1.6rem; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  border-top: 2px solid rgba(255,118,33,0.5);
}
.force b {
  display: block; font-family: var(--display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--orange); margin-bottom: 0.9rem;
}
.force h3 { font-size: 1.04rem; margin-bottom: 0.5rem; }
.force p { font-size: 0.89rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none; counter-reset: none;
  position: relative; max-width: 780px; margin: 0 auto;
  padding-left: 2.4rem;
}
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--orange), rgba(255,118,33,0.15));
}
.timeline li { position: relative; padding-bottom: 2.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -2.4rem; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid rgba(255,118,33,0.55);
}
.timeline li.is-now::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255,118,33,0.16); }
.timeline b {
  display: block; font-family: var(--display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.4rem;
}
.timeline h3 { font-size: 1.18rem; margin-bottom: 0.45rem; }
.timeline p { font-size: 0.95rem; color: var(--muted); max-width: 60ch; }

@media (max-width: 1000px) { .forces { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .forces { grid-template-columns: 1fr; } .timeline { padding-left: 2rem; } }

/* ---------- Type scale tuned for the longer copy ---------- */
h1 { font-size: clamp(2.15rem, 4.8vw, 3.55rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.55rem); }
.hero .lead { font-size: 1.08rem; }

/* headings outside .head need their own breathing room */
.split h2, .about-grid h2, .contact-grid h2, .spotlight-sec h2 { margin-bottom: 1.15rem; }
