:root {
  --paper: #f3f0e7;
  --paper-deep: #e7e1d3;
  --ink: #181914;
  --muted: #68685f;
  --line: rgba(24, 25, 20, 0.16);
  --leaf: #2f4a34;
  --leaf-soft: #dce5d6;
  --bark: #76583f;
  --white: #fffdf7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(47, 74, 52, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 112px 112px;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  background: var(--leaf-soft);
}

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

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

.skip-link {
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-180%);
  z-index: 10;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: 28px;
  min-height: 78svh;
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(47, 74, 52, 0.45);
  border-radius: 50%;
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
}

.brand-name,
.site-nav,
.eyebrow,
.link-list strong,
.visual-panel figcaption {
  font-size: 0.78rem;
}

.brand-name,
.eyebrow,
.link-list strong,
.visual-panel figcaption {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.site-nav a,
.brand,
.link-list a {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.site-nav a:hover,
.brand:hover,
.link-list a:hover {
  color: var(--leaf);
}

.hero-center {
  width: min(100%, 720px);
  margin: 36px 0 30px;
}

.eyebrow {
  margin: 0 0 18px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 10.5em;
  margin-bottom: 22px;
  font-size: 4.45rem;
  line-height: 0.98;
}

h2 {
  max-width: 9em;
  margin-bottom: 0;
  font-size: 2.65rem;
  line-height: 1.05;
}

.lede {
  margin-bottom: 8px;
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.summary {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.link-list {
  width: min(100%, 560px);
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.link-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.link-list strong {
  font-weight: 500;
  text-align: right;
}

.visual-panel {
  position: relative;
  height: 78svh;
  min-height: 0;
  max-height: 660px;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.visual-panel figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--white);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.36);
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 28px;
  border-top: 1px solid var(--line);
}

.detail-section-last {
  padding-bottom: 110px;
}

.detail-copy,
.service-list {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-copy p:last-child,
.service-list p:last-child {
  margin-bottom: 0;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

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

  .visual-panel {
    height: 420px;
  }

  .visual-panel img {
    height: 100%;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 700px) {
  .site-shell {
    padding: 18px 18px 8px;
  }

  .hero {
    gap: 18px;
    min-height: 0;
  }

  .hero-copy {
    padding: 20px 0 22px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-center {
    margin: 38px 0 42px;
  }

  h1 {
    font-size: 2.9rem;
    max-width: 7.2em;
  }

  h2 {
    font-size: 2rem;
  }

  .lede {
    font-size: 1.32rem;
  }

  .visual-panel,
  .visual-panel img {
    height: 128px;
    max-height: none;
  }

  .link-list {
    margin-top: 30px;
  }

  .link-list a {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }

  .link-list strong {
    text-align: left;
  }

  .detail-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 68px 18px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.24rem;
    max-width: 7.4em;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    font-size: 0.75rem;
  }

  .visual-panel,
  .visual-panel img {
    height: 128px;
  }
}
