/* Baum Shelter LLC — production stylesheet.
   Brand tokens (navy ground / cyan accent) + only the component and page
   styles used on this single page. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #0e1626;
  --color-surface: #182136;
  --color-text: #e8edf5;
  --color-divider: rgba(232, 237, 245, 0.16);

  --color-accent-100: #edfbfe;
  --color-accent-200: #d3f3fa;
  --color-accent-300: #a9e4f0;
  --color-accent-400: #7bd6e8;
  --color-accent-500: #4cc9e0;
  --color-accent-600: #38a0b5;
  --color-accent-700: #2b7a8b;
  --color-accent-800: #1f5765;
  --color-accent-900: #143a46;
  --color-accent: var(--color-accent-500);

  --color-neutral-100: #f3f5fe;
  --color-neutral-200: #e4e7f5;
  --color-neutral-300: #cfd3e5;
  --color-neutral-400: #b2b6ca;
  --color-neutral-500: #9397ab;
  --color-neutral-600: #75798c;
  --color-neutral-700: #595d6c;
  --color-neutral-800: #3f424d;
  --color-neutral-900: #292b31;

  --color-section: #142a5c;
  --color-section-glow: #1e3f82;
  --color-section-ghost: #3a5ea6;

  --font-heading: "Inter", system-ui, sans-serif;
  --font-heading-weight: 500;
  --font-body: "Inter", system-ui, sans-serif;

  --space-1: 2.8px;
  --space-2: 5.6px;
  --space-3: 8.4px;
  --space-4: 11.2px;
  --space-6: 16.8px;
  --space-8: 22.4px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 0 0 1px var(--color-neutral-800), 0 6px 18px rgba(0, 0, 0, 0.35);

  --gutter: clamp(20px, 5vw, 72px);
  --content-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  position: relative;
}

/* Fixed decorative background layer — the "lit ground". Sits behind all
   content, ignores pointer events, does not scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 720px at 82% -160px, rgba(20, 58, 70, 0.8), transparent 60%),
    radial-gradient(900px 600px at 30% -120px, rgba(30, 63, 130, 0.45), transparent 60%),
    radial-gradient(1100px 800px at -10% 100%, rgba(0, 0, 0, 0.32), transparent 55%);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  margin: 0;
}

p { margin: 0; }

a {
  color: var(--color-accent-300);
  text-decoration: none;
}
a:hover { color: var(--color-accent); }

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

.lighten { mix-blend-mode: lighten; background-color: transparent; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* — layout — */
.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* — fading rule (Nocturne signature: fades to transparent over 48px each end) — */
.rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-divider) 48px calc(100% - 48px), transparent);
}
.rule-neutral {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-neutral-700) 48px calc(100% - 48px), transparent);
}

/* — kicker — */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-feature-settings: 'tnum' 1;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.kicker-on-band { color: var(--color-accent-300); }

/* — buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 14px;
  line-height: 1.2;
  background: transparent;
  border: 1px solid transparent;
  padding: 5.6px 10px;
  border-radius: var(--radius-md);
}
.btn-primary {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-primary:hover { background: rgba(76, 201, 224, 0.12); }
.btn-primary:active { background: rgba(76, 201, 224, 0.22); }
.btn-ghost {
  color: var(--color-accent);
  padding-inline: var(--space-1);
}
.btn-ghost:hover { background: rgba(76, 201, 224, 0.1); }
.btn-ghost:active { background: rgba(76, 201, 224, 0.18); }

/* — nav — */
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11.2px;
  padding: 8.4px 11.2px;
  padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter)));
}
.nav-brand {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 18px;
  color: var(--color-text);
  margin-right: auto;
}
.nav-link {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
}
.nav-link:hover { color: var(--color-accent); }

/* — hero — */
.hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 84px);
}
.hero-title {
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-left: -0.06em;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  max-width: 58ch;
  margin-top: 34px;
  color: var(--color-text);
}
.hero-actions {
  display: flex;
  gap: 8.4px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* — section titles — */
.section-title {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.section-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(232, 237, 245, 0.78);
  max-width: 58ch;
  margin-top: 18px;
}

/* — services — */
.services {
  padding: clamp(40px, 5vw, 70px) 0 clamp(28px, 4vw, 56px);
}
.service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 48px;
  padding: 40px 0;
}
.service-num {
  width: 48px;
  flex: none;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 15px;
  color: var(--color-accent);
  font-feature-settings: 'tnum' 1;
}
.service-title {
  flex: 0 1 320px;
  min-width: 220px;
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: var(--font-heading-weight);
}
.service-copy {
  flex: 1 1 340px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(232, 237, 245, 0.78);
  max-width: 52ch;
}

/* — about — */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 40px clamp(32px, 5vw, 88px);
  align-items: center;
  padding: clamp(40px, 5vw, 70px) 0 clamp(56px, 7vw, 96px);
}
.about-title { font-size: 32px; line-height: 1.25; letter-spacing: -0.012em; }
.about-copy {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(232, 237, 245, 0.78);
  max-width: 48ch;
}
.about-copy + .about-copy { margin-top: 18px; }
.about-copy:first-of-type { margin-top: 22px; }
.about-figure { margin: 0; }
.photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 20% 15%, rgba(76, 201, 224, 0.28), transparent 60%),
    var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-placeholder svg { width: 42%; height: 42%; opacity: 0.5; }

/* — testimonials band — */
.testimonials {
  background:
    radial-gradient(900px 420px at 85% -40%, rgba(30, 63, 130, 0.7), transparent 64%),
    var(--color-section);
  padding: clamp(56px, 7vw, 84px) 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px clamp(40px, 5vw, 96px);
  margin-top: 42px;
}
.testimonial-quote {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 36ch;
  text-indent: -0.474em;
}
.testimonial-attribution {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(232, 237, 245, 0.64);
  margin-top: 24px;
  text-indent: -1.267em;
}

/* — contact — */
.contact {
  padding: clamp(56px, 7vw, 84px) 0 clamp(40px, 5vw, 56px);
}
.contact-form {
  max-width: 620px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
  color: rgba(232, 237, 245, 0.64);
}
.input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  color: var(--color-text);
  caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}
.input:hover { border-color: rgba(232, 237, 245, 0.45); }
textarea.input {
  resize: vertical;
  font-family: var(--font-body);
  line-height: 1.55;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-error {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(232, 237, 245, 0.64);
}
.contact-success {
  max-width: 620px;
  margin-top: 32px;
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.card-kicker {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.contact-success p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
}

/* — footer — */
.footer-rule { margin: 0; }
.footer {
  padding: 40px 0 48px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(232, 237, 245, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
}
