/* Redwoods to Rockies - Field Notes by Cal
   Calm confidence + practical wisdom + quiet grit
*/
:root{
  --bg:#f4f1ea; --text:#1b1d1c; --muted:rgba(27,29,28,0.72); --line:rgba(27,29,28,0.14);
  --pine:#1f2e23; --ember:#a14e2b; --card:rgba(255,255,255,0.62);
  --shadow:0 10px 30px rgba(0,0,0,0.10); --shadow2:0 6px 16px rgba(0,0,0,0.10);
  --radius2:26px; --max:1100px;
}
*{box-sizing:border-box} html,body{height:100%}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.65}
a{color:var(--pine);text-decoration:none} a:hover{text-decoration:underline}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.topbar{position:sticky;top:0;z-index:50;backdrop-filter:blur(10px);background:rgba(244,241,234,0.86);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:12px}
.brand{display:flex;flex-direction:column;gap:6px}

.brandWord{height:36px;width:auto;display:block;filter:drop-shadow(0 3px 10px rgba(0,0,0,.25));}
.brandBadge{height:36px;width:auto;display:none;filter:drop-shadow(0 3px 10px rgba(0,0,0,.25));}
@media (max-width:640px){
  .brandWord{display:none;}
  .brandBadge{display:block;}
  .brand .subtitle{font-size:11px}
}

.brand .title{font-family:ui-serif,Georgia,"Times New Roman",Times,serif;font-weight:700;letter-spacing:.2px;font-size:20px}
.brand .subtitle{font-size:12.5px;color:var(--muted);letter-spacing:.3px}
.navlinks{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.navlinks a{font-size:14px;color:rgba(27,29,28,0.86);padding:6px 10px;border-radius:999px}
.navlinks a:hover{background:rgba(31,46,35,0.08);text-decoration:none}
.tools{display:flex;align-items:center;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;border-radius:999px;border:1px solid rgba(31,46,35,0.22);
  background:rgba(255,255,255,0.55);box-shadow:var(--shadow2);color:var(--pine);font-weight:650;letter-spacing:.2px}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow);text-decoration:none}
.btn.primary{background:linear-gradient(180deg,rgba(161,78,43,0.95),rgba(132,63,34,0.95));border-color:rgba(161,78,43,0.55);color:#fff}
.iconbtn{border:1px solid rgba(27,29,28,0.16);background:rgba(255,255,255,0.55);border-radius:999px;padding:10px 12px;cursor:pointer;
  box-shadow:var(--shadow2);display:inline-flex;align-items:center;gap:8px;color:rgba(27,29,28,0.86);font-weight:600;font-size:13px}
.iconbtn:hover{box-shadow:var(--shadow);transform:translateY(-1px)}
.icon{width:14px;height:14px;display:inline-block;border-radius:4px;background:rgba(31,46,35,0.18)}
.hero{position:relative;border-bottom:1px solid var(--line);overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0.25) 0%,rgba(0,0,0,0.55) 70%,rgba(0,0,0,0.60) 100%),url("assets/img/hero.jpg");
  background-size:cover;background-position:center;filter:saturate(0.92);transform:scale(1.02)}
.hero::after{content:"";position:absolute;inset:0;background:url("assets/img/texture.png");opacity:.06;mix-blend-mode:multiply;pointer-events:none}
.heroInner{position:relative;padding:86px 0 58px}
.heroGrid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:end}
.heroTitle{font-family:ui-serif,Georgia,"Times New Roman",Times,serif;font-size:54px;line-height:1.05;color:rgba(255,255,255,0.96);letter-spacing:.4px;margin:0 0 10px}
.heroSub{color:rgba(255,255,255,0.86);font-size:16px;max-width:64ch}
.heroTag{margin-top:14px;display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.18);color:rgba(255,255,255,0.92);font-weight:700;letter-spacing:.2px;font-size:13px}
.heroCtas{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.section{padding:38px 0}
.h2{font-family:ui-serif,Georgia,"Times New Roman",Times,serif;font-size:26px;margin:0 0 10px;letter-spacing:.2px}
.lede{color:var(--muted);margin-top:0;max-width:72ch}
.card{background:var(--card);border:1px solid rgba(27,29,28,0.12);border-radius:var(--radius2);box-shadow:var(--shadow2);overflow:hidden}
.cardPad{padding:20px}
.card:hover{box-shadow:var(--shadow)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.pillars .cardPad{padding:18px}
.kicker{font-size:12px;color:rgba(27,29,28,0.65);font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.cardTitle{margin:6px 0 8px;font-weight:850;letter-spacing:.2px;font-size:18px;color:rgba(27,29,28,0.95)}
.cardText{color:var(--muted);margin:0}
.divider{height:1px;background:var(--line);margin:26px 0}
.note{display:grid;grid-template-columns:.9fr 1.1fr;gap:16px;align-items:stretch}
.portrait{border-radius:var(--radius2);overflow:hidden;border:1px solid rgba(27,29,28,0.12)}
.portrait img{width:100%;height:100%;object-fit:cover}
.footer{padding:28px 0 40px;border-top:1px solid var(--line);color:rgba(27,29,28,0.70)}
.footerGrid{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer a{color:rgba(27,29,28,0.78)}
.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(31,46,35,0.08);
  border:1px solid rgba(31,46,35,0.16);color:rgba(31,46,35,0.92);font-weight:800;font-size:13px}
.article{max-width:820px;margin:0 auto;padding:32px 18px 48px}
.article h1{font-family:ui-serif,Georgia,"Times New Roman",Times,serif;font-size:40px;line-height:1.12;margin:10px 0}
.meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:rgba(27,29,28,0.70);font-weight:650;font-size:13px;margin-bottom:18px}
.meta .dot{opacity:.5}
.article p{color:rgba(27,29,28,0.86);font-size:16px}
.article h2{font-family:ui-serif,Georgia,"Times New Roman",Times,serif;margin-top:24px;margin-bottom:8px;font-size:22px}
.callout{border-left:4px solid rgba(161,78,43,0.70);background:rgba(255,255,255,0.55);border-radius:14px;padding:14px 16px;margin:18px 0;box-shadow:var(--shadow2)}
.callout strong{color:rgba(27,29,28,0.92)}
.table{width:100%;border-collapse:collapse;overflow:hidden;border-radius:14px;border:1px solid rgba(27,29,28,0.14);background:rgba(255,255,255,0.55)}
.table th,.table td{padding:10px 12px;border-bottom:1px solid rgba(27,29,28,0.10);text-align:left;vertical-align:top}
.table th{background:rgba(31,46,35,0.08);font-size:13px;text-transform:uppercase;letter-spacing:.6px}
.small{font-size:13px;color:rgba(27,29,28,0.72)}
@media(max-width:940px){
  .heroGrid{grid-template-columns:1fr}.heroCtas{justify-content:flex-start}.heroTitle{font-size:44px}
  .grid4{grid-template-columns:repeat(2,1fr)}.grid3{grid-template-columns:1fr}.grid2{grid-template-columns:1fr}
  .note{grid-template-columns:1fr}
}
@media(max-width:520px){
  .heroTitle{font-size:38px}.navlinks{gap:8px}.grid4{grid-template-columns:1fr}
}

/* --- Mobile-first nav improvements --- */
.navToggle{
  display:none;
  border: 1px solid rgba(27,29,28,0.16);
  background: rgba(255,255,255,0.55);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: var(--shadow2);
  align-items:center;
  gap:8px;
  color: rgba(27,29,28,0.86);
  font-weight: 700;
  font-size: 13px;
}
.navToggle:hover{ box-shadow: var(--shadow); transform: translateY(-1px); }
.burger{
  width: 16px; height: 12px; position: relative; display:inline-block;
}
.burger span{
  position:absolute; left:0; right:0; height:2px;
  background: rgba(27,29,28,0.72);
  border-radius: 999px;
}
.burger span:nth-child(1){ top:0; }
.burger span:nth-child(2){ top:5px; }
.burger span:nth-child(3){ top:10px; }

/* Better tap targets on mobile */
.navlinks a{ min-height: 38px; display:inline-flex; align-items:center; }

/* Prevent hero CTA buttons from getting too small */
.btn{ min-height: 44px; }

/* Responsive nav collapse */
@media (max-width: 820px){
  .nav{ align-items:flex-start; }
  .navToggle{ display:inline-flex; }
  .navlinks{
    width:100%;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap: 6px;
    padding: 10px 0 0 0;
  }
  .navlinks a{
    width:100%;
    justify-content:flex-start;
    padding: 10px 12px;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(27,29,28,0.10);
  }
  .navlinks a:hover{ background: rgba(31,46,35,0.08); }
  .tools{ gap: 8px; }
  .nav.is-open .navlinks{ display:flex; }
  .brand{ padding-top: 2px; }
}

/* Tablet tuning */
@media (min-width: 821px) and (max-width: 1024px){
  .heroTitle{ font-size: 48px; }
}

/* Reduce motion option */
@media (prefers-reduced-motion: reduce){
  .btn:hover, .iconbtn:hover, .navToggle:hover{ transform:none; }
}

/* --- States page cards --- */
.stateGrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.stateCard{ text-decoration:none; color:inherit; }
.stateCard .imgHead{
  height: 170px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(27,29,28,0.10);
}
.stateCard .metaRow{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:10px;
}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 10px; border-radius:999px;
  border: 1px solid rgba(31,46,35,0.18);
  background: rgba(31,46,35,0.06);
  font-weight: 750; font-size: 12.5px; color: rgba(31,46,35,0.92);
}
.chip.muted{ background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.10); color: rgba(27,29,28,0.76); }
.stateHero{
  display:grid; grid-template-columns: 1.2fr 0.8fr; gap:16px; align-items:stretch;
}
.stateHero .mapBox{
  min-height: 240px;
  border-radius: var(--radius2);
  border: 1px solid rgba(27,29,28,0.12);
  background:
    radial-gradient(circle at 20% 30%, rgba(31,46,35,0.10), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(161,78,43,0.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.25));
  box-shadow: var(--shadow2);
  padding: 16px;
}
.stateHero .mapBox .kicker{ margin-bottom: 6px; }
.stateHero .mapBox ul{ margin:10px 0 0 18px; color: rgba(27,29,28,0.78); }
@media (max-width: 940px){
  .stateGrid{ grid-template-columns:1fr; }
  .stateHero{ grid-template-columns:1fr; }
  .stateCard .imgHead{ height: 190px; }
}

/* Accessibility: visually hidden but readable by screen readers */
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}
.brandLogo{display:block;max-width:280px;height:auto}
@media(max-width:820px){ .brandLogo{max-width:190px} }
.heroLogo{display:block;max-width:820px;width:min(92vw,820px);height:auto;filter:drop-shadow(0 10px 24px rgba(0,0,0,0.45));}
@media(max-width:520px){ .heroLogo{width:min(92vw,520px);} }

.brandLockup{ display:flex; align-items:center; gap:10px; }
.brandBadge{ width:44px; height:44px; flex:0 0 auto; display:block; }
.brandWord{ display:block; max-width:240px; height:auto; }
@media(max-width:820px){
  .brandWord{ display:none; }
  .brandBadge{ width:40px; height:40px; }
}

/* --- Brand: single round badge only --- */
.brandLockup{ display:flex; align-items:center; gap:0; }
.brandBadge{ width:64px; height:64px; flex:0 0 auto; display:block; }
.brandWord{ display:none !important; }
@media(max-width:820px){
  .brandBadge{ width:56px; height:56px; }
}

/* Lighter daytime hero overlay */
.hero.daytime{
  background-image: linear-gradient(rgba(255,255,255,0.10), rgba(255,255,255,0.10));
}

/* --- Force badge to stay perfectly round --- */
.brandBadge{
  width:72px !important;
  height:72px !important;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:50% !important;
  display:block;
}
@media(max-width:820px){
  .brandBadge{
    width:64px !important;
    height:64px !important;
  }
}

/* --- Subtle Manual Polish --- */
.brandHeader{
  height:48px;
  width:auto;
  display:block;
}

.topbar{
  border-bottom:1px solid rgba(0,0,0,.08);
  background:#f4f1e8;
}

.section{
  background:#faf7ef;
}

.card{
  border:1px solid rgba(0,0,0,.08);
  box-shadow:none;
}

.divider{
  border-top:1px solid rgba(0,0,0,.12);
}

/* Hero image framing */
.hero{ background-position: center 25%; }
.hero .container{ position:relative; }

/* Small logo overlay (right, low) */

@media(max-width:720px){
  }

}

.heroButtons{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:14px; }
.hero .container{ position:relative; }
.heroInner{ position:relative; padding:64px 0; }
@media(max-width:720px){
  .heroInner{ padding:46px 0; }
  }

/* --------------------------------------------------------------- */

/* -------------------------------------------------------- */

/* --- RTR HERO (clean rebuild): logo pinned to bottom of Tetons image --- */
.heroImageWrap{ position: relative; margin:0 0 18px 0; }
.heroImage{
  display:block;
  width:100%;
  max-height:360px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 18px 48px rgba(0,0,0,.35);
}
.heroImageWrap .heroMark{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  width:min(520px, 78vw);
  height:auto;
  opacity:.96;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.6));
  pointer-events:none;
}
/* --------------------------------------------------------------------- */

/* --- RTR: Powered by footer line (minimal) --- */
.poweredBy{
  margin-top:10px;
  font-size:.95rem;
  opacity:.85;
}
/* -------------------------------------------- */


/* --- RTR Contact Form --- */
.contactForm input,
.contactForm textarea{
  width:100%;
  max-width:600px;
  padding:8px;
  border:1px solid #ccc;
  border-radius:6px;
}

.contactForm button{
  padding:10px 18px;
  border:none;
  background:#1f3d2b;
  color:#fff;
  border-radius:6px;
  cursor:pointer;
}
/* ------------------------- */

/* --- RTR: About page bullets (minimal) --- */
.bullets{ margin:14px 0 0 18px; }
.bullets li{ margin:10px 0; }
/* ---------------------------------------- */
