@font-face {
  font-family: "Plain-Regular";
  src: url("../fonts/Plain-Regular.woff2") format("woff2"),
       url("../fonts/Plain-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plain-Bold";
  src: url("../fonts/Plain-Bold.woff2") format("woff2"),
       url("../fonts/Plain-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #102033;
  --muted: #66717f;
  --navy: #062a5d;
  --gold: #e4a12c;
  --green: #486a53;
  --paper: #ffffff;
  --soft: #f6f7f4;
  --line: #dfe3dc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plain-Regular", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

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

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

.home-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  background: rgba(246, 247, 244, 0.94);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 64px;
  height: 54px;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font: 700 18px/1.1 "Plain-Bold", Arial, sans-serif;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  color: var(--navy);
  outline: none;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: 680px;
  padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 72px);
}

.hero-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font: 700 13px/1.2 "Plain-Bold", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font: 700 clamp(40px, 6vw, 70px)/0.98 "Plain-Bold", Arial, sans-serif;
  letter-spacing: 0;
  color: var(--navy);
}

h2 {
  margin-bottom: 0;
  font: 700 clamp(30px, 4vw, 52px)/1.05 "Plain-Bold", Arial, sans-serif;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font: 700 22px/1.15 "Plain-Bold", Arial, sans-serif;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font: 700 15px/1 "Plain-Bold", Arial, sans-serif;
}

.primary-btn {
  background: var(--navy);
  color: #fff;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.service-section,
.work-band,
.contact-section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto 30px;
}

.section-heading h2 {
  max-width: 620px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.07);
}

.service-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.service-carousel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  scroll-snap-align: start;
}

.service-card div {
  padding: 22px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
}

.work-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 32px;
  align-items: start;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.steps span {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font: 700 17px/1.35 "Plain-Bold", Arial, sans-serif;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-copy {
  max-width: 650px;
}

.home-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--navy);
}

.home-footer a {
  color: #f8c766;
}

@media (max-width: 940px) {
  .home-hero,
  .work-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .contact-section {
    display: grid;
  }
}

@media (max-width: 680px) {
  .home-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .home-hero {
    min-height: 0;
  }

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

  .section-heading,
  .home-footer {
    display: block;
  }

  .home-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
