/* Redemption Ridge Foundation ... the logo palette, applied
   Ridge Navy base, Compass Gold accent, Paper Cream sections.
   Colours match the logo package exactly: see marketing/Logo Package/Redemption Ridge Brand Basics.md
   Display: Bricolage Grotesque. Body: Instrument Sans. Labels: Spline Sans Mono. */

:root {
  --navy: #222F42;
  --navy-2: #2C3A50;
  --navy-3: #35455D;
  --gold: #C89B52;
  --gold-deep: #B18846;
  --cream: #FDF1E3;
  --cream-2: #F2E4D2;
  --mist: #A9B6C6;
  --ink: #1B2534;
  --line: rgba(253, 241, 227, 0.14);
  --line-dark: rgba(27, 37, 52, 0.16);
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Instrument Sans", sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* grain atmosphere */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 4; mix-blend-mode: overlay;
}

::selection { background: var(--gold); color: var(--navy); }

h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; line-height: 1.04; letter-spacing: -0.015em; }

.eyebrow {
  font-family: "Spline Sans Mono", monospace;
  font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); display: inline-block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--max); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { display: block; height: 56px; width: auto; max-width: 62vw; }
.footer-logo { display: block; width: 186px; max-width: 60%; height: auto; }
.brand-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 0.02em; line-height: 1.05; }
.brand-name small { display: block; font-family: "Spline Sans Mono", monospace; font-weight: 400; font-size: 9.5px; letter-spacing: 0.28em; color: var(--mist); margin-top: 3px; }
nav.links { display: flex; gap: 26px; align-items: center; }
nav.links a { color: var(--cream); text-decoration: none; font-size: 15px; opacity: 0.85; }
nav.links a:hover { opacity: 1; color: var(--gold); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 3px; border: 1.5px solid var(--gold);
  color: var(--navy); background: var(--gold); transition: transform 0.15s ease, background 0.2s;
}
.btn:hover { background: #DCB068; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: rgba(200, 155, 82, 0.14); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--cream); font-size: 20px; padding: 6px 12px; border-radius: 3px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 0; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(52px, 9vw, 118px); font-weight: 800; text-transform: uppercase;
  margin: 18px 0 22px; color: var(--cream);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lede { font-size: clamp(18px, 2.2vw, 22px); max-width: 34em; color: var(--mist); }
.hero .cta-row { display: flex; gap: 14px; margin: 34px 0 72px; flex-wrap: wrap; }
.ridge { display: block; width: 100%; height: auto; margin-bottom: -2px; position: relative; z-index: 1; }
.sunrise {
  position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,155,82,0.30) 0%, rgba(177,136,70,0.10) 45%, transparent 70%);
  pointer-events: none;
}

/* facts strip */
.facts { background: var(--cream); color: var(--ink); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 18px; border-right: 1px solid var(--line-dark); }
.fact:last-child { border-right: none; }
.fact b { font-family: "Bricolage Grotesque", sans-serif; font-size: 30px; display: block; }
.fact span { font-family: "Spline Sans Mono", monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #5D6B7D; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.paper { background: var(--cream); color: var(--ink); }
section.paper .eyebrow { color: var(--gold-deep); }
section.paper .eyebrow::before { background: var(--gold-deep); }
h2.sec { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; text-transform: uppercase; margin: 14px 0 18px; }
.sec-intro { max-width: 42em; font-size: 18px; }
.dark .sec-intro { color: var(--mist); }
.paper .sec-intro { color: #4A5568; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 54px; }
.step { border-top: 3px solid var(--gold-deep); padding-top: 20px; }
.step .num { font-family: "Bricolage Grotesque", sans-serif; font-size: 58px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.6px var(--gold-deep); line-height: 1; }
.step h3 { font-size: 23px; margin: 12px 0 8px; }
.paper .step p { color: #4A5568; font-size: 16px; }

/* standard list */
.standard { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 44px; margin-top: 44px; }
.standard li {
  list-style: none; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line);
  position: relative; font-size: 17px;
}
.standard li::before { content: "\2713"; position: absolute; left: 0; top: 14px; color: var(--gold); font-weight: 700; }

/* house split */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-top: 40px; }
.house-card { background: var(--navy-2); border: 1px solid var(--line); border-radius: 6px; padding: 34px; }
.house-card h3 { color: var(--gold); font-size: 20px; margin-bottom: 10px; }
.house-card p { color: var(--mist); font-size: 16px; }
.house-card + .house-card { margin-top: 18px; }

/* pros block */
.pros { background: var(--navy-3); border-left: 4px solid var(--gold); padding: 34px 38px; border-radius: 0 6px 6px 0; margin-top: 48px; }
.pros h3 { font-size: 24px; margin-bottom: 8px; }
.pros p { color: var(--mist); max-width: 52em; }
.pros a { color: var(--gold); font-weight: 600; }

/* CTA band */
.band { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); color: var(--navy); text-align: center; padding: 72px 24px; }
.band h2 { font-size: clamp(30px, 4.4vw, 48px); text-transform: uppercase; font-weight: 800; }
.band p { max-width: 38em; margin: 12px auto 26px; font-weight: 500; }
.band .btn { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.band .btn:hover { background: #16202E; }

/* ---------- forms ---------- */
.form-shell { max-width: 760px; }
form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
label { display: block; font-family: "Spline Sans Mono", monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin-bottom: 7px; }
.paper label { color: #5D6B7D; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px;
  background: var(--navy-2); color: var(--cream);
  border: 1px solid var(--line); border-radius: 4px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.consent input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--gold); }
.consent span { font-size: 15.5px; color: var(--cream); font-family: "Instrument Sans", sans-serif; text-transform: none; letter-spacing: 0; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14.5px; color: var(--mist); margin-top: 16px; }

/* sponsor */
.big-stat { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(64px, 11vw, 140px); font-weight: 800; color: var(--gold); line-height: 1; }
.big-stat small { display: block; font-family: "Spline Sans Mono", monospace; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); margin-top: 10px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.s-card { background: var(--navy-2); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.s-card h3 { font-size: 19px; color: var(--gold); margin-bottom: 8px; }
.s-card p { font-size: 15.5px; color: var(--mist); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 60px; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer p { font-size: 14.5px; color: var(--mist); }
footer .brand-name { font-size: 15px; }
footer a { color: var(--gold); text-decoration: none; }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .brand img { height: 46px; }
  nav.links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 18px 24px 26px; gap: 18px; border-bottom: 1px solid var(--line); }
  nav.links.open { display: flex; }
  .menu-toggle { display: block; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { border-bottom: 1px solid var(--line-dark); }
  .steps, .sponsor-grid { grid-template-columns: 1fr; }
  .standard { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  form .grid2 { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
}

/* email-based contact block (used until a form endpoint is wired) */
.mailform { margin-top: 34px; }
.mailform h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 26px; margin-bottom: 10px; }
.mailform p { max-width: 46em; }
.paper .mailform p { color: #4A5568; }
.dark .mailform p { color: var(--mist); }
.mailform .btn { margin-top: 22px; }
.mailform .form-note { margin-top: 18px; }
