:root {
  --paper: #f4f0e7;
  --paper-deep: #e9e1d3;
  --ink: #15201d;
  --muted: #65706a;
  --pine: #173d32;
  --sage: #8aa08c;
  --rust: #b85532;
  --sun: #e0a64a;
  --line: rgba(21, 32, 29, 0.16);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(27, 37, 32, 0.13);
  --radius: 22px;
}

* { 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.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.serif { font-family: Georgia, "Times New Roman", serif; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 231, 0.92);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 17px;
  transform: rotate(-7deg);
}
.brand small { display: block; margin-top: -4px; color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; font-size: 14px; font-weight: 700; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--rust); transition: right .2s ease; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.menu-button { display: none; padding: 8px 0; border: 0; background: transparent; font-weight: 800; color: var(--ink); }

.hero {
  min-height: 72vh;
  display: flex;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #39473e url("desert-road.jpg") center / cover no-repeat;
  color: white;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,20,18,.82) 0%, rgba(10,20,18,.43) 48%, rgba(10,20,18,.12) 75%), linear-gradient(0deg, rgba(10,20,18,.48), transparent 55%); }
.hero-content { padding-block: clamp(90px, 13vw, 160px) 72px; max-width: 760px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--rust); }
.hero .eyebrow { color: #ffd18a; }
.hero h1, .page-hero h1, .article-header h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.hero h1 { max-width: 720px; font-size: clamp(58px, 9vw, 116px); }
.hero-copy { max-width: 580px; margin: 28px 0 0; font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,.86); }
.hero-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: 0 20px; border-radius: 999px; border: 1px solid transparent; background: var(--rust); color: white; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #a4492b; }
.button.secondary { border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.button.ink { background: var(--pine); }

.section { padding-block: clamp(72px, 9vw, 120px); }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 480px); gap: 40px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 72px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.section-heading p { margin: 0; color: var(--muted); }

.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.story-card { grid-column: span 4; display: flex; flex-direction: column; min-height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 10px 35px rgba(27,37,32,.06); transition: transform .25s ease, box-shadow .25s ease; }
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.story-card.featured { grid-column: span 8; }
.story-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.story-card.featured img { aspect-ratio: 16 / 8.2; }
.story-card-content { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.kicker { color: var(--rust); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.story-card h3 { margin: 10px 0 12px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
.story-card p { margin: 0; color: var(--muted); }
.card-meta { display: flex; gap: 12px; margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 12px; font-weight: 700; }
.arrow-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; color: var(--pine); font-weight: 800; }
.arrow-link span { transition: transform .2s ease; }
.arrow-link:hover span { transform: translateX(5px); }

.feature-band { background: var(--pine); color: white; }
.feature-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.feature-layout img { min-height: 460px; height: 58vw; max-height: 680px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.feature-copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(46px, 6vw, 78px); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.feature-copy p { color: rgba(255,255,255,.7); }
.feature-copy .button { margin-top: 18px; }

.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.guide-link { padding: 34px; background: var(--paper); transition: background .2s ease; }
.guide-link:hover { background: var(--white); }
.guide-link strong { display: block; margin: 8px 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1.08; }
.guide-link small { color: var(--muted); }

.page-hero { padding-block: 110px 76px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 940px; font-size: clamp(60px, 9vw, 110px); }
.page-hero p { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 20px; }
.page-hero.compact { padding-block: 82px 62px; }

.article-header { padding-block: 92px 54px; }
.article-header h1 { max-width: 1000px; font-size: clamp(52px, 8vw, 96px); }
.article-deck { max-width: 760px; margin: 28px 0 0; color: var(--muted); font-size: 21px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; font-size: 13px; font-weight: 700; color: var(--muted); }
.article-image { width: min(1360px, calc(100% - 32px)); max-height: 760px; margin: 0 auto; object-fit: cover; border-radius: var(--radius); }
.article-body { padding-block: 72px 110px; }
.article-body p { margin: 0 0 1.45em; font-family: Georgia, serif; font-size: 20px; line-height: 1.82; }
.article-body h2 { margin: 2em 0 .7em; font-family: Georgia, serif; font-size: 40px; font-weight: 500; line-height: 1.08; }
.article-body .dropcap::first-letter { float: left; margin: .08em .12em 0 0; color: var(--rust); font-size: 4.5em; line-height: .75; }
.pullquote { margin: 52px 0; padding: 34px 0; border-block: 1px solid var(--line); font-family: Georgia, serif; font-size: 32px; line-height: 1.2; color: var(--pine); }
.note-box { margin: 38px 0; padding: 28px; border-radius: 16px; background: var(--paper-deep); }
.note-box strong { display: block; margin-bottom: 8px; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.about-grid h2 { margin-top: 0; font-family: Georgia, serif; font-size: 48px; font-weight: 500; line-height: 1.05; }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.principle b { color: var(--rust); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-card h2 { margin-top: 0; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.contact-row { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 0; }
.contact-row small { display: block; color: var(--muted); }

.site-footer { padding-block: 56px 30px; background: #101c18; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .6fr); gap: 50px; }
.footer-brand { max-width: 390px; }
.footer-brand .brand { color: white; }
.footer-brand p { color: rgba(255,255,255,.55); }
.footer-column strong { display: block; margin-bottom: 14px; color: white; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.footer-column a { display: block; margin: 8px 0; color: rgba(255,255,255,.64); }
.footer-column a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.44); font-size: 12px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 850px) {
  .menu-button { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 24px 20px 30px; flex-direction: column; align-items: flex-start; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .hero { min-height: 76vh; background-position: 58% center; }
  .section-heading, .feature-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-card, .story-card.featured { grid-column: span 12; }
  .story-card.featured img, .story-card img { aspect-ratio: 16 / 10; }
  .feature-layout img { min-height: 360px; height: 60vh; }
  .guide-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .nav { top: 68px; }
  .hero-content { padding-bottom: 46px; }
  .hero h1 { font-size: 54px; }
  .section { padding-block: 66px; }
  .section-heading { gap: 20px; }
  .section-heading h2 { font-size: 44px; }
  .page-hero { padding-block: 76px 54px; }
  .page-hero h1 { font-size: 55px; }
  .article-header h1 { font-size: 50px; }
  .article-body p { font-size: 18px; }
  .pullquote { font-size: 27px; }
  .principle { grid-template-columns: 44px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
