:root {
  --black: #000000;
  --white: #ffffff;
  --gold: #ffbe03;
  --soft: #f0f3f5;
  --ink: #111111;
  --muted: #4e4e4e;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --shell: min(1140px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s linear;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell,
.narrow {
  width: var(--shell);
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 100px;
}

.brand img,
.footer-logo {
  width: 220px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.site-nav a {
  padding: 0 16px;
  color: var(--ink);
}

body.home .site-nav a {
  color: var(--white);
}

.site-nav a:hover,
.text-link:hover {
  color: var(--gold);
}

.nav-cta,
.button,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 20px 40px;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: var(--black);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 15px;
  box-shadow: none;
}

.button:hover,
.nav-cta:hover,
button[type="submit"]:hover {
  background: var(--black);
  color: var(--white);
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
  align-items: stretch;
  width: 100%;
}

.button-grid > a,
.button-grid > button {
  width: 100%;
  text-align: center;
}

.button-grid-compact {
  width: min(100%, 280px);
}

.button-grid-center {
  margin-left: auto;
  margin-right: auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

body.home .menu-toggle span {
  background: var(--white);
}

.hero,
.post-hero,
.list-hero {
  position: relative;
}

.hero {
  min-height: 100vh;
  margin-top: -100px;
  color: var(--white);
  background: var(--black);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 44%;
  gap: 100px;
  align-items: stretch;
  min-height: 100vh;
  padding: 200px 100px 100px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  padding-top: 40px;
}

.eyebrow,
.card-eyebrow,
.footer-eyebrow,
.meta,
.hero-mini {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.eyebrow,
.hero-mini {
  color: var(--gold);
}

.hero-copy h1,
.list-hero h1,
.post-hero h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-top: -10px;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero-copy h1 span {
  display: block;
  margin-top: 10px;
  font-size: 58px;
  color: var(--gold);
  line-height: 1.05;
}

.lead {
  max-width: 640px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

.hero-contact-rail {
  display: grid;
  gap: 16px;
}

.hero-divider {
  width: 50%;
  height: 1px;
  background: var(--gold);
}

.phone-prompt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.hero-actions {
  margin-top: 8px;
  justify-self: start;
}

.contact-card {
  align-self: center;
  padding: 30px 30px 50px;
  background: var(--soft);
  border-radius: 5px;
}

.card-eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
}

.contact-card h2 {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2em;
  color: var(--black);
}

.stack-form,
.newsletter-form,
.assessment-form {
  display: grid;
  gap: 16px;
}

input,
select,
textarea {
  width: 100%;
  height: auto;
  padding: 12px 15px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  background: var(--white);
  color: #666666;
  box-shadow: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.panel,
.post-hero,
.list-hero {
  padding: 100px 0;
}

.panel-light,
.list-hero,
.post-hero {
  background: var(--white);
}

.copy-block h2,
.reviews-head h2,
.newsletter-shell h2,
.assessment-aside h2,
.post-copy h2,
.post-copy h3,
.service-copy h3,
.process-copy h2,
.centered-block h2 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2em;
  color: var(--black);
}

.copy-block p,
.post-copy p,
.footer-stack span,
.footer-stack a,
.info-list span,
.info-list a,
.helper,
.reviews-head p,
.process-copy p,
.review-card p,
.prose p {
  color: var(--muted);
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: 0 40px;
  align-items: center;
}

.panel-light .split,
#reviews.panel-light,
#blogs.panel-light,
.newsletter.panel {
  background: var(--white);
}

#about.panel-light,
#reviews.panel-light,
#blogs.panel-light,
.newsletter.panel,
#contact.panel {
  padding-left: 40px;
  padding-right: 40px;
}

.image-frame img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.copy-block {
  display: grid;
  gap: 18px;
  justify-content: center;
}

.copy-block .button-grid {
  margin-top: 20px;
}

#services.panel {
  background: var(--soft);
  padding-left: 40px;
  padding-right: 40px;
}

#services .eyebrow,
#reviews .eyebrow,
#blogs .eyebrow,
#contact .eyebrow,
.newsletter .eyebrow,
.process-copy .eyebrow {
  text-align: center;
}

#services h2,
#reviews h2,
#blogs h2,
#contact h2,
.newsletter h2 {
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}

#services .eyebrow,
#reviews .eyebrow,
#blogs .eyebrow,
#contact .eyebrow,
.newsletter .eyebrow {
  margin-bottom: 14px;
}

#services h2,
#blogs h2,
.newsletter h2,
.process-copy h2 {
  margin-bottom: 18px;
}

.card-grid {
  display: grid;
  gap: 35px;
  align-items: stretch;
  margin-top: 30px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card,
.review-card,
.post-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card,
.review-card,
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.service-copy,
.post-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.service-copy h3 {
  font-size: 22px;
  line-height: 1.25;
}

.service-copy p,
.post-copy p {
  margin: 0;
}

.guide-shell {
  max-width: 100%;
  width: 100%;
  padding: 120px 40px 100px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    var(--guide-bg) center/cover no-repeat;
}

.guide-shell h2,
.guide-shell p {
  color: var(--gold);
}

.guide-shell h2 {
  margin-bottom: 18px;
}

.guide-shell p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--white);
}

.guide-shell .button-grid {
  margin-top: 40px;
}

#reviews.panel-light {
  padding-bottom: 30px;
}

.reviews-head {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-bottom: 30px;
  text-align: center;
}

.review-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.review-card {
  gap: 14px;
  padding: 24px;
}

.review-card h3 {
  font-size: 20px;
  margin-top: auto;
  padding-top: 4px;
}

.review-stars {
  margin: 0 0 16px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.process-panel {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    var(--process-bg) center/cover no-repeat;
  color: var(--white);
  padding: 100px 0;
}

.process-shell {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 80px;
  align-items: center;
}

.process-cards {
  display: grid;
  gap: 20px;
  padding: 60px 30px;
  background: var(--white);
}

.process-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.process-card h3 {
  margin-top: 2px;
  margin-bottom: 14px;
  color: var(--black);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.process-card p {
  margin: 0;
  color: var(--black);
  font-size: 14px;
}

.process-copy h2 {
  font-size: 45px;
  color: var(--white);
}

.process-copy p {
  max-width: 600px;
  color: var(--white);
}

.process-copy .button-grid {
  margin-top: 20px;
}

#contact.panel {
  padding-top: 100px;
}

.contact-grid {
  display: grid;
  gap: 60px;
}

.contact-grid .copy-block {
  gap: 20px;
}

.contact-grid h2,
.contact-grid .eyebrow {
  text-align: center;
}

.contact-grid .copy-block > p {
  width: 90%;
  max-width: 740px;
  margin: 0 auto 6px;
  text-align: center;
}

.info-list {
  display: grid;
  gap: 22px;
  margin-top: 10px;
  justify-items: center;
}

.info-list a,
.info-list span {
  font-size: 18px;
  line-height: 1.5;
  color: var(--black);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.post-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.post-card {
  border: 0;
}

.post-image img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.post-copy h3,
.post-copy h2 {
  font-size: 20px;
  line-height: 1.4em;
}

.post-copy {
  justify-content: flex-start;
}

.post-copy .text-link {
  margin-top: auto;
}

.post-copy .text-link {
  color: var(--gold);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.newsletter {
  background: var(--soft);
}

.newsletter-shell {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.newsletter-shell > div {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.newsletter-form {
  width: min(100%, 720px);
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  align-items: stretch;
  margin-top: 20px;
}

.newsletter-form button {
  width: 100%;
}

.site-footer {
  color: var(--white);
  background: #111111;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 40px;
  padding: 70px 0;
}

.footer-card {
  background: transparent;
}

.footer-tagline {
  margin: 20px 0 0;
  color: var(--white);
}

.footer-image {
  margin-top: 20px;
}

.social-row,
.footer-links,
.footer-stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.footer-links a,
.footer-stack a,
.social-row a {
  line-height: 1.5;
}

.social-row a,
.footer-links a,
.footer-stack a,
.footer-stack span {
  color: rgba(255, 255, 255, 0.9);
}

.footer-eyebrow {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 30px;
  color: rgba(255, 255, 255, 0.8);
}

.post-hero,
.list-hero {
  padding-top: 140px;
}

.post-hero-image {
  width: 100%;
  margin-top: 2rem;
}

.prose h2,
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 32px;
}

.assessment-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
}

.assessment-form {
  padding: 24px;
  background: var(--soft);
}

.form-actions {
  display: grid;
  gap: 12px;
}

fieldset {
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

legend {
  padding: 0 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

label {
  display: grid;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.aside-card {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--soft);
}

.aside-card .text-link {
  line-height: 1.5;
}

.helper {
  font-size: 14px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .contact-grid,
  .process-shell,
  .assessment-shell,
  .footer-grid,
  .form-grid-2,
  .form-grid-3,
  .form-grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 0;
  }

  .hero-grid {
    gap: 40px;
    min-height: 0;
    padding: 180px 40px 100px;
  }

  .hero-copy {
    padding-top: 0;
    text-align: center;
  }

  .hero-actions {
    justify-self: center;
  }

  .hero-divider {
    margin: 0 auto;
    width: 70%;
  }

  .contact-card {
    max-width: 700px;
    margin: 0 auto;
  }

  .split,
  #about.panel-light,
  #services.panel,
  #reviews.panel-light,
  #blogs.panel-light,
  .newsletter.panel,
  #contact.panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .copy-block,
  .contact-grid .copy-block,
  .process-copy {
    justify-items: center;
    text-align: center;
  }

  #services h2,
  #reviews h2,
  #blogs h2,
  #contact h2,
  .newsletter h2 {
    max-width: 100%;
  }

  .process-cards {
    order: 1;
    padding: 30px 20px;
  }

  .assessment-aside {
    order: -1;
  }

  .aside-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: absolute;
    background: transparent;
    border-bottom: 0;
  }

  body.inner .site-header {
    position: sticky;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .header-shell {
    min-height: 84px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.92);
    padding: 12px 0;
  }

  body.inner .site-nav {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 20px;
    color: var(--white);
  }

  body.inner .site-nav a {
    color: var(--ink);
  }

  .hero-grid {
    padding: 160px 20px 80px;
  }

  .hero-copy h1 {
    font-size: 34px;
    max-width: none;
  }

  .hero-copy h1 span {
    font-size: 34px;
  }

  .lead,
  .phone-prompt {
    font-size: 18px;
  }

  .copy-block h2,
  .reviews-head h2,
  .newsletter-shell h2,
  .assessment-aside h2,
  .post-copy h2,
  .post-copy h3,
  .service-copy h3,
  .process-copy h2,
  .centered-block h2,
  #services h2,
  #reviews h2,
  #blogs h2,
  #contact h2 {
    font-size: 28px;
  }

  .image-frame img {
    height: 390px;
  }

  .panel,
  .post-hero,
  .list-hero,
  .process-panel {
    padding: 80px 0;
  }

  .guide-shell {
    padding: 80px 20px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button-grid-compact {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
