/* =============================================================
   SIDERO — Theme & Styles
   Palette:
     Navy   #0B1F33  (primary)
     Charcoal/gunmetal #2F3A40 (secondary)
     Cream  #F5F2EA  (background)
     Bronze #B08A4A  (accent)
     Steel  #6B747C  (support)
   ============================================================= */

:root {
  --navy: #0B1F33;
  --charcoal: #2F3A40;
  --cream: #F5F2EA;
  --cream-deep: #EFEADC;
  --bronze: #B08A4A;
  --bronze-soft: #C7A468;
  --steel: #6B747C;
  --ink: #1A2530;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 40px rgba(11, 31, 51, 0.08);
  --shadow-card: 0 8px 30px rgba(11, 31, 51, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bronze); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.narrow-text { max-width: 620px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 0 0 0.4em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze);
  margin: 0 0 0.9em;
}
.eyebrow-dark { color: var(--bronze); }
.eyebrow-light { color: var(--bronze-soft); }
.lead { font-size: 1.18rem; color: var(--charcoal); max-width: 760px; margin-bottom: 1.6em; }
.lead.light { color: rgba(245, 242, 234, 0.86); }
.muted { color: var(--steel); }
.light { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-align: center; line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.full { width: 100%; }

.btn-primary { background: var(--navy); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: #0e2949; box-shadow: 0 14px 36px rgba(11, 31, 51, 0.22); }

.btn-bronze { background: var(--bronze); color: #1c1305; }
.btn-bronze:hover { background: var(--bronze-soft); }

.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(11, 31, 51, 0.28); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(11, 31, 51, 0.04); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 242, 234, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--bronze); display: inline-flex; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.02em; color: var(--navy); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { color: var(--charcoal); font-weight: 500; font-size: 0.96rem; position: relative; }
.primary-nav a:hover { color: var(--navy); text-decoration: none; }
.primary-nav a:not(.nav-cta).active { color: var(--navy); }
.primary-nav a:not(.nav-cta).active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--bronze); border-radius: 2px;
}
.primary-nav .nav-cta {
  background: var(--navy); color: var(--cream); padding: 11px 20px; border-radius: 999px; font-weight: 600;
  transition: background 0.25s var(--ease);
}
.primary-nav .nav-cta:hover { background: #0e2949; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); }
.hero-texture {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(176, 138, 74, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(47, 58, 64, 0.55), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 26px),
    linear-gradient(160deg, #0B1F33 0%, #0d2540 55%, #122c4d 100%);
  opacity: 1;
}
.hero-inner { position: relative; padding: clamp(80px, 13vw, 150px) 24px clamp(72px, 11vw, 130px); }
.hero h1 { color: var(--cream); }
.hero .eyebrow { color: var(--bronze-soft); }
.hero-sub { font-size: 1.2rem; color: rgba(245, 242, 234, 0.82); max-width: 640px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-ghost { color: var(--cream); border-color: rgba(245, 242, 234, 0.4); }
.hero .btn-ghost:hover { border-color: var(--cream); background: rgba(245, 242, 234, 0.08); }

/* ---------- Trust band ---------- */
.trust-band { background: var(--cream-deep); padding: clamp(40px, 6vw, 64px) 0; }
.trust-statement {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.45; color: var(--navy); max-width: 920px; margin: 0 auto; text-align: center; font-weight: 400;
}
.trust-statement strong { color: var(--bronze); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-cream { background: var(--cream-deep); }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.subhead { margin-top: 2.4em; font-size: 1.4rem; }

/* ---------- Cards / glassmorphism ---------- */
.card-grid { display: grid; gap: 24px; margin-top: 2em; }
.two-col { grid-template-columns: 1fr 1fr; }

.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.section-cream .glass-card { background: rgba(255, 255, 255, 0.62); }
.accent-card { border-top: 4px solid var(--bronze); }
.card-text { color: var(--charcoal); margin-bottom: 0; }

/* check lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--charcoal); }
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.check-list.neg li::before { content: "–"; background: rgba(107, 116, 124, 0.16); color: var(--steel); }
.check-list.pos li::before { content: "✓"; background: rgba(176, 138, 74, 0.18); color: var(--bronze); }

/* spec list */
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { padding: 12px 0; border-bottom: 1px solid rgba(11, 31, 51, 0.08); color: var(--charcoal); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list strong { color: var(--navy); }

/* ---------- Display quote (operators first) ---------- */
.display-quote { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 0.5em; }

/* ---------- Transition steps ---------- */
.step-grid {
  list-style: none; padding: 0; margin: 2.2em 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: step;
}
.step {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-sm); padding: 26px;
  box-shadow: var(--shadow-card);
}
.step-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--bronze); font-weight: 600; display: block; margin-bottom: 6px; }
.step h3 { margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--charcoal); font-size: 0.97rem; }

/* ---------- Who we help pills ---------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }
.pill {
  background: rgba(255,255,255,0.65); border: 1px solid rgba(11,31,51,0.1);
  border-left: 3px solid var(--bronze);
  padding: 14px 20px; border-radius: var(--radius-sm); font-weight: 500; color: var(--navy);
  box-shadow: var(--shadow-card);
}

/* ---------- Industries ---------- */
.industry-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 1.4em;
}
.industry-grid span {
  background: rgba(255,255,255,0.6); border: 1px solid rgba(11,31,51,0.08);
  padding: 11px 16px; border-radius: 8px; font-size: 0.92rem; color: var(--charcoal);
}
.callout {
  margin-top: 2em; padding: 24px 28px; border-radius: var(--radius);
  background: rgba(176, 138, 74, 0.1); border: 1px solid rgba(176, 138, 74, 0.3);
  color: var(--navy); font-size: 1.05rem;
}

/* geography map */
.geo-map { margin: 18px 0 0; }
.geo-map svg { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
.geo-caption { margin-top: 10px; font-size: 0.86rem; color: var(--steel); text-align: center; }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: 300px 1fr; gap: 44px; margin-top: 2em; align-items: start; }
.about-media { position: sticky; top: 96px; }
.headshot-placeholder {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 35%, rgba(176,138,74,0.25), transparent 55%),
    repeating-linear-gradient(125deg, rgba(11,31,51,0.05) 0 2px, transparent 2px 22px),
    var(--charcoal);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(245,242,234,0.75); border: 1px solid rgba(11,31,51,0.1); box-shadow: var(--shadow-card);
}
.headshot-placeholder span { font-family: var(--font-display); font-size: 1.3rem; }
.headshot-placeholder small { font-size: 0.78rem; opacity: 0.7; margin-top: 4px; }
.linkedin-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--navy);
  font-weight: 600; font-size: 0.95rem;
}
.linkedin-link:hover { color: var(--bronze); text-decoration: none; }

.about-body p { color: var(--charcoal); }
.founder-note {
  margin: 1.8em 0 0; padding: 28px 32px; border-left: 4px solid var(--bronze);
  background: rgba(255,255,255,0.55); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-card);
}
.founder-note p { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: var(--navy); font-style: italic; }
.founder-note cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; color: var(--bronze); font-size: 0.95rem; }
.why-sidero { margin-top: 3em; max-width: 820px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; margin-top: 2.4em; align-items: start; }
.form-card { background: rgba(245, 242, 234, 0.96); }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--navy); margin-bottom: 6px; }
.contact-form .req { color: var(--bronze); }
.contact-form .optional { color: var(--steel); font-weight: 400; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid rgba(11,31,51,0.18); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(176,138,74,0.18);
}
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] {
  border-color: #b3392f; box-shadow: 0 0 0 3px rgba(179,57,47,0.15);
}
.field-error { color: #b3392f; font-size: 0.84rem; margin-top: 5px; display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-confidential { font-size: 0.85rem; color: var(--steel); text-align: center; margin: 14px 0 0; }
.form-status { margin: 10px 0 0; font-weight: 600; text-align: center; }
.form-status.success { color: #2e6b3e; }
.form-status.error { color: #b3392f; }

.contact-side h3 { color: var(--cream); }
.contact-direct {
  display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: var(--radius-sm);
  background: rgba(245,242,234,0.08); border: 1px solid rgba(245,242,234,0.18); margin-bottom: 16px;
}
.contact-direct:hover { background: rgba(245,242,234,0.14); text-decoration: none; }
.contact-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze-soft); }
.contact-value { font-size: 1.15rem; color: var(--cream); font-weight: 600; }
.calendar-button-wrap { margin-bottom: 8px; }
.calendar-button-wrap button { cursor: pointer; }
.headshot-img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.contact-fineprint { font-size: 0.85rem; color: rgba(245,242,234,0.6); text-align: center; margin-bottom: 24px; }
.reassurance { border-top: 1px solid rgba(245,242,234,0.16); padding-top: 18px; }
.reassurance p { font-size: 0.9rem; color: rgba(245,242,234,0.72); margin-bottom: 0.7em; }
.reassurance p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(245,242,234,0.8); padding: 56px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(245,242,234,0.14); }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { margin: 8px 0 0; color: rgba(245,242,234,0.6); max-width: 320px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.footer-nav a { color: rgba(245,242,234,0.8); font-weight: 500; }
.footer-nav a:hover { color: var(--cream); text-decoration: none; }
.footer-legal { padding-top: 22px; }
.footer-legal p { font-size: 0.82rem; color: rgba(245,242,234,0.5); margin-bottom: 0.6em; }
.legal-note { max-width: 880px; }

/* ---------- Back-to-top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: var(--cream); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(11,31,51,0.28);
  opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--bronze); color: #1c1305; }

/* ---------- Readability helpers ---------- */
.about-body p, .why-sidero .card-text { max-width: 64ch; }
.lead { line-height: 1.6; }
.section .subhead { margin-top: 2.8em; padding-top: 0.2em; }
.section p { margin-bottom: 1.2em; }
.callout { line-height: 1.6; }

/* ---------- Scroll reveal ---------- */
.section, .trust-band { opacity: 1; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(245, 242, 234, 0.98); backdrop-filter: blur(16px);
    padding: 12px 24px 24px; border-bottom: 1px solid rgba(11,31,51,0.1);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .primary-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 15px 4px; border-bottom: 1px solid rgba(11,31,51,0.08); }
  .primary-nav .nav-cta { margin-top: 12px; text-align: center; }
  .two-col { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-media { position: static; max-width: 320px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .glass-card { padding: 24px; }
  .hero-actions .btn { width: 100%; }
}
