:root {
  --bg-1: #150506;
  --bg-2: #25080b;
  --bg-3: #341015;

  --maroon: #6c131a;
  --blue: #1e428f;

  --header-bg: #ffffff;
  --header-border: rgba(44, 32, 27, 0.14);
  --header-text: #2a201b;

  --text-main: #f7efe8;
  --text-soft: rgba(247, 239, 232, 0.84);
  --text-faint: rgba(247, 239, 232, 0.62);

  --white-section-bg: #f7f4ef;
  --white-section-border: rgba(48, 37, 31, 0.10);
  --white-section-text: #342a25;
  --white-section-soft: rgba(52, 42, 37, 0.72);
  --white-card-bg: rgba(255, 255, 255, 0.78);
  --white-card-border: rgba(48, 37, 31, 0.10);

  --contact-bg-top: #1c1f23;
  --contact-bg-bottom: #111315;
  --contact-border: rgba(255, 255, 255, 0.08);

  --footer-bg: #070809;
  --footer-border: rgba(255, 255, 255, 0.08);

  --content-width: 1180px;
  --hero-width: 780px;
  --contact-width: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at 14% 18%, rgba(185, 64, 81, 0.18), transparent 22%),
    radial-gradient(circle at 84% 16%, rgba(76, 98, 183, 0.11), transparent 20%),
    radial-gradient(circle at 50% 110%, rgba(255, 220, 196, 0.08), transparent 28%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 42%, var(--bg-3) 100%);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(96px);
  mix-blend-mode: screen;
  opacity: 0.95;
}

.blob-1 {
  width: 34rem;
  height: 34rem;
  top: -8rem;
  left: -6rem;
  background: rgba(187, 48, 66, 0.22);
}

.blob-2 {
  width: 28rem;
  height: 28rem;
  top: 18%;
  right: -7rem;
  background: rgba(74, 96, 190, 0.16);
}

.blob-3 {
  width: 30rem;
  height: 30rem;
  bottom: -10rem;
  left: 22%;
  background: rgba(255, 216, 188, 0.12);
}

.blob-4 {
  width: 22rem;
  height: 22rem;
  bottom: 14%;
  right: 18%;
  background: rgba(160, 66, 78, 0.12);
  filter: blur(82px);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.85) 0.45px, transparent 0.6px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.65) 0.45px, transparent 0.6px);
  background-size: 28px 28px, 30px 30px;
  mix-blend-mode: soft-light;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.20) 100%);
}

.header-band {
  position: relative;
  z-index: 5;
  width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.001em;
  line-height: 1;
  text-decoration: none;
  color: var(--header-text);
}

.brand .kell {
  color: var(--maroon);
}

.brand .dann {
  color: var(--blue);
}

.shell {
  position: relative;
  z-index: 3;
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 56px 0 64px;
  flex: 0 0 auto;
}

.hero {
  width: min(var(--hero-width), 100%);
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero-circuit {
  position: absolute;
  inset: -30px -140px -34px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-circuit svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-circuit-traces path {
  fill: none;
  stroke: rgba(255, 241, 232, 0.14);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-circuit-nodes circle {
  fill: rgba(255, 241, 232, 0.16);
}

.hero-circuit-signals circle {
  fill: rgba(255, 241, 232, 0.24);
}

.hero > *:not(.hero-circuit) {
  position: relative;
  z-index: 1;
}


.hero::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 78%);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 241, 232, 0.10),
    rgba(255, 241, 232, 0.32),
    rgba(255, 241, 232, 0.10),
    transparent
  );
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.35rem;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 241, 232, 0.34),
    transparent
  );
}

.lede-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.lede-wrap::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.25rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 20%,
    rgba(255,255,255,0.28) 50%,
    rgba(255,255,255,0.08) 80%,
    transparent 100%
  );
}

.lede {
  margin: 0 auto 1.15rem;
  max-width: 16ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.rule {
  width: min(210px, 28vw);
  height: 1px;
  margin: 1.45rem auto 1.6rem;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 241, 232, 0.74),
    transparent
  );
}

.subtext {
  margin: 0 auto;
  max-width: 35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.34rem, 2.1vw, 1.8rem);
  line-height: 1.45;
  color: var(--text-soft);
  text-wrap: pretty;
}

.subtext em {
  font-style: normal;
  color: #fff7f1;
}

.white-section {
  position: relative;
  z-index: 4;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,244,239,0.98) 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--white-section-border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.70),
    0 -18px 36px rgba(0, 0, 0, 0.08);
}

.white-inner {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 42px 0 44px;
}

.white-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.white-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.92fr) minmax(0, 1.5fr);
  gap: 28px;
  align-items: center;
  background: var(--white-card-bg);
  border: 1px solid var(--white-card-border);
  padding: 28px;
  min-height: 100px;
  box-shadow:
    0 12px 24px rgba(20, 16, 14, 0.04),
    inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
}

.white-card.reverse {
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.92fr);
}

.white-card-media,
.white-card-content {
  min-width: 0;
}

.white-card-media {
  width: 100%;
}

.white-card.reverse .white-card-media {
  order: 2;
}

.white-card.reverse .white-card-content {
  order: 1;
}

.white-card-image {
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  text-align: center;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(52, 42, 37, 0.46);
}

.white-card-image img {
  display: block;
  height: auto;
  max-width: 100%;
}

.white-card-label {
  margin-bottom: 0.7rem;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(52, 42, 37, 0.48);
}

.white-card-title {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1.05;
  color: var(--white-section-text);
}

.white-card-copy {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--white-section-soft);
}

.white-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-section-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 42, 37, 0.2);
  padding-bottom: 0.16rem;
  transition: color 180ms ease, border-color 180ms ease;
}

.white-card-link:hover,
.white-card-link:focus-visible {
  color: var(--blue);
  border-color: rgba(30, 66, 143, 0.5);
  outline: none;
}

.contact-section {
  position: relative;
  z-index: 4;
  width: 100%;
  background: linear-gradient(180deg, var(--contact-bg-top) 0%, var(--contact-bg-bottom) 100%);
  border-top: 1px solid var(--contact-border);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 -18px 40px rgba(0, 0, 0, 0.12);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-inner {
  width: min(var(--contact-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0 38px;
  position: relative;
}

.contact-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
}

.contact-block {
  margin: 0 auto;
  max-width: 31rem;
  text-align: center;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(247, 239, 232, 0.82);
  letter-spacing: 0.04em;
}

.contact-block a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 239, 232, 0.18);
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-block a:hover,
.contact-block a:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  outline: none;
}

.footer {
  position: relative;
  z-index: 4;
  width: 100%;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer-inner {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 16px 0 18px;
  text-align: center;
}

.footer-line {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 239, 232, 0.46);
}

@media (max-width: 1100px) {
  .hero-circuit {
    inset: -22px -72px -26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-circuit-signals {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-inner,
  .shell,
  .white-inner,
  .contact-inner,
  .footer-inner {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .shell {
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .white-card,
  .white-card.reverse {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 18px;
    min-height: 0;
  }

  .white-card.reverse .white-card-media,
  .white-card.reverse .white-card-content {
    order: initial;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .shell,
  .white-inner,
  .contact-inner,
  .footer-inner {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .header-inner {
    min-height: 82px;
    justify-content: center;
    text-align: center;
  }

  .shell {
    padding: 34px 0 42px;
  }

  .hero-circuit {
    inset: -16px -18px -18px;
  }

  .hero-circuit-traces path {
    stroke-width: 1.7;
  }

  .lede {
    max-width: 14ch;
  }

  .subtext {
    max-width: 30rem;
  }

  .white-inner {
    padding: 30px 0 32px;
  }

  .white-card {
    padding: 18px 16px 16px;
  }

  .contact-block {
    font-size: 0.84rem;
    line-height: 1.8;
  }

  .blob-1 {
    width: 26rem;
    height: 26rem;
  }

  .blob-2 {
    width: 22rem;
    height: 22rem;
  }

  .blob-3 {
    width: 24rem;
    height: 24rem;
  }
}