/* Blue Skye Cabin — Design 4 v6 system (extracted 1:1) */
:root {
    --night: #152527;
    --night-2: #1B2F32;
    --teal: #37606A;
    --honey: #E4D4AC;
    --cream: #F2EADA;
    --brass: #C79C5B;
    --brass-bright: #E2BE7F;
    --fog: #8FA6A4;
    --hairline: rgba(242,234,218,0.13);

    --disp: "Fraunces", Georgia, serif;
    --body: "Manrope", system-ui, sans-serif;
    --max: 1240px;
    --gut: clamp(22px, 5vw, 68px);

    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  html { scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); scroll-behavior: smooth; }
  *, *::before, *::after { box-sizing: inherit; }

  body {
    margin: 0;
    background: var(--night);
    color: var(--cream);
    font-family: var(--body);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  h1,h2,h3 {
    font-family: var(--disp);
    font-weight: 340;
    font-variation-settings: "opsz" 144, "SOFT" 55, "WONK" 0;
    letter-spacing: -0.012em;
    margin: 0;
  }
  :focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 3px; }
  .tag { font-size: 12px; letter-spacing: 0.06em; color: var(--brass); font-weight: 500; }

  /* ── Photo treatment: grade + edge vignette (no full-frame shading) ── */
  .grade { filter: contrast(1.06) saturate(1.07) brightness(1.02); }
  .vig { position: relative; }
  .vig::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    background: radial-gradient(130% 130% at 50% 42%, transparent 56%, rgba(13,23,25,0.44) 100%);
  }

  /* ── Progress ── */
  .progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; }
  .progress b { display: block; height: 100%; width: 0; background: var(--brass); }

  /* ── Nav ── */
  .nav {
    position: fixed; top: 2px; left: 0; right: 0; z-index: 200;
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px var(--gut);
    transition: background .4s, backdrop-filter .4s;
  }
  .nav.scrolled {
    background: color-mix(in srgb, var(--night) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
  }
  .nav .mark { display: inline-flex; color: var(--cream); }
  .nav .mark svg { height: 34px; width: auto; display: block; }
  .nav .links { display: flex; gap: 26px; align-items: center; font-size: 13px; font-weight: 450; }
  .nav .links a { opacity: .8; transition: opacity .25s, color .25s; }
  .nav .links a:hover { opacity: 1; color: var(--brass-bright); }
  .nav .book-btn {
    font-size: 13px; font-weight: 550;
    background: var(--brass); color: var(--night);
    padding: 11px 20px; border-radius: 999px;
    opacity: 1;
    transition: background .3s, transform .2s;
  }
  .nav .book-btn:hover { background: var(--brass-bright); transform: translateY(-1px); color: var(--night); }
  @media (max-width: 860px) { .nav .links a:not(.book-btn) { display: none; } }

  /* ── True parallax pins: content scrolls over a static image ── */
  .pin { position: relative; clip-path: inset(0); }
  .pin-media {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh; height: 100svh;
    object-fit: cover;
    z-index: 0;
  }

  /* ── Hero ── */
  .hero {
    height: 100svh;
    min-height: 620px;
    display: grid;
    align-items: end;
  }
  .hero .scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      radial-gradient(135% 135% at 50% 40%, transparent 55%, rgba(13,23,25,0.5) 100%),
      linear-gradient(to top, rgba(13,23,25,0.72) 0%, rgba(13,23,25,0.22) 26%, transparent 46%);
  }
  .hero-inner {
    position: relative; z-index: 2;
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding: 0 var(--gut) clamp(56px, 9vh, 110px);
  }
  .hero h1 { font-size: clamp(46px, 7.6vw, 102px); line-height: 0.98; max-width: 13ch; }
  .hero h1 .line { display: block; overflow: hidden; }
  .hero h1 .line > span { display: inline-block; }
  .hero h1 i { font-style: italic; color: var(--brass-bright); }
  .hero .answer {
    margin: 26px 0 0;
    max-width: 58ch;
    font-size: clamp(14.5px, 1.2vw, 16.5px);
    color: #C7D4D2;
    line-height: 1.75;
    text-shadow: 0 1px 10px rgba(13,23,25,0.5);
  }
  .hero .answer strong { color: var(--cream); font-weight: 500; }
  .hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13.5px; font-weight: 550;
    padding: 15px 26px;
    border-radius: 999px;
    background: var(--brass); color: var(--night);
    transition: background .3s, transform .2s, box-shadow .3s;
    cursor: pointer; border: 0; font-family: var(--body);
  }
  .btn:hover { background: var(--brass-bright); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(199,156,91,0.25); }
  .btn .arr { transition: transform .25s; }
  .btn:hover .arr { transform: translateX(4px); }
  .btn.quiet { background: transparent; color: var(--cream); border: 1px solid var(--hairline); box-shadow: none; }
  .btn.quiet:hover { border-color: var(--brass); color: var(--brass-bright); box-shadow: none; }

  .hero h1 .line > span { transform: translateY(112%); }
  .hero .answer, .hero-ctas { opacity: 0; transform: translateY(16px); }
  .loaded .hero h1 .line > span { animation: rise 1.25s cubic-bezier(.16,.72,.2,1) forwards; }
  .loaded .hero h1 .line:nth-child(2) > span { animation-delay: .14s; }
  .loaded .hero .answer { animation: soft 1.1s .55s cubic-bezier(.16,.72,.2,1) forwards; }
  .loaded .hero-ctas { animation: soft 1.1s .75s cubic-bezier(.16,.72,.2,1) forwards; }
  @keyframes rise { to { transform: translateY(0); } }
  @keyframes soft { to { opacity: 1; transform: none; } }

  /* ── Facts band ── */
  .facts { position: relative; z-index: 2; background: var(--night-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
  .facts .row { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 38px 18px; text-align: center; border-left: 1px solid var(--hairline); }
  .fact:first-child { border-left: 0; }
  .fact .v { font-family: var(--disp); font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--cream); }
  .fact .v i { font-style: italic; color: var(--brass-bright); font-size: .62em; }
  .fact .k { display: block; margin-top: 10px; font-size: 12px; color: var(--fog); font-weight: 450; }
  @media (max-width: 720px) {
    .facts .row { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(3) { border-left: 0; }
    .fact:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  }

  /* ── Sections ── */
  section { padding: clamp(84px, 11vw, 150px) var(--gut); position: relative; z-index: 2; background: var(--night); }
  .wrap { max-width: var(--max); margin-inline: auto; }
  section h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.06; max-width: 18ch; }
  .sub { color: var(--fog); max-width: 54ch; margin: 18px 0 0; }

  .frame { overflow: hidden; }
  .frame img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.06);
    transition: transform 2s cubic-bezier(.16,.72,.2,1);
  }
  .frame.in img { transform: scale(1); }

  /* ── Story ── */
  .story .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
  .story .sticky { position: static; }
  .story .frame { aspect-ratio: 4 / 5; }
  .story .cap { margin-top: 12px; font-size: 12px; color: var(--fog); display: flex; justify-content: space-between; }
  .story p { color: #BECBC9; max-width: 58ch; margin: 1.15em 0 0; }
  .story p a {
    color: var(--brass-bright);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--brass) 55%, transparent);
    text-underline-offset: 4px;
    transition: text-decoration-color .25s;
  }
  .story p a:hover { text-decoration-color: var(--brass-bright); }
  .story .credit {
    margin-top: 30px; padding-top: 22px;
    border-top: 1px solid var(--hairline);
    font-family: var(--disp); font-style: italic;
    font-size: 16px; color: var(--honey);
  }
  @media (max-width: 880px) { .story .wrap { grid-template-columns: 1fr; } .story .sticky { position: static; } }

  /* ── Inside — index list ── */
  .inside { background: var(--night-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
  .inside .head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: 56px; }
  .ilist { border-top: 1px solid var(--hairline); }
  .irow {
    display: grid; grid-template-columns: minmax(180px, 0.9fr) 1.6fr;
    gap: 24px; padding: 24px 6px;
    border-bottom: 1px solid var(--hairline);
    align-items: baseline;
    transition: background .35s, padding-left .35s;
  }
  .irow:hover { background: color-mix(in srgb, var(--teal) 16%, transparent); padding-left: 18px; }
  .irow h3 { font-size: clamp(19px, 1.9vw, 25px); }
  .irow p { margin: 0; color: var(--fog); font-size: 13.5px; }
  @media (max-width: 640px) { .irow { grid-template-columns: 1fr; gap: 6px; } }

  /* ── Scene pin ── */
  .scene { height: 78vh; min-height: 420px; padding: 0; display: grid; align-items: end; background: transparent; }
  .scene .scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(135% 135% at 50% 42%, transparent 58%, rgba(13,23,25,0.42) 100%);
  }
  .scene .cap {
    position: relative; z-index: 2;
    margin: 0 0 28px; padding: 0 var(--gut);
    font-family: var(--disp); font-style: italic;
    font-size: clamp(17px, 1.7vw, 22px);
    color: var(--cream);
    text-shadow: 0 1px 12px rgba(13,23,25,0.6);
  }

  /* ── Strips (gallery, nearby, testimonials share the snap mechanic) ── */
  .striphead {
    max-width: var(--max); margin: 0 auto 48px;
    padding: 0 var(--gut);
    display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
  }
  .striphead .hint { font-size: 12px; color: var(--fog); font-weight: 450; }
  .strip {
    display: flex; gap: 18px;
    overflow-x: auto;
    padding: 0 var(--gut) 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip > * { scroll-snap-align: center; flex: 0 0 auto; }
  .nopad { padding-left: 0; padding-right: 0; }

  /* Gallery */
  .gal figure { margin: 0; width: min(70vw, 480px); cursor: zoom-in; }
  .gal .frame { aspect-ratio: 4 / 5; }
  .gal figcaption { margin-top: 12px; display: flex; justify-content: space-between; font-size: 12px; color: var(--fog); }

  /* Scrubber: draggable bar under a strip (gallery, nearby; the native scrollbar is hidden) */
  .scrub { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
  .scrub.off { visibility: hidden; }
  .scrub-track { position: relative; height: 24px; cursor: pointer; }
  .scrub-track::before {
    content: ""; position: absolute; left: 0; right: 0; top: 50%;
    height: 2px; margin-top: -1px; border-radius: 2px; background: var(--hairline);
  }
  .scrub-thumb {
    position: absolute; left: 0; top: 50%; width: 48px; height: 4px; margin-top: -2px;
    border-radius: 4px; background: var(--brass); cursor: grab; touch-action: none;
    transition: height .2s, margin-top .2s, background-color .2s;
  }
  .scrub-thumb::after { content: ""; position: absolute; inset: -10px 0; }   /* larger grab area */
  .scrub-track:hover .scrub-thumb, .scrub.dragging .scrub-thumb { height: 8px; margin-top: -4px; background: var(--brass-bright); }
  .scrub.dragging .scrub-thumb { cursor: grabbing; }
  .strip.scrubbing { scroll-snap-type: none; }

  /* Lightbox */
  .lb {
    position: fixed; inset: 0; z-index: 400;
    background: color-mix(in srgb, var(--night) 94%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid; grid-template-rows: auto 1fr auto;
    opacity: 0; pointer-events: none;
    transition: opacity .35s;
  }
  .lb.open { opacity: 1; pointer-events: auto; }
  .lb-top {
    display: flex; justify-content: space-between; align-items: center;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 10px;
    font-size: 12.5px; color: var(--fog);
  }
  .lb-x {
    background: none; border: 1px solid var(--hairline); color: var(--cream);
    width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
    font-size: 17px; line-height: 1;
    transition: border-color .25s, color .25s;
  }
  .lb-x:hover { border-color: var(--brass); color: var(--brass-bright); }
  .lb-stage { position: relative; display: grid; place-items: center; padding: 0 64px; min-height: 0; }
  .lb-stage img {
    max-width: 100%; max-height: calc(100vh - 170px);
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0,0,0,0.5);
  }
  .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: color-mix(in srgb, var(--night-2) 80%, transparent);
    border: 1px solid var(--hairline); color: var(--cream);
    width: 46px; height: 46px; border-radius: 999px;
    font-size: 19px; cursor: pointer;
    transition: border-color .25s, color .25s, background .25s;
  }
  .lb-nav:hover { border-color: var(--brass); color: var(--brass-bright); }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lb-cap {
    text-align: center;
    padding: 14px 20px calc(18px + env(safe-area-inset-bottom, 0px));
    font-family: var(--disp); font-style: italic;
    font-size: 16px; color: var(--honey);
  }
  @media (max-width: 640px) { .lb-stage { padding: 0 8px; } .lb-nav { display: none; } }

  /* Nearby cards */
  .poi {
    width: min(78vw, 330px);
    min-height: 210px;
    border: 1px solid var(--hairline);
    border-top: 2px solid var(--brass);
    background: var(--night-2);
    padding: 24px 22px 22px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
    transition: background .35s, transform .3s, border-color .35s;
  }
  .poi:hover { background: color-mix(in srgb, var(--teal) 24%, var(--night-2)); transform: translateY(-4px); border-top-color: var(--brass-bright); }
  .poi .drive { font-size: 12px; color: var(--brass-bright); font-weight: 500; letter-spacing: 0.04em; }
  .poi h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.1; margin-top: 8px; }
  .poi p { margin: 0; font-size: 13px; color: var(--fog); }

  /* Testimonials */
  .tst { background: var(--night-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding-left: 0; padding-right: 0; }
  .tcard {
    width: min(84vw, 620px);
    border: 1px solid var(--hairline);
    background: var(--night);
    padding: 34px 32px 28px;
    display: flex; flex-direction: column; gap: 20px;
  }
  .tcard .stars { color: var(--brass); letter-spacing: 4px; font-size: 13px; }
  .tcard blockquote {
    margin: 0;
    font-family: var(--disp); font-style: italic;
    font-size: clamp(19px, 1.9vw, 25px);
    line-height: 1.4;
    color: var(--cream);
  }
  .tcard cite { font-style: normal; font-size: 12.5px; color: var(--fog); }
  .tcard cite b { color: var(--brass-bright); font-weight: 500; }
  .tcard.placeholder { border-style: dashed; opacity: .75; }
  .tnav { display: flex; gap: 10px; }
  .tnav button {
    width: 42px; height: 42px; border-radius: 999px;
    background: none; border: 1px solid var(--hairline); color: var(--cream);
    font-size: 17px; cursor: pointer;
    transition: border-color .25s, color .25s;
  }
  .tnav button:hover { border-color: var(--brass); color: var(--brass-bright); }

  /* ── 3D explore ── */
  .explore { background: var(--night-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
  .stage-wrap { max-width: calc(var(--max) + 80px); margin: 52px auto 0; }
  .stage {
    position: relative;
    height: min(72vh, 680px);
    min-height: 420px;
    border: 1px solid var(--hairline);
    overflow: hidden;
    background: #101c1f;
  }
  .stage canvas { display: block; }
  .stage .loading {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--disp); font-style: italic; color: var(--fog); font-size: 17px;
  }
  .stage-ui {
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 2px 0;
  }
  .seg { display: flex; gap: 6px; background: var(--night); border: 1px solid var(--hairline); border-radius: 999px; padding: 5px; }
  .seg button {
    background: none; border: 0; color: var(--fog);
    font-family: var(--body); font-size: 12.5px; font-weight: 550;
    padding: 9px 16px; border-radius: 999px; cursor: pointer;
    transition: background .25s, color .25s;
    white-space: nowrap;
  }
  .seg button:hover { color: var(--cream); }
  .seg button.on { background: var(--brass); color: var(--night); }
  .stage-hint { font-size: 12px; color: var(--fog); }

  /* ── FAQ ── */
  .faq .wrap { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(32px, 5vw, 90px); }
  .flist { border-top: 1px solid var(--hairline); }
  details { border-bottom: 1px solid var(--hairline); }
  summary {
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 18px;
    padding: 20px 4px;
    font-family: var(--disp);
    font-size: clamp(17px, 1.6vw, 21px);
    transition: color .3s;
  }
  summary::-webkit-details-marker { display: none; }
  summary:hover { color: var(--brass-bright); }
  summary .pm {
    flex: 0 0 auto; width: 26px; height: 26px;
    border: 1px solid var(--hairline); border-radius: 999px;
    display: grid; place-items: center;
    font-family: var(--body); font-size: 14px;
    color: var(--brass);
    transition: transform .35s, background .3s, color .3s;
  }
  details[open] summary .pm { transform: rotate(45deg); background: var(--brass); color: var(--night); border-color: var(--brass); }
  details .a { padding: 0 44px 22px 4px; color: var(--fog); font-size: 14px; max-width: 60ch; }
  @media (max-width: 820px) { .faq .wrap { grid-template-columns: 1fr; } }

  /* ── Book ── */
  .book { overflow: hidden; }
  .book .bg {
    position: absolute; inset: 0;
    background: url("https://blueskyecabin.com/media/firepit4_1900.webp") center / cover no-repeat;
    filter: contrast(1.06) saturate(1.07);
  }
  .book .scrim {
    position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(130% 130% at 50% 38%, transparent 42%, rgba(13,23,25,0.62) 100%),
      linear-gradient(to top, rgba(13,23,25,0.55), transparent 55%);
  }
  .book .wrap { position: relative; z-index: 2; text-align: center; }
  .book h2 { margin-inline: auto; text-shadow: 0 2px 18px rgba(13,23,25,0.55); }
  .book h2 i { font-style: italic; color: var(--brass-bright); }
  .book .sub { margin-inline: auto; color: #D4DEDC; text-shadow: 0 1px 10px rgba(13,23,25,0.6); }
  .book .ctas { display: flex; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
  .book .fine { margin-top: 34px; font-size: 12.5px; color: #C7D4D2; text-shadow: 0 1px 8px rgba(13,23,25,0.6); }

  /* ── Sticky mobile book bar ── */
  .bar {
    position: fixed; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 250;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    background: color-mix(in srgb, var(--night-2) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    padding: 10px 10px 10px 22px;
    transform: translateY(140%);
    transition: transform .5s cubic-bezier(.16,.72,.2,1);
  }
  .bar.show { transform: none; }
  .bar .p { font-size: 13px; font-weight: 450; }
  .bar .p b { font-family: var(--disp); font-size: 17px; font-weight: 400; color: var(--brass-bright); }
  .bar .btn { padding: 12px 20px; font-size: 13px; }
  @media (min-width: 821px) { .bar { display: none; } }

  /* ── Footer ── */
  footer { padding: 72px var(--gut) calc(96px + env(safe-area-inset-bottom, 0px)); color: var(--fog); position: relative; z-index: 2; background: var(--night); }
  @media (min-width: 821px) { footer { padding-bottom: 36px; } }
  .foot { max-width: var(--max); margin-inline: auto; }
  .foot-top {
    display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
    padding-bottom: 44px; border-bottom: 1px solid var(--hairline);
  }
  .foot .mark { display: inline-flex; color: var(--cream); }
  .foot .mark svg { height: 44px; width: auto; }
  .foot nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; font-weight: 450; }
  .foot nav a { opacity: .75; } .foot nav a:hover { opacity: 1; color: var(--brass-bright); }
  .foot-bot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 22px; font-size: 12px; }

  /* ── Reveals ── */
  .rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s cubic-bezier(.16,.72,.2,1), transform 1.1s cubic-bezier(.16,.72,.2,1); }
  .rv.in { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero h1 .line > span { transform: none; }
    .hero .answer, .hero-ctas { opacity: 1; transform: none; }
    .rv { opacity: 1; transform: none; }
    .frame img { transform: none; }
    .pin-media { position: absolute; height: 100%; }
  }

/* Brand wordmark via CSS mask — recolors with currentColor */
.wm { display: inline-block; background: currentColor;
  -webkit-mask: url('/brand/blue-skye-logo-wordmark.min.svg') center / contain no-repeat;
  mask: url('/brand/blue-skye-logo-wordmark.min.svg') center / contain no-repeat; }
.nav .wm { width: 130px; height: 34px; }
footer .wm { width: 168px; height: 44px; }
.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; }


/* ═══ Legibility over light photographs (tune the alphas here) ═══ */
.nav .links a, .nav .mark {
  text-shadow: 0 1px 2px rgba(13,23,25,.55), 0 2px 14px rgba(13,23,25,.35);
}
.nav .wm { filter: drop-shadow(0 1px 1.5px rgba(13,23,25,.6)) drop-shadow(0 2px 10px rgba(13,23,25,.35)); }
.nav.scrolled .links a, .nav.scrolled .mark { text-shadow: none; }
.nav.scrolled .wm { filter: none; }
.hero .scrim {
  background:
    linear-gradient(to bottom, rgba(13,23,25,.58) 0, rgba(13,23,25,.2) 130px, transparent 260px),
    radial-gradient(135% 135% at 50% 40%, transparent 55%, rgba(13,23,25,0.5) 100%),
    linear-gradient(to top, rgba(13,23,25,0.72) 0%, rgba(13,23,25,0.22) 26%, transparent 46%);
}
.hero h1 { text-shadow: 0 2px 4px rgba(13,23,25,.35), 0 8px 30px rgba(13,23,25,.35); }
.hero .answer { text-shadow: 0 1px 3px rgba(13,23,25,.5), 0 2px 16px rgba(13,23,25,.35); }
.hero .btn.quiet { text-shadow: 0 1px 3px rgba(13,23,25,.5); }
.scene .cap { text-shadow: 0 1px 3px rgba(13,23,25,.55), 0 2px 14px rgba(13,23,25,.4); }
.book .scrim {
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(13,23,25,.45) 0, transparent 100%),
    radial-gradient(130% 130% at 50% 38%, transparent 42%, rgba(13,23,25,0.62) 100%),
    linear-gradient(to top, rgba(13,23,25,0.55), transparent 55%);
}
.book h2 { text-shadow: 0 2px 4px rgba(13,23,25,.4), 0 8px 30px rgba(13,23,25,.5); }
.book .sub, .book .fine { text-shadow: 0 1px 3px rgba(13,23,25,.6), 0 2px 14px rgba(13,23,25,.45); }

/* ═══ Lightbox swipe ═══ */
.lb-stage { touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden; }
.lb-stage img { grid-area: 1 / 1; }   /* both photos share the centered cell */
#lb-img, #lb-ghost { will-change: transform, opacity; -webkit-user-drag: none; cursor: grab; pointer-events: none; }
.lb-stage { cursor: grab; }
#lb-img.dragging { cursor: grabbing; }
