:root {
  --ink: #17213a;
  --ink-2: #243a56;
  --paper: #eef4f4;
  --surface: #ffffff;
  --surface-2: #dfe9ea;
  --line: rgba(23, 33, 58, 0.14);
  --muted: #637483;
  --accent: #83b84f;
  --accent-2: #6f879a;
  --gold: #4e8a80;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 33, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 430px, rgba(238, 244, 244, 0.5) 760px, var(--paper) 1040px),
    linear-gradient(130deg, rgba(131, 184, 79, 0.16), transparent 34rem),
    linear-gradient(310deg, rgba(111, 135, 154, 0.22), transparent 30rem),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(23, 33, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 58, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  min-height: 106px;
  padding: 18px clamp(20px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 33, 58, 0.06);
  box-shadow: 0 16px 42px rgba(23, 33, 58, 0.035);
  backdrop-filter: blur(16px);
}

.brand img {
  width: min(250px, 52vw);
  height: auto;
}

.nav-toggle,
.menu-button {
  display: none;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a,
.footer-brand,
.button {
  text-decoration: none;
}

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero,
.split,
.contact,
.profile,
.about-story,
.focus-section,
.cta-panel,
.wide-image {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 106px);
  padding: clamp(58px, 8vw, 104px) 0 clamp(54px, 8vw, 108px);
}

.hero-copy,
.page-hero > :first-child {
  max-width: 810px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.15rem, 7.6vw, 7.6rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.6rem);
  line-height: 0.96;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin-top: 26px;
  color: #49565d;
  font-size: clamp(1.12rem, 2vw, 1.36rem);
}

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary,
button {
  color: #101a2f;
  background: var(--accent);
}

.button.primary:hover,
button:hover {
  background: #75a844;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 620px;
}

.hero-visual img,
.image-card img,
.wide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img {
  position: absolute;
  inset: 0;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to top, rgba(23, 33, 58, 0.24), transparent 56%),
    linear-gradient(135deg, rgba(131, 184, 79, 0.14), transparent 42%);
}

.timeline span,
.service-grid span,
.values span,
.profile-card span,
.focus-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.services,
.process {
  padding: clamp(60px, 8vw, 104px) clamp(20px, 5vw, 70px);
}

.services {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.services.dark {
  color: var(--white);
  background: linear-gradient(180deg, #243a56, #17213a);
  border: 0;
}

.section-heading {
  width: min(1040px, 100%);
  margin: 0 auto 36px;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.service-grid article,
.principles div,
.timeline article,
.values div,
.contact-card {
  border-radius: 8px;
}

.service-grid article {
  min-height: 276px;
  padding: clamp(22px, 3vw, 32px);
  background: #f8fbfb;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dark .service-grid article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(23, 33, 58, 0.1);
}

.service-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
}

.service-grid h3,
.principles h3,
.timeline h3,
.values h3 {
  margin-bottom: 12px;
}

.service-grid p,
.principles p,
.timeline p,
.values p,
.profile-copy p,
.contact p {
  color: var(--muted);
}

.dark .service-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: clamp(66px, 9vw, 120px) 0;
}

.split-copy {
  position: sticky;
  top: 126px;
}

.split-copy p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.1rem;
}

.principles {
  display: grid;
  gap: 14px;
}

.image-card {
  overflow: hidden;
  min-height: 260px;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(23, 33, 58, 0.07);
}

.principles div {
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(23, 33, 58, 0.07);
}

.principles .image-card {
  padding: 0;
  background: transparent;
}

.process {
  background: var(--surface-2);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
}

.timeline span,
.values span,
.profile-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  padding: clamp(66px, 9vw, 120px) 0;
}

.contact p {
  max-width: 560px;
  margin-top: 20px;
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(145deg, rgba(131, 184, 79, 0.18), transparent 44%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card span {
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-card .button {
  width: max-content;
  margin-top: 6px;
}

.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(66px, 11vw, 138px) 0 clamp(40px, 7vw, 86px);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.about-hero-media {
  overflow: hidden;
  min-height: clamp(320px, 44vw, 560px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  padding: 0 0 clamp(62px, 9vw, 112px);
}

.about-story-copy {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
}

.focus-section {
  padding: clamp(58px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-section .section-heading {
  margin-inline: 0;
}

.focus-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.focus-list article {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 46px);
  padding: clamp(24px, 4vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}

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

.focus-list h3 {
  margin-bottom: 8px;
}

.focus-list p {
  max-width: 720px;
  color: var(--muted);
}

.profile {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  padding-bottom: clamp(62px, 9vw, 114px);
}

.profile-card {
  padding: clamp(28px, 4vw, 42px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(131, 184, 79, 0.22), transparent 42%),
    var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-card h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.profile-copy {
  display: grid;
  gap: 22px;
  padding-top: 10px;
  font-size: 1.12rem;
}

.wide-image {
  overflow: hidden;
  height: clamp(280px, 46vw, 520px);
  margin-bottom: clamp(62px, 9vw, 110px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: clamp(62px, 9vw, 110px) auto;
}

.values div {
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.cta-panel {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(62px, 9vw, 110px);
  margin-bottom: clamp(62px, 9vw, 110px);
  padding: clamp(30px, 5vw, 52px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(131, 184, 79, 0.16), transparent 36%),
    var(--ink-2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.site-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 44px 20px 52px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand img {
  width: 154px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

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

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .contact,
  .profile,
  .about-hero,
  .about-story {
    grid-template-columns: 1fr;
  }

  .split-copy {
    position: static;
  }

  .service-grid,
  .service-grid.three,
  .timeline,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    padding: 12px 16px;
  }

  .brand img {
    width: 184px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 20px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button span + span {
    margin-top: 3px;
  }

  .nav-toggle:checked + .menu-button span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .menu-button span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 16px;
    z-index: 30;
    display: grid;
    width: min(220px, calc(100vw - 32px));
    justify-content: initial;
    gap: 2px;
    font-size: 0.88rem;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(23, 33, 58, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-toggle:checked ~ .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 11px 12px;
    border-radius: 6px;
  }

  .nav a:hover {
    background: #f3f7f7;
  }

  .nav a::after {
    display: none;
  }

  .hero,
  .split,
  .contact,
  .profile,
  .about-story,
  .focus-section,
  .cta-panel,
  .page-hero,
  .values {
    width: min(100% - 32px, 1180px);
  }

  .wide-image {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(2.25rem, 11.2vw, 3.35rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.8rem);
    line-height: 1.04;
  }

  .lead {
    margin-top: 18px;
    font-size: 1.04rem;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

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

  .button,
  button {
    width: 100%;
  }

  .contact-card .button {
    width: 100%;
  }

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

  .hero-visual {
    min-height: 300px;
  }

  .services,
  .process {
    padding: 48px 16px;
  }

  .service-grid article,
  .timeline article {
    min-height: auto;
  }

  .split,
  .contact,
  .about-story {
    padding: 54px 0;
  }

  .page-hero {
    padding: 44px 0 48px;
  }

  .about-hero-media,
  .wide-image {
    min-height: 260px;
    height: 260px;
  }

  .focus-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .focus-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .focus-list span {
    margin-bottom: 0;
  }

  .cta-panel {
    margin-top: 54px;
    margin-bottom: 54px;
    padding: 28px 22px;
  }
}
