:root {
  --navy: #16263f;
  --navy-deep: #0f1c30;
  --bg: #f8f7f3;
  --surface: #ffffff;
  --text: #1c2430;
  --text-soft: #58616f;
  --border: #e6e2d8;
  --accent: #3f5d7a;
  --accent-dark: #324c66;
  --radius: 6px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(22, 38, 63, 0.04), 0 10px 30px rgba(22, 38, 63, 0.06);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow {
  max-width: 720px;
}

/* Eyebrow / section labels */
.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 247, 243, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 2px;
}

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

.nav a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--navy);
  text-decoration: none;
}

.nav-cta {
  padding: 9px 18px;
  background: var(--navy);
  color: #fff !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--navy-deep);
}

/* Hero */
.hero {
  padding: 104px 0 84px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 20ch;
}

.lead {
  font-size: 1.18rem;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 0 34px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: #c9cdd4;
}

.btn-ghost:hover {
  border-color: var(--navy);
}

/* Sections */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 60ch;
  margin-bottom: 48px;
}

.section-title {
  font-size: 1.95rem;
  margin: 0 0 14px;
}

.section-intro {
  color: var(--text-soft);
  font-size: 1.08rem;
  margin: 0;
}

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Approach steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--accent);
}

.step-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.step h3 {
  font-size: 1.1rem;
  margin: 6px 0 8px;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* About / team */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
}

.member h3 {
  font-size: 1.2rem;
  margin: 0 0 2px;
}

.member .role {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px;
}

.member p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Contact */
.contact-intro {
  color: var(--text-soft);
  margin: 0 0 30px;
  font-size: 1.06rem;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 500;
  font-size: 0.92rem;
}

.field input,
.field textarea {
  font: inherit;
  color: var(--text);
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 93, 122, 0.15);
}

.field textarea {
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  min-height: 1.4em;
}

.form-note.error {
  color: #b03b2e;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c7d0dc;
  padding: 56px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aeb9c7;
}

.footer-col h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: #8896a8;
  margin: 0 0 12px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.9;
}

.footer-col a {
  color: #c7d0dc;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #8896a8;
}

/* Legal pages */
.legal {
  padding: 64px 0 88px;
}

.legal h1 {
  font-size: 2.1rem;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
}

.legal p,
.legal li {
  color: var(--text-soft);
}

.legal ul {
  padding-left: 20px;
}

.legal .back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 860px) {
  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 22px;
  }

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

  .nav {
    gap: 18px;
  }

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

  .hero {
    padding: 72px 0 56px;
  }

  .section {
    padding: 60px 0;
  }
}
