@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #2f3133;
  --muted: #737373;
  --accent: #61a1c0;
  --line: #e4e4e2;
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-weight: 400; margin: 0; letter-spacing: -0.01em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 40px; width: auto; }

.nav { display: flex; gap: clamp(16px, 3vw, 40px); font-size: 15px; color: var(--muted); }

.nav a { position: relative; padding: 4px 0; transition: color .2s; }

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* Hero */

.hero-image {
  height: min(68vh, 640px);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-text {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
}

.lead {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 34em;
}

/* Sections */

.section {
  padding: clamp(56px, 9vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.split { background: var(--bg-soft); border-top: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.num {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.split .grid { align-items: center; }

.col-text > p { color: var(--muted); max-width: 32em; }

.split h2 { margin-bottom: 16px; }

.prose p { margin: 0 0 1.2em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}

.link-arrow::after { content: "→"; color: var(--accent); transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

.col-image { margin: 0; justify-self: end; max-width: 444px; width: 100%; }
.col-image img { width: 100%; }

/* Services */

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.services li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  display: flex;
  justify-content: space-between;
}

.services li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); align-self: center; }

/* Team */

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.person {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.person h3 { font-size: 24px; margin-bottom: 8px; }
.person p { margin: 0; color: var(--muted); }

/* Contact */

.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
}

address { font-style: normal; }

.contact-links { margin: 0; }

.contact-links a {
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}

.contact-links a:hover { color: var(--accent); border-color: var(--accent); }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 14px;
  color: var(--muted);
}

.footer-inner { display: flex; justify-content: space-between; gap: 16px; }

/* Mobile */

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; }
  .logo img { height: 32px; }
  .nav { font-size: 13px; gap: 14px; }
  .hero-image { height: 46vh; }
  .hero-text, .grid, .team, .contact { grid-template-columns: 1fr; }
  .hero-text { gap: 20px; }
  .col-image { justify-self: start; }
}

@media (max-width: 380px) {
  .logo img { height: 28px; }
  .nav { gap: 10px; font-size: 12px; }
}
