@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --bg: #f5f5f0;
  --surface: #ffffff;
  --surface-soft: #ecece5;
  --text: #151713;
  --muted: #62675f;
  --line: #d9dbd3;
  --accent: #2f6b4f;
  --accent-dark: #1f4d39;
  --accent-soft: #dcebe2;
  --dark: #17221c;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 34, 28, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.5vw, 4.25rem);
  font-weight: 800;
}

h3 {
  font-size: 1.55rem;
  font-weight: 700;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  padding: 26px 0;
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:not(.nav-cta):hover {
  color: var(--accent);
}

.nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--text);
  border-radius: 999px;
  transition: 160ms ease;
}

.nav-cta:hover {
  background: var(--text);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 880px;
  padding: 170px 0 100px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -150px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: var(--accent-soft);
  content: "";
  filter: blur(2px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.65fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.button-secondary:hover {
  border-color: var(--text);
}

.button-light {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--dark);
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.94rem;
  list-style: none;
}

.capability-list li::before {
  margin-right: 9px;
  color: var(--accent);
  content: "•";
}

.portrait-wrap {
  position: relative;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-note {
  position: relative;
  z-index: 2;
  max-width: 270px;
  margin: -28px 0 0 -48px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: var(--shadow);
}

.section {
  padding: 120px 0;
}

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

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.12rem;
}

.services {
  background: var(--surface);
}

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

.service-card {
  min-height: 590px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.service-card-accent {
  border-color: transparent;
  background: var(--accent-soft);
}

.service-number {
  margin-bottom: 80px;
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.service-card > p:not(.service-number) {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 25px;
}

.service-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  font-weight: 800;
  content: "↗";
}

.fit {
  background: var(--dark);
  color: var(--white);
}

.fit-grid,
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 120px);
}

.fit .eyebrow {
  color: #9fd0b4;
}

.fit-options {
  display: grid;
  gap: 0;
}

.fit-options > div {
  padding: 27px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.fit-options > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.fit-options h3 {
  margin-bottom: 8px;
}

.fit-options p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.about-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.expertise span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact {
  padding-top: 40px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  padding: clamp(36px, 6vw, 70px);
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--white);
}

.contact-panel > div {
  max-width: 780px;
}

.contact-panel .eyebrow {
  color: #d9f1e2;
}

.contact-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.contact-panel p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 42px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 145px;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .portrait-wrap {
    width: min(72%, 430px);
    margin-left: auto;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 45px;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  nav > a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 9px 13px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding: 125px 0 75px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.6rem);
  }

  .portrait-wrap {
    width: 88%;
  }

  .portrait-note {
    margin-left: -25px;
  }

  .section {
    padding: 85px 0;
  }

  .service-card {
    padding: 30px 24px;
    border-radius: var(--radius-md);
  }

  .contact-panel {
    padding: 34px 25px;
    border-radius: var(--radius-md);
  }

  .button-light {
    width: 100%;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
