:root {
  --ink: #17211d;
  --muted: #5f6d66;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dfe4dc;
  --sage: #617466;
  --sage-dark: #2f493e;
  --copper: #b66f42;
  --blue: #315a76;
  --shadow: 0 24px 70px rgba(23, 33, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(16, 28, 24, 0.82), rgba(16, 28, 24, 0));
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  letter-spacing: 0;
}

nav a {
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}

.nav-phone {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 64px) 64px;
  color: #fff;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 30, 25, 0.92), rgba(14, 30, 25, 0.72) 42%, rgba(14, 30, 25, 0.32)),
    linear-gradient(0deg, rgba(14, 30, 25, 0.78), rgba(14, 30, 25, 0.1) 42%),
    url("brian-hero-new.jpg") center / cover;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 32, 28, 0.2);
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b27b;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 12vw, 8.7rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.contact-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #15221d;
  background: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  align-self: center;
  width: min(100%, 420px);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel img {
  display: block;
  width: 100%;
  height: min(58vh, 520px);
  aspect-ratio: 6 / 7;
  object-fit: cover;
}

.hero-panel div {
  display: grid;
  gap: 2px;
  padding: 18px;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.intro p:last-child {
  max-width: 660px;
  align-self: end;
  color: var(--muted);
  font-size: 1.18rem;
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.service-grid,
.credential-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.credential-list div,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-grid article {
  min-height: 250px;
  padding: 28px;
}

.service-grid p,
.timeline p,
.credential-list p,
.contact p {
  color: var(--muted);
}

.proof {
  background: #eef2ec;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.4fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
}

.stat-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.stat-list div {
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background: var(--sage-dark);
}

.stat-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.92;
}

.stat-list span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 28px;
}

.timeline span,
.credential-list span {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credentials {
  background: var(--surface);
}

.credential-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-list div {
  min-height: 190px;
  padding: 26px;
}

.credential-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  color: #fff;
  background: var(--sage-dark);
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  justify-content: flex-end;
}

.contact-actions a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: #111a17;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .proof-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .hero-panel {
    width: min(100%, 360px);
    margin: 0;
  }

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

  .credential-list {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  nav a[href^="mailto"] {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

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

  .service-grid article {
    min-height: auto;
  }

  .button,
  .contact-actions a {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
