:root {
  --ink: #18352f;
  --forest: #143c35;
  --forest-deep: #0e2e29;
  --cream: #f7f2e7;
  --paper: #fffdf7;
  --terracotta: #c85c3b;
  --gold: #e6ad45;
  --sage: #8aa58e;
  --muted: #64756f;
  --line: rgba(24, 53, 47, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: white; padding: .7rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  max-width: 1500px;
  margin: auto;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--terracotta); color: white; font-family: "Newsreader", serif; font-size: .92rem; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 600; }
nav a:not(.nav-cta):hover { color: var(--terracotta); }
.nav-cta { padding: .72rem 1.05rem; border: 1px solid var(--ink); border-radius: 999px; transition: .2s ease; }
.nav-cta:hover { color: white; background: var(--ink); }

.hero {
  max-width: 1500px;
  margin: 0 auto;
  min-height: calc(100vh - 88px);
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5rem) clamp(5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.4rem; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--terracotta); }
.eyebrow span { width: 25px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: "Newsreader", serif; font-weight: 500; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(3.5rem, 7.2vw, 7rem); line-height: .91; margin-bottom: 1.7rem; }
h1.reality-headline { font-size: clamp(3.25rem, 5.4vw, 5.8rem); line-height: .94; }
h1 em { color: var(--terracotta); font-weight: 500; }
.headline-sub { display: block; margin-top: .7em; font-size: .5em; line-height: 1.12; }
.hero-intro { max-width: 630px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; margin-top: 2.2rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .82rem 1.25rem; border-radius: 6px; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--forest); box-shadow: 0 10px 30px rgba(20, 60, 53, .16); }
.button-primary:hover { background: var(--forest-deep); }
.button svg { width: 22px; height: 22px; fill: currentColor; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); gap: 1rem; }
.quick-facts div { display: flex; flex-direction: column; gap: .3rem; }
.quick-facts strong { font-family: "Newsreader", serif; font-size: 1.35rem; }
.quick-facts span { font-size: .76rem; color: var(--muted); }

.hero-art { aspect-ratio: 4 / 3; position: relative; isolation: isolate; overflow: hidden; border-radius: 160px 160px 10px 10px; background: #eed09b; box-shadow: 0 30px 70px rgba(54, 59, 44, .16); }
.hero-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.photo-art::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(to top, rgba(8, 31, 27, .45), transparent 34%); pointer-events: none; }
.sun { position: absolute; top: 13%; right: 18%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #f4b83f; box-shadow: 0 0 60px rgba(244, 184, 63, .35); }
.cloud { position: absolute; height: 3%; border-radius: 999px; background: rgba(255,255,255,.65); }
.cloud-one { top: 23%; left: 12%; width: 22%; }
.cloud-two { top: 33%; right: 6%; width: 15%; opacity: .7; }
.hill { position: absolute; bottom: 0; left: -12%; width: 125%; border-radius: 50% 50% 0 0; transform-origin: bottom; }
.hill-back { height: 54%; background: #b7bd88; transform: rotate(-5deg); }
.hill-front { height: 39%; left: -8%; background: #6e8b65; transform: rotate(5deg); }
.finca { position: absolute; z-index: 3; bottom: 28%; left: 28%; width: 34%; height: 21%; }
.house { position: absolute; bottom: 0; width: 100%; height: 67%; background: #fff7df; box-shadow: 8px 12px 0 rgba(56, 75, 55, .14); }
.roof { position: absolute; z-index: 1; top: 6%; left: -8%; width: 116%; height: 38%; background: var(--terracotta); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.door { position: absolute; bottom: 0; left: 18%; width: 18%; height: 58%; background: var(--forest); }
.window { position: absolute; top: 27%; right: 19%; width: 20%; aspect-ratio: 1; background: #7aafbd; box-shadow: inset 0 0 0 3px #ede2c6; }
.solar { position: absolute; z-index: 4; right: 11%; bottom: 25%; display: flex; gap: 2px; transform: skew(-9deg); }
.solar i { width: 27px; height: 39px; background: repeating-linear-gradient(0deg, #244f61 0 8px, #558094 9px 10px); border: 2px solid #d9dad0; }
.olive { position: absolute; z-index: 5; bottom: 16%; width: 15%; height: 22%; }
.olive b { position: absolute; left: 47%; bottom: 0; width: 10%; height: 48%; background: #70533a; }
.olive i { position: absolute; width: 100%; height: 65%; border-radius: 50%; background: #3e684b; box-shadow: -14px 13px 0 #4f7653, 15px 11px 0 #355d43; }
.olive-one { left: 10%; }
.olive-two { right: 20%; bottom: 8%; transform: scale(.75); }
.art-caption { position: absolute; z-index: 6; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; display: flex; justify-content: space-between; color: rgba(255,255,255,.82); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }

.plan { background: var(--paper); padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { max-width: 820px; margin-bottom: 4rem; }
.section-heading h2, .journey h2 { font-size: clamp(2.7rem, 5.5vw, 5rem); line-height: 1; margin-bottom: 1.4rem; }
.section-heading > p:last-child { max-width: 680px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.topic-explorer { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; min-height: 520px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgba(34, 58, 51, .08); }
.topic-tabs { display: flex; flex-direction: column; background: #f1eadc; padding: 1.2rem; }
.topic-tabs button { flex: 1; display: flex; align-items: center; gap: 1rem; border: 0; border-bottom: 1px solid var(--line); padding: 1.2rem; background: transparent; text-align: left; color: var(--muted); cursor: pointer; font: 600 1rem "DM Sans", sans-serif; }
.topic-tabs button:last-child { border-bottom: 0; }
.topic-tabs button span { color: var(--terracotta); font-size: .75rem; }
.topic-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-radius: 5px; border-bottom-color: transparent; box-shadow: 0 6px 20px rgba(36,55,50,.07); }
.topic-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.topic-panels { padding: clamp(2rem, 6vw, 5.5rem); display: flex; align-items: center; }
.topic-panels article { width: 100%; animation: panelIn .35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-kicker { color: var(--terracotta); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 700; }
.topic-panels h3 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.03; max-width: 620px; margin-bottom: 1rem; }
.topic-panels > article > p:not(.panel-kicker) { color: var(--muted); max-width: 620px; line-height: 1.7; }
.topic-panels ul { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.topic-panels li { padding: 1rem .7rem 1rem 0; display: flex; flex-direction: column; gap: .3rem; border-bottom: 1px solid var(--line); }
.topic-panels li span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.topic-panels li strong { font-size: .94rem; }

.journey { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem); background: var(--paper); }
.journey-card { max-width: 1360px; margin: 0 auto; border-radius: 12px; background: var(--forest); color: white; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; }
.journey-copy { padding: clamp(2.5rem, 7vw, 7rem); }
.eyebrow.light { color: #f0b74e; }
.journey h2 { max-width: 690px; }
.journey-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); line-height: 1.75; max-width: 640px; }
.button-light { margin-top: 1.4rem; background: var(--cream); color: var(--forest); }
.community-invite { margin-top: 1.65rem; padding: 1.15rem 1.25rem; border-left: 3px solid var(--gold); background: rgba(255,255,255,.06); }
.community-invite strong { color: var(--gold); font-family: "Newsreader", serif; font-size: 1.25rem; }
.community-invite p { margin: .35rem 0 0; color: rgba(255,255,255,.76); font-size: .9rem; line-height: 1.55; }
.journey-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.journey-actions .button { margin-top: 0; }
.button-outline { border: 1px solid rgba(255,255,255,.45); color: white; }
.button-outline:hover { background: rgba(255,255,255,.1); border-color: white; }
.route { min-height: 430px; position: relative; background: radial-gradient(circle at 60% 42%, #315d50 0, transparent 35%), #0f332d; overflow: hidden; }
.route::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(45deg, transparent 48%, white 49%, white 51%, transparent 52%); background-size: 32px 32px; }
.route-line { position: absolute; left: 24%; top: 28%; width: 51%; height: 43%; border: 2px dashed rgba(255,255,255,.45); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(13deg); }
.traveller { position: absolute; right: 4%; top: 8%; color: var(--gold); font-size: 1.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 50% { transform: scale(1.35) rotate(20deg); } }
.route-stop { position: absolute; display: flex; flex-direction: column; gap: .25rem; }
.route-stop i { position: absolute; left: -23px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(230, 173, 69, .15); }
.route-stop span { color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .13em; font-size: .65rem; }
.route-stop strong { font-family: "Newsreader", serif; font-size: 1.45rem; }
.route-stop.start { left: 13%; top: 67%; }
.route-stop.end { right: 12%; top: 21%; }

footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; max-width: 1360px; margin: auto; padding: 1.5rem clamp(1.25rem, 5vw, 5rem); font-size: .82rem; color: var(--muted); }
footer p { text-align: center; }
footer > a:last-child { justify-self: end; font-weight: 700; color: var(--ink); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-copy { max-width: 720px; }
  .hero-art { width: min(100%, 620px); justify-self: center; aspect-ratio: 5 / 4; border-radius: 120px 120px 10px 10px; }
  .finca { width: 27%; height: 25%; }
  .topic-explorer, .journey-card { grid-template-columns: 1fr; }
  .topic-explorer { min-height: auto; }
  .topic-tabs { flex-direction: row; overflow-x: auto; }
  .topic-tabs button { min-width: 165px; border-bottom: 0; }
  .route { min-height: 360px; }
}

@media (max-width: 600px) {
  .site-header { height: 72px; }
  .brand > span:last-child { font-size: .9rem; }
  .nav-cta { padding: .62rem .8rem; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(3.15rem, 16vw, 4.7rem); }
  h1.reality-headline { font-size: clamp(3rem, 14vw, 4.35rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .quick-facts { gap: .55rem; }
  .quick-facts strong { font-size: 1.1rem; }
  .quick-facts span { font-size: .67rem; }
  .hero-art { border-radius: 80px 80px 8px 8px; }
  .solar { transform: scale(.72) skew(-9deg); transform-origin: bottom right; }
  .topic-tabs { padding: .6rem; }
  .topic-tabs button { min-width: 142px; padding: 1rem .75rem; font-size: .85rem; }
  .topic-panels { padding: 2.2rem 1.35rem; }
  .topic-panels ul { grid-template-columns: 1fr; }
  .journey-copy { padding: 2.5rem 1.5rem 3rem; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
