:root {
  color-scheme: dark;
  --bg: #050505;
  --text: #f5f2ea;
  --muted: #a9a8a1;
  --faint: #696963;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #4c9bff;
  --accent-soft: rgba(76, 155, 255, 0.2);
  --max-width: 1380px;
  --page-pad: 64px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 68% 45%, rgba(255, 255, 255, 0.055), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family:
    "Avenir Next",
    "SF Pro Display",
    "Segoe UI",
    system-ui,
    sans-serif;
  letter-spacing: 0;
}

.shader-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  opacity: 0.62;
  filter: saturate(0.58) contrast(0.92);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 44px var(--page-pad) 42px;
  overflow: hidden;
  isolation: isolate;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 72%, transparent);
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.42) 48%, rgba(5, 5, 5, 0.74)),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.34), transparent 44%, rgba(5, 5, 5, 0.88));
}

.ambient {
  position: absolute;
  right: -12%;
  top: 16%;
  z-index: -1;
  width: 520px;
  height: 520px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 155, 255, 0.09), transparent 68%);
  filter: blur(10px);
  opacity: 0.65;
}

.brand-row {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.brand-mark {
  margin: 0;
  color: rgba(245, 242, 234, 0.94);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1;
}

.hero {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  padding: 42px 0 58px;
}

.hero-copy {
  width: 100%;
  transform: translateY(-5px);
  animation: reveal-up 900ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

h1 {
  max-width: min(1180px, 100%);
  margin: 0;
  color: var(--text);
  font-family:
    "Avenir Next",
    "SF Pro Display",
    "Segoe UI",
    system-ui,
    sans-serif;
  font-size: 7.45rem;
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 em {
  font-family:
    "Iowan Old Style",
    "Palatino",
    "Georgia",
    serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.86;
  overflow-wrap: break-word;
}

.service-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  max-width: 920px;
  margin: 62px 0 0;
  color: rgba(245, 242, 234, 0.74);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.service-line span {
  display: inline-flex;
  align-items: center;
}

.service-line span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-soft);
}

.business-info {
  border-top: 1px solid var(--line);
  animation: reveal-up 900ms 120ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

.business-info dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin: 0;
  padding: 34px 0 0;
}

.business-info div {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
  padding-left: 18px;
}

.business-info div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 2px;
  height: 1.35em;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-soft);
}

.business-info dt {
  flex: 0 0 auto;
  color: rgba(245, 242, 234, 0.56);
  font-size: 0.92rem;
  font-weight: 600;
}

.business-info dd {
  min-width: 0;
  margin: 0;
  color: rgba(245, 242, 234, 0.78);
  font-size: 0.98rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.business-info a {
  transition:
    color 420ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 420ms cubic-bezier(0.32, 0.72, 0, 1);
}

.business-info a:hover {
  color: var(--text);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  :root {
    --page-pad: 44px;
  }

  h1 {
    font-size: 5.9rem;
  }
}

@media (max-width: 860px) {
  :root {
    --page-pad: 28px;
  }

  .shader-canvas {
    opacity: 0.46;
  }

  .site-shell {
    padding-top: 32px;
    padding-bottom: 30px;
  }

  .hero {
    padding: 52px 0 46px;
  }

  h1 {
    font-size: 4.05rem;
    line-height: 1.02;
  }

  .lead {
    margin-top: 34px;
    font-size: 1rem;
  }

  .service-line {
    margin-top: 46px;
    font-size: 0.95rem;
  }

  .business-info dl {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 26px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 20px;
  }

  .site-shell {
    min-height: 100vh;
    min-height: 100svh;
  }

  .brand-mark {
    font-size: 0.94rem;
  }

  .hero {
    align-items: start;
    padding: 64px 0 42px;
  }

  h1 {
    font-size: 2.12rem;
    line-height: 1.08;
  }

  .lead br {
    display: initial;
  }

  .lead {
    font-size: 0.94rem;
    overflow-wrap: anywhere;
  }

  .service-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 40px;
  }

  .service-line span:not(:last-child)::after {
    display: none;
  }

  .business-info div {
    display: block;
  }

  .business-info dt {
    margin-bottom: 4px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shader-canvas {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
