:root {
  --navy-950: #081321;
  --navy-900: #0d1b2f;
  --navy-850: #12233b;
  --navy-800: #17304d;
  --gold-400: #d7a85a;
  --gold-300: #ead6a8;
  --ivory-100: #f5efe5;
  --ivory-200: #efe4d3;
  --ink-900: #17253c;
  --ink-700: #445066;
  --line-dark: rgba(233, 214, 168, 0.26);
  --line-light: rgba(23, 37, 60, 0.12);
  --shadow: 0 30px 80px rgba(6, 14, 24, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ivory-100);
  background: var(--navy-950);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  transition: background 220ms ease, padding 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding: 0.8rem 1.4rem;
  background: rgba(8, 19, 33, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 214, 168, 0.12);
}

.brand img {
  width: min(360px, 48vw);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-weight: 600;
  color: rgba(245, 239, 229, 0.9);
}

.site-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero,
.connect-section {
  position: relative;
  min-height: 100svh;
  overflow: clip;
}

.hero-media,
.connect-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-media {
  background-image: url("./assets/road-connect.jpg");
  background-position: center right;
}

.connect-media {
  background-image: url("./assets/road-connect.jpg");
  background-position: center center;
}

.hero-shade,
.connect-shade {
  position: absolute;
  inset: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 19, 33, 0.94) 0%, rgba(8, 19, 33, 0.78) 42%, rgba(8, 19, 33, 0.35) 100%),
    radial-gradient(circle at 78% 18%, rgba(234, 214, 168, 0.12), transparent 18%);
}

.connect-shade {
  background:
    linear-gradient(90deg, rgba(245, 239, 229, 0.9) 0%, rgba(245, 239, 229, 0.78) 42%, rgba(245, 239, 229, 0.12) 100%),
    linear-gradient(180deg, rgba(245, 239, 229, 0.02), rgba(245, 239, 229, 0.02));
}

.hero-inner,
.connect-inner,
.about-band-inner,
.services-section,
.outcomes-section {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-inner,
.connect-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  padding: 8rem 0 3rem;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 42rem;
  margin-left: max(1rem, calc((100% - 1200px) / 2));
}

.connect-inner {
  padding: 6rem 0 2.5rem;
  color: var(--ink-900);
  max-width: 42rem;
  margin-left: max(1rem, calc((100% - 1200px) / 2));
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.connect-inner .eyebrow,
.outcomes-section .eyebrow {
  color: var(--gold-400);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.7rem, 8vw, 6.7rem);
  line-height: 0.94;
  max-width: 10ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.97;
  text-wrap: balance;
}

h3 {
  font-size: 1.9rem;
  line-height: 1.05;
}

.hero h1 .gold,
h1 .gold {
  color: var(--gold-400);
}

.hero-divider {
  width: 22rem;
  max-width: 100%;
  height: 1px;
  margin: 1.6rem 0 1.4rem;
  background: linear-gradient(90deg, var(--gold-400), rgba(215, 168, 90, 0.08));
}

.lede,
.section-copy,
.about-band p,
.network-line {
  margin: 0;
  line-height: 1.75;
  font-size: 1.08rem;
}

.lede,
.section-copy {
  max-width: 42rem;
}

.lede {
  color: rgba(245, 239, 229, 0.9);
}

.hero-actions,
.services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold-400);
  color: var(--navy-950);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e2b66f;
}

.button-secondary {
  border-color: rgba(245, 239, 229, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.hero-tag,
.values {
  margin: 2.3rem 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-tag {
  color: rgba(233, 214, 168, 0.88);
}

.about-band {
  background:
    linear-gradient(180deg, rgba(10, 20, 33, 0.98), rgba(10, 20, 33, 0.92)),
    radial-gradient(circle at 20% 50%, rgba(215, 168, 90, 0.1), transparent 32%);
  border-top: 1px solid rgba(233, 214, 168, 0.12);
  border-bottom: 1px solid rgba(233, 214, 168, 0.12);
}

.about-band-inner {
  padding: 2.2rem 0;
}

.about-band p {
  max-width: 66rem;
  color: rgba(245, 239, 229, 0.88);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.services-section {
  padding: 5rem 0;
}

.services-header {
  max-width: 50rem;
}

.services-header h2 {
  max-width: 11ch;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 1.35rem;
  margin-top: 2.3rem;
  align-items: stretch;
}

.services-visual {
  min-height: 28rem;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.services-visual img,
.outcomes-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.2rem 1.15rem 1.25rem;
  border: 1px solid var(--line-dark);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(19, 35, 59, 0.92), rgba(14, 27, 47, 0.96));
  box-shadow: inset 0 1px 0 rgba(245, 239, 229, 0.06);
}

.service-card h3 {
  color: var(--gold-300);
  font-size: 2rem;
}

.service-card p {
  margin: 0.7rem 0 0;
  color: rgba(245, 239, 229, 0.84);
  line-height: 1.7;
}

.outcomes-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--ivory-100), var(--ivory-200));
  color: var(--ink-900);
}

.outcomes-copy {
  max-width: 50rem;
}

.outcomes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 1.5rem;
  margin-top: 2.3rem;
  align-items: stretch;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.area-grid div {
  display: grid;
  place-items: center;
  min-height: 9rem;
  padding: 1rem;
  border: 1px solid var(--line-light);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.56);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  text-align: center;
  box-shadow: 0 16px 36px rgba(23, 37, 60, 0.06);
}

.outcomes-visual {
  min-height: 30rem;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(23, 37, 60, 0.14);
}

.outcomes-line {
  margin: 1.8rem 0 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--ink-900);
}

.network-line {
  margin-top: 1.6rem;
  max-width: 33rem;
  color: var(--ink-900);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-item {
  padding: 1rem 1.05rem 1.15rem;
  border: 1px solid rgba(23, 37, 60, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink-900);
  box-shadow: 0 18px 44px rgba(23, 37, 60, 0.08);
}

.contact-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink-700);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item strong {
  font-size: 1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  font-weight: 700;
}

.social-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.social-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.social-links a:hover::after,
.social-links a:focus-visible::after {
  transform: scaleX(1);
}

.tagline {
  margin: 2.4rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--navy-900);
}

.values {
  color: rgba(23, 37, 60, 0.78);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .services-layout,
  .outcomes-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .connect-inner {
    margin-left: auto;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding: 0.9rem 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 1rem;
  }

  .hero-inner,
  .connect-inner {
    width: min(100% - 1.5rem, 1200px);
  }

  .service-grid,
  .contact-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-inner,
  .connect-inner,
  .about-band-inner,
  .services-section,
  .outcomes-section {
    width: min(100% - 1rem, 1200px);
  }

  .hero-inner {
    padding-top: 8.8rem;
    padding-bottom: 2.4rem;
  }

  .hero-actions,
  .services-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .tagline {
    font-size: 2.7rem;
  }
}
