:root {
  --bg: #f4f1ea;
  --bg-alt: #eee7da;
  --surface: #fffdfa;
  --ink: #202a35;
  --muted: #52606f;
  --line: #d8cfc1;
  --brand: #123e68;
  --brand-2: #8f6032;
  --radius: 18px;
  --shadow: 0 22px 44px rgba(12, 27, 45, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 12%, rgba(18, 62, 104, 0.16), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(143, 96, 50, 0.17), transparent 34%),
    linear-gradient(180deg, #f7f4ed 0%, #f2eee3 100%);
}

.container {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

main,
section,
.hero-grid,
.split-grid,
.container {
  min-width: 0;
}

.section {
  padding: 5rem 0;
}

#logos.section {
  padding-bottom: 1.75rem;
}

#connect.section {
  padding-top: 1.75rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 237, 0.9);
  border-bottom: 1px solid rgba(216, 207, 193, 0.8);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  color: var(--brand);
  font-weight: 700;
}

.brand-text {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--brand);
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--brand-2);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  max-width: 15ch;
  margin: 0.6rem 0 1.2rem;
}

h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.4rem);
  max-width: 24ch;
  margin-top: 0.55rem;
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0;
  color: var(--muted);
}

p + p {
  margin-top: 1rem;
}

.hero {
  padding-top: 3.8rem;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-grid > *,
.split-grid > * {
  min-width: 0;
}

.hero-copy {
  animation: rise 0.65s ease-out both;
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-row span {
  color: var(--ink);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, var(--brand) 0%, #325f8b 100%);
  border-radius: 999px;
  padding: 0.76rem 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(18, 62, 104, 0.28);
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head.compact {
  margin-bottom: 1.1rem;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}

.quick-points p {
  border: 1px solid var(--line);
  background: #f8f4eb;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  color: #344556;
  font-weight: 600;
  margin: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-icon {
  line-height: 1;
}

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

.service,
.value,
blockquote,
.surface {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service,
.value,
blockquote,
.surface {
  padding: 1.35rem;
}

.service .meta {
  margin-top: 0.45rem;
  color: var(--brand-2);
  font-weight: 700;
}

.service p:last-child,
.value p,
blockquote {
  margin-top: 0.75rem;
}

.media-card {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.media-card.tall {
  aspect-ratio: 3 / 4;
}

.media-card.wide {
  aspect-ratio: 4 / 3;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transform-origin: center;
}

#approach .media-card,
#about .media-card {
  aspect-ratio: 3 / 4;
}

.prose ul {
  margin: 0.6rem 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.prose li + li {
  margin-top: 0.35rem;
}

.value h3 {
  color: var(--ink);
}

.quotes {
  display: grid;
  gap: 1rem;
}

blockquote {
  margin: 0;
  font-size: 0.97rem;
  color: #435262;
}

cite {
  display: block;
  margin-top: 0.9rem;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.logo-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f2e9;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: center;
}

.logo-strip img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: saturate(0.85);
  padding: 0.15rem 0;
}

.connect-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, #fffdf9 0%, #f0e9dd 100%);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
}

.connect-kicker {
  color: var(--brand-2);
}

.connect-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-items: center;
  align-content: start;
  text-align: center;
  justify-content: center;
}

.connect-links a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.footer {
  border-top: 1px solid rgba(216, 207, 193, 0.9);
  padding: 1.5rem 0 2.2rem;
}

.footer p {
  font-size: 0.92rem;
}

.footer p + p {
  margin-top: 0.25rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.95rem;
  }

  .media-card,
  .media-card.tall,
  .media-card.wide {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  #approach .media-card,
  #about .media-card {
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 760px) {
  .container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .section {
    padding: 2.35rem 0;
  }

  .nav {
    width: 100%;
    align-items: flex-start;
    padding: 0.7rem 0;
    flex-direction: column;
  }

  nav {
    width: 100%;
    row-gap: 0.8rem;
    column-gap: 0.95rem;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .cta-row {
    gap: 0.75rem;
  }

  .cta-row span {
    flex-basis: 100%;
  }

  .quick-points,
  .services-grid,
  .values-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .media-card,
  .media-card.tall,
  .media-card.wide,
  #approach .media-card,
  #about .media-card {
    aspect-ratio: 4 / 3;
  }

  .media-card img {
    transform: scale(1);
  }

  .logo-strip {
    gap: 1.5rem;
    padding: 1.2rem;
  }

  #logos.section {
    padding-bottom: 1.2rem;
  }

  #connect.section {
    padding-top: 1.2rem;
  }
}
