/* Intrepid Marine LLC — navy / gold company, MarineServiceTech showcase */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,650;9..144,700&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --navy: #1a140f;
  --navy-2: #2a1d14;
  --navy-3: #3b2a1c;
  --gold: #c45c26;
  --gold-2: #e08a4a;
  --gold-dim: rgba(196, 92, 38, 0.16);
  --cream: #f4ead6;
  --paper: #f7f1e6;
  --card: #ffffff;
  --ink: #1a140f;
  --muted: #5c5348;
  --line: rgba(26, 20, 15, 0.1);
  --sea: #8a4a22;
  --teal: #c45c26;
  --teal-2: #f0c9a0;
  --teal-dim: rgba(196, 92, 38, 0.16);
  --star: #c45c26;
  --shadow: 0 18px 40px rgba(26, 20, 15, 0.12);
  --radius: 16px;
  --max: 1140px;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --display: "Fraunces", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sea);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  min-width: 0;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.45);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.brand-llc {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(243, 234, 210, 0.25);
  color: var(--cream);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.05rem;
  align-items: center;
}

.nav-links a {
  color: rgba(243, 234, 210, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--gold-2);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: var(--navy);
    border-bottom: 1px solid rgba(201, 162, 39, 0.22);
    padding: 0.8rem 1rem 1.1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.55rem 0.2rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.4rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-2);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 234, 210, 0.28);
}

.btn-ghost:hover {
  color: #fff;
  border-color: var(--gold);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
}

.btn-navy:hover {
  background: var(--navy-3);
  color: #fff;
}

.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: rgba(10, 22, 40, 0.22);
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    linear-gradient(rgba(30, 200, 208, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 200, 208, 0.045) 1px, transparent 1px),
    radial-gradient(900px 420px at 88% 0%, rgba(30, 200, 208, 0.22), transparent 58%),
    radial-gradient(700px 380px at 0% 100%, rgba(201, 162, 39, 0.16), transparent 55%),
    linear-gradient(165deg, #07111d 0%, var(--navy) 48%, #0c2438 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  padding: 4.4rem 0 4.2rem;
}

.hero-product {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  padding: 0.28rem 0.85rem 0.28rem 0.28rem;
  border: 1px solid rgba(30, 200, 208, 0.4);
  background: rgba(30, 200, 208, 0.1);
  border-radius: 999px;
}

.hero-product img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.hero-product span {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-2);
}

.hero-devices {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.hero-devices .shot-frame.phone {
  max-width: 200px;
  margin: 0;
}

.hero-devices .shot-frame.tablet {
  max-width: none;
  width: 100%;
}

@media (max-width: 919px) {
  .hero-devices {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-devices .shot-frame.phone {
    max-width: 240px;
  }

  .hero-devices .shot-frame.tablet {
    display: none;
  }
}

.hero-grid {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.05rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-lead {
  font-size: 1.12rem;
  color: rgba(243, 234, 210, 0.84);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.hero-note {
  margin: 1.2rem 0 0;
  font-size: 0.92rem;
  color: rgba(243, 234, 210, 0.62);
}

.hero-panel {
  background: rgba(7, 17, 29, 0.45);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-panel img {
  width: 100%;
  border-radius: 14px;
}

.hero-panel figcaption {
  margin: 0.85rem 0.2rem 0.15rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-align: center;
}

/* Sections */

section {
  padding: 3.6rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2,
.page-hero h1,
.content-card h2 {
  letter-spacing: -0.02em;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Showcase product */

.showcase {
  background:
    radial-gradient(800px 360px at 12% 0%, rgba(30, 200, 208, 0.16), transparent 55%),
    var(--navy);
  color: var(--cream);
}

.showcase .section-head h2 {
  color: #fff;
}

.showcase .section-head p {
  color: rgba(243, 234, 210, 0.72);
}

.showcase-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .showcase-grid {
    grid-template-columns: 0.42fr 1fr;
  }
}

.showcase-icon {
  width: min(100%, 320px);
  margin-inline: auto;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.45), 0 24px 50px rgba(0, 0, 0, 0.35);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-dim);
}

.showcase .kicker {
  color: var(--teal-2);
}

.muted-on-dark {
  color: rgba(243, 234, 210, 0.7);
}

/* Product cards */

.product-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 760px) {
  .product-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid.three,
  .product-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .product-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid.four .product-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-top {
  padding: 1.25rem 1.3rem 0.3rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.product-top > div {
  min-width: 0;
  flex: 1;
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(10, 22, 40, 0.08);
}

.product .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.product h3 {
  margin: 0 0 0.25rem;
  font-size: 1.22rem;
  color: var(--navy);
  overflow-wrap: break-word;
  line-height: 1.2;
}

.product p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.product-body {
  padding: 0.55rem 1.3rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body ul {
  margin: 0.85rem 0 1.1rem;
  padding-left: 1.1rem;
  color: #334556;
}

.product-body li {
  margin: 0.28rem 0;
}

.product-actions {
  margin-top: auto;
}

.product.featured {
  border-color: rgba(30, 200, 208, 0.4);
  box-shadow: var(--shadow), 0 0 0 1px rgba(30, 200, 208, 0.18);
}

.product.featured .tag {
  color: #0e8f96;
}

/* Company + consulting */

.split {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.6rem;
  box-shadow: var(--shadow);
}

.panel p {
  margin: 0 0 1rem;
  color: #2b3b4d;
}

.panel p:last-child {
  margin-bottom: 0;
}

.quote {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-dim);
  border-radius: 0 12px 12px 0;
  color: var(--navy);
  font-weight: 600;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.stat {
  background: var(--paper);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.stat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.stat span {
  font-size: 0.86rem;
  color: var(--muted);
}

.offer-list {
  display: grid;
  gap: 0.9rem;
}

.offer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.offer h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.offer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .offer-list.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA */

.cta-band {
  background:
    radial-gradient(700px 260px at 80% 0%, rgba(201, 162, 39, 0.2), transparent 70%),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  color: var(--cream);
}

.cta-band .section-head {
  margin: 0;
}

.cta-band .section-head h2 {
  color: #fff;
}

.cta-band .section-head p {
  color: rgba(243, 234, 210, 0.75);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

/* Footer */

.site-footer {
  background: #070d16;
  color: rgba(243, 234, 210, 0.72);
  padding: 2.4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(243, 234, 210, 0.78);
}

.site-footer a:hover {
  color: var(--gold-2);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 234, 210, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: rgba(243, 234, 210, 0.45);
  font-size: 0.84rem;
}

/* Inner pages */

.page-hero {
  padding: 3.2rem 0 2rem;
  color: var(--cream);
  background:
    radial-gradient(800px 280px at 90% -20%, rgba(201, 162, 39, 0.2), transparent 55%),
    linear-gradient(180deg, var(--navy), #12263c);
}

.page-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: #fff;
}

.page-hero p {
  margin: 0;
  color: rgba(243, 234, 210, 0.78);
  max-width: 40rem;
  font-size: 1.08rem;
}

.page-hero .kicker {
  color: var(--gold-2);
}

.page-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4);
}

.content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.2rem;
}

.content-card h2 {
  margin: 1.2rem 0 0.5rem;
  color: var(--navy);
  font-size: 1.22rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: #334556;
}

.content-card ul {
  padding-left: 1.15rem;
}

.muted {
  color: var(--muted);
}

.gold-rule {
  width: 3.2rem;
  height: 3px;
  background: var(--gold);
  margin: 0 0 1.1rem;
  border: 0;
}

/* Badges · proof · store · screenshots */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.hero .kicker {
  color: var(--teal-2);
}

.hero .badge {
  color: var(--gold-2);
}

.hero .proof-code,
.showcase code {
  color: var(--teal-2);
  white-space: nowrap;
}

.page-hero .badge-row {
  margin-top: 1.15rem;
}

.proof-strip {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 800px) {
  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}

.proof strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
}

.proof p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.proof-code {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--sea);
}

.shot-rail {
  display: grid;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 800px) {
  .shot-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .shot-rail:has(> :only-child) {
    grid-template-columns: 1fr;
  }
}

.shot-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0c1828;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.shot-frame.phone {
  max-width: 280px;
  margin-inline: auto;
  width: 100%;
}

.product-body > .shot-frame.phone {
  max-width: 220px;
}

.shot-frame img,
.shot-frame video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  background: #0c1828;
}

.shot-frame.tablet img,
.shot-frame.tablet video {
  background: #f4f4f6;
}

.shot-frame.wide img,
.shot-frame.wide video {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-stage.shot-frame img,
.hero-stage.shot-frame video {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  height: auto;
}

.shot-frame figcaption {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: #07111d;
}

.shot-frame.awaiting-shot {
  min-height: 240px;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(201, 162, 39, 0.05),
      rgba(201, 162, 39, 0.05) 10px,
      transparent 10px,
      transparent 20px
    ),
    #102038;
}

.shot-frame.awaiting-shot img,
.shot-frame.awaiting-shot video {
  display: none;
}

.shot-frame.awaiting-shot::after {
  content: attr(data-filename);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--gold-2);
  text-align: center;
  padding: 1rem;
}

.hero-stage {
  position: relative;
  overflow: hidden;
}

.hero-stage .radar-disc {
  pointer-events: none;
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(201, 162, 39, 0.0) 40deg,
    rgba(224, 195, 106, 0.35) 70deg,
    transparent 95deg
  );
  animation: radar-spin 7s linear infinite;
  mix-blend-mode: screen;
  z-index: 1;
}

.hero-stage.has-video img[data-shot] {
  display: none;
}

.hero-stage video.hero-loop {
  display: none;
  width: 100%;
  border-radius: 14px;
}

.hero-stage.has-video video.hero-loop {
  display: block;
}

@keyframes radar-spin {
  to {
    transform: rotate(360deg);
  }
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 0;
}

.clip-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  margin: 0 0 1.2rem;
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.clip-banner p {
  margin: 0;
  max-width: 36rem;
  color: rgba(243, 234, 210, 0.86);
}

.clip-banner strong {
  color: #fff;
}

.texas-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* CRSpit product modules */

.crs-teal {
  --crs: #128a82;
  --crs-2: #1aa89a;
}

.tab-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.6rem;
}

.tab-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: #128a82;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.tab-chip svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.module-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.6rem;
}

@media (min-width: 700px) {
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .module-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.module-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #128a82;
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.module-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.module-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 0.4rem 0 0;
}

.link-row a {
  font-weight: 600;
  font-size: 0.92rem;
}

/* —— Texas-built homepage —— */

.tx-home {
  background: var(--paper);
}

.tx-home h1,
.tx-home h2,
.tx-home .tx-display {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.tx-hero {
  position: relative;
  min-height: min(92vh, 820px);
  color: var(--cream);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.tx-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tx-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
}

.tx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 12, 8, 0.82) 0%, rgba(18, 12, 8, 0.45) 46%, rgba(18, 12, 8, 0.12) 100%),
    linear-gradient(180deg, rgba(18, 12, 8, 0.2) 0%, rgba(18, 12, 8, 0.55) 100%);
}

.tx-hero .wrap {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 3.4rem;
  max-width: 42rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  width: min(var(--max), calc(100% - 2rem));
}

.tx-star {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0c9a0;
  margin: 0 0 1rem;
}

.tx-star svg {
  width: 18px;
  height: 18px;
  fill: var(--star);
}

.tx-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  line-height: 1.02;
  color: #fff;
}

.tx-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #f0c9a0;
}

.tx-hero p.lead {
  margin: 0 0 1.6rem;
  font-size: 1.15rem;
  color: rgba(244, 234, 214, 0.9);
  max-width: 34rem;
}

.tx-band {
  background: var(--navy);
  color: var(--cream);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(196, 92, 38, 0.4);
  border-bottom: 1px solid rgba(196, 92, 38, 0.25);
}

.tx-band-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.8rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0c9a0;
}

.tx-moments {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 860px) {
  .tx-moments {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.tx-moment {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.tx-moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.tx-moment figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1.2rem 1.1rem;
  background: linear-gradient(transparent, rgba(18, 12, 8, 0.82));
  color: #fff;
  font-size: 0.95rem;
}

.tx-moment figcaption strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.tx-home .section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0.2rem;
}

.plat {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 20, 15, 0.14);
  color: var(--navy);
  background: #fff;
}

.plat.on {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.plat.soon {
  color: var(--muted);
  border-style: dashed;
}

.tx-product-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .tx-product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tx-product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.tx-product-photo {
  height: 210px;
  overflow: hidden;
  background: #ddd;
}

.tx-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-product-body {
  padding: 1.2rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.tx-product .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--star);
  margin: 0;
}

.tx-product h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--navy);
}

.tx-product .who {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.tx-shop {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

@media (min-width: 860px) {
  .tx-shop {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.tx-shop img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 280px;
  object-fit: cover;
}

.tx-home .cta-band {
  background:
    radial-gradient(700px 260px at 80% 0%, rgba(196, 92, 38, 0.28), transparent 70%),
    linear-gradient(160deg, #2a1d14, #1a140f);
}

@media (max-width: 700px) {
  .tx-hero {
    min-height: 78vh;
  }

  .tx-hero-photo img {
    object-position: 70% 20%;
  }

  .tx-hero .wrap {
    padding-top: 4.2rem;
  }
}

/* MarineServiceTech enterprise hub */

.hub-hero .tx-hero-photo img {
  object-position: 40% 40%;
}

.hub-flow {
  display: grid;
  gap: 0.9rem;
  counter-reset: hub;
}

@media (min-width: 800px) {
  .hub-flow {
    grid-template-columns: repeat(5, 1fr);
  }
}

.hub-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.05rem 1.15rem;
  box-shadow: var(--shadow);
}

.hub-step::before {
  counter-increment: hub;
  content: counter(hub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
}

.hub-step strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin: 0 0 0.3rem;
}

.hub-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hub-pair {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 860px) {
  .hub-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.hub-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hub-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hub-card-body {
  padding: 1.2rem 1.3rem 1.4rem;
}

.hub-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--navy);
}

.hub-card .who {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hub-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: #334556;
}

.hub-card li {
  margin: 0.28rem 0;
}
