/* site/css/style.css - Sewer Sharks */

:root {
  --deep-main: #0C1B24;
  --shark-blue: #0074C4;
  --signal-red: #CC1B1B;
  --camera-cyan: #66DAFF;
  --body-ink: #16232B;
  --steel: #5A6672;
  --white: #FFFFFF;
  --pipe-concrete: #ECF1F4;

  --font-display: 'Sarpanch', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Sarpanch:wght@700;800&family=Share+Tech+Mono&display=swap');

/* Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--body-ink);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--shark-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Layout Utilities */
.section-padding { padding: 6rem 0; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.max-w-md { max-width: 48rem; margin: 0 auto; }
.rounded-image { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.content-pad { padding: 2rem; }
.text-link { color: var(--shark-blue); font-weight: 600; }
.text-link:hover { color: var(--deep-main); }

/* Hero */
.hero-section { min-height: auto; height: auto; align-items: center; padding: 72px 44px 96px; display: flex; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-kicker { font-size: 0.85rem; color: var(--shark-blue); margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.hero-eyebrow { font-weight: 500; margin-bottom: 0.5rem; }
.hero-headline { font-size: 3.5rem; color: var(--deep-main); margin-bottom: 1.5rem; }
.hero-subhead { font-size: 1.125rem; margin-bottom: 2rem; max-width: 90%; }
.hero-ctas { display: flex; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero-micro-trust { display: grid; grid-template-columns: repeat(3, max-content); gap: 20px; font-size: 0.9rem; color: var(--steel); }
.trust-item { display: flex; align-items: center; gap: 0.5rem; }
.trust-item svg { width: 20px; height: 20px; }
@media (max-width: 768px) {
  .hero-micro-trust { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Trust Strip */
.trust-strip { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.trust-strip-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; font-family: var(--font-mono); color: var(--camera-cyan); text-align: center; }
.trust-strip-grid div { flex: 1 1 200px; }

@media (max-width: 768px) {
  .trust-strip {
    padding-left: 24px;
    padding-right: 24px;
  }
  .trust-strip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
  }
  .trust-strip-grid div {
    flex: none;
  }
  .trust-strip-grid div:nth-child(1),
  .trust-strip-grid div:nth-child(2) {
    grid-column: 1 / -1;
  }
}

/* Split Layout */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.split-layout.align-center { align-items: center; }
.section-title { font-size: 2.5rem; color: var(--deep-main); margin-bottom: 1.5rem; }
.lead-text { font-size: 1.5rem; color: var(--shark-blue); font-weight: 500; font-style: italic; }
.body-text { font-size: 1.125rem; color: var(--body-ink); margin-bottom: 1.5rem; }

/* Asymmetric Services Process */
.asymmetric-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--white);
  padding: 3rem 3rem 4rem 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.service-panel-main {
  padding-right: 3rem;
  border-right: 1px solid var(--pipe-concrete);
}
.service-panel-main h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--deep-main);
}
.service-panel-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.service-sub-panel {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--pipe-concrete);
}
.service-sub-panel:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.service-sub-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--deep-main);
}
.service-icon { color: var(--shark-blue); margin-bottom: 1.5rem; }
.service-sub-panel .service-icon { margin-bottom: 0; }
@media (max-width: 768px) {
  .asymmetric-services {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .service-panel-main {
    padding-right: 0;
    padding-bottom: 2rem;
    border-right: none;
    border-bottom: 1px solid var(--pipe-concrete);
  }
  .service-sub-panel {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
.bento-cell { padding: 3rem; border-radius: 12px; }
.bento-cell h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.bento-cell:nth-child(1) { grid-column: 1 / -1; }
@media (min-width: 992px) {
  .bento-grid { grid-template-columns: 2fr 1fr; }
  .bento-cell:nth-child(1) { grid-column: span 1; grid-row: span 2; }
  .bento-cell:nth-child(2) { grid-column: span 1; }
  .bento-cell:nth-child(3) { grid-column: 1; grid-row: 3; }
  .bento-cell:nth-child(4) { grid-column: 2; grid-row: 2 / span 2; }
}

/* Review Badge */
.review-badge { display: inline-block; padding: 0.75rem 1.5rem; background: var(--white); color: var(--deep-main); font-weight: 700; border-radius: 30px; text-decoration: none; }
.review-badge:hover { background: var(--pipe-concrete); }

/* Form */
.mock-form { background: var(--pipe-concrete); padding: 2.5rem; border-radius: 8px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--deep-main); }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--shark-blue); border-color: transparent; }

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-grid, .split-layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero-headline { font-size: 2.75rem; }
  .hero-section { padding: 2rem 0; min-height: auto; }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-deep-main { background-color: var(--deep-main); color: var(--white); }
.bg-pipe-concrete { background-color: var(--pipe-concrete); }

/* Typography Classes */
h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.mono-font { font-family: var(--font-mono); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: transform 0.2s, background-color 0.2s;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn-red {
  background-color: var(--signal-red);
  color: var(--white);
}
.btn-red:hover {
  background-color: #B21616;
  text-decoration: none;
}
.btn-outline-deep {
  background-color: transparent;
  color: var(--deep-main);
  border: 2px solid var(--deep-main);
}
.btn-outline-deep:hover {
  background-color: var(--deep-main);
  color: var(--white);
  text-decoration: none;
}

/* Preview Ribbon */
#preview-ribbon {
  background-color: #111;
  color: #eee;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  position: relative;
}
#preview-ribbon a {
  color: #fff;
  text-decoration: underline;
  margin-left: 1rem;
}
#preview-ribbon .dismiss-ribbon {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  margin-left: 1rem;
}

/* Header */
.site-header {
  background-color: var(--deep-main);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  width: 108px;
  height: auto;
  opacity: 1;
}
@media (max-width: 768px) {
  .logo img {
    width: 92px;
  }
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--camera-cyan);
}
.nav-links .call-cta {
  background-color: var(--signal-red);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links .call-cta:hover {
  background-color: #B21616;
  color: var(--white);
}

/* Mobile Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--signal-red);
  color: var(--white);
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  height: calc(64px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  z-index: 90;
  text-decoration: none;
}
@media (max-width: 768px) {
  .nav-links { display: none; } /* Simplified mobile header */
  .mobile-call-bar { display: flex; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* Footer */
.site-footer {
  background-color: var(--deep-main);
  color: var(--white);
  padding: 4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}
.footer-col a {
  color: var(--pipe-concrete);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-col a:hover {
  color: var(--camera-cyan);
}

/* Scope HUD & Monitor */
.scope-assembly {
  max-width: 616px; /* Caps assembly height to 520px */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scope-monitor {
  position: relative;
  background-color: var(--deep-main);
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(12,27,36,.22);
  width: 100%;
  padding: 16px 16px 0 16px;
}
.scope-foot {
  height: 18px;
  width: 68%;
  background-color: #0C1B24;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.05);
  border-radius: 0 0 8px 8px;
}
.scope-base {
  height: 24px;
  background-color: var(--deep-main);
  width: 100%;
}
@media (max-width: 768px) {
  .scope-base { height: 18px; }
  .scope-hud { padding: 12px !important; }
  .scope-monitor { padding: 12px 12px 0 12px; }
}
.scope-feed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.scope-feed-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9) grayscale(20%);
  transform: none;
  object-position: center;
}
.scope-hud {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  padding: 24px;
  color: var(--camera-cyan);
  font-family: var(--font-mono);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-shadow: 0 0 4px rgba(102, 218, 255, 0.5);
  box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}
.hud-top {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.hud-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 10;
}
.hud-rec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hud-rec-dot {
  width: 12px;
  height: 12px;
  background-color: #66DAFF;
  border-radius: 50%;
  animation: pulse-rec 2s infinite;
}
@keyframes pulse-rec {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}
.hud-scanline {
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: rgba(102, 218, 255, 0.3);
  box-shadow: 0 0 8px rgba(102, 218, 255, 0.5);
  animation: scan 6s linear infinite;
  pointer-events: none;
  z-index: 5;
}
@keyframes scan {
  from { top: 48px; }
  to { top: calc(100% - 48px); }
}
.scope-reticle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border: 1px solid rgba(102, 218, 255, 0.2);
  border-radius: 50%;
  z-index: 1;
}
.scope-reticle::before, .scope-reticle::after {
  content: ''; position: absolute; background: rgba(102, 218, 255, 0.2);
}
.scope-reticle::before { top: 50%; left: -10px; right: -10px; height: 1px; }
.scope-reticle::after { left: 50%; top: -10px; bottom: -10px; width: 1px; }
