:root {
  --display-font: "Skranji", Georgia, serif;
  --ink: #17211c;
  --pine: #213d32;
  --moss: #5f7d4f;
  --fjord: #5d8792;
  --stone: #d9d4c3;
  --mist: #f4f1e8;
  --ember: #b86b3f;
  --shadow: 0 22px 60px rgba(23, 33, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 107, 63, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 2%, rgba(93, 135, 146, 0.18), transparent 30rem),
    linear-gradient(180deg, #fbfaf5 0%, var(--mist) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  background-image:
    linear-gradient(30deg, transparent 46%, var(--pine) 47%, transparent 48%),
    linear-gradient(150deg, transparent 46%, var(--pine) 47%, transparent 48%);
  background-size: 72px 72px;
}

a {
  color: inherit;
}

.site-header {
  font-family: var(--display-font);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 33, 28, 0.1);
  background: rgba(251, 250, 245, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pine);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 3px;
  border: 1px solid rgba(23, 33, 28, 0.18);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(244, 241, 232, 0.88);
  box-shadow: 0 10px 24px rgba(23, 33, 28, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(23, 33, 28, 0.76);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--pine);
  background: rgba(95, 125, 79, 0.16);
}

main {
  flex: 1;
  overflow: hidden;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 64px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 52px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  font-family: var(--display-font);
  margin: 0 0 12px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 8vw, 5.95rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: rgba(23, 33, 28, 0.74);
}

.hero-content > p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px 0 0;
  font-size: 1.18rem;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--pine);
  box-shadow: 0 16px 36px rgba(33, 61, 50, 0.24);
}

.btn-secondary {
  color: var(--pine);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 33, 28, 0.14);
}

.hero-art {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 241, 232, 0) 0%, rgba(244, 241, 232, 0.78) 68%),
    linear-gradient(140deg, rgba(93, 135, 146, 0.28), rgba(95, 125, 79, 0.28));
  box-shadow: var(--shadow);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.22) 49% 51%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(23, 33, 28, 0.04) 0 1px, transparent 1px 34px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 78%, transparent 100%);
}

.sun {
  position: absolute;
  top: 78px;
  right: 76px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #e9b86c;
  box-shadow: 0 0 70px rgba(233, 184, 108, 0.48);
}

.mountain {
  position: absolute;
  bottom: 112px;
  width: 72%;
  aspect-ratio: 1.4;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.mountain-back {
  left: -6%;
  background: #6e8a75;
}

.mountain-front {
  right: -12%;
  bottom: 88px;
  background: #2f5145;
}

.fjord {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 190px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.38), transparent 36%),
    linear-gradient(180deg, var(--fjord), #28463f);
  clip-path: polygon(0 30%, 18% 22%, 34% 34%, 51% 18%, 68% 31%, 84% 22%, 100% 30%, 100% 100%, 0 100%);
}

.rune-stone {
  font-family: var(--display-font);
  position: absolute;
  left: 44px;
  bottom: 34px;
  width: 92px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 46px 46px 10px 10px;
  color: rgba(244, 241, 232, 0.84);
  font-size: 3rem;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.16), transparent 18%),
    #5b5c50;
  box-shadow: inset 0 -18px 30px rgba(23, 33, 28, 0.24), 0 20px 40px rgba(23, 33, 28, 0.22);
}

.intro-section,
.cards,
.feature-band,
.page-hero,
.timeline,
.contact-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-section {
  padding: 86px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 36px;
  align-items: end;
}

.intro-section > p {
  margin: 0;
  font-size: 1.08rem;
}

.cards {
  padding: 34px 0 92px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(23, 33, 28, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 38px rgba(23, 33, 28, 0.08);
}

.card-icon {
  font-family: var(--display-font);
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--mist);
  font-size: 1.45rem;
  background: var(--pine);
}

.card h2,
.card h3 {
  font-size: 1.45rem;
}

.card p {
  margin: 14px 0 0;
}

.feature-band {
  margin-bottom: 88px;
  padding: 54px;
  border-radius: 8px;
  color: var(--mist);
  background:
    linear-gradient(120deg, rgba(23, 33, 28, 0.94), rgba(33, 61, 50, 0.88)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.1) 18px 19px);
}

.feature-band h2,
.feature-band p {
  max-width: 700px;
  color: var(--mist);
}

.feature-band .eyebrow {
  color: #e9b86c;
}

.subpage {
  padding-bottom: 92px;
}

.page-hero {
  padding: 86px 0 54px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.14rem;
}

.route-hero {
  position: relative;
}

.route-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 42px;
  width: min(360px, 42vw);
  height: 120px;
  opacity: 0.32;
  background:
    radial-gradient(circle at 12% 50%, var(--ember) 0 7px, transparent 8px),
    radial-gradient(circle at 45% 20%, var(--pine) 0 7px, transparent 8px),
    radial-gradient(circle at 78% 55%, var(--fjord) 0 7px, transparent 8px);
  border-top: 3px dashed var(--pine);
  transform: rotate(-4deg);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline article,
.contact-card {
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 33, 28, 0.12);
  box-shadow: 0 16px 38px rgba(23, 33, 28, 0.08);
}

.timeline span {
  color: var(--ember);
  font-weight: 900;
}

.timeline h2,
.contact-card h2 {
  margin-top: 14px;
  font-size: 1.45rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 36px;
  align-items: start;
}

.contact-layout .page-hero {
  width: auto;
  margin: 0;
}

.contact-card {
  margin-top: 92px;
}

.contact-card .btn {
  margin-top: 12px;
}

.about-hero {
  position: relative;
}

.about-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 38px;
  width: min(260px, 36vw);
  height: 260px;
  opacity: 0.22;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 28px, var(--pine) 29px 33px, transparent 34px),
    linear-gradient(90deg, transparent 47%, var(--pine) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, var(--pine) 48% 52%, transparent 53%),
    linear-gradient(45deg, transparent 47%, var(--pine) 48% 52%, transparent 53%),
    linear-gradient(135deg, transparent 47%, var(--pine) 48% 52%, transparent 53%);
  border-radius: 50%;
}

.about-grid,
.values {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 34px;
}

.about-panel {
  min-height: 320px;
  padding: 34px;
  border: 1px solid rgba(23, 33, 28, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 38px rgba(23, 33, 28, 0.08);
}

.about-panel-dark {
  color: var(--mist);
  background:
    linear-gradient(140deg, rgba(23, 33, 28, 0.95), rgba(33, 61, 50, 0.88)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.1) 18px 19px);
}

.about-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.about-panel p:not(.eyebrow) {
  margin: 18px 0 0;
}

.about-panel-dark p,
.about-panel-dark h2 {
  color: var(--mist);
}

.about-panel-dark .eyebrow {
  color: #e9b86c;
}

.founder-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: center;
}

.founder-photo {
  position: relative;
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--stone);
  box-shadow: var(--shadow);
}

.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(23, 33, 28, 0.22));
  pointer-events: none;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  object-fit: cover;
  object-position: 50% 34%;
}

.founder-copy {
  padding: 34px;
  border-radius: 8px;
  border: 1px solid rgba(23, 33, 28, 0.12);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 38px rgba(23, 33, 28, 0.08);
}

.founder-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.founder-copy p:not(.eyebrow) {
  margin: 18px 0 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0 92px;
}

.values article {
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(23, 33, 28, 0.12);
}

.values span {
  color: var(--ember);
  font-family: var(--display-font);
  font-weight: 700;
}

.values h2 {
  margin-top: 14px;
  font-size: 1.45rem;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(23, 33, 28, 0.12);
  font-family: var(--display-font);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pine);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(23, 33, 28, 0.14);
}

.site-footer p {
  margin: 0;
  color: rgba(23, 33, 28, 0.62);
  text-align: right;
}

@media (max-width: 820px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav ul {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .intro-section,
  .contact-layout,
  .founder-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-art {
    min-height: 430px;
    order: -1;
  }

  .cards,
  .timeline,
  .about-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .feature-band {
    padding: 34px 24px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .nav a:not(.brand) {
    padding: 0 11px;
    font-size: 0.92rem;
  }

  .hero-art {
    min-height: 340px;
  }

  .sun {
    top: 48px;
    right: 42px;
    width: 70px;
    height: 70px;
  }

  .rune-stone {
    left: 24px;
    width: 72px;
    height: 108px;
  }

  .card {
    min-height: auto;
  }

  .founder-photo,
  .founder-photo img {
    min-height: 380px;
  }
}
