:root {
  --ivory: #F5F1E8;
  --green: #18312B;
  --brass: #A68B58;
  --ink: #252B28;
  --line: #D4C7AC;
  --muted-green: #A8AEA6;
  --caption: #7B877F;
  --input-border: #8B8D79;
  --band-divider: #52553D;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Noto Sans', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, p, ul, figure, fieldset {
  margin: 0;
  padding: 0;
}

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

.container {
  max-width: 1216px;
  margin: 0 auto;
}

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

.narrow {
  max-width: 780px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: var(--ivory);
  padding: 10px 18px;
  z-index: 10;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Header ---------- */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

.brand-small .brand-logo {
  height: 38px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.wordmark-name {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--green);
}

.wordmark-sub {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--green);
}

.site-nav {
  display: flex;
  gap: 38px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--brass);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--green);
  color: var(--ivory);
  font-family: 'Noto Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: 0;
  padding: 16px 25px;
  cursor: pointer;
}

.btn:hover {
  background: var(--brass);
  color: var(--green);
}

/* ---------- Hero ---------- */

.hero {
  padding: 148px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 616px 504px;
  gap: 96px;
  padding-bottom: 88px;
  border-bottom: 1px solid var(--brass);
}

.eyebrow {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 30px;
}

.hero h1 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 84px;
  font-weight: 600;
  line-height: 0.98;
  color: var(--green);
  margin-bottom: 30px;
}

.hero h1 em {
  font-style: italic;
}

.subline {
  font-size: 17px;
  line-height: 29px;
  max-width: 480px;
  margin-bottom: 40px;
}

.strip {
  margin-top: 30px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--green);
}

.hero-image figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--caption);
}

/* ---------- Sections ---------- */

.section {
  padding: 105px 0 110px;
}

.section h2,
.band h2 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 54px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--green);
}

/* ---------- What We Do ---------- */

#what-we-do h2 {
  margin-bottom: 52px;
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.col-rule {
  padding: 0 49px;
}

.col-rule:first-child {
  padding-left: 0;
}

.col-rule:last-child {
  padding-right: 0;
}

.col-rule + .col-rule {
  border-left: 1px solid var(--line);
}

.dash {
  width: 22px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 16px;
}

.col-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.col-rule p {
  margin-top: 12px;
}

/* ---------- How We Work band ---------- */

.band {
  background: var(--green);
  color: var(--ivory);
  padding: 125px 0 90px;
}

.band h2 {
  color: var(--ivory);
}

.band-rule {
  height: 1px;
  background: var(--brass);
  margin: 38px 0 46px;
}

.cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  padding: 0 26px;
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  padding-right: 0;
}

.step + .step {
  border-left: 1px solid var(--band-divider);
}

.step-num {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  color: var(--muted-green);
  margin-bottom: 12px;
}

.step h3 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ivory);
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  line-height: 23px;
  color: var(--muted-green);
}

/* ---------- Split sections (Sectors / The House / Contact) ---------- */

.split {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 56px;
}

#sectors {
  padding: 105px 0 0;
}

#sectors .container {
  padding-bottom: 96px;
  border-bottom: 1px solid var(--line);
}

.sector-list {
  list-style: none;
}

.sector-list li {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.sector-list li:first-child {
  padding-top: 2px;
}

#the-house {
  padding: 104px 0 0;
}

#the-house .container {
  padding-bottom: 104px;
  border-bottom: 1px solid var(--line);
}

.house-text {
  font-size: 17px;
  line-height: 29px;
  max-width: 560px;
}

#contact {
  padding: 110px 0 82px;
}

.contact-col {
  max-width: 590px;
}

.contact-intro {
  font-size: 17px;
  line-height: 28px;
  max-width: 340px;
}

.intro-rule {
  height: 1px;
  background: var(--brass);
  margin: 26px 0 34px;
}

.contact-email {
  margin: 0 0 34px;
  font-size: 16px;
}

.contact-email a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Form ---------- */

form p {
  margin-bottom: 22px;
}

fieldset {
  border: none;
  margin-bottom: 22px;
}

.f-label,
fieldset legend {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.radio {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--ink);
}

.radio input {
  margin-right: 10px;
  accent-color: var(--green);
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--input-border);
  border-radius: 0;
  padding: 11px 14px;
  font-family: 'Noto Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
}

textarea {
  min-height: 116px;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 0;
  border-color: var(--brass);
}

.hidden-field {
  display: none;
}

.note {
  margin-top: 38px;
  font-size: 14px;
  line-height: 22px;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 72px 0 88px;
}

.legal h1 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 36px;
}

.legal h2 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green);
  margin: 34px 0 12px;
}

.legal p {
  margin-bottom: 14px;
}

.legal a {
  color: var(--green);
}

/* ---------- Footer ---------- */

.site-footer .container {
  border-top: 1px solid var(--brass);
}

.footer-inner {
  padding: 27px 0 35px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-row + .footer-row {
  margin-top: 31px;
}

.brand-small .brand-mark {
  width: 40px;
  height: 22px;
}

.brand-small .wordmark-name {
  font-size: 18px;
  letter-spacing: 2.5px;
}

.brand-small .wordmark-sub {
  font-size: 7px;
  letter-spacing: 3px;
}

.footer-links {
  font-size: 15px;
}

.footer-links a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links .sep {
  margin: 0 9px;
  color: var(--green);
}

.footer-legal {
  font-size: 13px;
  color: var(--green);
}

.footer-back {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-back a {
  color: var(--green);
  text-decoration: none;
}

.footer-back a:hover {
  color: var(--brass);
}

/* ---------- Responsive ---------- */

@media (max-width: 1279px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .split {
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero {
    padding: 64px 0 0;
  }

  .hero-grid,
  .cols-3,
  .cols-4,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .section {
    padding: 56px 0;
  }

  #sectors, #the-house {
    padding-top: 56px;
  }

  #sectors .container, #the-house .container {
    padding-bottom: 56px;
  }

  #contact {
    padding: 56px 0;
  }

  .band {
    padding: 56px 0;
  }

  .col-rule, .step {
    padding: 0;
  }

  .col-rule + .col-rule {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 24px;
  }

  .step + .step {
    border-left: none;
    border-top: 1px solid var(--band-divider);
    padding-top: 24px;
    margin-top: 24px;
  }

  .section h2, .band h2 {
    font-size: 36px;
  }

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

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
