:root {
  --ink: #f7f1e8;
  --muted: #cbbfae;
  --paper: #fff8ed;
  --night: #11100d;
  --night-soft: #1d1b16;
  --cedar: #475f4b;
  --cedar-dark: #24372d;
  --saffron: #d6a642;
  --clay: #9f5942;
  --sky: #6f99ad;
  --line: rgba(255, 248, 237, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--night);
  padding: 8px 12px;
  border-radius: 4px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(17, 16, 13, 0.88), rgba(17, 16, 13, 0.2));
  border-bottom: 1px solid rgba(255, 248, 237, 0.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(214, 166, 66, 0.64);
  border-radius: 50%;
  color: var(--saffron);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text,
.nav-links,
.eyebrow,
.section-kicker,
.link-card span,
.button,
.archive-list strong,
.site-footer {
  font-family: Arial, Helvetica, sans-serif;
}

.brand-text {
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav-links a {
  color: rgba(255, 248, 237, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--saffron);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 160px clamp(20px, 7vw, 96px) 96px;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.72), rgba(17, 16, 13, 0.34) 48%, rgba(17, 16, 13, 0.08)),
    linear-gradient(0deg, rgba(17, 16, 13, 0.82) 0%, rgba(17, 16, 13, 0) 34%),
    url("../img/home-bg-2.jpg") center / cover;
}

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

.eyebrow,
.section-kicker,
.link-card span {
  color: var(--saffron);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--paper);
  font-size: clamp(4rem, 12vw, 9.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.88;
}

h2 {
  margin-bottom: 22px;
  color: var(--paper);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  color: var(--paper);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-copy,
.lead {
  color: rgba(255, 248, 237, 0.86);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.55;
}

.hero-copy {
  max-width: 700px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: var(--saffron);
  color: #19150c;
}

.button.secondary {
  border-color: rgba(255, 248, 237, 0.34);
  color: var(--paper);
}

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

.scroll-cue {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 28px;
  color: rgba(255, 248, 237, 0.64);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 7vw, 96px);
}

.intro-section,
.mandala-section,
.contact-section {
  background: var(--night);
}

.origins-section,
.archive-section {
  background:
    linear-gradient(180deg, rgba(36, 55, 45, 0.92), rgba(17, 16, 13, 0.96)),
    url("../img/tree.jpg") center / cover fixed;
}

.split,
.feature-row,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.section-heading {
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p,
.feature-row p,
.split p,
.narrow p {
  color: var(--muted);
}

.narrow {
  max-width: 920px;
}

.image-panel {
  margin: 0;
  position: relative;
}

.image-panel::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(214, 166, 66, 0.45);
}

.image-panel img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro-section .image-panel img {
  aspect-ratio: 16 / 9;
  height: min(54vh, 620px);
  min-height: 420px;
  object-position: 50% 22%;
}

blockquote {
  margin: 36px 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--saffron);
  color: var(--paper);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.35;
}

.text-link {
  color: var(--saffron);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 248, 237, 0.08), rgba(255, 248, 237, 0.03)),
    var(--night-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.link-card p {
  color: var(--muted);
  font-size: 1rem;
}

.link-card a {
  margin-top: auto;
  color: var(--saffron);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
}

.path-list,
.archive-list {
  display: grid;
  gap: 12px;
}

.path-list a,
.archive-list a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 248, 237, 0.05);
  text-decoration: none;
}

.path-list a {
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.path-list a:hover,
.archive-list a:hover,
.path-list a:focus,
.archive-list a:focus {
  border-color: rgba(214, 166, 66, 0.7);
  background: rgba(214, 166, 66, 0.08);
}

.archive-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-list strong {
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.archive-list span {
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(71, 95, 75, 0.5), rgba(159, 89, 66, 0.24)),
    var(--night-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-panel p {
  max-width: 760px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 7vw, 96px);
  border-top: 1px solid var(--line);
  color: rgba(255, 248, 237, 0.62);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

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

  .hero {
    padding-top: 180px;
  }

  .split,
  .feature-row,
  .section-heading,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .link-grid,
  .archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: absolute;
  }

  .brand-text {
    font-size: 11px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 88vh;
    padding: 172px 20px 72px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .link-grid,
  .archive-list {
    grid-template-columns: 1fr;
  }

  .link-card {
    min-height: 240px;
  }

  .image-panel::before {
    inset: 12px -8px -12px 8px;
  }

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