/* ===== RAB-Web-2026 — Palantir/Anduril-inspired ===== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg-elevated: #111118;
  --bg-card: #13131b;
  --text: #e8e8ed;
  --text-dim: #b0b0be;
  --text-muted: #7a7a8e;
  --accent: #d4841a;
  --accent-glow: rgba(212, 132, 26, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Typography — cinematic scale --- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(24px, 4vw, 64px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

/* Graduated dark strip — ensures nav readability over any hero image */
.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav.scrolled::before {
  opacity: 0;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-logo .amp {
  color: var(--accent);
  font-weight: 400;
}

/* bannerLogo20.png (202×20) = smallest; bannerLogo30.png (302×30) compact; bannerLogo40.png (402×40) larger */
.nav-logo-img {
  height: 20px;   /* matches bannerLogo20.png native height — crisp at 1:1 in 72px nav */
  width: auto;
  max-width: 280px;
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.nav-logo:hover .nav-logo-img {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: 0.3s;
}

/* --- Hero — Massive, cinematic, full-viewport --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px clamp(24px, 6vw, 120px) 80px;
  overflow: hidden;
  background: url('assets/hero-bg.jpg') center center / cover no-repeat var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 15, 0.15) 0%, rgba(10, 10, 15, 0.30) 40%, rgba(10, 10, 15, 0.55) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212, 132, 26, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 30% 60%, rgba(100, 60, 180, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(30, 80, 160, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Tagline is now the sole hero statement — sized as cinematic headline.
   Uses vw-based sizing so text SCALES to fit viewport — never wraps.
   white-space: nowrap at ALL sizes; the <br> gives us exactly two lines. */
.hero-tagline {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.05rem, 5.2vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 48px;
  white-space: nowrap;
}

.hero-heritage {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

@keyframes float {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* --- Section shared styles --- */
section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) clamp(24px, 6vw, 120px);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  display: block;
}

.section-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  white-space: nowrap;
}

.section-subtext {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

/* --- Capabilities — Bento grid --- */
.capabilities {
  background:
    linear-gradient(to bottom, rgba(10, 10, 15, 0.60) 0%, rgba(10, 10, 15, 0.70) 50%, rgba(10, 10, 15, 0.82) 100%),
    url('assets/capabilities-bg.jpg') center center / cover no-repeat;
  background-color: var(--bg);
}

.capabilities-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  transition: border-color 0.4s, background 0.4s, transform 0.4s;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.bento-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.bento-card:hover::before {
  opacity: 1;
}

/* Make first card span full width for emphasis */
.bento-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.bento-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--accent);
  opacity: 0.8;
}

.bento-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
}

/* --- Augmented Intelligence — philosophy card (full-width below bento grid) --- */
.bento-card-philosophy {
  margin-top: 16px;
  max-width: 1200px;
}


/* --- Technology — Product logo strip (inside Capabilities) --- */
.tech-strip-wrapper {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
}

.tech-strip {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 40px);
  margin-top: 32px;
  flex-wrap: nowrap;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.tech-item:hover .tech-logo {
  opacity: 0.9;
}

.tech-item:hover .tech-descriptor {
  color: var(--text-dim);
}

.tech-logo {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.45;
  transition: opacity 0.4s;
}

/* SpotHawk logo has icon + text — render taller so text portion aligns with other logos */
.tech-logo-spothawk {
  height: 48px;
}

/* AWIS logo is 60px native — render taller so text portion aligns with other logos */
.tech-logo-awis {
  height: 48px;
}

.tech-descriptor {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0.02em;
  max-width: 180px;
  transition: color 0.4s;
}

.tech-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 8px;
}

/* --- Operations — Altitude visualization --- */
.operations {
  background:
    linear-gradient(to bottom, rgba(17, 17, 24, 0.45) 0%, rgba(17, 17, 24, 0.60) 50%, rgba(17, 17, 24, 0.75) 100%),
    url('assets/operations-bg.jpg') center center / cover no-repeat;
  background-color: var(--bg-elevated);
  overflow: hidden;
}

.operations-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "header viz"
    "body   viz";
  gap: 0 clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1200px;
}

.operations-text-header {
  grid-area: header;
  align-self: end;
}

.operations-text-body {
  grid-area: body;
  align-self: start;
  padding-top: 32px;
}

.altitude-viz {
  grid-area: viz;
}

.altitude-viz {
  position: relative;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.altitude-layer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  position: relative;
}

.altitude-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 120px;
  text-align: right;
  font-weight: 500;
}

.altitude-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
}

.altitude-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.2;
}

.altitude-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 132, 26, 0.4), transparent);
  max-width: 200px;
}

/* Vertical connector */
.altitude-viz::before {
  content: '';
  position: absolute;
  left: 144px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(212, 132, 26, 0.1));
  opacity: 0.3;
}

/* --- Domains — Cinematic cards --- */
.domains {
  background:
    linear-gradient(to bottom, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.65) 50%, rgba(10, 10, 15, 0.80) 100%),
    url('assets/domains-bg.jpg') center center / cover no-repeat;
  background-color: var(--bg);
}

.domains-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1200px;
}

.domain-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 4vw, 56px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.4s, transform 0.4s;
  cursor: default;
}

.domain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s;
}

.domain-card:nth-child(1)::before { background: linear-gradient(135deg, rgba(30, 100, 180, 0.08), transparent 60%); }
.domain-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(50, 160, 80, 0.08), transparent 60%); }
.domain-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(140, 80, 200, 0.08), transparent 60%); }
.domain-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(220, 100, 30, 0.08), transparent 60%); }

.domain-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.domain-card:hover::before {
  opacity: 1;
}

.domain-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  position: relative;
}

.domain-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
  max-width: 400px;
  position: relative;
}

.domain-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
  font-weight: 500;
  position: relative;
}

/* --- About — Statement section --- */
.about {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.about-content {
  max-width: 800px;
}

.about-statement {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 32px;
}

.about-statement strong {
  font-weight: 600;
  color: var(--text);
}

.about-body {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 600px;
  font-weight: 300;
}

/* --- Our Name — Philosophy micro-section --- */
.our-name {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.our-name-content {
  max-width: 680px;
}

.our-name-statement {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 32px;
}

.our-name-body {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.our-name-body:last-of-type {
  margin-bottom: 36px;
}

.our-name-closer {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.4;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* --- Contact --- */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  display: flex;
  gap: clamp(32px, 4vw, 64px);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item .label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-item .value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
  transition: color 0.3s;
}

.contact-item a.value:hover {
  color: var(--accent);
}

/* --- Footer --- */
.footer {
  padding: 32px clamp(24px, 6vw, 120px);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-trademarks,
.footer-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* --- Day / Night Theme: background image sets ---
   JS (script.js) checks UTC hour on load + every 60s:
     Day   = UTC 06:00–17:59  →  data-theme="day"   on <html>
     Night = UTC 18:00–05:59  →  data-theme="night" on <html>
   Dark UI chrome (cards, text, nav, accents) is identical in both themes.
   Only the section background photos and their overlay intensities change.
   Day images (bright source, heavier overlay):  assets/*-day.png
   Night images (current defaults):              assets/*.jpg
   To swap in new day images, replace the *-day.png files in assets/.
---------------------------------------------------------------------- */

/* --- Night theme (default — no selector needed, already defined above) --- */

/* --- Day theme overrides --- */

/* Hero — swap to day image, heavier overlay to manage bright source */
[data-theme="day"] .hero {
  background-image: url('assets/hero-bg-day.png');
}

[data-theme="day"] .hero::before {
  background:
    linear-gradient(to bottom, rgba(10, 10, 15, 0.28) 0%, rgba(10, 10, 15, 0.42) 40%, rgba(10, 10, 15, 0.62) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212, 132, 26, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 30% 60%, rgba(100, 60, 180, 0.02) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(30, 80, 160, 0.02) 0%, transparent 60%);
}

/* Capabilities — day image */
[data-theme="day"] .capabilities {
  background:
    linear-gradient(to bottom, rgba(10, 10, 15, 0.65) 0%, rgba(10, 10, 15, 0.74) 50%, rgba(10, 10, 15, 0.84) 100%),
    url('assets/capabilities-bg-day.png') center center / cover no-repeat;
  background-color: var(--bg);
}

/* Operations — day image */
[data-theme="day"] .operations {
  background:
    linear-gradient(to bottom, rgba(17, 17, 24, 0.55) 0%, rgba(17, 17, 24, 0.68) 50%, rgba(17, 17, 24, 0.80) 100%),
    url('assets/operations-bg-day.png') center center / cover no-repeat;
  background-color: var(--bg-elevated);
}

/* Domains — day image */
[data-theme="day"] .domains {
  background:
    linear-gradient(to bottom, rgba(10, 10, 15, 0.62) 0%, rgba(10, 10, 15, 0.72) 50%, rgba(10, 10, 15, 0.84) 100%),
    url('assets/domains-bg-day.png') center center / cover no-repeat;
  background-color: var(--bg);
}

/* --- Scroll animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--bg);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open a {
    font-size: 1.2rem;
    color: var(--text);
  }

  /* Section headings: allow wrapping, hide hard <br> tags so text reflows naturally */
  .section-heading {
    white-space: normal;
    text-wrap: balance;
  }

  .section-heading br {
    display: none;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.featured {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .operations-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "viz"
      "body";
    gap: 0;
  }

  .operations-text-header {
    align-self: auto;
    margin-bottom: 32px;
  }

  .operations-text-body {
    align-self: auto;
    padding-top: 32px;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .altitude-viz {
    height: auto;
    gap: 8px;
  }

  /* Altitude labels: keep original width so "STRATOSPHERIC" fits */
  .altitude-label {
    width: 100px;
    font-size: 0.65rem;
  }

  .altitude-viz::before {
    left: calc(100px + 24px);
  }

  /* Tech strip: 2-col grid on tablet, dividers hidden */
  .tech-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    justify-items: center;
  }

  .tech-divider {
    display: none;
  }

  .tech-item {
    flex: none;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  /* Hero tagline: NEVER override white-space — it stays nowrap.
     The vw-based font-size in the base rule scales it down to fit. */

  .section-heading {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  section {
    padding: 60px 20px;
  }

  .contact-info {
    flex-direction: column;
    gap: 24px;
  }

  /* Domain cards: reduce min-height on phone */
  .domain-card {
    min-height: 180px;
  }

  /* Footer: slightly smaller text on phone */
  .footer-trademarks {
    font-size: 0.65rem;
    line-height: 1.6;
  }

  /* Tech strip: single column on very small phones */
  .tech-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tech-logo-spothawk,
  .tech-logo-awis {
    height: 36px;
  }

  .tech-descriptor {
    max-width: 240px;
  }
}

@media (max-width: 380px) {
  /* Very small phones — tighten hero further */
  .hero {
    padding: 100px 16px 60px;
  }

  section {
    padding: 48px 16px;
  }

  .bento-card {
    padding: 24px;
  }
}
