:root {
  --ink: #101318;
  --muted: #5b6472;
  --soft: #f5f2ec;
  --paper: #fbfaf7;
  --line: #ded8cf;
  --navy: #10243e;
  --teal: #0f766e;
  --green: #23a36d;
  --gold: #c7922b;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(16, 19, 24, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(222, 216, 207, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 4px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-links {
  gap: 28px;
}

.nav-links a,
.header-cta,
.button,
.site-footer a {
  text-decoration: none;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: #3e4651;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.nav-links a[aria-current="page"] {
  color: var(--navy);
}

.nav-links a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -21px;
  left: 0;
  height: 2px;
  background: var(--navy);
  content: "";
}

.header-cta {
  padding: 11px 17px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero,
.page-hero,
.section,
.cta-section,
.site-footer {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 64px;
  align-items: center;
  padding: 52px 0 58px;
}

.hero > *,
.page-hero > *,
.split > *,
.section-heading > *,
.contact-grid > *,
.service-grid > *,
.values-grid > * {
  min-width: 0;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 4.45vw, 4.05rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text,
.page-hero p,
.rich-copy p {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  margin: 20px 0 0;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 4px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(16, 36, 62, 0.18);
}

.button.primary.light {
  color: var(--navy);
  background: var(--white);
}

.button.secondary {
  color: var(--navy);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.signal-panel,
.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(16, 19, 24, 0.16);
}

.signal-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
}

.signal-panel strong,
.signal-panel span {
  display: block;
}

.signal-panel strong {
  margin-bottom: 2px;
}

.signal-panel span {
  color: var(--muted);
  font-size: 0.92rem;
}

.status-dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(35, 163, 109, 0.14);
}

.section {
  padding: 88px 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: 5vw;
  padding-left: 5vw;
  background: #f7f4ee;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band > * {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.split h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.1vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.service-grid,
.values-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.values-grid article,
.contact-card {
  border-top: 1px solid var(--line);
  background: transparent;
}

.service-card {
  min-height: 0;
  padding: 26px 0 0;
}

.service-number {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card h3,
.values-grid h3,
.contact-card h2,
.process-list h3 {
  margin: 12px 0 8px;
  line-height: 1.2;
}

.service-card p,
.values-grid p,
.contact-card li,
.process-list p {
  color: var(--muted);
}

.service-card p,
.values-grid p,
.process-list p {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) 1.18fr;
  gap: 58px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.process-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.process-list article > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 4px;
  color: var(--teal);
  background: transparent;
  font-weight: 800;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 86px;
  padding: 42px;
  border-radius: 4px;
  color: var(--white);
  background: var(--navy);
}

.cta-section .eyebrow {
  color: #8ee6d7;
}

.cta-section h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer div {
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  font-weight: 700;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 58px;
  align-items: center;
  padding: 82px 0 74px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.45rem, 4.7vw, 4.2rem);
  line-height: 1.07;
}

.portrait-card {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.rich-copy p {
  margin-top: 0;
}

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

.values-grid article {
  padding: 24px 0 0;
}

.contact-hero {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.contact-panel {
  width: 100%;
  min-width: 0;
  padding: 28px;
  background: var(--white);
}

.contact-panel h2 {
  margin: 14px 0 10px;
}

.contact-panel a,
.contact-line a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel p,
.contact-line {
  margin: 0;
  font-size: 0.98rem;
}

.contact-line {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: baseline;
}

.contact-line + .contact-line {
  margin-top: 10px;
}

.contact-line span {
  color: var(--muted);
  font-weight: 700;
}

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

.contact-card {
  padding: 28px 0 0;
}

.contact-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.contact-card li + li {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .page-hero,
  .split,
  .section-heading,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 48px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 460px;
  }

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

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

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links a {
    min-width: 0;
    flex: 1;
    padding-right: 0;
    padding-left: 0;
  }

  .nav-links a[aria-current="page"]::after {
    bottom: -10px;
  }

  .hero,
  .page-hero,
  .section {
    width: calc(100% - 34px);
    max-width: 1120px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 390px;
  }

  .hero-actions,
  .hero-actions .button,
  .cta-section .button {
    width: 100%;
  }

  .signal-panel {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .band {
    padding-right: 17px;
    padding-left: 17px;
  }

  .service-card,
  .values-grid article,
  .contact-card,
  .cta-section {
    padding: 24px;
  }

  .service-card,
  .values-grid article,
  .contact-card {
    padding-right: 0;
    padding-left: 0;
  }

  .contact-line {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@media (max-width: 340px) {
  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.32rem;
    line-height: 1.08;
  }

  .hero-text,
  .page-hero p,
  .rich-copy p {
    font-size: 1rem;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-line {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.nowrap {
  white-space: nowrap;
}
