/* SeisMomentum — site styles
   Brand: orange #FF9900, grey #A6A6A6. Clean, uncluttered, generous white space. */

:root {
  --orange: #FF9900;
  --orange-dark: #B86E00;   /* orange that passes contrast for small text on white */
  --grey: #A6A6A6;
  --grey-light: #F2F2F2;
  --ink: #222222;
  --ink-soft: #555555;
  --line: #E3E3E3;
  --night: #111111;          /* Solarium-style dark panels */
  --max: 1140px;
  --radius: 6px;
  --head: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Barlow", "Segoe UI", Calibri, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--body);
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section + .section { border-top: 1px solid var(--line); }
.section--tint { background: var(--grey-light); border-top: 0 !important; }
.section--tint + .section { border-top: 0; }

/* Section kicker: short orange rule + grey label, as on the slide template */
.kicker {
  display: flex; align-items: center; gap: 12px;
  font: 600 .85rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 36px; height: 4px; background: var(--orange); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 46em; }
.accent { color: var(--orange); }
.muted { color: var(--ink-soft); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-top: 5px solid var(--orange);   /* echoes Solarium's orange title bar; part of the sticky header so it never scrolls away */
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: block; line-height: 0; }
.brand img { height: 45px; width: auto; }
@media (max-width: 360px) { .brand img { height: 36px; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a { font: 600 .98rem/1 var(--body); text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 86px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 18px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--orange-dark); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: 600 1rem/1 var(--body); text-decoration: none;
  padding: 15px 26px; border-radius: var(--radius); border: 2px solid var(--orange);
  background: var(--orange); color: var(--ink); transition: background .15s, color .15s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--orange); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .accent { display: block; }
.hero figure { margin: 0; }
.hero img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.18); background: var(--night); }
.hero figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero--dark { background: var(--night); color: #fff; }
.page-hero--dark .lead { color: #CFCFCF; }
.page-hero--dark .kicker { color: var(--grey); }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 40px; }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; background: var(--grey-light);
  border: 3px solid var(--orange); font: 700 2.2rem/1 var(--head); color: var(--grey);
}
.person h3 { margin-bottom: .15em; }
.role { font-weight: 600; color: var(--orange-dark); margin-bottom: .8em; font-size: .95rem; }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.service-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; margin-top: 44px; }
.service-group { background: #fff; border-radius: var(--radius); padding: 28px 26px; border-top: 4px solid var(--orange); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.service-group ul { list-style: none; padding: 0; margin: 0; }
.service-group li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.service-group li:first-child { border-top: 0; padding-top: 0; }
.service-group li strong { font-weight: 600; }
.callout { margin-top: 48px; padding: 28px 30px; border-left: 4px solid var(--orange); background: #fff; font-size: 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin: 0; }

/* ---------- Feature (text + image) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature--flip > :first-child { order: 2; }
.feature img { border-radius: var(--radius); }
.feature figure { margin: 0; }
.feature figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature--flip > :first-child { order: 0; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin: 30px 0; }
.stat { border-left: 3px solid var(--orange); padding-left: 14px; }
.stat b { display: block; font: 700 2rem/1.1 var(--head); }
.stat span { font-size: .92rem; color: var(--ink-soft); }
.card .stat b { font-size: 1.6rem; white-space: nowrap; }
.page-hero--dark .stat span { color: #BDBDBD; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 4px; background: var(--orange); }

/* ---------- Cards (products) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 40px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--night); }
.card .card-body { padding: 26px; flex: 1; }
.card > a { display: block; line-height: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--orange-dark); }
.more { font-weight: 600; }
.tag { display: inline-block; font: 600 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--orange); padding: 6px 9px; border-radius: 3px; margin-bottom: 14px; }

/* ---------- Platforms ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.chip { border: 1px solid var(--line); border-radius: 40px; padding: 12px 22px; background: #fff; font-weight: 600; }
.chip small { font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.chip--solarium { background: var(--night); color: #fff; border-color: var(--night); text-decoration: none; }
.chip--solarium small { color: var(--grey); }
.chip--solarium:hover { color: var(--orange); }

/* ---------- Publications ---------- */
.pubs { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: pub; }
.pubs li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.pubs .year { font: 700 1.5rem/1.2 var(--head); color: var(--orange-dark); }
.pubs .title { font-weight: 600; display: block; margin-bottom: 4px; }
.pubs .meta { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 520px) { .pubs li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--night); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 10px; }
.gallery--three { grid-template-columns: repeat(3, 1fr); }
.gallery--three img { aspect-ratio: 1 / 1; }
@media (max-width: 760px) { .gallery--three { grid-template-columns: 1fr; } }
.placeholder {
  aspect-ratio: 16 / 10; border-radius: var(--radius); border: 2px dashed var(--grey);
  display: grid; place-items: center; text-align: center; padding: 20px;
  color: var(--ink-soft); font-size: .95rem; background: #fff;
}
.placeholder b { display: block; font: 600 1.15rem/1.3 var(--head); color: var(--ink); }
.placeholder--wide { aspect-ratio: auto; min-height: 180px; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; margin-top: 36px; -webkit-overflow-scrolling: touch; }
table.compare { border-collapse: collapse; width: 100%; min-width: 680px; font-size: .97rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 .8rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 600; width: 26%; }
.compare tr.ours { background: #FFF5E6; }
.compare tr.ours th { border-left: 4px solid var(--orange); }

/* ---------- Capability grid (Solarium) ---------- */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 40px; margin-top: 44px; }
.cap h3 { display: flex; align-items: center; gap: 12px; }
.cap h3::before { content: ""; width: 10px; height: 10px; background: var(--orange); border-radius: 2px; flex: none; }
.cap p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ---------- CTA band ---------- */
.band { background: var(--night); color: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.band h2 { margin: 0; }
.band .btn:hover { background: transparent; color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 36px; }
.contact-item { display: block; text-decoration: none; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, transform .15s; }
.contact-item:hover { border-color: var(--orange); transform: translateY(-2px); color: var(--ink); }
.contact-item small { display: block; font: 600 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.contact-item span { font-weight: 600; font-size: 1.1rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: #1A1A1A; color: #BDBDBD; font-size: .92rem; padding-block: 44px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer img { height: 24px; width: auto; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }

/* ---------- Draft notes (remove before publishing) ---------- */
.draft-note { background: #FFF5E6; border: 1px dashed var(--orange); color: #6B4200; font-size: .88rem; padding: 8px 12px; border-radius: 4px; margin: 12px 0; }
.page-hero--dark .draft-note { background: #2A2112; color: #FFD699; }
.site-footer .tm { flex-basis: 100%; font-size: .8rem; color: #8C8C8C; }
.slices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 28px; }
.slices figure { margin: 0; }
.slices img { border-radius: var(--radius); width: 100%; height: auto; }
.slices figure:nth-child(2) img { max-width: 900px; }
.slices figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; }
