:root {
  --ink: #202421;
  --muted: #60645e;
  --paper: #f7f3ec;
  --paper-deep: #eee6d8;
  --forest: #1f3c32;
  --forest-soft: #dce6dc;
  --clay: #a46d52;
  --line: rgba(32, 36, 33, 0.16);
  --white: #fffaf3;
  --shadow: 0 20px 60px rgba(32, 36, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 243, 236, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.9rem;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 25, 22, 0.82), rgba(21, 25, 22, 0.45) 46%, rgba(21, 25, 22, 0.1)),
    linear-gradient(0deg, rgba(21, 25, 22, 0.72), rgba(21, 25, 22, 0.08) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(28px, 6vh, 58px) clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e9c4a7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.72rem, 5.8vw, 5.6rem);
  font-weight: 400;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 250, 243, 0.9);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-size: 0.94rem;
  font-weight: 700;
}

.button.primary {
  background: var(--forest);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 250, 243, 0.7);
  color: var(--white);
}

.section,
.section-band {
  padding: clamp(68px, 9vw, 128px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  background: var(--forest);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
}

.intro h2 {
  max-width: 560px;
}

.intro p:last-child {
  margin: 6px 0 0;
  color: rgba(255, 250, 243, 0.78);
  font-size: 1.12rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 0.95fr);
}

.section-copy > p:not(.eyebrow),
.section-heading > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.lead {
  color: var(--ink) !important;
  font-size: 1.24rem !important;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-card,
.post-card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.56);
  padding: 22px;
  border-radius: 8px;
}

.service-card span {
  color: var(--clay);
  font-weight: 800;
  font-size: 0.82rem;
}

.service-card h3 {
  margin-top: 18px;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.book-section {
  background: var(--paper-deep);
}

.book-image img {
  object-position: center;
}

.book-review {
  margin: 28px 0 0;
  border-left: 3px solid var(--clay);
  padding: 4px 0 4px 22px;
  color: var(--ink);
}

.book-review p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  line-height: 1.5;
}

.book-review p + p {
  margin-top: 16px;
}

.book-review cite {
  display: block;
  margin-top: 18px;
  color: var(--clay);
  font-style: normal;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--forest);
  font-weight: 780;
  border-bottom: 1px solid currentColor;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 24px;
}

.post-list {
  display: grid;
  gap: 14px;
}

.post-card {
  min-height: 180px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.post-card:hover {
  border-color: rgba(164, 109, 82, 0.52);
  background: rgba(255, 250, 243, 0.82);
  transform: translateY(-2px);
}

.post-link {
  display: grid;
  height: 100%;
  align-content: start;
}

.post-topic {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-excerpt {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.52;
}

.post-card span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-page {
  background: var(--paper);
}

.article-page .site-header {
  background: rgba(247, 243, 236, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.article-hero {
  padding: clamp(112px, 13vw, 156px) clamp(18px, 4vw, 56px) clamp(52px, 8vw, 96px);
  background: var(--paper-deep);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.article-kicker {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-title {
  max-width: 740px;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  font-weight: 400;
  line-height: 1.02;
}

.article-summary {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.article-cover img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.article-body {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 4vw, 56px);
}

.article-content {
  width: min(820px, 100%);
  margin: 0 auto;
}

.article-content p,
.article-content li {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.82;
}

.article-content p {
  margin: 0 0 24px;
}

.article-content .article-lead {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.36rem, 2.3vw, 1.72rem);
  line-height: 1.45;
}

.article-divider {
  width: 72px;
  height: 1px;
  margin: 36px 0;
  background: var(--clay);
}

.article-questions {
  margin: 34px 0;
  padding: 24px;
  border-left: 3px solid var(--clay);
  background: rgba(255, 250, 243, 0.72);
}

.article-questions p {
  margin-bottom: 12px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.48;
}

.article-questions p:last-child {
  margin-bottom: 0;
}

.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(820px, 100%);
  margin: 52px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-footer-nav a {
  color: var(--forest);
  font-weight: 780;
  border-bottom: 1px solid currentColor;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.contact-section .section-copy p:not(.eyebrow) {
  color: rgba(255, 250, 243, 0.72);
}

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

.hidden-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 250, 243, 0.76);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 243, 0.24);
  border-radius: 0;
  background: rgba(255, 250, 243, 0.06);
  color: var(--white);
  padding: 13px 14px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #e9c4a7;
  outline-offset: 2px;
}

.contact-form .button {
  width: fit-content;
  background: #e9c4a7;
  color: var(--ink);
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: #e9c4a7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: #171a18;
  color: rgba(255, 250, 243, 0.72);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin: 0 auto 44px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(21, 25, 22, 0.84), rgba(21, 25, 22, 0.32)),
      linear-gradient(90deg, rgba(21, 25, 22, 0.74), rgba(21, 25, 22, 0.2));
  }

  .intro-grid,
  .split,
  .split.reverse,
  .section-heading,
  .blog-layout,
  .contact-grid,
  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .image-panel {
    order: 2;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .image-panel img {
    min-height: 340px;
  }

  .article-cover img {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 185px;
    line-height: 1.2;
  }

  h1 {
    font-size: 2.42rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 14px;
  }

  .section,
  .section-band {
    padding-block: 58px;
  }

  .article-title {
    font-size: 2.42rem;
  }

  .article-footer-nav {
    flex-direction: column;
  }
}
