/* STOR Coalition — Short-Term Rentals of Oregon */
:root {
  --pacific: #1D4E5C;
  --fir: #24412F;
  --fir-2: #2F5039;
  --forest-night: #172B20;
  --juniper: #7E8F6A;
  --sun: #D08A3C;
  --rimrock: #B67A3E;
  --rust-ink: #8F4F14;
  --basalt: #1B2420;
  --ink-2: #3B4641;
  --ink-3: #4A5550;
  --fog: #F3F4EF;
  --dune: #EAE3D3;
  --mist: #E1E8E4;
  --line: #DAD9CF;
  --sage-light: #C9D3C1;
  --on-dark: #DCE5D8;
  --display: 'Archivo', 'Inter', system-ui, sans-serif;
  --body: 'Source Sans 3', 'Inter', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fog); color: var(--basalt); font-family: var(--body); font-size: 18px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
img, svg { display: block; }
a { color: var(--pacific); }
a:hover { color: var(--fir); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
[id] { scroll-margin-top: 88px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--basalt); color: var(--fog); padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--fog); }

.container { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.intro { display: flex; flex-direction: column; gap: 18px; max-width: 780px; align-items: flex-start; }
.section h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.01em; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.lead strong { color: var(--basalt); }
.eyebrow { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust-ink); }
.fine { font-size: 15px; color: var(--ink-3); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 72px; align-items: start; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .15s, transform .15s; }
.btn-primary { background: var(--sun); color: var(--basalt); }
.btn-primary:hover { background: #DE9A4E; color: var(--basalt); }
.btn-outline { border-color: var(--basalt); color: var(--basalt); background: transparent; }
.btn-outline:hover { background: var(--basalt); color: var(--fog); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-block { width: 100%; min-height: 56px; font-size: 19px; font-weight: 800; }
.btn[disabled] { opacity: .65; cursor: progress; }
.text-link { color: var(--basalt); font-weight: 700; font-size: 18px; padding: 10px 0; text-decoration: none; border-bottom: 3px solid var(--sun); }
.text-link:hover { color: var(--fir); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 244, 239, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--basalt); }
.brand:hover { color: var(--basalt); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.04em; }
.wordmark-sub { font-weight: 600; font-size: 13px; letter-spacing: 0.2em; }
.wordmark-lg { font-size: 26px; display: block; }
.wordmark-lg .wordmark-sub { font-size: 14px; }
.brand-tag { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 8px 24px; font-weight: 600; font-size: 16px; }
.nav-links a:not(.btn) { color: var(--basalt); text-decoration: none; padding: 10px 0; }
.nav-links a:not(.btn):hover { color: var(--pacific); text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--basalt); cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: 0 12px 32px rgba(27, 36, 32, .12); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px; border-radius: 10px; }
  .nav-links .btn { margin-top: 6px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-inner { padding-top: clamp(48px, 8vw, 104px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: var(--mist); color: var(--pacific); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; padding: 8px 16px; border-radius: 999px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); display: inline-block; flex: none; }
.dot-ink { width: 8px; height: 8px; background: var(--basalt); }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; max-width: 15ch; }
.hero-lead { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.landscape { width: 100%; height: auto; aspect-ratio: 1440 / 260; max-height: 300px; }

/* Steering */
.steering { background: var(--basalt); color: var(--fog); }
.steering-inner { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; justify-content: space-between; }
.steering-title { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-light); }
.steering-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 48px; }
.steering-list li { display: flex; flex-direction: column; gap: 4px; }
.steering-name { font-family: var(--display); font-weight: 700; font-size: 20px; }
.steering-sub { font-size: 15px; color: var(--sage-light); }

/* Why we exist */
.why-exist { background: var(--dune); padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.why-exist .eyebrow { font-size: 15px; }
.statement { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -0.015em; max-width: 22ch; }
.statement-sub { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; max-width: 34ch; color: var(--pacific); }

/* Pacific band */
.band-pacific { background: var(--pacific); color: var(--fog); padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 64px; align-items: center; }
.h2-band { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 800; }
.band-pacific p { font-size: 20px; line-height: 1.6; color: #DCE7E4; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.card p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.card .icon { color: var(--pacific); }
.card-dark { background: var(--fir-2); }
.card-dark h3 { font-size: 21px; color: var(--fog); }
.card-dark p { color: var(--on-dark); }

.long-run { background: var(--dune); border-radius: 20px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: center; }
.long-run-head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.long-run h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; font-weight: 800; }
.long-run p { flex: 2 1 420px; min-width: 0; font-size: 19px; line-height: 1.6; color: var(--ink-2); }

/* Levels */
.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.level { background: #fff; border-radius: var(--radius); border-top: 8px solid; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.level h3 { font-size: 26px; font-weight: 800; }
.level p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.level-num { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.level-1 { border-top-color: var(--pacific); } .level-1 .level-num { color: var(--pacific); }
.level-2 { border-top-color: var(--fir); } .level-2 .level-num { color: var(--fir); }
.level-3 { border-top-color: var(--rimrock); } .level-3 .level-num { color: var(--rust-ink); }

/* Training */
.section-fir { background: var(--fir); color: var(--fog); }
.section-fir .lead { color: var(--on-dark); }
.pill-dashed { display: inline-flex; align-items: center; border: 1.5px dashed var(--sage-light); color: #E6ECE2; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.pledge { background: var(--fog); color: var(--basalt); border-radius: 20px; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 48px; align-items: center; }
.pledge-text { display: flex; flex-direction: column; gap: 10px; }
.pledge-quote { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; }
.pledge-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pledge-cta p { font-size: 18px; color: var(--ink-2); }

/* Roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; min-width: 0; }
.roadmap li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 600; }
.roadmap li:last-child { border-bottom: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.status-done { background: var(--fir); color: var(--fog); }
.status-open { background: var(--sun); color: var(--basalt); }
.status-progress { border: 2px solid var(--pacific); color: var(--pacific); padding: 3px 12px; }
.status-dev { border: 2px dashed var(--ink-3); color: var(--ink-2); padding: 3px 12px; }
.status-next { color: var(--ink-3); padding-left: 0; padding-right: 0; }

/* Join */
.section-dune { background: var(--dune); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: no-repeat center/24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324412F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.form-card { background: #fff; border-radius: 20px; padding: clamp(24px, 3.5vw, 40px); min-width: 0; }
.signup { display: flex; flex-direction: column; gap: 20px; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.field-label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
.optional { font-weight: 400; color: var(--ink-3); }
.field { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #8E9A92; border-radius: 10px; background: #fff; font: inherit; font-size: 17px; color: var(--basalt); }
.field:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--basalt); }
.field[aria-invalid="true"] { border-color: #A3341F; }
select.field { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff no-repeat right 14px center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2420' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid #8E9A92; border-radius: 12px; background: #fff; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--fir); background: #F1F5F0; box-shadow: inset 0 0 0 1px var(--fir); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fir); flex: none; }
.choice > span { display: flex; flex-direction: column; gap: 2px; }
.choice-sub { color: var(--ink-3); font-size: 16px; }
.help-list { background: var(--fog); border-radius: 12px; padding: 16px 18px; }
.help-list legend { float: left; width: 100%; font-size: 16px; margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; font-size: 17px; clear: both; }
.check input { width: 20px; height: 20px; accent-color: var(--fir); flex: none; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FBEDE8; color: #7A2414; border-radius: 10px; padding: 12px 14px; font-size: 16px; font-weight: 600; }
.success { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px 0; }
.success:focus { outline: none; }
.success h3 { font-size: 30px; font-weight: 800; }
.success p { font-size: 19px; color: var(--ink-2); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--forest-night); color: #E6ECE2; }
.footer-inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-tag { display: block; font-size: 16px; color: var(--sage-light); margin-top: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-weight: 600; }
.footer-nav a, .footer-bottom a { color: #E6ECE2; text-decoration: none; padding: 10px 0; }
.footer-nav a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-mission { max-width: 80ch; font-size: 16px; line-height: 1.6; color: var(--sage-light); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; border-top: 1px solid #35513F; padding-top: 24px; font-size: 15px; color: var(--sage-light); }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; padding: 40px var(--gutter); }
.notfound h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
