:root {
  color-scheme: light;
  --ink: #122126;
  --muted: #53676d;
  --line: rgba(18, 33, 38, 0.14);
  --paper: #f7f9f7;
  --white: #ffffff;
  --teal: #0c6f71;
  --teal-dark: #075155;
  --copper: #b86b32;
  --gold: #e0a84f;
  --blue: #244b77;
  --shadow: 0 22px 70px rgba(18, 33, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(247, 249, 247, 0.9);
  box-shadow: 0 1px 24px rgba(18, 33, 38, 0.1);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.site-header[data-elevated="true"] .brand-mark {
  border-color: rgba(18, 33, 38, 0.14);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.page-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.page-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.page-link.active {
  background: var(--gold);
  color: var(--ink);
}

.site-header[data-elevated="true"] .page-link.active {
  color: var(--white);
  background: var(--teal);
}

.section-band {
  position: relative;
  width: 100%;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #092c31;
}

#pulseCanvas,
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04);
}

.hero-shade {
  background:
    radial-gradient(circle at 18% 20%, rgba(224, 168, 79, 0.26), transparent 30%),
    linear-gradient(90deg, rgba(6, 24, 28, 0.9) 0%, rgba(6, 24, 28, 0.66) 48%, rgba(6, 24, 28, 0.26) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 50px;
}

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

.hero .eyebrow {
  color: #f0c66d;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 7vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action,
.email-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action,
.email-link {
  background: var(--gold);
  color: #142225;
  box-shadow: 0 16px 40px rgba(224, 168, 79, 0.26);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.primary-action:hover,
.secondary-action:hover,
.email-link:hover {
  transform: translateY(-2px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.overview {
  background: var(--white);
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.72fr);
  grid-template-areas:
    "heading photo"
    "copy photo";
  gap: 22px clamp(36px, 7vw, 80px);
  align-items: center;
}

.overview-layout > div {
  grid-area: heading;
}

.overview-layout > .section-copy {
  grid-area: copy;
}

.overview-photo {
  grid-area: photo;
}

.section-copy,
.contact-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.services {
  background: #edf3f0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.service-panel {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.panel-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.3;
  object-fit: cover;
}

.panel-topline,
.service-panel h3,
.service-panel ul {
  margin-right: clamp(24px, 4vw, 42px);
  margin-left: clamp(24px, 4vw, 42px);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(24px, 4vw, 36px);
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-index {
  color: var(--copper);
}

.service-panel ul {
  padding-bottom: clamp(24px, 4vw, 42px);
}

ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  content: "";
}

.edge {
  background: var(--white);
}

.edge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.business-photo {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #dde7e3;
  box-shadow: 0 22px 60px rgba(18, 33, 38, 0.12);
}

.business-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edge-photo {
  aspect-ratio: 16 / 10;
  margin-top: 28px;
}

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

.proof-item {
  display: grid;
  gap: 12px;
  min-height: 172px;
  align-content: end;
  border-top: 3px solid var(--teal);
  padding: 22px;
  background: #f1f5f2;
}

.proof-item.wide {
  grid-column: 1 / -1;
  border-color: var(--copper);
}

.proof-item strong {
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-weight: 600;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 81, 85, 0.94), rgba(36, 75, 119, 0.9)),
    linear-gradient(90deg, #075155, #244b77);
}

.contact-inner {
  text-align: center;
}

.contact h2,
.contact-copy {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.contact .section-kicker {
  color: #f0c66d;
}

.contact-copy {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
}

.email-link {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--white);
  font-size: 0.92rem;
}

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

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .two-column,
  .service-grid,
  .overview-layout,
  .edge-layout {
    grid-template-columns: 1fr;
  }

  .overview-layout {
    grid-template-areas:
      "heading"
      "copy"
      "photo";
  }

  .section-inner {
    padding: 70px 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
    padding: 12px 14px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .page-switch {
    gap: 2px;
  }

  .page-link {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-content {
    padding: 104px 0 48px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .primary-action,
  .secondary-action,
  .email-link {
    width: 100%;
  }

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

  .proof-item.wide {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
