/* FLITARC vitrine (F-19): the reference single-page look, without its photos.
 *
 * The legal-page stylesheet remains the shell: it owns `prefs.js`, the FR/EN
 * visibility rule and the no-JS fallback. Everything here is scoped to
 * `body.company-page`, so no legal page can inherit the vitrine's palette.
 * The images of the reference site are replaced by local CSS/SVG patterns:
 * no third-party asset, no bytes to cache, no licence to chase.
 */

body.company-page {
  --navy: #0b1f3a;
  --navy-deep: #061430;
  --navy-soft: #15305a;
  --mint: #5fe3b7;
  --mint-deep: #1fb48a;
  --mint-ink: #0a5c45;
  --accent-note: #0a5c45;
  --font-display: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --bg: #ffffff;
  --surface: #f7f8fa;
  --card: #ffffff;
  --text: #152033;
  --text-soft: #5b6678;
  --border: #d9dee6;
  --head: #0b1f3a;
  --ok: #0b7a4b;
  --shadow: 0 18px 40px -24px rgba(11, 31, 58, 0.35);

  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] body.company-page {
  --bg: #071226;
  --surface: #0c1a33;
  --card: #10213d;
  --text: #e6ebf3;
  --text-soft: #a4b0c3;
  --border: #22365a;
  --head: #ffffff;
  --mint-ink: #8ff0cd;
  --accent-note: #8ff0cd;
  --ok: #5fe3b7;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) body.company-page {
    --bg: #071226;
    --surface: #0c1a33;
    --card: #10213d;
    --text: #e6ebf3;
    --text-soft: #a4b0c3;
    --border: #22365a;
    --head: #ffffff;
    --mint-ink: #8ff0cd;
    --accent-note: #8ff0cd;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.company-page {
    scroll-behavior: auto;
  }
  body.company-page *,
  body.company-page *::before,
  body.company-page *::after {
    transition: none !important;
    animation: none !important;
  }
}

body.company-page .wrap {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

body.company-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.company-page h1,
body.company-page h2,
body.company-page h3 {
  margin: 0;
  /* Consistent rhythm between a title and the text that follows it. */
  margin-block-end: 1.25rem;
  color: var(--head);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

body.company-page h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 800;
}

body.company-page h1 em {
  color: var(--mint);
  font-style: normal;
}

body.company-page h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

body.company-page h3 {
  font-size: 1.25rem;
}

body.company-page p {
  margin: 0 0 1rem;
}

body.company-page p:last-child {
  margin-bottom: 0;
}

body.company-page main {
  padding: 0;
}

/* The header is fixed: an anchored section must not land underneath it. */
body.company-page .lang-block section[id] {
  scroll-margin-top: 84px;
}

@media (min-width: 861px) {
  body.company-page .lang-block section[id] {
    scroll-margin-top: 124px;
  }
}

body.company-page code {
  font-size: 0.86em;
}

/* Numbered endnotes: small references in the expertise copy, definitions at
 * the foot of each language block. The green stays legible in both themes. */
body.company-page .note-ref {
  font-size: 0.7em;
  line-height: 0;
  vertical-align: super;
  margin-left: 0.12em;
}

body.company-page .note-ref a {
  color: var(--accent-note);
  font-weight: 700;
  text-decoration: none;
}

/* Mint cards are light in both themes, including the product card above the
 * expertise section: keep their reference dark enough there. */
body.company-page .card-mint .note-ref a {
  color: #0a5c45;
}

/* The other expertise cards are translucent white over navy: the dark green
 * used outside them would be unreadable there. */
body.company-page .about .expertise-card:not(.card-mint) .note-ref a {
  color: var(--mint);
}

body.company-page .notes {
  padding: 56px 0 72px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

body.company-page .notes h2 {
  margin: 0 0 1rem;
  color: var(--mint-ink);
  font-size: 1.05rem;
}

body.company-page .note-list {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-soft);
  font-size: 0.86rem;
}

body.company-page .note-list li {
  padding: 0.2rem 0;
}

body.company-page .note-list li::marker {
  color: var(--accent-note);
  font-weight: 700;
}

body.company-page .note-term {
  color: var(--accent-note);
  font-weight: 600;
}


body.company-page :focus-visible {
  outline: 3px solid var(--mint-deep);
  outline-offset: 3px;
}

/* ---- Header and menu ---------------------------------------------------- */

body.company-page .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 31, 58, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.company-page .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

body.company-page .site-header .brand {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
}

body.company-page .site-header nav {
  position: static;
  margin-left: auto;
}

body.company-page .company-menu {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.company-page .company-menu a {
  display: block;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

body.company-page .company-menu a:hover {
  color: #ffffff;
  border-bottom-color: var(--mint);
}

body.company-page .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

@media (min-width: 861px) {
  body.company-page .nav {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 0 14px;
    row-gap: 4px;
  }
  body.company-page .nav-actions {
    order: 1;
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
  body.company-page .site-header .brand { order: 2; }
  body.company-page .site-header nav {
    order: 3;
    margin-left: auto;
    width: auto;
  }
  body.company-page .company-menu {
    justify-content: flex-end;
  }
  body.company-page .nav-actions .lang-switch {
    border-color: rgba(255, 255, 255, 0.14);
  }
  body.company-page .nav-actions .lang-switch a {
    padding: 1px 8px;
    font-size: 10px;
  }
}

body.company-page .menu-toggle {
  display: none;
  padding: 0.4rem;
  border: 0;
  background: none;
  color: #ffffff;
  cursor: pointer;
}

body.company-page .menu-toggle svg {
  width: 26px;
  height: 26px;
}

body.company-page .lang-switch {
  border-color: rgba(255, 255, 255, 0.2);
}

body.company-page .lang-switch a {
  color: rgba(255, 255, 255, 0.7);
}

body.company-page .lang-switch a[aria-current="true"] {
  background: var(--mint-deep);
  color: var(--navy-deep);
}

body.company-page .lang-switch a:not([aria-current="true"]):hover {
  color: #ffffff;
}

@media (max-width: 860px) {
  body.company-page .company-menu {
    display: none;
    position: absolute;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 16px 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--navy-deep);
  }
  body.company-page .company-menu.open {
    display: flex;
  }
  body.company-page .company-menu a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  body.company-page .menu-toggle {
    display: block;
  }
}

/* ---- Shared pieces ------------------------------------------------------ */

body.company-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--mint-ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.company-page .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--mint-deep);
}

body.company-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body.company-page .btn:hover {
  transform: translateY(-2px);
}

body.company-page .btn-mint {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy-deep);
}

body.company-page .btn-mint:hover {
  background: var(--mint-deep);
  border-color: var(--mint-deep);
}

body.company-page .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

body.company-page .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

body.company-page .btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

body.company-page .btn-navy:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

body.company-page .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

body.company-page .section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

/* The pull quote is part of the header, not a stray pair of guillemets:
 * a mint rule ties it to the title beside it, and the non-breaking spaces
 * in the copy keep the opening and closing marks with their words. */
body.company-page .section-head .quote {
  margin: 0 0 0.9rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--mint-deep);
  color: var(--head);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
}

body.company-page .products .section-head,
body.company-page .compare-section .section-head {
  align-items: start;
}

@media (max-width: 760px) {
  body.company-page .section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* The reveal is progressive enhancement: no JS means no hidden content. */
body.company-page .reveal {
  opacity: 1;
}

body.company-page.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.company-page.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- Hero --------------------------------------------------------------- */

body.company-page .hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(900px 520px at 88% 12%, rgba(95, 227, 183, 0.2), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

body.company-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

body.company-page .hero .wrap {
  position: relative;
  z-index: 1;
  padding: 130px 0 72px;
}

@media (min-width: 861px) {
  body.company-page .hero .wrap {
    padding-top: 160px;
  }
}

body.company-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 3rem;
  align-items: end;
}

body.company-page .hero-logo {
  width: clamp(160px, 20vw, 230px);
  margin-bottom: 1.6rem;
}

body.company-page .hero .eyebrow {
  color: var(--mint);
}

body.company-page .hero .eyebrow::before {
  background: var(--mint);
}

body.company-page .hero h1 {
  color: #ffffff;
}

body.company-page .hero .lead {
  max-width: 56ch;
  margin: 1.4rem 0 2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

body.company-page .hero-note {
  max-width: 56ch;
  margin: -0.6rem 0 1.6rem;
  color: var(--mint);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

body.company-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

body.company-page .hero-aside {
  padding-left: 1.4rem;
  border-left: 2px solid var(--mint);
  color: #ffffff;
  font-size: 1rem;
}

/* The shell styles `code` for light pages; on the hero it needs its own
 * contrast so the API token stays readable against the navy gradient. */
body.company-page .hero-aside code {
  background: rgba(95, 227, 183, 0.18);
  color: var(--mint);
}

body.company-page .hero-aside strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  body.company-page .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body.company-page .hero .wrap {
    padding: 110px 0 56px;
  }
}

/* ---- Service cards ------------------------------------------------------ */

body.company-page .services,
body.company-page .area {
  padding: 96px 0;
  background: var(--bg);
}

body.company-page .cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

body.company-page .expertise-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.company-page .expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

body.company-page .card-wide {
  grid-column: span 7;
}

body.company-page .card-narrow {
  grid-column: span 5;
}

body.company-page .card-third {
  grid-column: span 4;
}

body.company-page .about .card-narrow {
  grid-column: span 6;
}

body.company-page .card-dark {
  border-color: var(--navy);
  background: var(--navy);
}

body.company-page .card-mint {
  border-color: var(--mint);
  background: var(--mint);
}

body.company-page .expertise-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 1.2rem;
  color: var(--mint-deep);
}

body.company-page .expertise-card h3 {
  margin-bottom: 0.6rem;
}

body.company-page .expertise-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

body.company-page .expertise-card .num {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

body.company-page .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.company-page .tag-list li {
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.4;
}

body.company-page .card-dark h3,
body.company-page .card-dark .num {
  color: #ffffff;
}

body.company-page .card-dark p {
  color: rgba(255, 255, 255, 0.78);
}

body.company-page .card-dark svg {
  color: var(--mint);
}

body.company-page .card-dark .tag-list li {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
}

body.company-page .card-mint h3,
body.company-page .card-mint .num,
body.company-page .card-mint p,
body.company-page .card-mint .tag-list li {
  color: var(--navy-deep);
}

body.company-page .card-mint svg {
  color: var(--navy-deep);
}

body.company-page .card-mint .tag-list li {
  border-color: rgba(6, 20, 48, 0.28);
}

@media (max-width: 860px) {
  body.company-page .card-wide,
  body.company-page .card-narrow,
  body.company-page .card-third,
  body.company-page .about .card-narrow {
    grid-column: span 12;
  }
}

/* ---- Products and comparison ------------------------------------------- */

/* Every other section owns its vertical rhythm. These two must too: without
 * their own padding the first eyebrow touches the previous section's tail. */
body.company-page .products,
body.company-page .compare-section {
  padding: 96px 0;
}

body.company-page .products {
  background: var(--surface);
}

body.company-page .compare-section {
  background: var(--bg);
}

/* ---- Comparison -------------------------------------------------------- */

body.company-page .compare-wrap {
  overflow-x: auto;
}

body.company-page .compare {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

body.company-page .compare th,
body.company-page .compare td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

body.company-page .compare thead th {
  color: var(--head);
  font-family: var(--font-display);
}

body.company-page .compare th:not(:first-child),
body.company-page .compare td:not(:first-child) {
  width: 26%;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

body.company-page .compare .ok {
  color: var(--ok);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Google's column describes its model instead of crowding the table with
 * red crosses: the comparison is about integration, not about being right. */
body.company-page .compare .neutral {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

body.company-page .compare-note {
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ---- Pattern band ------------------------------------------------------- */

body.company-page .pattern-band {
  padding: 96px 0;
  background: var(--bg);
}

body.company-page .pattern-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 15%, rgba(95, 227, 183, 0.28), transparent 45%),
    linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #ffffff;
}

body.company-page .pattern-art {
  width: 100%;
  height: auto;
  color: var(--mint);
  opacity: 0.8;
}

body.company-page .pattern-copy span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.company-page .pattern-copy p {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 860px) {
  body.company-page .pattern-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---- Expertise ---------------------------------------------------------- */

body.company-page .about {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: var(--navy);
  color: #ffffff;
}

body.company-page .about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

body.company-page .about .wrap {
  position: relative;
}

body.company-page .about h2,
body.company-page .about h3 {
  color: #ffffff;
}

body.company-page .about .eyebrow {
  color: var(--mint);
}

body.company-page .about .eyebrow::before {
  background: var(--mint);
}

body.company-page .about .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

/* The quote belongs to the about section, as the reference site places it:
 * first element of the column that explains the company's approach. */
body.company-page .about .quote {
  margin: 0 0 1.4rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--mint);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
}

body.company-page .about .expertise-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Three expertise cards: a caption, then concrete capabilities. TransitLoop's
 * "Structured Data Production" is the model for the level of detail; the
 * wording stays ours and names only services FLITARC actually delivers. */
body.company-page .about .expertise-card p {
  color: rgba(255, 255, 255, 0.78);
}

body.company-page .about .expertise-card svg {
  color: var(--mint);
}

body.company-page .about .detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

body.company-page .about .detail-list li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.55;
}

body.company-page .about .detail-list strong {
  color: #ffffff;
  font-weight: 600;
}

body.company-page .about .card-mint {
  background: var(--mint);
  border-color: var(--mint);
}

body.company-page .about .card-mint h3,
body.company-page .about .card-mint .num,
body.company-page .about .card-mint p,
body.company-page .about .card-mint svg,
body.company-page .about .card-mint .detail-list li,
body.company-page .about .card-mint .detail-list strong {
  color: var(--navy-deep);
}

body.company-page .about .card-mint .detail-list {
  border-top-color: rgba(6, 20, 48, 0.2);
}

/* ---- Formats / method --------------------------------------------------- */

body.company-page .process {
  padding: 96px 0;
  background: var(--surface);
}

body.company-page .formats.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
  counter-reset: none;
}

body.company-page .formats.steps li {
  padding: 2.2rem 1.2rem 2.2rem 0;
  border-right: 1px solid var(--border);
  color: var(--text);
  font-size: 0.98rem;
}

body.company-page .formats.steps li + li {
  padding-left: 1.2rem;
}

body.company-page .formats.steps li:last-child {
  border-right: 0;
}

body.company-page .formats.steps .idx {
  display: block;
  margin-bottom: 1rem;
  color: var(--mint-deep);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  body.company-page .formats.steps {
    grid-template-columns: 1fr;
  }
  body.company-page .formats.steps li,
  body.company-page .formats.steps li + li {
    padding: 1.6rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  body.company-page .formats.steps li:last-child {
    border-bottom: 0;
  }
}

/* ---- Coverage ----------------------------------------------------------- */

body.company-page .area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

body.company-page .area-map {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  overflow: hidden;
  padding: 2rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 45%, rgba(95, 227, 183, 0.18), transparent 60%),
    var(--navy-deep);
  color: #ffffff;
}

body.company-page .area-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--mint);
  opacity: 0.5;
}

body.company-page .area-map strong {
  position: relative;
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

body.company-page .area-map span {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

body.company-page .area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

body.company-page .area-tags li {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  body.company-page .area-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---- Achievements ------------------------------------------------------- */

body.company-page .work {
  padding: 96px 0;
  background: var(--surface);
}

body.company-page .work-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

body.company-page .work-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

body.company-page .work-card:hover {
  transform: translateY(-3px);
  border-color: var(--mint-deep);
}

body.company-page .work-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
}

body.company-page .work-copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

body.company-page .work-copy p {
  margin-top: 0.5rem;
  color: var(--text-soft);
  line-height: 1.7;
}

body.company-page .work-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mint-ink);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 860px) {
  body.company-page .work-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---- Team --------------------------------------------------------------- */

body.company-page .team {
  padding: 96px 0;
  background: var(--bg);
}

body.company-page .team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: start;
}

body.company-page .team-profiles {
  display: grid;
  gap: 1rem;
}

body.company-page .team-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.company-page .team-profile:hover {
  transform: translateY(-3px);
  border-color: var(--mint-deep);
  box-shadow: var(--shadow);
}

body.company-page .team-monogram {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.company-page .team-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

body.company-page .team-role {
  margin-top: 0.2rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

body.company-page .team-bio {
  margin-top: 0.75rem;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Inline references in the founder's bio: readable links, not card CTAs. */
body.company-page .team-copy .team-link {
  color: var(--mint-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.company-page .team-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: var(--mint-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

body.company-page .team-cta svg {
  width: 18px;
  height: 18px;
  flex: none;
}

@media (max-width: 860px) {
  body.company-page .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---- Contact ------------------------------------------------------------ */

body.company-page .contact {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

body.company-page .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3.5rem;
  align-items: start;
}

body.company-page .contact-info p {
  color: var(--text-soft);
}

body.company-page .contact-info .cta-alt {
  margin-top: 12px;
  font-size: 0.9rem;
}

body.company-page .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--accent, #008000);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

body.company-page .cta-button:hover,
body.company-page .cta-button:focus-visible {
  filter: brightness(1.15);
  text-decoration: none;
}

body.company-page .contact-form {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

body.company-page .form-status {
  display: none;
}

body.company-page .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

body.company-page .field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

body.company-page label {
  font-size: 0.92rem;
  font-weight: 600;
}

body.company-page input,
body.company-page select,
body.company-page textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

body.company-page textarea {
  min-height: 140px;
  resize: vertical;
}

body.company-page .form-note {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Replaced by a direct mail link in the head's <noscript> style. */
body.company-page .noscript-contact {
  display: none;
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}

@media (max-width: 860px) {
  body.company-page .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  body.company-page .row {
    grid-template-columns: 1fr;
  }
  body.company-page .contact-form {
    padding: 1.4rem;
  }
}

/* ---- Footer ------------------------------------------------------------- */

body.company-page .site-footer {
  display: block;
  padding: 56px 0 32px;
  border-top: 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

body.company-page .site-footer h3 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.company-page .foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.company-page .foot-logo {
  width: 180px;
  margin-bottom: 0.8rem;
}

body.company-page .foot-nav {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.company-page .site-footer a {
  color: #ffffff;
  text-decoration: none;
}

body.company-page .site-footer a:hover {
  text-decoration: underline;
}

body.company-page .foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.85rem;
}

body.company-page .foot-bottom .footer-links {
  display: inline;
  color: rgba(255, 255, 255, 0.6);
}

body.company-page .foot-bottom .footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 760px) {
  body.company-page .foot-grid {
    grid-template-columns: 1fr;
  }
}
