/* Ronan's Eagle Project: one stylesheet for the whole site.
   Look ("Sunlit", chosen 2026-10-18): Ronan's drone photo fills the top; desert sand,
   evening-sky blue and terracotta. Colors live in the variables below; change them here and the whole site follows.
   System fonts only: no outside font services, so no third-party requests. */

:root {
  --sand: #faf5ec;
  --sand-2: #f1e6d3;
  --paper: #fffdf8;
  --ink: #2a2620;
  --muted: #6b6253;
  --sage: #23384a;        /* evening sky blue: nav, dark bands */
  --sage-2: #4a5a45;
  --copper: #c4532d;      /* terracotta: buttons, progress */
  --copper-dark: #a5421f;
  --line: #d9cfba;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sand: #1a1915;
    --sand-2: #22201b;
    --paper: #26241e;
    --ink: #efe9dc;
    --muted: #b3a993;
    --sage: #141a14;
    --sage-2: #9db493;
    --copper: #e07a45;
    --copper-dark: #f0915f;
    --line: #3a362d;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 16px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
a { color: var(--copper-dark); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
main > section.wrap { padding-top: 72px; padding-bottom: 8px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-dark);
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

/* Top navigation */
.topnav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--sage) 94%, transparent);
  backdrop-filter: blur(6px);
}
.topnav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; }
.brand { color: #fff; text-decoration: none; font-family: var(--serif); font-weight: 700; white-space: nowrap; }
.topnav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; align-items: center; }
.topnav ul a { color: #e6e0d2; text-decoration: none; font-size: 0.95rem; }
.topnav ul a:hover { color: #fff; }
.nav-cta { background: var(--copper); color: #fff !important; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 720px) {
  .topnav ul li:not(:last-child) { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sage);
  color: #f4efe4;
  padding: 56px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin: 0 0 16px; color: #fff; }
.hero .eyebrow { color: #e7a37c; }
.lede { font-size: 1.15rem; color: #ddd6c6; max-width: 34em; }

.hero-progress { margin: 28px 0 24px; max-width: 460px; }
.amounts { margin: 0 0 10px; color: #cfc7b5; }
.raised { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: #fff; margin-right: 6px; }
.bar { height: 14px; background: rgba(255,255,255,0.14); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--copper); border-radius: 999px; transition: width 1s ease; }
.hero .note { margin: 10px 0 0; font-size: 0.9rem; color: #cfc7b5; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn.is-disabled { opacity: 0.55; pointer-events: none; }

/* Intro */
.intro { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.portrait img, .portrait-placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }
.portrait-placeholder {
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--sand-2), var(--sand-2) 10px, var(--sand) 10px, var(--sand) 20px);
  border: 1px dashed var(--line); color: var(--muted); font-size: 0.9rem;
}

/* Lot map */
.map-section h2 { margin-bottom: 12px; }
.lot-finder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 8px; }
.lot-finder label { font-weight: 600; }
.lot-finder input {
  width: 120px; padding: 10px 12px; font: inherit; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.lot-finder .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.lot-result { min-height: 1.6em; color: var(--muted); }
.map-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.lot-map svg { display: block; width: 100%; min-width: 760px; height: auto; }
.lot-map .lot rect { fill: rgba(20, 40, 55, 0.18); stroke: #fff; stroke-width: 2; }
.lot-map .lot text {
  font: 700 26px var(--sans); fill: #fff; text-anchor: middle; dominant-baseline: central;
  paint-order: stroke; stroke: rgba(0,0,0,0.75); stroke-width: 5px; pointer-events: none;
}
.lot-map .lot { cursor: pointer; }
.lot-map .lot:hover rect, .lot-map .lot:focus rect { fill: rgba(255,255,255,0.25); outline: none; }
.lot-map .lot.is-found rect { fill: rgba(181, 86, 42, 0.55); stroke: #ffd2b8; stroke-width: 5; }
.lot-map .route polyline { fill: none; stroke: #ffb38a; stroke-width: 7; stroke-dasharray: 18 12; stroke-linejoin: round; }
.lot-map .route circle { fill: none; stroke: #ffb38a; stroke-width: 6; }
.lot-map .landmarks circle { fill: var(--copper); stroke: #fff; stroke-width: 3; }
.lot-map .landmarks text, .lot-map .you-label {
  font: 700 26px var(--sans); fill: #fff; text-anchor: middle;
  paint-order: stroke; stroke: rgba(0,0,0,0.8); stroke-width: 6px;
}
.lot-map .you { fill: #ffb38a; stroke: #fff; stroke-width: 1.5; }

.lot-map .map-title rect { fill: #2f3b2f; }
.lot-map .map-title .t1 { font: 700 72px var(--serif); fill: #fff; letter-spacing: 2px; }
.lot-map .map-title .t2 { font: 400 30px var(--sans); fill: #ddd6c6; }
.lot-map .map-qr .card { fill: rgba(255, 253, 248, 0.96); stroke: #2f3b2f; stroke-width: 3; }
.lot-map .map-qr .q1 { font: 700 21px var(--sans); fill: #2a2620; text-anchor: middle; }

/* Bands */
.band { background: var(--sand-2); padding: 72px 0; margin-top: 72px; }
.band-dark { background: var(--sage); color: #efe9dc; }
.band-dark .eyebrow { color: #e7a37c; }
.band-dark h2, .band-dark h3 { color: #fff; }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }

/* Project cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px 18px;
}
.card-feature { grid-column: 1 / -1; border-left: 6px solid var(--copper); }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px;
  border-radius: 6px; background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-weight: 700;
}
.tag { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin: 6px 0 0; }

.sign-compare {
  margin-top: 24px; padding: 22px; border-radius: var(--radius);
  border: 2px dashed var(--line);
}

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.option { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.option-best { border: 2px solid var(--copper); }
.option-label { margin: 0 0 2px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.option h4 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 8px; }
.option ul { margin: 0; padding-left: 18px; }
.option li { margin-bottom: 4px; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

.mockup { margin: 28px 0 0; }
.mockup img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.mockup figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

/* Budget */
.budget { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; margin: 8px 0 12px; }
.budget th, .budget td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.budget th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.budget td:last-child, .budget th:last-child { text-align: right; white-space: nowrap; }
.budget tr:last-child td { border-bottom: 0; }
.note { font-size: 0.92rem; color: var(--muted); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 24px 0 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -10px; top: 4px; width: 14px; height: 14px;
  background: var(--sand); border: 3px solid var(--line); border-radius: 3px;
}
.timeline li.done::before { background: var(--copper); border-color: var(--copper); }
.timeline h3 { margin-bottom: 2px; }
.timeline p { color: var(--muted); margin: 0; }

/* Help */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.help-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 22px; }
.help-card p { color: #d6cfbf; }
.tax { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); max-width: 46em; }
.tax p { color: #d6cfbf; font-size: 0.95rem; }

/* Footer */
.site-footer { padding: 32px 0; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

.hero > .wrap { position: relative; }

.not-found { padding: 96px 16px; text-align: center; }

/* Phone and tablet */
@media (max-width: 860px) {
  .hero-grid, .two-col, .intro { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; }
  .intro .portrait { max-width: 220px; }
  .cards, .help-grid { grid-template-columns: 1fr; }
}

/* Sunlit hero: Ronan's drone photo fills the top of the page. */
.hero { min-height: min(78vh, 640px); display: grid; align-items: end; padding: 120px 0 56px; background: #6f5a3e; }
.hero-photo {
  display: block; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,24,28,0.85) 0%, rgba(20,24,28,0.25) 55%, rgba(20,24,28,0.1) 100%),
    url(/images/aerial.jpg) center / cover;
}
.hero-grid { grid-template-columns: 1fr; }
.hero .eyebrow { color: #ffd9c2; }
.hero h1, .hero .eyebrow, .hero .lede, .hero .note { text-shadow: 0 1px 3px rgba(0,0,0,0.7), 0 0 18px rgba(0,0,0,0.45); }
.hero h1 { max-width: 15em; }
