:root {
  color-scheme: light;
  --ink: #10261d;
  --ink-soft: #38524a;
  --paper: #f8faf7;
  --white: #ffffff;
  --fern: #1d6b4a;
  --fern-dark: #164734;
  --brass: #b88a3d;
  --clay: #9f5244;
  --line: rgba(16, 38, 29, 0.14);
  --shadow: 0 18px 48px rgba(16, 38, 29, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 42px;
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 38, 29, 0.94);
  box-shadow: 0 12px 32px rgba(16, 38, 29, 0.18);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 680;
}

.site-nav a {
  opacity: 0.92;
}

.site-nav a:hover,
.site-footer a:hover {
  color: #d6a955;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(16, 38, 29, 0.26);
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 38, 29, 0.88) 0%, rgba(16, 38, 29, 0.62) 38%, rgba(16, 38, 29, 0.1) 78%),
    linear-gradient(180deg, rgba(16, 38, 29, 0.3), rgba(16, 38, 29, 0.04) 54%, rgba(248, 250, 247, 0.1));
}

.hero-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 58px;
  color: var(--white);
}

.eyebrow,
.section-kicker,
.detail-label {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 4.4rem;
  line-height: 0.98;
  font-weight: 820;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 760;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--ink);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.intro-band,
.principles-band,
.contact-section,
.content-section {
  padding: 80px 42px;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.08;
  font-weight: 780;
}

.copy-block p,
.principles-grid p,
.contact-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.copy-block p + p {
  margin-top: 18px;
}

.content-section {
  background: #eef4ef;
}

.detail-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  min-height: 138px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 38, 29, 0.08);
}

.detail-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.3rem;
}

.principles-band {
  background: var(--paper);
}

.section-heading {
  width: min(1160px, 100%);
  margin: 0 auto 34px;
}

.principles-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principles-grid article {
  padding: 26px;
  border-top: 4px solid var(--fern);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 38, 29, 0.08);
}

.principles-grid h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

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

.contact-panel {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: center;
}

.contact-panel h2 {
  margin-bottom: 16px;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.contact-link {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-weight: 760;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 42px;
  color: rgba(255, 255, 255, 0.74);
  background: #0b1813;
  font-size: 0.9rem;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--fern-dark);
}

.not-found-main {
  width: min(620px, 100%);
  padding: 44px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.not-found-main h1 {
  margin: 0 0 14px;
  font-size: 2.45rem;
  line-height: 1.08;
}

.not-found-main p:not(.section-kicker) {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .site-header {
    padding: 14px 22px;
  }

  .brand {
    font-size: 0.82rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 18px;
    background: rgba(16, 38, 29, 0.96);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: 84vh;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 38, 29, 0.88), rgba(16, 38, 29, 0.44)),
      linear-gradient(180deg, rgba(16, 38, 29, 0.46), rgba(16, 38, 29, 0.16));
  }

  .hero-inner {
    width: calc(100% - 44px);
    padding-top: 96px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .intro-band,
  .principles-band,
  .contact-section,
  .content-section {
    padding: 62px 22px;
  }

  .section-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2rem;
  }

  .contact-actions {
    margin-top: 0;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 22px;
  }
}

@media (max-width: 460px) {
  .brand span:last-child {
    max-width: 180px;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .button {
    width: 100%;
  }
}
