/* =====================================================================
   ANGLERS WEST FLYFISHING OUTFITTERS, design system
   Locked at Phase A. Phase B agents: do not edit this file.
   Palette: river slate ink, warm paper, deep river teal accent.
   Fonts: Bitter (display, weights 600 to 900) and Figtree (body).
   Measured WCAG contrast ratios, all pass AA:
     ink #16232E on paper #F6F3EC          14.42 to 1
     ink #16232E on paper alt #ECE7DC      12.96 to 1
     ink #16232E on card #FCFAF5           15.32 to 1
     ink soft #3C4C59 on paper #F6F3EC      8.00 to 1
     mist #5B6B76 on paper #F6F3EC          4.97 to 1
     white #FFFFFF on accent #1F6B5E        6.32 to 1
     accent #1F6B5E text on paper #F6F3EC   5.70 to 1
     accent #1F6B5E text on card #FCFAF5    6.06 to 1
     paper #F6F3EC on ink #16232E          14.42 to 1
     teal light #8FCDBE on ink #16232E      8.86 to 1
     stone #C9CFD3 on ink #16232E          10.16 to 1
     white #FFFFFF on ink #16232E          15.98 to 1
     white #FFFFFF on accent deep #174F46   9.36 to 1
   ===================================================================== */

:root {
  --ink: #16232E;
  --ink-soft: #3C4C59;
  --mist: #5B6B76;
  --paper: #F6F3EC;
  --paper-alt: #ECE7DC;
  --card: #FCFAF5;
  --accent: #1F6B5E;
  --accent-deep: #174F46;
  --teal-light: #8FCDBE;
  --stone: #C9CFD3;
  --white: #FFFFFF;
  --line: rgba(22, 35, 46, 0.14);
  --line-dark: rgba(246, 243, 236, 0.16);
  --shadow: 0 2px 6px rgba(22, 35, 46, 0.06), 0 14px 34px rgba(22, 35, 46, 0.09);
  --font-display: "Bitter", Georgia, serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --measure: min(62ch, 100%);
  --container: 1180px;
  --pad-x: clamp(20px, 4vw, 44px);
  --sec-y: clamp(64px, 9vw, 116px);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============ reset and base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; max-width: var(--measure); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; font-size: clamp(2.1rem, 5.4vw, 4rem); }
h2 { font-weight: 700; font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3 { font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section { padding: var(--sec-y) 0; }

/* kicker: small uppercase label above headings, accent colored */
.kicker {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.on-dark .kicker { color: var(--teal-light); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.muted { color: var(--mist); }
.on-dark { background: var(--ink); color: var(--paper); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p { color: var(--stone); }
.on-dark a { color: var(--teal-light); }
.bg-alt { background: var(--paper-alt); }

/* ============ buttons ============ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(22, 35, 46, 0.35); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-light:hover { border-color: var(--white); color: var(--white); }
.btn-lg { padding: 18px 40px; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============ header and nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(22, 35, 46, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.brand { display: flex; flex-direction: column; line-height: 1.1; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button.nav-top {
  display: inline-block;
  padding: 26px 13px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-links > li > a:hover,
.nav-links > li:hover > button.nav-top,
.nav-links > li:focus-within > button.nav-top { color: var(--white); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--accent);
  padding: 10px 0;
  display: none;
}
.nav-links li:hover .dropdown,
.nav-links li:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.85rem;
  color: var(--stone);
  white-space: nowrap;
}
.dropdown a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.dropdown .dd-head {
  display: block;
  padding: 8px 20px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 700; font-size: 0.88rem; color: var(--white); white-space: nowrap; }
.nav-phone:hover { color: var(--teal-light); }
.nav-cta .btn { padding: 11px 22px; font-size: 0.72rem; white-space: nowrap; }
/* narrow laptops: logo, links, phone and Book Now share one row without squeezing the logo */
.nav-bar > .brand { flex-shrink: 0; }
@media (min-width: 1200px) {
  .nav-bar { gap: 12px; }
  .nav-links { gap: 0; }
  .nav-links > li > a,
  .nav-links > li > button.nav-top { padding: 26px 8px; font-size: 0.74rem; white-space: nowrap; }
  .nav-cta { gap: 12px; }
  .nav-cta .btn { padding: 11px 16px; }
}
@media (min-width: 1360px) {
  .nav-links > li > a,
  .nav-links > li > button.nav-top { padding: 26px 10px; font-size: 0.76rem; }
}

/* hamburger: hidden on desktop, shown in the mobile media query */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding: 15px 12px;
  min-height: 44px;
  min-width: 46px;
  cursor: pointer;
}
.nav-toggle-bars { display: block; width: 22px; height: 2px; background: var(--white); position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--white);
}
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

/* mobile panel: display none by default, JS toggles .open, media query lays it out */
.mobile-nav { display: none; }

@media (max-width: 1199px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-block; }
  .mobile-nav {
    display: none;
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 18px var(--pad-x) 34px;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav .dd-head {
    display: block;
    margin: 18px 0 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal-light);
  }
  .mobile-nav a {
    display: block;
    padding: 9px 0;
    font-size: 0.98rem;
    color: var(--paper);
    border-bottom: 1px solid rgba(246, 243, 236, 0.08);
  }
  .mobile-nav .btn { margin-top: 20px; border-bottom: 0; color: var(--white); }
}
@media (max-width: 430px) {
  .nav-bar { gap: 10px; }
  .nav-phone { display: none; }
}

/* ============ hero ============ */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(480px, 74vh, 760px);
  color: var(--white);
  isolation: isolate;
  padding: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 35, 46, 0.42) 0%, rgba(22, 35, 46, 0.18) 40%, rgba(22, 35, 46, 0.82) 100%);
}
.hero-content {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(90px, 14vh, 150px) var(--pad-x) clamp(48px, 7vh, 80px);
}
.hero h1 {
  color: var(--white);
  max-width: min(20ch, 100%);
  text-wrap: balance;
}
.hero .kicker { color: var(--teal-light); }
.hero p { color: rgba(255, 255, 255, 0.92); max-width: min(56ch, 100%); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero .btn-row { margin-top: 26px; }
.hero-meta {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* short hero variant for subpages */
.hero-sub { min-height: clamp(420px, 58vh, 600px); }

/* ============ section header pattern ============ */
.sec-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ============ cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin-bottom: 2px; }
.card-body p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 8px; }
.card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-tag {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(31, 107, 94, 0.4);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 6px;
}

/* text only list cards, e.g. the eight waters */
.list-card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px; min-width: 0; }
.list-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.list-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ============ split feature band: photo one side, copy the other ============ */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split-img { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============ spec and fact rows ============ */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.spec { background: var(--card); padding: 20px 22px; min-width: 0; }
.spec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 6px;
}
.spec-value { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }

/* ============ rates ============ */
.rate-list { display: grid; gap: 14px; }
.rate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: baseline;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 20px 24px;
  min-width: 0;
}
.rate-name { font-weight: 700; font-size: 1.02rem; }
.rate-note { flex-basis: 100%; font-size: 0.88rem; color: var(--mist); margin: 0; max-width: none; }
.rate-price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; white-space: nowrap; }
.rate-unit { font-size: 0.8rem; font-weight: 600; color: var(--mist); margin-left: 6px; }

/* ============ include list ============ */
.check-list { display: grid; gap: 12px; max-width: var(--measure); }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 14px no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 14px no-repeat;
}
.on-dark .check-list li::before { background: var(--teal-light); }

/* ============ photo band with overlay copy ============ */
.photo-band {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding: clamp(80px, 12vw, 150px) 0;
}
.photo-band .band-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 35, 46, 0.78) 0%, rgba(22, 35, 46, 0.45) 55%, rgba(22, 35, 46, 0.25) 100%);
}
.photo-band h2 { color: var(--white); }
.photo-band p { color: rgba(255, 255, 255, 0.92); }
.photo-band .kicker { color: var(--teal-light); }

/* ============ gallery grid, wrapping only, never a carousel ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

/* ============ final CTA band ============ */
.cta-band { text-align: center; }
.cta-band .sec-head { margin-bottom: 26px; }
.cta-band .btn-row { justify-content: center; }
.cta-phone {
  display: block;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--white);
}
.cta-phone:hover { color: var(--teal-light); }

/* ============ footer ============ */
.site-footer {
  background: var(--ink);
  color: var(--stone);
  padding: clamp(56px, 8vw, 90px) 0 40px;
  border-top: 4px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 48px;
}
.footer-brand .brand-name { font-size: 1.2rem; color: var(--white); }
.footer-brand .brand-sub { margin: 4px 0 14px; }
.footer-brand p { font-size: 0.9rem; color: var(--stone); }
.footer-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.footer-col a { display: block; padding: 5px 0; font-size: 0.9rem; color: var(--stone); }
.footer-col a:hover { color: var(--white); }
.footer-contact li { padding: 5px 0; font-size: 0.9rem; }
.footer-contact a { color: var(--stone); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #93A3AE;
}
.footer-bottom a { color: var(--stone); }

/* ============ sticky mobile call bar ============ */
.mobile-call-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 64px; }
  .mobile-call-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 55;
    border-top: 1px solid var(--line-dark);
  }
  .mobile-call-bar a {
    padding: 18px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .mobile-call-bar .call { background: var(--ink); color: var(--white); }
  .mobile-call-bar .book { background: var(--accent); color: var(--white); }
}

/* ============ reveal animation, transform only, opacity stays 1 ============ */
.fx { transform: translateY(26px); transition: transform 0.7s var(--ease); will-change: transform; }
.fx.in { transform: translateY(0); }
.fx-d1.in { transition-delay: 0.08s; }
.fx-d2.in { transition-delay: 0.16s; }
.fx-d3.in { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx { transform: none; transition: none; }
  .card, .btn { transition: none; }
  *, *::before, *::after { animation: none !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

body.nav-open { overflow: hidden; }
.on-dark .btn-primary, .on-dark .btn-primary:hover { color: var(--white); }
main p a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.mobile-nav .mobile-nav-book { display: block; text-align: center; margin: 14px 0 4px; }
.nav-phone { padding: 12px 8px; display: inline-flex; align-items: center; }
.mobile-nav .mobile-nav-call { display: block; text-align: center; padding: 12px 0; margin-bottom: 6px; font-weight: 700; color: var(--teal-light); border-bottom: 1px solid rgba(246, 243, 236, 0.14); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 16, 20, 0.86); }
.lightbox img { display: block; max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto; margin: 0 auto; border-radius: 4px; }
.lightbox-cap { color: var(--paper); text-align: center; font-size: 0.9rem; padding: 10px 6px 0; margin: 0; }
.lightbox-close { position: fixed; top: 14px; right: 16px; background: var(--ink); color: var(--white); border: 1px solid var(--line-dark); border-radius: 3px; padding: 10px 16px; font-weight: 700; cursor: pointer; min-height: 44px; }

/* v08: kill orphan rows and weak split imagery */
@media (min-width: 980px) {
  .grid-2x2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4up { grid-template-columns: repeat(4, 1fr); }
}
.split-img img { aspect-ratio: 4 / 3; min-height: 380px; }
@media (min-width: 980px) {
  .spec-3max { grid-template-columns: repeat(3, 1fr); }
  .grid-4up-2col { grid-template-columns: repeat(4, 1fr); }
}

.brand-logo { display: block; height: 52px; width: auto; }
@media (max-width: 700px) { .brand-logo { height: 42px; } }
