/* Discover Wildlife: /wildlife/ (tools/make_wildlife.py) */

/* Hero: the tiger shark, text sits low so the fin shows above it */
.wl-hero { align-items: flex-end; min-height: min(100svh, 1040px); padding: clamp(260px, 38vh, 420px) 0 clamp(90px, 11vh, 130px); }
.wl-hero .sx-hero-bg { object-position: 50% 22%; }
.wl-hero::after { background: linear-gradient(90deg, rgba(3,16,28,.78) 0%, rgba(3,16,28,.45) 50%, rgba(3,16,28,.1) 100%), linear-gradient(180deg, rgba(3,16,28,.35) 0%, rgba(3,16,28,0) 30%, rgba(3,16,28,.35) 65%, var(--night) 100%); }
.wl-hero .sx-hero-in { grid-template-columns: minmax(0, 1fr); }
.wl i { font-style: normal; color: var(--red); }

/* Shared faded full-width background */
.wl-light, .wl-animal { position: relative; isolation: isolate; overflow: hidden; background: var(--night); }
.wl-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }

/* Living light, living reefs */
.wl-light { padding: clamp(100px, 13vw, 180px) 0; }
.wl-light .wl-bg { opacity: .32; }
.wl-light .sx-head h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.wl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 30px); max-width: 1080px; margin: 0 auto; }
.wl-pcard { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: clamp(18px, 2.2vw, 28px); align-items: center; padding: clamp(20px, 2.4vw, 30px);
  border-radius: 14px; background: rgba(3,16,28,.55); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; text-decoration: none; transition: transform .35s, border-color .35s; }
.wl-pcard:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.wl-pcv { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 3px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.55); }
.wl-pcv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wl-pbadge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 7px 10px; background: rgba(3,16,28,.78); border: 1px solid rgba(255,255,255,.3); border-radius: 3px; }
.wl-ptx { display: flex; flex-direction: column; gap: 6px; }
.wl-ptx small { font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--glacier); }
.wl-ptx b { font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.03em; line-height: 1.05; }
.wl-ptx em { font-style: normal; font-weight: 300; color: #dfe7ec; }
.wl-ptx > span { color: #c2cdd5; font-size: .92rem; line-height: 1.6; margin-top: 4px; }
.wl-pgo { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px !important; }
.wl-pgo i { color: #fff; font-weight: 700; font-size: .86rem; }
.wl-price { font-weight: 700; color: #fff; font-size: .9rem; }
.wl-soon { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }

/* Animal sections (full-width faded photo, Discover Hawaii style) */
.wl-animal { padding: clamp(120px, 15vw, 210px) 0; }
.wl-animal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,16,28,.88) 0%, rgba(3,16,28,.55) 50%, rgba(3,16,28,.15) 100%); }
.wl-animal.flip::after { background: linear-gradient(270deg, rgba(3,16,28,.88) 0%, rgba(3,16,28,.55) 50%, rgba(3,16,28,.15) 100%); }
.wl-animal-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.wl-animal.flip .wl-animal-tx { order: 2; }
.wl-animal h2 { font-weight: 800; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.045em; line-height: .95; margin: 10px 0 14px; color: #fff; }
.wl-sub { font-weight: 300; font-size: clamp(1.15rem, 1.9vw, 1.5rem); color: #eef3f6; margin: 0 0 18px; letter-spacing: -.01em; }
.wl-intro { color: #c9d3da; line-height: 1.7; max-width: 54ch; margin: 0 0 24px; }
.wl-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; max-width: 620px; }
.wl-points li { padding-left: 14px; border-left: 2px solid var(--red); color: #b9c5ce; font-size: .9rem; line-height: 1.5; }
.wl-points b { display: block; color: #fff; font-size: .95rem; margin-bottom: 2px; }
.wl-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); max-width: 420px; justify-self: center; width: 100%; }
.wl-animal.one .wl-covers { grid-template-columns: 1fr; max-width: 300px; }
.wl-cv { display: flex; flex-direction: column; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; }
.wl-cv img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 26px 55px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); transition: transform .35s; }
.wl-cv:hover img { transform: translateY(-5px); }
.wl-cv small { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); margin-top: -4px; }

/* Map */
.wl-map-sec { background: var(--night); }
.wl-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.wl-pin .dot { fill: var(--red); stroke: #fff; stroke-width: 1.6; }
.wl-pin .halo { fill: var(--red); opacity: .22; transform-box: fill-box; transform-origin: center; animation: wpulse 3s ease-out infinite; }
.wl-pin.soon .dot { fill: var(--glacier); } .wl-pin.soon .halo { fill: var(--glacier); animation: none; opacity: .18; }
.wl-pin text { font-family: var(--sans); font-size: 13px; font-weight: 700; fill: var(--frost); paint-order: stroke; stroke: var(--night); stroke-width: 3.2px; stroke-linejoin: round; }
.wl-pin:hover text, .wl-pin:focus-visible text { fill: #fff; } .wl-pin:hover .dot { r: 6.5; }
.wl-chips { display: none; }

/* discover./wildlife graphic */
.wl-graphic { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 150px) 0 clamp(40px, 5vw, 60px); background: radial-gradient(70% 90% at 50% 40%, rgba(46,120,160,.22), transparent 70%), var(--night); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.wl-url { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; margin: 0; line-height: .9; letter-spacing: -.05em; }
.wl-url span { font-weight: 800; font-size: clamp(3rem, 11vw, 9.5rem); color: #fff; }
.wl-url b { font-weight: 200; font-size: clamp(3rem, 11vw, 9.5rem); color: transparent; -webkit-text-stroke: 1.5px rgba(238,243,246,.85); }
.wl-nums { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: center; }
.wl-nums div { padding: 0 16px; border-left: 1px solid rgba(255,255,255,.12); } .wl-nums div:first-child { border-left: 0; }
.wl-nums b { display: block; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: #fff; letter-spacing: -.04em; }
.wl-nums span { color: var(--mist); font-size: .82rem; }
.wl-marquee { margin-top: clamp(50px, 6vw, 80px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.wl-marquee div { display: flex; width: max-content; animation: wlScroll 60s linear infinite; }
.wl-marquee span { font-weight: 300; font-size: clamp(1rem, 1.6vw, 1.3rem); letter-spacing: .32em; text-transform: uppercase; color: #9fb0bc; padding: 0 28px; white-space: nowrap; }
.wl-marquee span::after { content: "·"; color: var(--red); margin-left: 56px; letter-spacing: 0; }
@keyframes wlScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wl-marquee div { animation: none; } }

/* Picks */
.wl-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: clamp(22px, 2.6vw, 34px) clamp(16px, 2vw, 26px); }
.wl-pick { display: flex; flex-direction: column; gap: 5px; color: #fff; text-decoration: none; }
.wl-pick-cv img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 18px 40px rgba(0,0,0,.5); transition: transform .35s; margin-bottom: 8px; }
.wl-pick:hover img { transform: translateY(-5px); }
.wl-pick-k { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--glacier); }
.wl-pick-t { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.wl-pick .wl-price { font-weight: 500; color: #c2cdd5; font-size: .85rem; }

@media (max-width: 900px) {
  .wl-pair { grid-template-columns: 1fr; }
  .wl-animal-in { grid-template-columns: 1fr; }
  .wl-animal.flip .wl-animal-tx { order: 0; }
  .wl-animal::after, .wl-animal.flip::after { background: linear-gradient(180deg, rgba(3,16,28,.35) 0%, rgba(3,16,28,.7) 55%, rgba(3,16,28,.85) 100%); }
  .wl-covers { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; gap: 10px; }
  .wl-cv { font-size: .72rem; }
  .wl-animal.one .wl-covers { max-width: 200px; justify-self: start; }
  .wl-map .wl-pin text { display: none; }
  .wl-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 26px; }
  .wl-chips a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #fff; text-decoration: none; }
  .wl-chips b { font-size: .86rem; } .wl-chips span { font-size: .74rem; color: var(--mist); }
}
@media (max-width: 600px) {
  .wl-hero { padding-top: 46vh; }
  .wl-hero .sx-hero-bg { object-position: 50% 15%; }
  .wl-pcard { grid-template-columns: 110px 1fr; padding: 16px; gap: 16px; }
  .wl-ptx > span { font-size: .84rem; }
  .wl-points { grid-template-columns: 1fr; }
  .wl-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 300px; }
  .wl-nums { grid-template-columns: 1fr; gap: 22px; } .wl-nums div { border-left: 0; }
  .wl-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 19 Nov 2026 tweaks: WILDLIFE as big as the lockup allows and sitting level with Discover; photos fade in sooner */
.wl-lock b { font-size: clamp(1.5rem, 3.2vw, 2.8rem); letter-spacing: .34em; margin-right: -.34em; line-height: 1; padding-top: .12em; padding-bottom: .02em; align-self: center; transform: translateY(.1em); }
@media (max-width: 600px) { .wl-lock b { font-size: clamp(1rem, 4.6vw, 1.3rem); letter-spacing: .24em; margin-right: -.24em; } }
.wl-animal .wl-bg { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 82%, transparent 100%); }
#sea-turtles .wl-bg { opacity: .58; }
.wl-meet { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 28px; font-size: .82rem; }
.wl-meet b { width: 100%; font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--glacier); }
.wl-meet a { padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; color: #fff; text-decoration: none; }
.wl-meet a:hover { border-color: #fff; }
