:root {
  --cream: #f7f1e6;
  --cream-soft: #fbf7ef;
  --forest: #243f2f;
  --forest-deep: #16261d;
  --sage: #73806c;
  --sage-light: #dce2d4;
  --gold: #c49a5a;
  --text: #1f2923;
  --muted: #5f695f;
  --line: rgba(36, 63, 47, 0.16);
  --shadow: 0 24px 70px rgba(31, 41, 35, 0.12);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(36, 63, 47, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.32;
  z-index: -1;
}

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

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

a:focus-visible {
  outline: 3px solid rgba(196, 154, 90, 0.72);
  outline-offset: 4px;
}

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest-deep);
  line-height: 1.12;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  max-width: 760px;
  color: #fffaf1;
  font-size: clamp(2.15rem, 5.8vw, 4.9rem);
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.8vw, 4rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(247, 241, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 600;
  white-space: nowrap;
}

.logo img {
  width: clamp(78px, 8vw, 108px);
  height: clamp(78px, 8vw, 108px);
  object-fit: contain;
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--gold);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(22, 38, 29, 0.88), rgba(22, 38, 29, 0.58) 52%, rgba(22, 38, 29, 0.25)),
    linear-gradient(0deg, rgba(22, 38, 29, 0.72), rgba(22, 38, 29, 0.08) 42%),
    url("assets/forest.jpg") center / cover no-repeat;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  overflow: hidden;
}

.hero-overlay {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(72px, 15vh, 150px) clamp(20px, 5vw, 48px) clamp(48px, 9vh, 92px);
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 250, 241, 0.88);
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--forest);
  color: #fffaf1;
  box-shadow: 0 14px 32px rgba(22, 38, 29, 0.24);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--forest-deep);
}

.hero .button.primary {
  background: #fffaf1;
  color: var(--forest);
}

.hero .button.primary:hover,
.hero .button.primary:focus-visible {
  background: var(--cream);
}

.button.secondary {
  border: 1px solid rgba(255, 250, 241, 0.7);
  color: #fffaf1;
}

.contact-card .button.secondary {
  border-color: var(--forest);
  color: var(--forest);
}

.trust-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 14px 32px rgba(22, 38, 29, 0.24);
}

.trust-link:hover,
.trust-link:focus-visible {
  background: #fffaf1;
}

.trust-link img {
  width: clamp(92px, 12vw, 132px);
  height: auto;
  border-radius: 999px;
}

.nowrap-title {
  white-space: nowrap;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
}

.section {
  scroll-margin-top: 96px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 122px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.section-heading.narrow {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(20px, calc((100vw - var(--max-width)) / 2));
  background: rgba(251, 247, 239, 0.72);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.focus-card,
.portrait-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: var(--shadow);
}

.card {
  min-height: 230px;
  padding: 28px;
}

.card h3 {
  margin-bottom: 14px;
}

.card p + p {
  margin-top: 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.split p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.focus-card {
  padding: 30px;
}

.focus-card ul {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.focus-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.focus-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(196, 154, 90, 0.18);
}

.performance {
  position: relative;
}

.performance-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.performance-layout p {
  max-width: 690px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.performance-image {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: var(--shadow);
}

.performance-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  object-fit: cover;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-layout p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.portrait-card {
  padding: 14px;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
}

.contact {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(30px, 6vw, 58px);
  border-radius: 18px;
  background: var(--forest);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  color: #fffaf1;
}

.contact-panel p {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 250, 241, 0.78);
  font-size: 1.05rem;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  background: #fffaf1;
  color: var(--forest);
  font-style: normal;
}

.contact-card a:not(.button) {
  color: var(--forest);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card span {
  color: var(--muted);
}

.contact-card .button {
  margin-top: 10px;
}

.contact-buttons {
  margin-top: 10px;
}

.contact-buttons .button {
  margin-top: 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--cream-soft);
}

.footer p {
  color: var(--forest);
  font-size: 0.92rem;
}

.footer p + p {
  margin-top: 4px;
}

.footer .trust-link {
  box-shadow: none;
  border: 1px solid var(--line);
}

.footer .trust-link img {
  width: 86px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .card-grid.three,
  .card-grid.two,
  .split,
  .performance-layout,
  .about-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .portrait-card {
    max-width: 430px;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.65;
  }

  .site-header {
    padding: 14px 18px;
  }

  .logo {
    font-size: 1.12rem;
  }

  .logo img {
    width: 72px;
    height: 72px;
  }

  .nav {
    gap: 16px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 700px;
    align-items: end;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background-position: 58% center;
  }

  .hero-overlay {
    padding: 68px 20px 42px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section {
    width: min(100% - 32px, var(--max-width));
    padding: 64px 0;
  }

  .band {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .card {
    min-height: auto;
    padding: 24px;
  }

  .contact-panel {
    padding: 26px 20px;
    border-radius: 14px;
  }

  .contact-card {
    padding: 22px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }

  .nowrap-title {
    white-space: normal;
  }
}
