:root {
  --background: #F7F5F1;
  --text: #1E1E1E;
  --accent: #1F2A3A;
  --muted: #66645F;
  --line: rgba(31, 42, 58, .22);
  --max-width: 680px;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 30px;
  font-size: 15px;
}

nav a {
  color: var(--muted);
}

/* Layout */

main {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
}

/* Hero */

.hero {
  padding: 130px 0 120px;
}

.hero-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.hero-text {
  flex: 1 1 22rem; /* grows, but wraps when narrower than ~22rem */
  min-width: 0;
}

.hero-media {
  flex: 0 1 333px; /* 333px wide = 500px tall at the image's 2:3 ratio */
  max-width: 333px;
  margin: 0; /* remove default <figure> margins */
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.reading-column {
  max-width: var(--max-width);
}

/* Typography */

h1,
h2,
h3 {
  margin: 0;
  color: var(--accent);
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.035em;
}

.hero-line {
  margin: 26px 0 54px;
  color: var(--accent);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.3;
}

p {
  margin: 0 0 24px;
}

p:last-child {
  margin-bottom: 0;
}

/* Content sections */

section.content-section {
  padding: 94px 0;
  border-top: 1px solid var(--line);
}

.section-label {
  margin-bottom: 52px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.approach-grid {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px 70px;
}

.approach-item h3 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
}

.approach-item p {
  color: #373737;
}

/* Contact */

.contact-copy {
  margin-bottom: 18px;
}

.email-link {
  display: inline-block;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* Footer */

footer {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 44px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

footer p {
  margin: 0;
}

/* Mobile */

@media (max-width: 700px) {
  .header-inner {
    width: min(calc(100% - 32px), var(--page-width));
    min-height: auto;
    padding: 24px 0 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  main,
  footer {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .hero {
    padding: 88px 0 82px;
  }

  h1 {
    font-size: clamp(46px, 13vw, 60px);
  }

  .hero-line {
    margin: 20px 0 44px;
    font-size: 23px;
  }

  section.content-section {
    padding: 72px 0;
  }

  .section-label {
    margin-bottom: 38px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  footer {
    padding: 34px 0 40px;
  }
}