/* =====================================================
   Titan Flow Control — Design System
   ===================================================== */

:root {
  /* Colors */
  --bg-deep: #0B1220;
  --bg-elev: #111A2E;
  --bg-elev-2: #17223B;
  --ink: #0A0F1A;
  --paper: #F7F5F1;
  --paper-mute: #EDE9E1;
  --paper-soft: #F0EDE6;
  --accent: #E09E3C;        /* copper / amber */
  --accent-bright: #F4B656;
  --accent-deep: #B97B21;
  --steel: #8B9AAE;
  --steel-dark: #5E6B7E;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(10, 15, 26, 0.12);
  --success: #4FB86F;

  /* Type scale */
  --ff-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --container: 1280px;
  --container-wide: 1440px;
  --radius: 4px;
  --radius-lg: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--sp-4);
}
.display-1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.035em; font-weight: 600; }
.display-2 { font-size: clamp(2rem, 4.5vw, 3.75rem); letter-spacing: -0.03em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 var(--sp-4); }
.lead { font-size: 1.15rem; color: var(--steel-dark); max-width: 60ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container-wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--sp-5); }
section { padding: var(--sp-10) 0; }
section.tight { padding: var(--sp-8) 0; }
.dark { background: var(--bg-deep); color: var(--paper); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--paper); }
.dark .lead { color: var(--steel); }
.elev { background: var(--bg-elev); color: var(--paper); }
.elev h1, .elev h2, .elev h3, .elev h4 { color: var(--paper); }
.muted { background: var(--paper-mute); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,.2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--bg-elev-2); }
.btn-link {
  color: var(--accent);
  padding: .5rem 0;
  font-weight: 500;
  gap: .35rem;
}
.btn-link::after { content: "→"; transition: transform .2s ease; }
.btn-link:hover::after { transform: translateX(4px); }

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--ff-display);
  color: var(--paper);
  letter-spacing: .05em;
}
.brand-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-family: var(--ff-display);
}
.brand-text { font-size: 1.05rem; font-weight: 600; letter-spacing: .06em; }
.brand-text small { display: block; font-size: .65rem; letter-spacing: .3em; color: var(--steel); font-weight: 400; margin-top: 2px; }

.nav-primary {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: .25rem;
  align-items: center;
}
.nav-primary a {
  display: inline-flex;
  align-items: center;
  padding: .55rem .9rem;
  font-size: .9rem;
  color: rgba(247,245,241,.75);
  letter-spacing: .01em;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  font-weight: 400;
}
.nav-primary a:hover { color: var(--paper); background: rgba(255,255,255,.04); }
.nav-primary a.current { color: var(--accent); }
.nav-primary a.featured {
  color: var(--accent-bright);
  font-weight: 500;
}
.nav-cta {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--paper);
  border-radius: var(--radius);
  padding: .5rem .7rem;
  font-size: 1.1rem;
}

@media (max-width: 960px) {
  .nav-primary, .nav-cta > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav-primary {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--bg-deep);
    padding: var(--sp-5);
    gap: var(--sp-2);
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }
  body.nav-open .nav-primary a {
    padding: .9rem 1rem;
    font-size: 1.05rem;
  }
}

/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--bg-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
  filter: grayscale(.3) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11,18,32,.95) 0%, rgba(11,18,32,.4) 40%, rgba(11,18,32,.2) 100%),
    linear-gradient(to right, rgba(11,18,32,.6) 0%, rgba(11,18,32,0) 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--sp-10) 0 var(--sp-9);
  width: 100%;
}
.hero-inner .display-1 {
  margin-top: var(--sp-5);
  max-width: 22ch;
  font-weight: 600;
}
.hero-inner .display-1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(247,245,241,.75);
  max-width: 56ch;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-6);
  line-height: 1.5;
}
.hero-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero-meta {
  position: absolute;
  bottom: var(--sp-6);
  right: var(--sp-6);
  font-family: var(--ff-mono);
  font-size: .7rem;
  color: var(--steel);
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}
.hero-meta span { display: flex; align-items: center; gap: .5rem; }
.hero-meta .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) and (min-width: 600px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(10,15,26,.2); border-color: var(--accent); }
.card h3 { margin-top: var(--sp-3); }
.card p { color: var(--steel-dark); }
.card .card-num {
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: .2em;
}
.card-dark {
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--paper);
}
.card-dark p { color: rgba(247,245,241,.65); }
.card-dark:hover { border-color: var(--accent); }

/* Service card with image */
.svc-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  color: var(--paper);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,.06);
}
.svc-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.svc-card:hover .svc-card-img img { transform: scale(1.05); }
.svc-card-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.svc-card-body h3 { margin-bottom: var(--sp-3); color: var(--paper); }
.svc-card-body p { color: rgba(247,245,241,.65); font-size: .95rem; flex: 1; }
.svc-card-body .btn-link { margin-top: var(--sp-3); padding: 0; }

/* Split / alternating feature */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.feature-split.reverse .feature-media { order: 2; }
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .feature-split.reverse .feature-media { order: 0; }
}
.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body h2 { margin-bottom: var(--sp-4); }

/* Big-promo band */
.promo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--sp-9) var(--sp-8);
  color: var(--paper);
  background: var(--bg-elev);
}
.promo-bg { position: absolute; inset: 0; z-index: 0; }
.promo-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; filter: grayscale(.5); }
.promo-inner { position: relative; z-index: 1; max-width: 720px; }
.promo-inner .display-2 { margin-bottom: var(--sp-5); }
.promo-inner p { color: rgba(247,245,241,.8); margin-bottom: var(--sp-6); font-size: 1.1rem; }

/* Stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-7) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-num em { font-style: normal; color: var(--accent); }
.stat-label { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery .g-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery .g-item.tall { aspect-ratio: 3/4; }
.gallery .g-item.wide { aspect-ratio: 3/2; grid-column: span 2; }
@media (max-width: 700px) { .gallery .g-item.wide { grid-column: auto; } }
.gallery .g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery .g-item:hover img { transform: scale(1.06); }

/* Section header */
.section-head {
  max-width: 700px;
  margin-bottom: var(--sp-7);
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: var(--sp-4); }

/* List with ticks */
.ticks {
  list-style: none;
  padding: 0;
  margin: var(--sp-4) 0 var(--sp-6);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3) var(--sp-5);
}
@media (max-width: 600px) { .ticks { grid-template-columns: 1fr; } }
.ticks li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--steel-dark);
  font-size: .95rem;
}
.dark .ticks li { color: rgba(247,245,241,.75); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  margin: var(--sp-5) 0;
}
.spec-table th, .spec-table td {
  padding: .9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}
.dark .spec-table th, .dark .spec-table td {
  border-bottom-color: rgba(255,255,255,.08);
}
.spec-table th {
  font-family: var(--ff-mono);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--steel-dark);
  font-weight: 500;
}
.dark .spec-table th { color: var(--steel); }
.spec-table td:first-child { font-weight: 500; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  counter-reset: step;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(to right, var(--accent) 0%, rgba(224,158,60,.2) 100%);
  z-index: 0;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}
.step {
  position: relative;
  counter-increment: step;
  padding-top: var(--sp-6);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 48px;
  background: var(--bg-deep);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: .85rem;
  font-weight: 500;
  z-index: 1;
}
.muted .step::before { background: var(--paper-mute); }
.step h4 { margin-bottom: var(--sp-2); margin-top: var(--sp-4); }
.step p { font-size: .92rem; color: var(--steel-dark); }
.dark .step p { color: rgba(247,245,241,.65); }

/* Page hero (non-homepage) */
.page-hero {
  background: var(--bg-deep);
  color: var(--paper);
  padding: var(--sp-10) 0 var(--sp-8);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.25rem, 5vw, 4rem); }
.page-hero .lead { color: rgba(247,245,241,.7); max-width: 60ch; margin-top: var(--sp-4); }

/* Breadcrumb */
.crumbs {
  font-family: var(--ff-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.crumbs a { color: rgba(247,245,241,.6); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); }

/* Form */
.form { display: grid; gap: var(--sp-4); max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--steel-dark);
  margin-bottom: var(--sp-2);
}
.dark .field label { color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s;
}
.dark .field input, .dark .field select, .dark .field textarea {
  background: rgba(255,255,255,.04);
  color: var(--paper);
  border-color: rgba(255,255,255,.12);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224,158,60,.15);
}
.field textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-9) 0 var(--sp-5);
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  font-family: var(--ff-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
  font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: var(--sp-2); }
.footer-grid a { color: rgba(247,245,241,.7); transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: rgba(247,245,241,.7); font-size: .9rem; max-width: 32ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-5);
  color: var(--steel);
  font-size: .8rem;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Hero slide fade for home */
.hero-slideshow {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
  filter: grayscale(.3) contrast(1.05);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Exploded view specific */
.exploded-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background:
    radial-gradient(ellipse at center, rgba(224,158,60,.08) 0%, transparent 70%),
    var(--bg-deep);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224,158,60,.15);
  overflow: hidden;
}
.exploded-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224,158,60,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,158,60,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.exploded-svg {
  width: 100%; height: 100%;
  display: block;
}
.exploded-progress {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--steel);
  letter-spacing: .15em;
  text-transform: uppercase;
  background: rgba(11,18,32,.7);
  padding: .6rem 1.2rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.exploded-progress .bar {
  width: 140px;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 99px;
  overflow: hidden;
}
.exploded-progress .fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width .3s ease;
}
.exploded-hint {
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-5);
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(11,18,32,.8);
  padding: .4rem .8rem;
  border-radius: 99px;
  border: 1px solid rgba(224,158,60,.3);
}

/* Parts callout list */
.parts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 600px) { .parts-list { grid-template-columns: 1fr; } }
.part-item {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color .2s, background .2s;
}
.part-item:hover { border-color: var(--accent); background: rgba(224,158,60,.05); }
.part-item .pn {
  font-family: var(--ff-mono);
  font-size: .75rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .1em;
  width: 30px;
  flex-shrink: 0;
  padding-top: 1px;
}
.part-item h5 { margin: 0 0 .15rem; font-size: .95rem; color: var(--paper); }
.part-item p { margin: 0; font-size: .82rem; color: rgba(247,245,241,.6); line-height: 1.45; }

/* Utilities */
.accent { color: var(--accent); }
.mono { font-family: var(--ff-mono); }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  margin: var(--sp-7) 0;
}
.dark .rule { background: linear-gradient(to right, transparent, rgba(255,255,255,.15), transparent); }

/* Large feature banner */
.featured-bettis {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 500px;
}
@media (max-width: 900px) { .featured-bettis { grid-template-columns: 1fr; min-height: auto; } }
.featured-bettis-body {
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-bettis-body h2 { color: var(--paper); margin-bottom: var(--sp-4); }
.featured-bettis-body p { color: rgba(247,245,241,.7); margin-bottom: var(--sp-6); }
.featured-bettis-img {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.featured-bettis-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.featured-bettis-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, transparent 35%);
}

/* Tag / chip */
.chip {
  display: inline-flex;
  align-items: center;
  padding: .3rem .75rem;
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(224,158,60,.15);
  color: var(--accent);
  border-radius: 99px;
  border: 1px solid rgba(224,158,60,.3);
}

/* Mobile spacing tweaks */
@media (max-width: 600px) {
  section { padding: var(--sp-8) 0; }
  .promo { padding: var(--sp-7) var(--sp-5); }
  .hero { min-height: 72vh; }
}
