/* ============================================================================
   Treehouse Cove Lodge — Seldovia, Alaska
   Custom build. Palette derived from the client's own photo set (spruce green
   median hue 102, Kachemak Bay blue secondary). Contrast ratios verified:
     ink on surface 15.44 | muted on surface 6.05 | accent-text on surface 4.66
     on-accent on accent 4.91 | accent fill vs surface 3.48 | vs alt 3.23
     vs ink 4.43 | surface fill vs sea 8.64 | surface on ink 15.44
   Accent fill is never placed on a --sea band (2.48, fails 3:1); sea bands
   carry surface-filled buttons instead.
   ========================================================================== */

:root {
  --surface:      #FAF8F2;
  --surface-alt:  #F1F0E4;
  --ink:          #1C2119;
  --ink-soft:     #2A3125;
  --muted:        #5A6152;

  --accent-fill:  #838956;   /* moss / spruce understory — buttons, bars  */
  --accent-text:  #6E7445;   /* same hue, link-safe on surface           */
  --on-accent:    #12161A;
  --accent-glow:  rgba(131,137,86,.55);

  --sea:          #2E4A66;   /* Kachemak Bay — dark anchor bands          */
  --sea-light:    #698BB0;
  --sea-pale:     #D9E4EF;
  --sand:         #C8B993;

  --line:         rgba(131,137,86,.32);
  --line-dark:    rgba(217,228,239,.22);

  --ramp-50:  #F1F3E6;  --ramp-100: #DDE1C9;  --ramp-200: #BDC29D;
  --ramp-300: #9DA375;  --ramp-500: #838956;  --ramp-700: #3D4118;
  --ramp-800: #262908;  --ramp-900: #111302;

  --hero-scrim: .35;
  --hero-pos: center;

  --t: 260ms cubic-bezier(.2,.7,.2,1);
  --s-card:  0 14px 40px -18px rgba(14,35,54,.28), 0 2px 6px rgba(14,35,54,.06);
  --s-hover: 0 26px 56px -18px rgba(14,35,54,.38), 0 3px 10px rgba(14,35,54,.10);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gut: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body) !important;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink) !important;
  background: var(--surface) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); letter-spacing: -.005em; }
p  { margin: 0 0 1.15em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 820px; }

.eyebrow {
  font-family: var(--body);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1.1rem;
}
.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); }
.accent { color: var(--accent-text); }

/* ---------------------------------------------------------------- buttons */
/* One shape sitewide. Subtle radius. Hover wipes in from the left. */
.btn {
  white-space: nowrap;
  --btn-bg: var(--accent-fill);
  --btn-fg: var(--on-accent);
  --btn-wipe: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: .6em;
  border-radius: 6px;
  padding: 15px 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: color var(--t), transform var(--t), box-shadow var(--t), border-color var(--t);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-wipe);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--surface); transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--accent-glow); }
.btn:focus-visible { outline: 3px solid var(--sea-light); outline-offset: 3px; }
.btn svg { transition: transform var(--t); flex: none; }
.btn:hover svg { transform: translateX(4px); }

/* Same silhouette, different fills. */
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-wipe: var(--ink);
  border-color: var(--accent-fill);
}
.btn--ghost:hover { border-color: var(--ink); }
/* On dark / photo / sea backgrounds: surface fill clears 3:1 everywhere. */
.btn--light {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-wipe: var(--accent-fill);
}
.btn--light:hover { color: var(--on-accent); }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: var(--surface); --btn-wipe: var(--surface);
  border-color: rgba(250,248,242,.6);
}
.btn--outline-light:hover { color: var(--ink); border-color: var(--surface); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: transparent;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.site-header__in {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 92px;
  transition: min-height var(--t);
}
.site-header.is-scrolled {
  background: rgba(250,248,242,.93);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .site-header__in { min-height: 70px; }

.brand { display: flex; align-items: center; text-decoration: none !important; }
.brand__logo { height: 64px; width: auto; transition: height var(--t); }
.site-header.is-scrolled .brand__logo { height: 48px; }
/* No logo mark supplied — the wordmark carries the brand. */
.brand__word {
  font-family: var(--display); font-weight: 600;
  font-size: 1.42rem; line-height: 1;
  letter-spacing: -.015em; color: var(--surface);
  text-shadow: 0 1px 14px rgba(10,14,11,.55);
  transition: font-size var(--t), color var(--t), text-shadow var(--t);
}
.brand__word small {
  display: block; font-family: var(--body);
  font-size: .56rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; margin-top: .5em; opacity: .85;
}
/* Every hero on this site is dark (photo on home, gradient on interiors), so
   the header starts light everywhere and flips to ink once it gains its
   scrolled background. */
.site-header.is-scrolled .brand__word { color: var(--ink); text-shadow: none; font-size: 1.18rem; }

.nav-main { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-main > li { position: relative; }
.nav-main > li > a {
  position: relative; display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 11px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--surface); text-decoration: none !important;
  text-shadow: 0 1px 12px rgba(10,14,11,.6);
  transition: color var(--t);
}
.site-header.is-scrolled .nav-main > li > a { color: var(--ink); text-shadow: none; }
.nav-main > li > a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-main > li > a:hover::after,
.nav-main > li[aria-current] > a::after { transform: scaleX(1); }
.nav-main .caret { width: 9px; height: 9px; opacity: .8; }

/* Dropdown + hover bridge across the trigger gap. */
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--s-card);
  list-style: none; margin: 0; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-main > li::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
}
.nav-main > li:hover .nav-dropdown,
.nav-main > li:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.nav-dropdown a {
  display: block; padding: 10px 14px; border-radius: 5px;
  font-size: .9rem; font-weight: 500; letter-spacing: 0;
  text-transform: none;
  color: var(--ink) !important; text-decoration: none !important;
  text-shadow: none !important;
  transition: background var(--t), color var(--t);
}
.nav-dropdown a:hover { background: var(--ramp-50); color: var(--accent-text) !important; }

/* Only shown inside the full-screen mobile menu. */
.nav-menu-cta { display: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 18px; font-size: .68rem; white-space: nowrap; }

.nav-toggle {
  display: none; width: 46px; height: 42px;
  background: none; border: 0; cursor: pointer; padding: 10px 8px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--surface); border-radius: 2px;
  margin: 4px 0; transition: background var(--t), transform var(--t), opacity var(--t);
}
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ heroes */
.hero { position: relative; display: flex; align-items: flex-end; isolation: isolate; }
.hero .wrap { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem) !important;
  margin-bottom: .32em;
}

.hero--photo {
  min-height: clamp(560px, 86vh, 820px);
  padding: 170px 0 86px;
  color: var(--surface);
}
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: var(--hero-pos, center);
  background-repeat: no-repeat;
  animation: none !important; transform: none !important;
}
/* Scrim is bottom-weighted: the copy sits low-left, clear of the bright sky. */
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,18,13,.46) 0%, rgba(14,18,13,.10) 34%,
                            rgba(14,18,13,.58) 74%, rgba(14,18,13,.88) 100%),
    radial-gradient(ellipse 80% 58% at 22% 86%, rgba(14,18,13,.58) 0%, rgba(14,18,13,0) 100%);
}
.hero--photo .eyebrow { color: var(--sand); }
.hero--photo .hero__sub {
  max-width: 50ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(250,248,242,.94);
  text-shadow: 0 1px 16px rgba(10,14,11,.7);
}
.hero--photo h1 { font-size: clamp(2.5rem, 5.4vw, 4rem) !important; text-shadow: 0 2px 28px rgba(10,14,11,.6); }

/* Short colour hero for every interior page: no photograph is stretched. */
.hero--block {
  min-height: 300px;
  padding: 148px 0 56px;
  color: var(--surface);
  background: linear-gradient(158deg, var(--ramp-900) 0%, var(--ramp-700) 58%, #2A3125 100%);
}
.hero--block::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 78% 18%, rgba(105,139,176,.26) 0%, rgba(105,139,176,0) 70%);
}
.hero--block::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: rgba(250,248,242,.9);
  -webkit-mask-image: url("/images/overlays/bathymetric.svg");
          mask-image: url("/images/overlays/bathymetric.svg");
  -webkit-mask-size: 900px auto; mask-size: 900px auto;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  opacity: .085;
}
.hero--block h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem) !important; margin-bottom: .3em; }
.hero--block .eyebrow { color: var(--sand); }
.hero--block .hero__sub { max-width: 62ch; color: rgba(250,248,242,.9); }
.hero--block.hero--tall { min-height: 360px; padding-top: 164px; padding-bottom: 68px; }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: 94px 0; }
.section--tight { padding: 58px 0; }
.section--generous { padding: 132px 0; }

.section--alt { background: var(--surface-alt) !important; position: relative; }
.section--alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-color: var(--ink);
  -webkit-mask-image: url("/images/overlays/bathymetric.svg");
          mask-image: url("/images/overlays/bathymetric.svg");
  -webkit-mask-size: 900px auto; mask-size: 900px auto;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  opacity: .13;
}
.section--alt > .wrap { position: relative; z-index: 1; }

.section--dark { background: var(--ink) !important; color: var(--surface); }
.section--dark h2, .section--dark h3 { color: var(--surface); }
.section--dark .lede, .section--dark p { color: rgba(250,248,242,.86); }
.section--dark .eyebrow { color: var(--sand); }
.section--dark a { color: var(--sea-light); }

.section--sea { background: var(--sea) !important; color: var(--surface); }
.section--sea h2, .section--sea h3 { color: var(--surface); }
.section--sea p, .section--sea .lede { color: rgba(250,248,242,.9); }
.section--sea .eyebrow { color: var(--sea-pale); }

/* Card titles inside a tinted band stay inked. spec 0,2,1 beats .section--alt h3 */
.section--alt .hunt-card h3,
.section--alt .guide-card h3 { color: var(--ink); }

.section__head { max-width: 760px; margin-bottom: 52px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* -------------------------------------------------------------- statement */
.statement p {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  line-height: 1.32; letter-spacing: -.012em;
  color: var(--ink); margin-bottom: .6em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.statement .sig {
  font-family: var(--body); font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* ------------------------------------------------------------------ cards */
.card-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.hunt-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--s-card);
  transition: transform var(--t), box-shadow var(--t);
}
.hunt-card:hover { transform: translateY(-4px); box-shadow: var(--s-hover); }
.hunt-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ramp-100); }
.hunt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.hunt-card:hover .hunt-card__media img { transform: scale(1.04); }
.hunt-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.hunt-card__body h3 { margin-bottom: .4em; }
.hunt-card p { color: var(--muted); font-size: .96rem; }
.hunt-card .price {
  font-family: var(--display); font-size: 1.5rem; font-weight: 600;
  color: var(--ink); line-height: 1.1;
}
.hunt-card .price span {
  display: block; font-family: var(--body); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .5em;
}
.hunt-card .btn-row { margin-top: auto; padding-top: 22px; }
.hunt-card .btn { padding: 13px 20px; font-size: .72rem; }

.offer-meta {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}

.incl { list-style: none; margin: 18px 0 0; padding: 0; }
.incl li {
  position: relative; padding-left: 22px; margin-bottom: 7px;
  font-size: .93rem; color: var(--muted);
}
.incl li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-fill);
}
.section--dark .incl li, .section--sea .incl li { color: rgba(250,248,242,.86); }
.section--dark .incl li::before { background: var(--sand); }

/* ------------------------------------------------------------------ split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--wide-img { grid-template-columns: 1.12fr 1fr; }
.split--flip > .split__media { order: 2; }
.split__media img {
  width: 100%; border-radius: 10px; box-shadow: var(--s-card);
  object-fit: cover;
}
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__media figcaption {
  margin-top: 12px; font-size: .82rem; color: var(--muted); letter-spacing: .02em;
}

/* Alternating full-width offering rows. */
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.alt-row + .alt-row { margin-top: 36px; }
.alt-row__media { min-height: 380px; background: var(--ramp-100); }
.alt-row__media img { width: 100%; height: 100%; object-fit: cover; }
.alt-row__body { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; }
.alt-row--flip .alt-row__media { order: 2; }

/* ------------------------------------------------------------- full bleed */
.photo-band { position: relative; min-height: clamp(380px, 56vh, 620px); display: flex; align-items: flex-end; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band__cap {
  position: relative; z-index: 2; width: 100%;
  padding: 44px 0;
  background: linear-gradient(0deg, rgba(14,18,13,.82) 0%, rgba(14,18,13,0) 100%);
  color: var(--surface);
}
.photo-band__cap p { margin: 0; max-width: 46ch; color: rgba(250,248,242,.94); }
.photo-band__cap .eyebrow { color: var(--sand); }

/* ------------------------------------------------------------ pricing rows */
.pricing-rows { list-style: none; margin: 0; padding: 0; }
.pricing-rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.pricing-rows li:first-child { border-top: 1px solid var(--line); }
.pricing-rows .pr-name { font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.pricing-rows .pr-note { display: block; font-family: var(--body); font-size: .88rem; font-weight: 400; color: var(--muted); margin-top: .35em; max-width: 52ch; }
.pricing-rows .price { font-family: var(--display); font-size: 1.6rem; font-weight: 600; white-space: nowrap; }
.pricing-rows .price sup { font-size: .55em; margin-right: 10px; position: relative; top: 8px; display: inline-block; }
.pricing-rows .price small { display: block; font-family: var(--body); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; margin-top: .4em; }

/* --------------------------------------------------------------- guestinfo */
.info-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.info-block h3 { font-size: 1.12rem; margin-bottom: .6em; }
.info-block ul { list-style: none; margin: 0; padding: 0; }
.info-block li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .94rem; color: var(--muted); }
.section--dark .info-block li { color: rgba(250,248,242,.82); border-bottom-color: var(--line-dark); }

.values { display: grid; gap: 40px; grid-template-columns: repeat(3, 1fr); }
.value__n { font-family: var(--display); font-size: 2.6rem; color: var(--accent-text); line-height: 1; display: block; margin-bottom: .2em; }
.section--dark .value__n { color: var(--sand); }

/* ------------------------------------------------------------- guide cards */
.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--s-card); transition: transform var(--t), box-shadow var(--t); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--s-hover); }
.guide-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ramp-100); }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__body { padding: 24px 26px 28px; }
.guide-card__body h3 { margin-bottom: .2em; }
.guide-card .role { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1em; }
.guide-card p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------- signature move */
/* One per site: the wordmark, oversized and outlined, bleeding off the edge. */
.wordmark-bleed {
  position: absolute; right: -3vw; bottom: 4%;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(5rem, 15vw, 15rem); line-height: .82;
  letter-spacing: -.045em; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(250,248,242,.17);
  pointer-events: none; user-select: none; z-index: 0;
}

/* ---------------------------------------------------------------- gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.gallery-filters button {
  font-family: var(--body); font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 6px; cursor: pointer;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.gallery-filters button:hover { border-color: var(--ink); }
.gallery-filters button[aria-pressed="true"] { background: var(--accent-fill); color: var(--on-accent); border-color: var(--accent-fill); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid figure { margin: 0; }
.gallery-grid button.g-item {
  display: block; width: 100%; padding: 0; border: 0; background: var(--ramp-100);
  border-radius: 8px; overflow: hidden; cursor: zoom-in; line-height: 0;
  box-shadow: var(--s-card);
  transition: transform var(--t), box-shadow var(--t);
}
.gallery-grid button.g-item:hover { transform: translateY(-3px); box-shadow: var(--s-hover); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid .is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(10,14,11,.94); padding: 32px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; border-radius: 6px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: rgba(250,248,242,.9); font-size: .9rem; padding: 0 60px; }
.lightbox button {
  position: absolute; background: rgba(250,248,242,.12); border: 1px solid rgba(250,248,242,.3);
  color: var(--surface); width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer; line-height: 1;
  transition: background var(--t);
}
.lightbox button:hover { background: rgba(250,248,242,.26); }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 20px; top: 20px; }

/* ----------------------------------------------------------- cta + contact */
.cta-banner { position: relative; background: var(--ink); color: var(--surface); padding: 92px 0; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-color: var(--surface);
  -webkit-mask-image: url("/images/overlays/bathymetric.svg");
          mask-image: url("/images/overlays/bathymetric.svg");
  -webkit-mask-size: 900px auto; mask-size: 900px auto;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  opacity: .085;
}
.cta-banner > .wrap { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--surface); }
.cta-banner p { color: rgba(250,248,242,.86); max-width: 56ch; }
.cta-banner .eyebrow { color: var(--sand); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.contact-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 10px; padding: 30px 28px;
  background: var(--surface);
}
.contact-card .label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1em; min-height: 1.2em; }
.contact-card .val { font-family: var(--display); font-size: 1.22rem; font-weight: 600; line-height: 1.3; word-break: break-word; }
.contact-card .val a { color: var(--ink); }
.contact-card .sub { margin: .7em 0 0; font-size: .9rem; color: var(--muted); }

/* The MB form embed ships with its own title, description and styling, so the
   column behind it carries no rule at all: no background, border, shadow or
   padding, and no heading above it. Deliberately left unstyled. */

/* --------------------------------------------------------------- accordion */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--t);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item__body { padding: 0 44px 24px 0; color: var(--muted); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: rgba(250,248,242,.78); padding: 72px 0 34px; }
.site-footer a { color: rgba(250,248,242,.78); }
.site-footer a:hover { color: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-word { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--surface); line-height: 1.1; margin-bottom: .5em; }
.site-footer h4 { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.2em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6em; font-size: .94rem; }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-dark);
  transition: background var(--t), border-color var(--t);
}
.social-row a:hover { background: var(--accent-fill); border-color: var(--accent-fill); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }
.footer-legal { border-top: 1px solid var(--line-dark); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .82rem; color: rgba(250,248,242,.6); }

/* ------------------------------------------------------------------ motion */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ breakpoints */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  /* The brand and the close control sit above the full-screen panel. */
  .brand, .nav-cta { position: relative; z-index: 2; }
  /* Full-screen menu: covers the page, not a dropped-down strip. */
  .nav-main {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    background: var(--surface);
    padding: 112px 24px calc(40px + env(safe-area-inset-bottom));
    height: 100vh; height: 100dvh;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    display: none;
  }
  .nav-main.is-open { display: flex; }
  /* While the menu is up, the header goes solid so the wordmark and the close
     control stay legible over it instead of sitting on a dark hero. */
  .site-header.is-menu-open {
    background: var(--surface); box-shadow: none; backdrop-filter: none;
    z-index: 2147483601;
  }
  .site-header.is-menu-open .brand__word { color: var(--ink); text-shadow: none; }
  .site-header.is-menu-open .nav-toggle span { background: var(--ink); }
  /* Full width so each divider rule runs the width of the panel. */
  .nav-main > li > a {
    display: flex; width: 100%;
    color: var(--ink) !important; text-shadow: none !important;
    padding: 18px 2px; font-size: 1.05rem; letter-spacing: .04em;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }
  .nav-main > li > a::after { display: none; }
  .nav-main > li::after { display: none; }
  .nav-main .caret { width: 11px; height: 11px; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: transparent;
    padding: 8px 0 14px 16px; min-width: 0;
  }
  .nav-dropdown a { padding: 11px 6px; font-size: .95rem; }
  /* The primary CTA belongs in the full-screen menu, not hidden behind it. */
  .nav-cta .btn { display: none; }
  .nav-menu-cta { display: block; }
  .nav-main .nav-menu-cta { margin-top: auto; padding-top: 32px; }
  .nav-main .nav-menu-cta a { border: 0; }
  .nav-main .nav-menu-cta .btn {
    display: inline-flex; width: 100%; justify-content: center;
    color: var(--on-accent) !important; font-size: .78rem;
  }
  .nav-main .nav-menu-cta .btn:hover { color: var(--surface) !important; }
  .nav-main .nav-menu-cta button.mb_widget.btn {
    display: inline-flex !important; width: 100% !important;
    justify-content: center !important; padding: 16px 24px !important;
  }
  .split, .alt-row { grid-template-columns: 1fr; gap: 36px; }
  .alt-row__media { min-height: 300px; }
  .alt-row--flip .alt-row__media, .split--flip > .split__media { order: 0; }
  .alt-row__body { padding: 36px 30px 40px; }
  .card-grid--2, .card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section--generous { padding: 80px 0; }
  .hero--photo { min-height: 78vh; padding: 140px 0 60px; }
  .hero--block { padding: 128px 0 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .pricing-rows li { flex-direction: column; gap: 10px; }
  .pricing-rows .price small { text-align: left; }
  .btn { width: 100%; justify-content: center; }
  .hunt-card .btn-row .btn { width: auto; flex: 1 1 auto; }
  .wordmark-bleed { display: none; }
}

/* ======================= MB WIDGET DEFENCES — load bearing ================= */
/* The booking widget injects a Tailwind-flavoured sheet plus Emotion runtime
   styles. Everything below keeps the site's own design from being overwritten
   once a guest clicks Book. Do not remove. */
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem) !important; font-family: var(--display) !important; }
button.mb_widget.btn,
button.mb_widget.btn--primary {
  background: var(--btn-bg) !important;
  color: var(--btn-fg) !important;
  font-family: var(--body) !important;
  border-radius: 6px !important;
  padding: 15px 28px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-size: .78rem !important;
}
button.mb_widget.btn--light { background: var(--surface) !important; color: var(--ink) !important; }
button.mb_widget.btn:hover { color: var(--surface) !important; }
button.mb_widget.btn--light:hover { color: var(--on-accent) !important; }
.nav-cta button.mb_widget.btn { padding: 12px 20px !important; font-size: .71rem !important; }
.hunt-card button.mb_widget.btn { padding: 13px 20px !important; font-size: .72rem !important; }
/* Hide the script/style nodes the widget leaves in the document flow. */
body > script, body > style, .wrap > script, .wrap > style,
.btn-row > script, .btn-row > style { display: none !important; }

/* 2026-10-13: homepage hero is the owner's own photo from his current site (beach house looking out at the bay) */
.hero--cabin { --hero-pos: 50% 42%; }
@media (max-width: 760px) { .hero--cabin { --hero-pos: 26% 45%; } }

/* 2026-10-15: owner asked for the adult rate note wherever rates appear, and the Seldovia Bay pin on Contact */
.rate-note { margin: 22px 0 0; padding: 16px 20px; border-left: 4px solid var(--accent-fill); background: rgba(131,137,86,.12); border-radius: 8px; }
.rate-note p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.rate-note .rate-note__label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .45em; }
.cove-map { margin: 36px 0 0; display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 32px; align-items: center; }
.cove-map img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.cove-map .label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 .8em; }
.cove-map figcaption p:last-child { margin: 0; color: var(--muted); max-width: 46ch; }
.cove-map__frame { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.cove-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .cove-map { grid-template-columns: 1fr; gap: 18px; } .cove-map img { max-width: 360px; margin: 0 auto; } }
@media (max-width: 760px) { body[data-page="home"] .hero h1 br { display: none; } }

/* 2026-10-28: owner asked for bright photos, no grey wash, captions under the photo instead of over it */
.hero--photo::before { filter: brightness(1.05) saturate(1.06); }
.hero--photo::after {
  background: linear-gradient(180deg, rgba(14,18,13,.30) 0%, rgba(14,18,13,0) 20%,
                                      rgba(14,18,13,0) 58%, rgba(14,18,13,.42) 100%);
}
.photo-band { display: block; min-height: 0; }
.photo-band img { position: static; display: block; width: 100%; height: clamp(340px, 62vh, 680px); object-fit: cover; filter: brightness(1.04) saturate(1.05); }
.photo-band__cap { background: var(--ink); padding: 34px 0 38px; }
.photo-band__cap .note { margin-top: .8em; font-size: .9rem; color: rgba(250,248,242,.78); }

/* 2026-10-28: fish season chart on the all-inclusive page */
.season-chart { margin: 22px 0 10px; border: 1px solid rgba(250,248,242,.22); border-radius: 10px; overflow: hidden; max-width: 760px; }
.sc-row { display: grid; grid-template-columns: minmax(150px, 2.2fr) repeat(5, 1fr); align-items: center; border-top: 1px solid rgba(250,248,242,.14); }
.sc-row:first-child { border-top: 0; }
.sc-row > span { padding: 10px 14px; font-size: .92rem; }
.sc-head > span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.sc-head > span:first-child { text-align: left; }
.sc-row > i, .sc-key i { display: block; height: 14px; margin: 0 6px; border-radius: 4px; }
.sc-key i { display: inline-block; width: 22px; vertical-align: middle; margin: 0 4px 0 0; }
i.p { background: var(--sand, #d9c9a3); }
i.g { background: rgba(217,201,163,.42); }
.sc-key { font-size: .85rem; opacity: .9; }
@media (max-width: 560px) { .sc-row { grid-template-columns: minmax(118px, 1.8fr) repeat(5, 1fr); } .sc-row > span { padding: 9px 8px; font-size: .8rem; } .sc-row > i { margin: 0 3px; } }
/* 2026-10-28: portrait client photos keep their full frame in galleries (no cut-off heads) */
.gallery-grid { align-items: start; }
.gallery-grid figure.is-tall img { aspect-ratio: 3 / 4; }
.hero--photo .eyebrow { text-shadow: 0 1px 10px rgba(10,14,11,.85), 0 0 2px rgba(10,14,11,.6); }
.hero--photo .btn--outline-light { background: rgba(14,18,13,.38); }
.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; }

/* 11/02 feedback pass: privacy points, reviews, rate table, itinerary, food row */
.tc-points{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:28px}
.tc-point{border-top:2px solid var(--line);padding-top:16px}
.tc-point h3{font-family:var(--display);font-size:1.15rem;margin:0 0 .4em}
.tc-point p{margin:0;color:var(--muted);font-size:.95rem}
.tc-reviews{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:28px}
.tc-review{margin:0;padding:24px 26px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.55)}
.tc-review blockquote{margin:0 0 14px;font-family:var(--display);font-size:1.08rem;line-height:1.5}
.tc-review figcaption{font-size:.76rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.rate-table-wrap{overflow-x:auto;margin-top:8px}
.rate-table{width:100%;border-collapse:collapse;font-size:1rem}
.rate-table caption{caption-side:top;text-align:left;color:var(--muted);font-size:.9rem;margin-bottom:12px}
.rate-table th,.rate-table td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.rate-table th:first-child{text-align:left}
.rate-table thead th{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.rate-table tbody td{font-family:var(--display);font-size:1.25rem;font-weight:600}
.rate-table tbody th{font-family:var(--display);font-weight:600}
.rate-table__day th,.rate-table__day td{color:var(--muted);font-size:1rem !important}
.tc-itinerary{list-style:none;margin:28px 0 0;padding:0}
.tc-itinerary li{display:grid;grid-template-columns:90px 1fr;gap:18px;padding:18px 0;border-top:1px solid var(--line)}
.tc-itinerary .tc-day{font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding-top:.3em}
.tc-itinerary h3{font-family:var(--display);font-size:1.15rem;margin:0 0 .3em}
.tc-itinerary p{margin:0;color:var(--muted)}
.tc-food{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}
.tc-food img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
@media (max-width:900px){.tc-points{grid-template-columns:repeat(2,1fr)}.tc-reviews{grid-template-columns:1fr}}
@media (max-width:600px){.tc-points,.tc-food{grid-template-columns:1fr}.tc-itinerary li{grid-template-columns:1fr;gap:4px}.rate-table th,.rate-table td{padding:12px 6px}.rate-table tbody td{font-size:1.05rem}}

/* client logo 11/03 */
.brand__emblem{width:56px;height:56px;border-radius:50%;margin-right:12px;flex:none;box-shadow:0 2px 10px rgba(0,0,0,.25);transition:width var(--t),height var(--t)}
.site-header.is-scrolled .brand__emblem{width:46px;height:46px}
@media (max-width:640px){.brand__emblem{width:44px;height:44px;margin-right:9px}}
.footer-logo{display:block;width:160px;height:auto;border-radius:10px;margin-bottom:1em}
.prose p{max-width:70ch;margin-bottom:1em}

/* 2026-11-03: package rate table from Scott's official rate sheet */
.rate-table--packages th, .rate-table--packages td { white-space: normal; }
.rate-table--packages tbody th { white-space: nowrap; }
.rate-table--packages tbody td { font-size: 1.1rem; }
.rate-table--packages .rate-table__min { font-family: var(--body); font-size: .85rem !important; font-weight: 500; color: var(--muted); }
.rate-facts { margin: 22px 0 0; padding-left: 1.1em; }
.rate-facts li { margin: 0 0 .7em; line-height: 1.55; }
@media (max-width:600px){ .rate-table--packages { min-width: 680px; } }

/* ===== Launch build 2026-11-04: articles, guides, footer ===== */
.article{font-size:1.04rem;line-height:1.72;color:var(--ink-soft)}
.article h2{font-family:var(--display);font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.2;margin:2.2em 0 .6em;color:var(--ink)}
.article h3{font-family:var(--display);font-size:1.22rem;line-height:1.3;margin:1.7em 0 .5em;color:var(--ink)}
.article p{margin:0 0 1.1em}
.article a{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}
.article > *:first-child{margin-top:0}
.article blockquote{margin:1.6em 0;padding:4px 0 4px 22px;border-left:3px solid var(--accent-fill);font-family:var(--display);font-size:1.12rem;color:var(--ink)}
.article-meta{font-size:.86rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 1.6em}
.article-list{margin:0 0 1.3em;padding-left:1.25em}
.article-list li{margin:.35em 0}
.article-figure{margin:2em 0}
.article-figure img{width:100%;height:auto;border-radius:6px;display:block;box-shadow:var(--s-card)}
.article-figure figcaption{font-size:.86rem;color:var(--muted);margin-top:8px}
.article-figure--tall{max-width:420px;margin-left:auto;margin-right:auto}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.4em 0 1.8em}
.article-table{width:100%;border-collapse:collapse;font-size:.96rem;min-width:420px}
.article-table th,.article-table td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.article-table th{font-weight:600;color:var(--ink);background:var(--surface-alt)}
.wl-peak{font-weight:600;color:var(--sea)}
.wl-good{color:var(--accent-text);font-weight:500}
.wl-available{color:var(--muted)}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}
.related-card{display:block;padding:20px 22px;background:var(--surface);border:1px solid var(--line);border-radius:8px;text-decoration:none;color:var(--ink);transition:box-shadow var(--t),transform var(--t)}
.related-card:hover{box-shadow:var(--s-hover);transform:translateY(-2px)}
.related-card__title{display:block;font-family:var(--display);font-size:1.12rem;line-height:1.3;margin-bottom:6px}
.related-card__sub{display:block;font-size:.9rem;color:var(--muted);line-height:1.5}
.tc-reviews--all{grid-template-columns:repeat(2,1fr)}
.footer-grid--4{grid-template-columns:1.4fr 1fr 1fr 1fr}
@media (max-width:1024px){.footer-grid--4{grid-template-columns:1fr 1fr}.related-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.tc-reviews--all{grid-template-columns:1fr}}
@media (max-width:640px){.footer-grid--4{grid-template-columns:1fr}.related-grid{grid-template-columns:1fr}.article{font-size:1rem}}
/* 7-item desktop nav: the logo links home, so Home shows only in the mobile menu */
@media (min-width:1025px){.nav-main > li:first-child{display:none}}
@media (min-width:1025px) and (max-width:1260px){.nav-main{gap:0}.nav-main > li > a{padding:10px 7px;font-size:.7rem;letter-spacing:.05em}.site-header__in{gap:12px}.nav-cta .btn{padding:11px 14px}}
