:root{
    --ink:#1F2B22;
    --paper:#F1E9D8;
    --paper-2:#E7DCC3;
    --teal:#1C4A48;
    --teal-deep:#123331;
    --hero-bg:#064554;
    --chrome-bg:#04313c;
    --moss:#52704A;
    --clay:#A8502A;
    --stone:#786C55;
    --line: rgba(31,43,34,0.16);
    --max: 1100px;
  }

  [data-theme="green"]{
    --chrome-bg:#043c3c;
    --hero-bg:#065757;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size:17px;
    line-height:1.65;
  }
  h1,h2,h3,h4{
    font-family:'Fraunces', Georgia, serif;
    font-weight:600;
    line-height:1.15;
    margin:0 0 0.5em;
    color:var(--teal-deep);
  }
  p{margin:0 0 1.1em;}
  a{color:var(--teal);text-decoration-thickness:1px;text-underline-offset:3px;}
  a:hover{color:var(--clay);}
  img{max-width:100%;display:block;}

  .skip-link{
    position:absolute; left:-999px; top:0;
    background:var(--teal); color:#fff; padding:10px 16px; z-index:100;
  }
  .skip-link:focus{left:8px; top:8px;}

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

  /* ---------- Header / nav ---------- */
  header.site{
    background:var(--chrome-bg);
    color:#EFE7D3;
    position:sticky; top:0; z-index:50;
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .site-nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 24px; max-width:var(--max); margin:0 auto;
    gap:16px;
  }
  .wordmark{
    display:flex; align-items:center;
    text-decoration:none;
  }
  .wordmark-logo{
    height:40px; width:auto; display:block;
  }
  @media (min-width:721px){
    .wordmark-logo{height:58px;}
  }
  nav.links{display:flex; align-items:center; gap:22px;}
  nav.links a{
    color:#DDD3B8; text-decoration:none; font-size:0.95rem; font-weight:500;
    padding:4px 2px; border-bottom:1px solid transparent;
  }
  nav.links a:hover{color:#fff; border-bottom-color:var(--clay);}
  .nav-cta{
    background:var(--clay);
    color:#fff !important;
    padding:8px 16px !important;
    border-radius:3px;
    border-bottom:none !important;
  }
  .nav-cta:hover{
    background:#8f4322;
    color:#fff !important;
  }
  details.mobile-nav summary ~ .wrap-links .nav-cta{
    display:inline-block;
    text-align:center;
  }
  details.mobile-nav{display:none;}

  @media (max-width:720px){
    nav.links{display:none;}
    details.mobile-nav{display:block;}
    details.mobile-nav summary{
      color:#EFE7D3; cursor:pointer; list-style:none; font-size:0.95rem;
      border:1px solid rgba(255,255,255,0.25); padding:6px 12px; border-radius:2px;
    }
    details.mobile-nav summary::-webkit-details-marker{display:none;}
    details.mobile-nav[open] summary{margin-bottom:10px;}
    details.mobile-nav .wrap-links{display:flex; flex-direction:column; gap:10px; padding-bottom:12px;}
    details.mobile-nav a{color:#DDD3B8; text-decoration:none;}
  }

  /* ---------- Hero ---------- */
  .hero{
    background:var(--hero-bg);
    color:#F4EEDC;
    position:relative;
    overflow:hidden;
    padding:76px 0 64px;
  }
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background-image:
      repeating-radial-gradient(ellipse at 20% 30%, transparent 0, transparent 38px, rgba(244,238,220,0.05) 39px, rgba(244,238,220,0.05) 40px),
      repeating-radial-gradient(ellipse at 85% 75%, transparent 0, transparent 54px, rgba(244,238,220,0.045) 55px, rgba(244,238,220,0.045) 56px);
    pointer-events:none;
  }
  .hero .wrap{position:relative;}
  .hero h1{
    color:#fff;
    font-size:clamp(1.9rem, 4vw, 2.5rem);
    max-width:19ch;
    margin-bottom:0.45em;
  }
  .hero .tagline{
    font-style:italic;
    font-family:'Fraunces', serif;
    font-weight:400;
    color:#CFE3DE;
    font-size:1.15rem;
    max-width:52ch;
    margin:0;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:40px;
    align-items:center;
  }
  .hero-media{
    position:relative;
    max-width:300px;
    width:100%;
    aspect-ratio:3/4;
    margin-left:auto;
    overflow:hidden;
    border:1px solid rgba(244,238,220,0.3);
  }
  .hero-media::before{
    content:"";
    position:absolute; top:-1px; left:-1px;
    width:18px; height:18px;
    border-top:3px solid var(--clay);
    border-left:3px solid var(--clay);
    z-index:1;
  }
  .hero-media::after{
    content:"";
    position:absolute; bottom:-1px; right:-1px;
    width:18px; height:18px;
    border-bottom:3px solid var(--clay);
    border-right:3px solid var(--clay);
    z-index:1;
  }
  .hero-media img{
    width:100%; height:100%;
    object-fit:cover;
  }
  @media (max-width:820px){
    .hero{padding:40px 0 36px;}
    .hero-grid{grid-template-columns:1fr;}
    .hero-media{max-width:240px; margin:0 auto;}
  }

  /* ---------- Contour divider ---------- */
  .contour{
    height:34px;
    background:var(--paper);
    position:relative;
  }
  .contour svg{width:100%; height:100%; display:block;}

  /* ---------- Sections ---------- */
  main{padding-top:8px;}
  section.river{
    padding:56px 0 44px;
    border-bottom:1px solid var(--line);
  }
  section.river:last-of-type{border-bottom:none;}
  section.river h2{
    font-size:clamp(1.5rem, 2.6vw, 1.9rem);
    margin-bottom:0.7em;
  }

  .lede-grid{
    display:grid;
    grid-template-columns:1.15fr 1fr;
    gap:40px 48px;
    align-items:start;
    margin-bottom:38px;
  }
  @media (max-width:820px){
    .lede-grid{grid-template-columns:1fr;}
  }
  .lede-grid .copy p{color:var(--ink);}
  .lede-grid .copy p + p{margin-top:1em;}

  .video-block{
    background:var(--paper-2);
    border:1px solid var(--line);
    padding:14px;
  }
  .video-frame{position:relative; width:100%; padding-top:75%; background:#0d1a19;}
  .video-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
  .video-caption{
    margin-top:10px; font-size:0.92rem; color:var(--stone);
    text-align:center; font-weight:600;
  }

  /* ---------- Resource legend panel ---------- */
  .legend{
    border:1px solid var(--moss);
    background:var(--paper-2);
    position:relative;
    padding:28px 28px 8px;
    margin-top:8px;
  }
  .legend::before{
    content:"";
    position:absolute; top:-1px; left:-1px;
    width:18px; height:18px;
    border-top:3px solid var(--clay);
    border-left:3px solid var(--clay);
  }
  .legend::after{
    content:"";
    position:absolute; bottom:-1px; right:-1px;
    width:18px; height:18px;
    border-bottom:3px solid var(--clay);
    border-right:3px solid var(--clay);
  }
  .legend-title{
    font-family:'Fraunces', serif; font-weight:600; color:var(--teal-deep);
    font-size:1.05rem; margin-bottom:22px;
  }
  .legend-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:26px 32px;
  }
  @media (max-width:820px){
    .legend-grid{grid-template-columns:repeat(2, 1fr);}
  }
  @media (max-width:560px){
    .legend-grid{grid-template-columns:1fr;}
  }
  .legend-group h3{
    font-family:'Public Sans', sans-serif;
    font-weight:700;
    font-size:0.82rem;
    text-transform:none;
    color:var(--clay);
    margin-bottom:10px;
    padding-bottom:6px;
    border-bottom:1px solid var(--line);
  }
  .legend-group ul{list-style:none; margin:0; padding:0;}
  .legend-group li{margin-bottom:7px; font-size:0.94rem;}
  .legend-group.single ul{margin-top:2px;}

  .highlight-line{
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid var(--line);
    font-size:1.05rem;
  }
  .highlight-line strong{color:var(--teal-deep);}

  /* ---------- Footer ---------- */
  footer.site{
    background:var(--chrome-bg);
    color:#E7DFC7;
    padding:52px 0 40px;
    margin-top:12px;
  }
  footer.site .wrap{max-width:640px; text-align:center;}
  footer.site h2{
    color:#fff; font-size:1.15rem; margin-bottom:0.6em;
  }
  footer.site .resort-name{
    font-family:'Fraunces', serif; font-size:1.3rem; color:#fff;
  }
  footer.site p{color:#D8CFAF; font-size:0.95rem;}
  footer.site a{color:#F0E3C0;}
  footer.site .fine{
    margin-top:18px; padding-top:18px;
    border-top:1px solid rgba(255,255,255,0.12);
    font-size:0.85rem; color:#A79A79;
  }
  .footer-logo-link{
    display:inline-block;
    margin:8px 0 0;
  }
  .footer-logo{
    max-width:100%;
    height:auto;
    display:block;
  }
  footer.site.page-footer .footer-logo-link{
    margin-bottom:18px;
  }

  footer.site.page-footer{
    padding:28px 28px 2px 28px;
  }
  footer.site.page-footer .fine{
    margin-top:0; padding-top:0; border-top:none;
    color:#C9BE9C;
  }

  /* ---------- Interior content pages ---------- */
  .page-hero{
    background:var(--hero-bg);
    color:#F4EEDC;
    padding:44px 0 34px;
  }
  .page-hero h1{
    color:#fff;
    font-size:clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom:0;
  }
  .back-link{
    display:inline-block;
    margin:28px 0 0;
    font-weight:600;
  }
  .page-content{
    padding:36px 0 8px;
  }
  .page-content img{
    border:1px solid var(--line);
    margin-bottom:10px;
  }
  .page-figure{
    max-width:432px;
    margin:0 auto 28px;
  }

  /* ---------- Photo gallery (stacked images) ---------- */
  .photo-gallery{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-bottom:28px;
  }
  .photo-gallery img{
    margin:0 auto;
  }

  /* ---------- Mile log (river-mile sequence -- a genuine sequence) ---------- */
  .mile-log{
    background:var(--paper-2);
    border:1px solid var(--line);
    padding:24px 28px;
    margin:24px 0 32px;
  }
  .mile-log .mile-log-heading{
    font-family:'Fraunces', serif; font-weight:600; color:var(--clay);
    font-size:1rem; margin-bottom:4px;
  }
  .mile-log .mile-log-meta{
    font-size:0.92rem; color:var(--stone); margin-bottom:18px;
  }
  .mile-entry{
    display:flex; gap:14px;
    padding:9px 0;
    border-top:1px solid var(--line);
  }
  .mile-entry:first-of-type{border-top:none;}
  .mile-marker{
    flex:0 0 auto;
    min-width:2.6em;
    font-weight:700;
    color:var(--teal-deep);
    font-family:'Fraunces', serif;
  }
  .mile-entry p{margin:0; font-size:0.96rem;}

  /* ---------- Source citation block ---------- */
  .source-note{
    font-style:italic;
    color:var(--stone);
    font-size:0.92rem;
    margin-bottom:1em;
  }
  blockquote.cited-text{
    margin:0 0 1.2em;
    padding-left:18px;
    border-left:3px solid var(--moss);
    color:var(--ink);
  }
  .cite-attribution{
    text-align:right;
    color:var(--stone);
    font-size:0.9rem;
    margin-top:-0.6em;
  }

  .visually-hidden{
    position:absolute; width:1px; height:1px; overflow:hidden;
    clip:rect(0 0 0 0); white-space:nowrap;
  }

  /* ---------- PREVIEW: tour gallery grid ---------- */
  .tour-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
    margin:32px 0;
  }
  @media (max-width:820px){ .tour-grid{grid-template-columns:repeat(2, 1fr);} }
  @media (max-width:560px){ .tour-grid{grid-template-columns:1fr;} }
  .tour-item{
    margin:0;
    border:1px solid var(--line);
    background:var(--paper-2);
    padding:8px;
  }
  .tour-item img{
    width:100%; height:auto;
    margin-bottom:8px;
    border:none;
  }
  .tour-item figcaption{
    font-size:0.88rem;
    color:var(--stone);
    text-align:center;
    padding-bottom:4px;
  }

  /* ---------- PREVIEW: single-photo slide page ---------- */
  .slide-photo{
    max-width:640px;
    margin:0 auto 20px;
  }
  .slide-nav{
    display:flex;
    justify-content:space-between;
    gap:20px;
    max-width:640px;
    margin:0 auto 28px;
  }
  .slide-nav-prev, .slide-nav-next{
    flex:1 1 0;
    text-decoration:none;
  }
  .slide-nav-next{ text-align:right; }
  .slide-nav .is-disabled{
    color:var(--stone);
    cursor:default;
  }
  .slide-nav-label{
    display:block;
    white-space:nowrap;
    font-weight:700;
  }
  .slide-nav-caption{
    display:block;
    font-size:0.85rem;
    font-weight:400;
    color:var(--stone);
    margin-top:2px;
  }
  @media (max-width:480px){
    .slide-nav{ flex-direction:column; gap:18px; }
    .slide-nav-next{ text-align:left; }
  }
  .slide-counter{
    text-align:center;
    color:var(--stone);
    font-size:0.9rem;
    margin-bottom:18px;
  }

  /* ---------- Tour photo lightbox ---------- */
  .lightbox-trigger{ cursor:pointer; }
  .lightbox-overlay{
    display:none;
    position:fixed; inset:0;
    background:rgba(9,20,19,0.92);
    z-index:200;
    align-items:center;
    justify-content:center;
    padding:20px;
  }
  .lightbox-overlay.open{ display:flex; }
  .lightbox-content{
    max-width:900px;
    width:100%;
    text-align:center;
  }
  .lightbox-image{
    max-width:100%;
    max-height:78vh;
    width:auto; height:auto;
    margin:0 auto;
    border:2px solid rgba(244,238,220,0.25);
  }
  .lightbox-caption{
    color:#EFE7D3;
    margin-top:14px;
    font-size:0.95rem;
  }
  .lightbox-close{
    position:absolute;
    top:18px; right:22px;
    background:none; border:none;
    color:#fff;
    font-size:2.2rem;
    line-height:1;
    cursor:pointer;
    padding:6px 10px;
  }
  .lightbox-prev, .lightbox-next{
    position:absolute;
    top:50%; transform:translateY(-50%);
    background:rgba(244,238,220,0.12);
    border:1px solid rgba(244,238,220,0.3);
    color:#fff;
    font-size:1.6rem;
    width:52px; height:52px;
    border-radius:50%;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
  }
  .lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover{
    background:rgba(244,238,220,0.22);
  }
  .lightbox-prev{ left:16px; }
  .lightbox-next{ right:16px; }
  @media (max-width:600px){
    .lightbox-prev, .lightbox-next{ width:42px; height:42px; font-size:1.3rem; }
    .lightbox-prev{ left:6px; }
    .lightbox-next{ right:6px; }
    .lightbox-close{ top:8px; right:10px; }
  }

  /* ---------- Plan Your Visit: activity picker & checklist ---------- */
  .activity-picker{
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    gap:16px;
    margin:28px 0;
  }
  @media (max-width:820px){ .activity-picker{grid-template-columns:repeat(3, 1fr);} }
  @media (max-width:520px){ .activity-picker{grid-template-columns:repeat(2, 1fr);} }
  .activity-card{
    display:block;
    border:1px solid var(--line);
    background:var(--paper-2);
    padding:16px 14px;
    text-align:center;
    cursor:pointer;
    font-weight:600;
    color:var(--teal-deep);
    transition:border-color 0.15s, background 0.15s;
  }
  .activity-card:has(input:checked){
    border-color:var(--clay);
    background:#F3E4D5;
  }
  .activity-card input{
    display:block;
    margin:0 auto 8px;
    width:18px; height:18px;
  }
  #camping-sub-choice, #fishing-sub-choice{
    display:none;
    text-align:center;
    margin:-12px 0 24px;
    padding:14px;
    background:var(--paper-2);
    border:1px solid var(--line);
  }
  #camping-sub-choice label, #fishing-sub-choice label{
    margin:0 16px;
    font-weight:600;
    cursor:pointer;
  }
  #camping-sub-choice input, #fishing-sub-choice input{margin-right:6px;}

  .checklist-grid{
    grid-template-columns:repeat(3, 1fr);
  }
  @media (max-width:820px){ .checklist-grid{grid-template-columns:repeat(2, 1fr);} }
  @media (max-width:560px){ .checklist-grid{grid-template-columns:1fr;} }
  .checklist-items{list-style:none; margin:0; padding:0;}
  .checklist-items li{margin-bottom:9px;}
  .checklist-item-label{
    display:flex;
    align-items:flex-start;
    gap:9px;
    cursor:pointer;
    font-size:0.94rem;
  }
  .checklist-item-label input{
    margin-top:3px;
    flex-shrink:0;
    width:16px; height:16px;
  }
  .checklist-item-label span.is-checked{
    text-decoration:line-through;
    color:var(--stone);
  }
  .checklist-empty{
    text-align:center;
    color:var(--stone);
    font-style:italic;
    padding:20px 0;
  }

  /* ---------- Plan Your Visit: local guide ---------- */
  .guide-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
    margin:28px 0;
  }
  @media (max-width:820px){ .guide-grid{grid-template-columns:1fr;} }
  .guide-col h3{
    font-family:'Fraunces', serif; color:var(--teal-deep); margin-bottom:14px;
  }
  .guide-col ul{list-style:none; margin:0; padding:0;}
  .guide-col li{margin-bottom:12px; font-size:0.95rem;}
  .guide-col li .biz-name{font-weight:600; display:block;}
  .guide-col li .biz-note{color:var(--stone); font-size:0.88rem;}
  .biz-item.featured-listing{
    border:1px solid var(--clay);
    background:var(--paper-2);
    padding:10px 12px;
    margin-left:-12px;
    margin-bottom:14px !important;
  }
  .featured-badge{
    display:inline-block;
    background:var(--clay);
    color:#fff;
    font-size:0.72rem;
    font-weight:700;
    letter-spacing:0.03em;
    text-transform:uppercase;
    padding:2px 8px;
    margin-bottom:6px;
  }
  .featured-cta{
    text-align:center;
    margin-top:36px;
    padding-top:20px;
    border-top:1px solid var(--line);
    color:var(--stone);
    font-size:0.95rem;
  }

  img.plan-visit-icon{
    display:block;
    margin:0 auto 12px;
    border:none;
  }

  /* ---------- Theme preview toggle (temporary, for showing partners both looks) ---------- */
  .theme-toggle-btn{
    position:fixed;
    bottom:16px; right:16px;
    z-index:300;
    background:var(--teal-deep);
    color:#fff;
    border:1px solid rgba(244,238,220,0.3);
    padding:9px 16px;
    font-size:0.8rem;
    font-weight:600;
    font-family:'Public Sans', sans-serif;
    border-radius:20px;
    cursor:pointer;
    box-shadow:0 2px 10px rgba(0,0,0,0.3);
  }
  .theme-toggle-btn:hover{background:var(--clay);}

  /* ---------- Tours hub page ---------- */
  .tour-hub-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
    margin:32px 0;
  }
  @media (max-width:820px){ .tour-hub-grid{grid-template-columns:repeat(2, 1fr);} }
  @media (max-width:560px){ .tour-hub-grid{grid-template-columns:1fr;} }
  .tour-hub-card{
    display:block;
    text-decoration:none;
    border:1px solid var(--line);
    background:var(--paper-2);
    overflow:hidden;
    transition:border-color 0.15s;
  }
  .tour-hub-card:hover{border-color:var(--clay);}
  .tour-hub-thumb{
    width:100%;
    aspect-ratio:4/3;
    overflow:hidden;
    background:#0d1a19;
  }
  .tour-hub-thumb img{
    width:100%; height:100%;
    object-fit:cover;
    margin:0; border:none;
  }
  .tour-hub-info{
    padding:14px 16px;
  }
  .tour-hub-title{
    display:block;
    font-family:'Fraunces', serif;
    font-weight:600;
    color:var(--teal-deep);
    font-size:1.05rem;
    margin-bottom:4px;
  }
  .tour-hub-count{
    display:block;
    color:var(--stone);
    font-size:0.85rem;
  }

  /* ---------- Featured map CTA button ---------- */
  .map-cta-wrap{
    text-align:center;
    margin-top:48px;
    margin-bottom:48px;
  }
  .map-cta-button{
    display:inline-block;
    background:var(--clay);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    font-size:1.05rem;
    padding:16px 32px;
    border-radius:3px;
  }
  .map-cta-button:hover{
    background:#8f4322;
    color:#fff;
  }

  .footer-cta-wrap{
    text-align:center;
    margin-top:16px;
    margin-bottom:0;
  }
