/* Discover series pages: /earth/, /diving/, /backpacking/, /trekking/ (tools/make_series.py) */
.sx { background: var(--night); }
.sx-head { text-align: center; margin: 0 auto clamp(36px, 5vw, 60px); max-width: 760px; }
.sx-head h2 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.04em; line-height: 1.02; margin: 8px 0 0; color: #fff; }
.sx-head-row { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }

/* Hero */
.sx-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 980px); display: flex; align-items: center; padding: 130px 0 110px; }
.sx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: sxDrift 26s ease-in-out infinite alternate; }
.sx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,16,28,.92) 0%, rgba(3,16,28,.7) 45%, rgba(3,16,28,.25) 100%), linear-gradient(180deg, rgba(3,16,28,.2) 0%, rgba(3,16,28,0) 40%, var(--night) 100%); }
@keyframes sxDrift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.1) translateY(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .sx-hero-bg { animation: none; } }
.sx-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: clamp(30px, 6vw, 90px); align-items: center; width: 100%; }
.sx-crumb { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); margin: 0 0 26px; }
.sx-crumb a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.sx-crumb span { margin: 0 8px; color: var(--red); }
.sx-lock { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); margin: 0; color: #fff; flex-wrap: nowrap; }
.sx-lock span { font-weight: 800; font-size: clamp(3rem, 7.5vw, 6.6rem); letter-spacing: -.05em; line-height: .9; }
.sx-lock span i { font-style: normal; color: var(--red); }
.sx-lock b { font-weight: 300; font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: .5em; margin-right: -.5em; text-transform: uppercase; line-height: 1.1; padding-left: clamp(16px, 2.2vw, 30px); border-left: 3px solid var(--red); white-space: nowrap; }
.sx-slogan { margin: clamp(26px, 3.5vw, 40px) 0 18px; font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; color: #eef3f6; }
.sx-slogan b { font-weight: 700; } .sx-slogan i { font-style: normal; color: var(--red); }
.sx-intro { max-width: 52ch; color: #c9d3da; font-size: 1.05rem; line-height: 1.7; margin: 0 0 32px; }
.sx-hero-cover { justify-self: center; perspective: 1400px; }
.sx-hero-cover img { display: block; width: min(320px, 100%); height: auto; border-radius: 3px; box-shadow: 0 50px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); transform: rotateY(-8deg); transition: transform .6s; }
.sx-hero-cover:hover img { transform: rotateY(0); }
.sx-scroll { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; }
.sx-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: sxDot 1.8s infinite; }
@keyframes sxDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.sx-lock.long b { letter-spacing: .3em; margin-right: -.3em; font-size: clamp(1.2rem, 2.4vw, 2.1rem); }
.sx-lock.long span { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }

/* Numbers */
.sx-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--night-2); }
.sx-stats-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sx-stats-in div { padding: clamp(24px, 3vw, 38px) 20px; text-align: center; border-left: 1px solid var(--line); }
.sx-stats-in div:first-child { border-left: 0; }
.sx-stats-in b { display: block; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.04em; color: #fff; line-height: 1; }
.sx-stats-in span { display: block; margin-top: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }

/* The collection */
.sx-books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.sx-book { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color .3s, transform .35s, box-shadow .35s; }
a.sx-book:hover { border-color: rgba(244,247,249,.38); transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.sx-cover { position: relative; display: flex; justify-content: center; padding: clamp(28px, 3.4vw, 44px) 20px; background: radial-gradient(70% 60% at 50% 45%, rgba(255,255,255,.07), transparent 70%); }
.sx-cover img { width: min(200px, 62%); height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 2px; box-shadow: 0 26px 50px rgba(0,0,0,.6); transition: transform .45s; }
a.sx-book:hover .sx-cover img { transform: translateY(-6px) scale(1.02); }
.sx-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--red); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; border-radius: 2px; }
.sx-info { display: flex; flex-direction: column; gap: 6px; padding: 4px 24px 26px; flex: 1; }
.sx-t { font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: #fff; }
.sx-s { font-size: .84rem; color: var(--mist); line-height: 1.4; }
.sx-l { font-size: .88rem; color: #c9d3da; line-height: 1.55; margin-top: 6px; }
.sx-f { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sx-f i { font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .06em; padding: 5px 9px; border-radius: 30px; background: rgba(255,255,255,.07); color: #dfe6ea; }
.sx-price, .sx-soon { margin-top: auto; padding-top: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.sx-soon { color: #8fa0ad; }
.sx-go { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); text-decoration: none; padding-top: 6px; }
.is-coming .sx-go { margin-top: auto; padding-top: 14px; }
.sx-also { text-align: center; margin: 34px 0 0; color: var(--mist); }
.sx-also a { color: #fff; font-weight: 700; }

/* Promise */
.sx-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.sx-promise div { padding: 34px clamp(18px, 2.6vw, 36px) 10px; border-left: 1px solid var(--line); }
.sx-promise div:first-child { border-left: 0; padding-left: 0; }
.sx-pn { display: block; font-weight: 300; font-size: 2.6rem; letter-spacing: -.04em; color: var(--red); line-height: 1; }
.sx-promise h3 { margin: 18px 0 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: #fff; }
.sx-promise p { margin: 0; color: #b9c5cd; font-size: .95rem; line-height: 1.6; }

/* Mosaic */
.sx-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px); gap: 12px; }
.sx-tile { position: relative; margin: 0; overflow: hidden; border-radius: 6px; }
.sx-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.sx-tile:hover img { transform: scale(1.06); }
.sx-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(3,16,28,.85)); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.sx-tile figcaption b { display: block; font-size: 1rem; letter-spacing: -.01em; text-transform: none; color: #fff; margin-bottom: 2px; }
.sx-mosaic.n6 .t1 { grid-column: span 2; grid-row: span 2; }
.sx-mosaic.n6 .t4 { grid-column: span 2; }
.sx-mosaic.n6 .t5, .sx-mosaic.n6 .t6 { grid-column: span 2; }
.sx-mosaic.n4 { grid-template-columns: repeat(3, 1fr); }
.sx-mosaic.n4 .t1 { grid-column: span 2; grid-row: span 2; }
.sx-mosaic.n4 .t4 { grid-column: span 3; }

/* Spreads */
.sx-spreads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sx-spread { margin: 0; border-radius: 6px; overflow: hidden; background: var(--night-2); border: 1px solid var(--line); }
.sx-spread img { display: block; width: 100%; height: auto; }
.sx-spread figcaption { padding: 14px 18px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.sx-spread figcaption b { display: block; font-size: 1rem; text-transform: none; letter-spacing: -.01em; color: #fff; }

/* Articles */
.sx-arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sx-art { text-decoration: none; color: inherit; }
.sx-art-img { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 16/10; background: var(--night-2); }
.sx-art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.sx-art:hover .sx-art-img img { transform: scale(1.05); }
.sx-art-k { display: block; margin-top: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.sx-art-t { display: block; margin-top: 6px; font-weight: 700; font-size: 1.06rem; line-height: 1.3; color: #fff; }

/* Other series */
.sx-others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sx-other { position: relative; isolation: isolate; overflow: hidden; height: 230px; border-radius: 6px; border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 18px; text-decoration: none; color: #fff; }
.sx-other-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.45); transition: transform .8s; }
.sx-other:hover .sx-other-bg { transform: scale(1.06); }
.sx-other-cv { position: absolute; top: 22px; left: 50%; width: 84px; margin-left: -42px; border-radius: 2px; box-shadow: 0 14px 30px rgba(0,0,0,.6); z-index: -1; }
.sx-other > span { display: flex; align-items: center; gap: 8px; }
.sx-other > span span { font-weight: 300; font-size: 1.05rem; } .sx-other i { font-style: normal; color: var(--red); font-weight: 800; }
.sx-other b { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-left: 2px solid var(--red); padding-left: 8px; }

@media (max-width: 1000px) {
  .sx-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-arts { grid-template-columns: repeat(2, 1fr); }
  .sx-others { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .sx-hero { padding: 110px 0 90px; min-height: auto; }
  .sx-hero::after { background: linear-gradient(180deg, rgba(3,16,28,.55) 0%, rgba(3,16,28,.8) 55%, var(--night) 100%); }
  .sx-hero-in { grid-template-columns: 1fr; }
  .sx-hero-in { grid-template-columns: 1fr; } .sx-hero-cover { order: -1; justify-self: start; } .sx-hero-cover img { width: 150px; transform: none; }
  .sx-lock span { font-size: 2.5rem; } .sx-lock b { font-size: 1.05rem; letter-spacing: .28em; margin-right: -.28em; }
  .sx-intro { font-size: .95rem; }
  .sx-scroll { display: none; }
  .sx-stats-in { grid-template-columns: repeat(2, 1fr); }
  .sx-stats-in div:nth-child(3) { border-left: 0; } .sx-stats-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sx-books { grid-template-columns: 1fr; }
  .sx-promise { grid-template-columns: 1fr; } .sx-promise div { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
  .sx-mosaic, .sx-mosaic.n4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .sx-mosaic .t1, .sx-mosaic.n4 .t4 { grid-column: span 2; }
  .sx-spreads, .sx-arts { grid-template-columns: 1fr; }
  .sx-head-row { flex-direction: column; align-items: start; }
}
.sx-hero-in > * { min-width: 0; }
@media (max-width: 760px) {
  .sx-lock { gap: 12px; }
  .sx-lock span { font-size: clamp(2rem, 10vw, 2.6rem); }
  .sx-lock b, .sx-lock.long b { font-size: clamp(.8rem, 3.6vw, 1.05rem); letter-spacing: .22em; margin-right: -.22em; padding-left: 12px; }
  .sx-lock.long span { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .sx-hero-cover img { width: 130px; }
}
@media (max-width: 760px) {
  .sx-books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sx-cover { padding: 20px 12px; } .sx-cover img { width: 78%; }
  .sx-info { padding: 2px 14px 16px; } .sx-t { font-size: 1.02rem; } .sx-s { font-size: .74rem; }
  .sx-l, .sx-f { display: none; }
  .sx-price, .sx-soon, .sx-go { font-size: .62rem; letter-spacing: .08em; }
  .sx-badge { top: 8px; right: 8px; font-size: .54rem; }
}

/* Discover Earth (18 Nov 2026): no cover in the hero, and a bigger lockup: "EARTH" closer in weight to "Discover." and a red bar the full height of the word */
.sx-earth .sx-hero-in { grid-template-columns: minmax(0, 1fr); }
.sx-earth .sx-lock { align-items: stretch; }
.sx-earth .sx-lock b { display: flex; align-items: center; font-weight: 400; font-size: clamp(2rem, 4.6vw, 4.2rem); letter-spacing: .32em; margin-right: -.32em; border-left-width: clamp(4px, .45vw, 6px); padding: .08em 0 .08em clamp(18px, 2.4vw, 34px); }
@media (max-width: 560px) {
  .sx-earth .sx-lock { gap: 12px; }
  .sx-earth .sx-lock span { font-size: clamp(2.2rem, 11vw, 3rem); }
  .sx-earth .sx-lock b { font-size: clamp(1.15rem, 5.6vw, 1.6rem); letter-spacing: .16em; margin-right: -.16em; padding-left: 12px; border-left-width: 4px; }
}
.sx-earth .sx-hero-bg { object-position: 50% 30%; }
/* Earth hero: text block sits lower, more of the waterfall above it */
.sx-earth .sx-hero { min-height: min(100svh, 1040px); padding-top: clamp(220px, 50vh, 540px); padding-bottom: 110px; align-items: flex-start; }
@media (max-width: 760px) { .sx-earth .sx-hero { padding-top: clamp(240px, 44vh, 380px); padding-bottom: 90px; } }

/* Discover Earth book rows: cover left, text right, faded photo behind */
.sx-feats { display: grid; gap: 18px; }
.sx-feat { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(22px, 3.5vw, 48px); align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 52px); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.08); background: #071a2b; }
.sx-feat-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; transition: transform 1.2s, opacity .6s; }
.sx-feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,16,28,.94) 0%, rgba(3,16,28,.82) 40%, rgba(3,16,28,.35) 100%); }
.sx-feat:hover .sx-feat-bg { transform: scale(1.04); opacity: .7; }
.sx-feat-cv img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 22px 44px rgba(0,0,0,.6); transition: transform .45s; }
.sx-feat:hover .sx-feat-cv img { transform: translateY(-4px); }
.sx-feat-tx { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.sx-feat-k { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.sx-feat-t { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.02; }
.sx-feat-s { font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.2rem); color: #dfe7ec; }
.sx-feat-l { color: #b9c5ce; font-size: .97rem; line-height: 1.6; margin-top: 4px; }
.sx-feat-go { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 10px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.sx-feat-go b { font-weight: 700; border-bottom: 1px solid var(--red); padding-bottom: 3px; }
.sx-feat-go .sx-price, .sx-feat-go .sx-soon { position: static; margin: 0; padding: 9px 14px; line-height: 1; font-size: .74rem; letter-spacing: .12em; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.sx-feat-go b { line-height: 1; padding: 10px 0; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 7px; }
.sx-feat-go .sx-price, .sx-feat-go .sx-soon, .sx-feat-go b { font-size: .78rem; }
@media (max-width: 640px) {
  .sx-feat { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 16px; align-items: start; }
  .sx-feat::after { background: linear-gradient(90deg, rgba(3,16,28,.94) 0%, rgba(3,16,28,.86) 60%, rgba(3,16,28,.6) 100%); }
  .sx-feat-t { font-size: clamp(1.15rem, 5.4vw, 1.5rem); overflow-wrap: anywhere; hyphens: auto; }
  .sx-feat-l { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; }
}
.sx-feats-sec + .sx-feats-sec, .sx-feats-sec { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }

/* three-photo feature on a series page: long word in the lockup needs a smaller size */
.sx-backpacking .month { padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 7vw, 90px); }
.sx-backpacking .month .month-lock span { font-size: clamp(1.3rem, 5vw, 4.6rem); }
.sx-backpacking .month .month-lock b { font-size: clamp(.72rem, 2.9vw, 2.7rem); letter-spacing: .26em; margin-right: -.26em; }

/* BRAND SHEET alignment: series lockup = "Discover." SemiBold + the series word in Light */
.sx-lock span { font-weight: 600; letter-spacing: -.03em; }
.sx-lock b, .sx-earth .sx-lock b { font-weight: 300; }
