:root {
  color-scheme: light;
  --ink: #14231c;
  --muted: #5d6b64;
  --paper: #f4f6f1;
  --surface: #ffffff;
  --line: #cfd8d1;
  --accent: #bd3f35;
  --blue: #276780;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  color: #fff;
}
.site-header.is-solid { position: relative; color: var(--ink); }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 22px; text-decoration: none; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible { text-decoration: underline; }

.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #263d45;
  color: #fff;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(8, 18, 20, .43); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 150px 0 72px; }
.kicker { margin: 0 0 12px; color: #d8e5df; font-size: 13px; text-transform: uppercase; letter-spacing: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0; }
.hero h1 { max-width: 760px; margin: 0; font-size: 80px; line-height: 1; }
.hero p { max-width: 620px; margin: 22px 0 0; color: #eef4f1; font-size: 21px; line-height: 1.55; }

.section, .page { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-title h2 { margin: 0 0 14px; font-size: 42px; }
.section-title a { color: var(--blue); font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; align-items: stretch; }
.feature-image { min-height: 390px; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.feature-copy { display: flex; flex-direction: column; justify-content: end; padding: 28px; background: var(--surface); border-left: 4px solid var(--accent); }
.feature-copy h3 { margin: 0 0 14px; font-size: 34px; }
.feature-copy p { margin: 0 0 22px; color: var(--muted); line-height: 1.7; }

.list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.item { min-width: 0; padding: 26px; background: var(--surface); }
.item time, .eyebrow { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0; }
.item h3 { margin: 14px 0 10px; font-size: 24px; }
.item p { margin: 0; color: var(--muted); line-height: 1.6; }

.page-head { padding: 62px 0 34px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; font-size: 64px; }
.page-head p { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.article { max-width: 720px; }
.article h2 { margin-top: 42px; font-size: 30px; }
.article p, .article li { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.8; }
.article img { margin: 34px 0; border-radius: 4px; }
.project-row { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.project-row h2 { margin: 0; font-size: 28px; }
.project-row p { margin: 8px 0 0; color: var(--muted); line-height: 1.7; }

.site-footer { background: #13241c; color: #dce7e1; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0; font-size: 13px; }
.footer-inner a { color: #fff; }

@media (max-width: 720px) {
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 17px; }
  .section-title h2 { font-size: 30px; }
  .page-head h1 { font-size: 42px; }
  .site-header { align-items: flex-start; }
  .nav { gap: 13px; font-size: 13px; }
  .hero { min-height: 72vh; }
  .feature-grid, .list { grid-template-columns: 1fr; }
  .feature-image { min-height: 260px; }
  .project-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-inner { flex-direction: column; }
}
