:root {
  --ink: #10151d;
  --muted: #5c6675;
  --line: #dfe5ec;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #1f78bb;
  --blue-dark: #154a8a;
  --aqua: #49afd4;
  --green: #128c55;
  --green-dark: #0b6f43;
  --steel: #e8edf3;
  --shadow: 0 18px 45px rgba(16, 21, 29, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(16, 21, 29, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand img {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
}

.site-header.is-scrolled .brand img {
  border-color: var(--steel);
}

.brand strong,
.brand small {
  display: block;
  overflow-wrap: anywhere;
}

.brand strong {
  font-size: 1.15rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.9;
}

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

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta,
.primary-action {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 25px rgba(18, 140, 85, 0.26);
}

.nav-cta {
  padding: 0 18px;
  font-size: 0.9rem;
}

.primary-action {
  padding: 0 24px;
}

.nav-cta:hover,
.primary-action:hover {
  background: var(--green-dark);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.72);
  padding: 0 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 6vw, 84px) 84px;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 29, 0.9) 0%, rgba(9, 29, 52, 0.68) 43%, rgba(7, 16, 29, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 16, 29, 0.78) 0%, rgba(7, 16, 29, 0.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

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

.hero h1,
.section h2,
.quote-section h2 {
  margin: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 7.2vw, 6.5rem);
  text-transform: uppercase;
  overflow-wrap: normal;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-stats span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.section {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  padding-block: clamp(34px, 5vw, 58px);
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.confidence-copy h2,
.quote-content h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.intro-grid p:last-child,
.confidence-copy p,
.quote-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(220px, 0.22fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading::after {
  content: "";
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
}

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

.service-card {
  min-height: 218px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 21, 29, 0.05);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  margin-bottom: 22px;
  color: var(--blue-dark);
  background: #e9f5fb;
  font-size: 1.35rem;
  font-weight: 900;
}

.service-card h3,
.work-item h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.service-card p,
.work-item p {
  margin: 0;
  color: var(--muted);
}

.work-section {
  background: var(--white);
}

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

.work-item {
  position: relative;
  min-height: 330px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.work-item-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 676px;
}

.work-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 260ms ease;
}

.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 16, 29, 0.84), rgba(7, 16, 29, 0.08) 62%);
}

.work-item:hover img {
  transform: scale(1.04);
}

.work-item div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.work-item p {
  color: rgba(255, 255, 255, 0.82);
}

.confidence-section {
  background:
    linear-gradient(135deg, #f7f9fb 0%, #eef5f9 100%);
}

.confidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}

.confidence-copy p {
  margin-top: 20px;
}

.confidence-list {
  display: grid;
  gap: 12px;
}

.confidence-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.confidence-list strong {
  color: var(--blue);
  font-size: 1.32rem;
}

.confidence-list span {
  color: var(--muted);
  font-weight: 700;
}

.quote-section {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 84px);
  color: var(--white);
  background: var(--ink);
}

.quote-media,
.quote-media::after {
  position: absolute;
  inset: 0;
}

.quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.quote-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(7, 16, 29, 0.92), rgba(7, 16, 29, 0.42));
}

.quote-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.quote-content p {
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.84);
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
}

.site-footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.site-footer p {
  margin: 0;
}

.footer-phone {
  color: var(--blue-dark);
  font-weight: 900;
}

.footer-phone:hover {
  color: var(--green-dark);
}

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

  .main-nav {
    display: none;
  }

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

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

  .work-item-large {
    grid-column: span 2;
    min-height: 430px;
  }

  .intro-grid,
  .section-heading,
  .confidence-grid {
    grid-template-columns: 1fr;
  }

  .section-heading::after {
    width: 160px;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 12px 14px;
    gap: 0;
  }

  .brand {
    min-width: 0;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding: 112px 18px 48px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 10.3vw, 3.25rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-item,
  .work-item-large {
    grid-column: auto;
    min-height: 310px;
  }

  .confidence-list div {
    grid-template-columns: 48px 1fr;
    padding: 16px;
  }

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