/* surangaw.com site styles
   Dark grey-blue by default, with a light theme (see "light theme" below).
   Sections, in order: base and layout, header, contact page, hero, press strip, stories,
   aerial band, countries, blog, features (Windows + book), about / contact, gallery view,
   lightbox, tours, photo corners, press stories, light theme, later additions
   (phone press cards, Frame TV, buttons, album list/grid, photo band strips). */
:root {
  --bg: #1b222b;
  --surface: #212a35;
  --raise: #273240;
  --line: #35424f;
  --fg: #f3f6f9;
  --soft: #c5ced8;
  --muted: #8e9aa8;
  --accent: #f7ce46;
  --btn: #f7ce46;
  --btn-hi: #ffd666;
  /* font and text size: set in the admin (Settings > Font and text size, src/lib/fonts.js).
     Text sizes are in rem, so the whole site follows the chosen size. */
  --face: "Plus Jakarta Sans";
  --display: var(--face),"SF Pro Display",-apple-system,"Segoe UI",sans-serif;
  --body: var(--face),-apple-system,"Segoe UI",system-ui,sans-serif;
  /* fixed colours: never changed by the light theme or by the admin colour settings */
  --ink: #1b222b; /* dark text on yellow buttons */
  --on-photo: #f3f6f9; /* light text over photos and dark panels */
  --on-photo-soft: #c5ced8;
  --deep: #141a21; /* darkest panels: press, contact, footer */
  --tint: #141a21; /* blog header band, More albums: dark grey, light grey in light mode */
  color-scheme: dark;
  --h: clamp(1.875rem,3.6vw,3rem); /* section heading size */
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  overflow-x: clip;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top,0px);
  z-index: 30;
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.wrap {
  padding-left: max(20px,env(safe-area-inset-left,0px));
  padding-right: max(20px,env(safe-area-inset-right,0px));
}
.inner {
  max-width: 1360px;
  margin: 0 auto;
}
.eyebrow {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--muted);
  margin: 0 0 10px;
}
h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--h);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.sec {
  padding-block: clamp(64px,9vw,120px);
}
.sechead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.link {
  font-size: 1.0625rem;
  color: var(--fg);
}
.link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--accent);
}
.sechead > div {
  min-width: 0;
}

/* header */
.top {
  background: var(--bg);
  padding-block: 18px;
}
.top .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.logo img {
  display: block;
  height: 124px;
  width: auto;
  margin-block: -12px;
}
.icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.icons a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--raise);
  border-radius: 50%;
  color: var(--soft);
  transition: color .2s,background .2s;
}
.icons a:hover {
  color: var(--ink);
  background: var(--btn);
}
.hdr {
  position: sticky;
  top: env(safe-area-inset-top,0px);
  z-index: 20;
  background: rgba(33,42,53,.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 0;
}
.hdr .inner {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.hdr .burger {
  margin-right: auto;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: rgba(255,255,255,.14);
  color: #fff;
  transition: background .2s,color .2s;
}
.hdr .burger svg {
  width: 20px;
  height: 20px;
}
.hdr .burger:hover,
.hdr .burger:active {
  background: var(--btn);
  color: var(--ink);
}
.hdr .inner > .menu {
  margin-right: auto;
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}
.brand small {
  display: inline;
  margin-left: 6px;
  color: var(--muted);
  font-weight: 400;
  font-size: .9375rem;
}
.menu {
  display: flex;
  gap: 0;
  align-items: stretch;
  align-self: stretch;
  margin-left: -18px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--soft);
}
.menu > .dd {
  display: flex;
}
.menu > a,
.menu > .dd > button {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  letter-spacing: inherit;
  font-size: inherit;
  transition: background .2s,color .2s;
}
.menu > a:hover,
.menu > .dd > button:hover,
.menu > .dd > button[aria-expanded="true"] {
  color: var(--fg);
  background: color-mix(in srgb,var(--fg) 9%,transparent);
}
.dd {
  position: static;
}
.menu > .dd > button[aria-expanded="true"] {
  opacity: 1;
  color: var(--fg);
}
.ddp {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
  padding: 28px max(20px,env(safe-area-inset-right,0px)) 32px max(20px,env(safe-area-inset-left,0px));
  letter-spacing: -.01em;
  animation: ddIn .22s ease;
}
@keyframes ddIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.chev {
  width: 1em;
  height: 1em;
  vertical-align: -.15em;
  margin-left: 2px;
}
.ddp .ddx {
  position: absolute;
  top: 20px;
  right: max(20px,calc((100% - 1360px)/2));
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 2px;
  padding: 0;
  background: rgba(255,255,255,.1);
  color: var(--on-photo);
  cursor: pointer;
  transition: background .2s,color .2s;
  z-index: 1;
}
.ddp .ddx svg {
  width: 20px;
  height: 20px;
}
.ddp .ddx:hover {
  background: var(--btn);
  color: var(--ink);
}
.ddp .mm {
  max-width: 1360px;
  margin: 0 auto;
  padding-right: 58px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 40px;
}
.ddp h4 {
  margin: 0 0 14px;
  font: 600 .8125rem/1 var(--body);
  color: var(--muted);
  letter-spacing: 0;
}
.ddp .mmg {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 14px 12px;
}
.ddp .mmg a {
  display: block;
  color: var(--soft);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 8px 10px;
  margin: -8px -8px -10px;
  border-radius: 3px;
  transition: background .2s,color .2s;
}
.ddp .mmg img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 7px;
  background: var(--surface);
  transition: transform .4s ease,filter .3s;
}
.ddp .mmg a:hover {
  color: var(--fg);
  background: rgba(255,255,255,.07);
}
.ddp .mmg a:hover img {
  filter: saturate(1.15) brightness(1.06);
}
.ddp .mmg small {
  display: block;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 400;
  margin-top: 1px;
}
.ddp .mmf {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ddp .mmf a {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 3px;
  color: var(--on-photo);
}
.ddp .mmf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.ddp .mmf a:hover img {
  transform: scale(1.05);
}
.ddp .mmf a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%,rgba(10,14,20,.75));
}
.ddp .mmf span {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 10px;
  font: 600 .9375rem/1.2 var(--display);
}
.ddp .mmf span small {
  display: block;
  font: 400 .75rem/1.4 var(--body);
  color: var(--on-photo-soft);
}
.ddp .all {
  display: inline-block;
  margin-top: 32px;
  color: var(--fg);
  font-size: .875rem;
  font-weight: 500;
}
.ddp .all:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width:1180px) {
  .ddp .mmg {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}
.ddp .mm.one {
  grid-template-columns: minmax(0,1fr);
}
.ddp .mmg.big {
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 16px 14px;
}
.ddp .mmg.big a {
  font-size: .9375rem;
}
.ddp .mmg .ph {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 3px;
  margin-bottom: 7px;
  background: var(--raise);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 400;
}
.ddp .mmg a:hover .ph {
  background: color-mix(in srgb,var(--raise) 80%,var(--fg));
}
.cty-card.ph {
  background: var(--raise);
}
.cty-card.ph::before {
  content: "Photos coming soon";
  position: absolute;
  inset: 0 0 var(--bh);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .8125rem;
}
.agrid {
  padding-bottom: 40px;
}

/* contact page */
.cpage {
  padding-block: 56px 80px;
}
.cpage .inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: clamp(32px,5vw,72px);
  align-items: start;
}
.cpage h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: var(--h);
  line-height: 1.1;
  margin: 0;
}
.cpage .lede {
  color: var(--soft);
  margin: 18px 0 0;
  max-width: 42ch;
}
.cpage .offer {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  max-width: 560px;
}
.cpage .offer li {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}
.cpage .offer b {
  display: block;
  color: var(--fg);
  font: 600 1rem/1.3 var(--display);
  margin-bottom: 3px;
}
@media (max-width:560px) {
  .cpage .offer {
    grid-template-columns: 1fr;
  }
}
.cpage .cimg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  margin-top: 32px;
}
.cpage .cimg.crop {
  position: relative;
  overflow: hidden;
}
.cpage .cimg.crop img {
  position: absolute;
  max-width: none;
  height: auto;
}
.cpage .ccap {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}
@media (max-width:860px) {
  .cpage .ccap {
    display: none;
  }
}
.cpage .icons {
  margin-top: 24px;
  gap: 10px;
}
/* Social icons on the Contact page show on phones only (computers have them in the header) */
.cpage .cicons {
  display: none;
}
@media (max-width:700px) {
  .cpage .cicons {
    display: flex;
    margin-top: 24px;
  }
}
.cform {
  background: var(--surface);
  padding: clamp(22px,3vw,40px);
  display: grid;
  gap: 18px;
}
.cform .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cform label {
  display: grid;
  gap: 7px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--soft);
}
.cform label small {
  color: var(--muted);
  font-weight: 400;
}
.cform input,
.cform select,
.cform textarea {
  font: 400 .9375rem/1.4 var(--body);
  color: var(--fg);
  background: var(--bg);
  border: 0;
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
  outline: 2px solid transparent;
  outline-offset: 0;
  transition: outline-color .2s;
}
.cform textarea {
  min-height: 170px;
  resize: vertical;
}
.cform select {
  appearance: none;
  background-image: linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position: calc(100% - 19px) 52%,calc(100% - 14px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.cform :is(input,select,textarea):focus {
  outline-color: var(--btn);
}
.cform .btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
  font: 600 .9375rem/1 var(--body);
  padding: 14px 26px;
  margin-top: 4px;
}
/* While the message is sending: a small spinner and "Sending…" in the button. */
.cform .btn.busy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: progress;
  opacity: .9;
}
.cform .btn.busy::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: hvspin .7s linear infinite;
}
.cform .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cform .frow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}
.cform .frow .btn {
  margin-top: 0;
}
.hv {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 0;
  border-radius: 2px;
  padding: 10px 18px 10px 12px;
  cursor: pointer;
  text-align: left;
  color: var(--fg);
  outline: 2px solid transparent;
  transition: outline-color .2s;
}
.hv:hover {
  outline-color: var(--line);
}
.hv:focus-visible {
  outline-color: var(--btn);
}
.hv .box {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--muted);
  display: grid;
  place-items: center;
  transition: background .2s,box-shadow .2s;
}
.hv .box svg {
  width: 16px;
  height: 16px;
  color: var(--ink);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .2s,transform .25s cubic-bezier(.3,1.6,.5,1);
}
.hv .sp {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--btn);
  opacity: 0;
}
.hv.busy .box {
  box-shadow: none;
  background: transparent;
}
.hv.busy .sp {
  opacity: 1;
  animation: hvspin .7s linear infinite;
}
.hv.done .box {
  background: var(--btn);
  box-shadow: none;
}
.hv.done .box svg {
  opacity: 1;
  transform: none;
}
.hv .t b {
  display: block;
  font-size: .90625rem;
  font-weight: 600;
  line-height: 1.2;
}
.hv .t small {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: 2px;
}
.hv.bad {
  outline-color: #ef6b5b;
  animation: hvshake .35s;
}
@keyframes hvspin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hvshake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.cform .hverr {
  margin: -6px 0 0;
  font-size: .8125rem;
  color: #ef6b5b;
}
@media (prefers-reduced-motion:reduce) {
  .hv.busy .sp {
    animation-duration: 2s;
  }
  .hv.bad {
    animation: none;
  }
}
.cform .ok {
  display: none;
  color: var(--fg);
  font-size: .9375rem;
  margin: 0;
}
.cform.sent .ok {
  display: block;
}
.cform.sent > :not(.ok) {
  display: none;
}
.cform .ok b {
  display: block;
  font: 700 1.5rem/1.2 var(--display);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
@media (max-width:860px) {
  .cpage .inner {
    grid-template-columns: minmax(0,1fr);
  }
  .cpage .cimg {
    display: none;
  }
}
@media (max-width:560px) {
  .cform .two {
    grid-template-columns: 1fr;
  }
}
@media (max-width:700px) {
  header.top .inner {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }
  /* On phones the social icons live in the menu drawer, not under the logo */
  header.top .icons {
    display: none;
  }
}
.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: .875rem;
  color: var(--soft);
  cursor: pointer;
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  overflow: auto;
  padding: calc(20px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) 40px max(20px,env(safe-area-inset-left,0px));
}
.drawer .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.drawer nav {
  display: grid;
  gap: 6px;
}
.drawer nav > a,
.drawer .dsec summary {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -.015em;
  padding: 15px 16px;
}
.drawer nav > a,
.drawer .dsec {
  background: var(--surface);
  border-radius: 2px;
}
.drawer nav > a:active,
.drawer .dsec summary:active {
  background: var(--raise);
}
.drawer .dsec .dgrid {
  padding: 0 16px 16px;
  margin: 0;
}
.dclose {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 2px;
  background: var(--raise);
  color: var(--fg);
  cursor: pointer;
  padding: 0;
}
.dclose svg {
  width: 20px;
  height: 20px;
}
.dclose:active,
.dclose:hover {
  background: var(--btn);
  color: var(--ink);
}
.drawer .dicons {
  display: flex;
  gap: 10px;
  margin: 0;
}
.drawer .dsec summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.drawer .dsec summary::-webkit-details-marker {
  display: none;
}
.drawer .dsec summary svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform .25s;
}
.drawer .dsec[open] summary svg {
  transform: rotate(180deg);
}
.drawer .dgrid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px 8px;
  margin: 8px 0 18px;
}
.drawer .dgrid a {
  font: 500 .8125rem/1.25 var(--body);
  color: var(--soft);
  padding: 0;
}
.drawer .dgrid img,
.drawer .dgrid .ph {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 5px;
  background: var(--raise);
}
.drawer .dgrid .ph {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .625rem;
  font-style: normal;
}
.drawer .dgrid .dall {
  grid-column: 1/-1;
  color: var(--fg);
  font-size: .875rem;
  padding-top: 2px;
}
@media (max-width:340px) {
  .drawer .dgrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* hero */
.hero {
  position: relative;
  height: min(calc(100vh - 170px),860px);
  min-height: 480px;
  overflow: hidden;
  background: #000;
}
.hero .sl {
  --fp: var(--dp,50% 50%);
  --fz: var(--dz,1);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--fp);
  transform-origin: var(--fp);
  opacity: 0;
  transition: opacity 1.6s ease;
  transform: scale(var(--fz)); /* no slow zoom: a moving photo is drawn softer by the browser */
}
.hero .sl.on {
  opacity: 1;
}
/* tall screens (phones) use the phone crop from the admin's Frame tool */
@media (max-aspect-ratio:1/1) {
  .hero .sl {
    --fp: var(--mp,50% 50%);
    --fz: var(--mz,1);
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.6),transparent 26%,transparent 52%,rgba(0,0,0,.8));
  pointer-events: none;
}
.hero .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
  z-index: 2;
}
.hero .cap .inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem,6.8vw,5.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 0;
  text-wrap: balance;
}
.hero .htxt {
  transition: opacity .45s ease,transform .45s ease;
}
.hero .htxt.out {
  opacity: 0;
  transform: translateY(8px);
}
.hero .lede {
  margin: 16px 0 0;
  max-width: 48ch;
  color: var(--soft);
  font-size: .96875rem;
}
.now {
  font-size: .6875rem;
  letter-spacing: -.01em;
  color: var(--soft);
  text-align: right;
}
.now b {
  display: block;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -.01em;
  text-transform: none;
  font-size: .875rem;
  margin-top: 4px;
}
.dots {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}
.dots button {
  width: 28px;
  height: 2px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.3);
  cursor: pointer;
}
.dots button.on {
  background: var(--accent);
}

/* hero themes (admin: Home page > Slideshow > Banner theme). "classic" is the look above.
   Every theme keeps the same crossfade; the gallery themes add side photos (.hx) showing the next slides. */
#slides,
.hero .hx {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero .hx {
  display: none;
}
.hero .hx .sl {
  --fp: var(--dp,50% 50%);
}
/* Glass: like a blog post header. Big photo, blurred glass bar across the bottom. */
.t-glass::after {
  background: linear-gradient(180deg,rgba(0,0,0,.5),transparent 24%);
}
.t-glass .cap {
  bottom: 0;
  padding-block: 30px 40px;
  background: rgba(20,26,34,.42);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.t-glass h1 {
  font-weight: 700;
  font-size: var(--h);
  line-height: 1.1;
  letter-spacing: -.025em;
  max-width: 22ch;
}
.t-glass .lede {
  margin-top: 12px;
  color: rgba(243,246,249,.8);
}
/* (Glass bar, Split and Photo strips show the caption as the headline when the slides have none, so not twice;
   .caph also hides it when the caption is switched off in the admin.) */
.caph .now > span,
.caph .now > b {
  display: none;
}
.caph .lede:empty {
  display: none;
}
/* Mosaic: the big photo on the left, the next two slides stacked on the right. */
.t-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  background: var(--bg);
}
.t-mosaic #slides,
.t-mosaic .hx {
  position: relative;
  inset: auto;
  display: block;
}
.t-mosaic #slides {
  grid-row: span 2;
}
.t-mosaic::after,
.t-trio::after {
  right: auto;
  width: calc(66.667% - 2px);
  background: linear-gradient(180deg,rgba(0,0,0,.5),transparent 26%,transparent 50%,rgba(0,0,0,.8));
}
.t-mosaic .cap {
  right: calc(33.333% + 4px);
}
.t-mosaic .cap .inner {
  margin: 0;
}
.t-mosaic h1,
.t-trio h1 {
  font-size: clamp(2.25rem,4.8vw,4.25rem);
}
/* Filmstrip: big photo with small photos of every slide along the bottom; click one to show it. */
.t-strip::after {
  background: linear-gradient(180deg,rgba(0,0,0,.6),transparent 26%,transparent 40%,rgba(0,0,0,.85));
}
.t-strip .cap {
  bottom: 28px;
}
.t-strip .cap .inner {
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}
.t-strip .now {
  text-align: left;
}
.dots.thumbs {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dots.thumbs button {
  flex: none;
  width: 96px;
  height: 60px;
  border-radius: 2px;
  overflow: hidden;
  background: #000;
  opacity: .55;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: opacity .3s ease,outline-color .3s ease;
}
.dots.thumbs button:hover {
  opacity: .85;
}
.dots.thumbs button.on {
  background: #000;
  opacity: 1;
  outline-color: var(--accent);
}
.dots.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* Split: words on a dark panel on the left, the photo on the right. */
.t-split {
  display: grid;
  grid-template-columns: minmax(340px,5fr) 7fr;
  background: var(--deep);
}
.t-split #slides {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
}
.t-split::after {
  display: none;
}
.t-split .cap {
  position: relative;
  bottom: auto;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  padding-block: 48px;
}
.t-split .cap .inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  max-width: 560px;
  margin-left: max(0px,calc((100vw - 1360px) / 2));
}
.t-split h1 {
  font-size: clamp(2.25rem,4.2vw,4rem);
}
.t-split .now {
  text-align: left;
}
.t-split .dots {
  justify-content: flex-start;
}
/* Triptych: three photos side by side, the slide before, the slide showing and the next one. */
.t-trio {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  gap: 6px;
  background: var(--bg);
}
.t-trio #slides,
.t-trio .hx {
  position: relative;
  inset: auto;
  display: block;
  grid-row: 1;
}
.t-trio .hx[data-o="-1"] {
  grid-column: 1;
}
.t-trio #slides {
  grid-column: 2;
}
.t-trio .hx[data-o="1"] {
  grid-column: 3;
}
.t-trio .hx .sl.on {
  opacity: .55;
}
.t-trio::after {
  left: calc(23.4% + 3px);
  width: calc(52.6% - 6px);
}
.t-trio .cap {
  left: calc(23.4% + 3px);
  right: calc(23.4% + 3px);
}
.t-trio .cap .inner {
  margin: 0;
}
/* Photo strips: like the photo band. Tall strips side by side, each fading to its next photo a moment after
   the one before; the words in a blurred glass panel on the left. */
.t-bands {
  display: grid;
  grid-template-columns: repeat(var(--n,5),minmax(0,1fr));
  gap: 2px;
  background: var(--bg);
}
.t-bands #slides,
.t-bands .hx {
  position: relative;
  inset: auto;
  display: block;
  grid-row: 1;
}
.t-bands .hx[data-o="1"] .sl { transition-delay: .15s; }
.t-bands .hx[data-o="2"] .sl { transition-delay: .3s; }
.t-bands .hx[data-o="3"] .sl { transition-delay: .45s; }
.t-bands .hx[data-o="4"] .sl { transition-delay: .6s; }
.t-bands::after {
  display: none;
}
.t-bands .cap {
  left: max(20px,calc(50% - 680px + 4%));
  right: auto;
  bottom: auto;
  top: 50%;
  translate: 0 -40%;
  width: min(690px,calc(100% - 40px));
  padding: 40px 38px 36px;
  border-radius: 3px;
  background: rgba(40,46,56,.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.t-bands .cap .inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.t-bands h1 {
  font-weight: 700;
  font-size: var(--h);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.t-bands .now {
  text-align: left;
}
.t-bands .dots {
  justify-content: flex-start;
}
@media (max-width:900px) {
  .t-bands {
    --n: 3 !important;
  }
  .t-bands .hx[data-o="3"],
  .t-bands .hx[data-o="4"] {
    display: none;
  }
  .t-bands .cap {
    top: auto;
    bottom: 20px;
    translate: none;
    padding: 24px 22px;
  }
  .t-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 3fr 1fr;
  }
  .t-mosaic #slides {
    grid-row: 1;
    grid-column: span 2;
  }
  .t-mosaic::after {
    width: auto;
    right: 0;
    bottom: calc(25% + 2px);
  }
  .t-mosaic .cap {
    right: 0;
    bottom: calc(25% + 24px);
  }
  .t-mosaic .now {
    display: none;
  }
  .t-split {
    grid-template-columns: minmax(0,1fr);
    height: auto;
  }
  .t-split #slides {
    grid-column: 1;
    height: min(62vh,560px);
    min-height: 320px;
  }
  .t-split .cap {
    grid-column: 1;
    grid-row: 2;
    padding-block: 28px 36px;
  }
  .t-split .cap .inner {
    gap: 22px;
    margin-left: 0;
  }
  .t-trio {
    grid-template-columns: minmax(0,1fr);
  }
  .t-trio .hx {
    display: none;
  }
  .t-trio #slides {
    grid-column: 1;
  }
  .t-trio::after,
  .t-trio .cap {
    left: 0;
    right: 0;
    width: auto;
  }
  .dots.thumbs button {
    width: 64px;
    height: 42px;
  }
  .hero:not(.t-classic) .dots:not(.thumbs) {
    flex-wrap: wrap;
  }
}

/* press strip */
.press {
  background: var(--deep);
  padding-block: 30px;
}
/* On computers the logo strip stays under the menu bar (50px) while the home page scrolls */
@media (min-width:701px) {
  .press {
    position: sticky;
    top: calc(env(safe-area-inset-top,0px) + 50px);
    z-index: 19;
  }
}
.press .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--display);
  font-weight: 600;
  color: var(--soft) !important;
  letter-spacing: -.01em;
  font-size: 1.0625rem;
  color: var(--soft);
  justify-content: center;
  gap: 24px clamp(44px,5.6vw,84px);
}
.press img {
  display: block;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .72;
  transition: opacity .2s;
  height: 30px;
}
.press img:hover {
  opacity: 1;
}
.press a {
  display: block;
}
.press .lg-ng {
  height: 36px;
}
.press .lg-dm {
  height: 30px;
}
.press .lg-ms {
  height: 30px;
}
.press .lg-ac {
  height: 24px;
}
.press .lg-sony {
  height: 20px;
}
.press .lg-dji {
  height: 34px;
}
@media (max-width:560px) {
  .press .inner {
    justify-content: center;
    gap: 22px 32px;
  }
  .press img {
    height: 24px;
  }
  .press .lg-ng {
    height: 28px;
  }
  .press .lg-dm {
    height: 24px;
  }
  .press .lg-ms {
    height: 24px;
  }
  .press .lg-ac {
    height: 17px;
  }
  .press .lg-sony {
    height: 15px;
  }
  .press .lg-dji {
    height: 26px;
  }
}

/* stories */
.stories {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  margin-inline: calc(50% - 50vw);
  gap: 6px;
}
.story {
  display: block;
  grid-column: span 4;
  color: var(--fg);
}
.story.big {
  grid-column: span 6;
}
.story.big figure,
.story.big .cap .bl {
  aspect-ratio: 2/1;
}
.story figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
  isolation: isolate;
  transform: translateZ(0);
}
.story img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
}
.story:hover img:not(.bl) {
  transform: scale(1.04);
}
.story .cap {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: rgba(20,26,34,.42);
  transition: background .3s;
}
.story:hover .cap {
  background: rgba(20,26,34,.6);
}
.story .cap .bl {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  filter: blur(14px) saturate(1.3);
  transform: scale(1.2);
  z-index: -1;
  pointer-events: none;
  transition: none;
}
.story .t {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 11px 16px 13px;
  min-height: calc(47px + 2.6 * clamp(16px,1.25vw,18px));
}
.story .src {
  font-size: .78125rem;
  font-weight: 600;
  color: var(--soft);
}
.story h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.015em;
  font-size: clamp(1rem,1.25vw,1.125rem);
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}
.story .more {
  font-size: .78125rem;
  color: var(--accent);
  white-space: nowrap;
}
.story:hover .more {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* aerial band */
.band {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
/* Dark overlay, set in the admin (0 = none) */
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18,24,31,var(--ov,0));
}
.band .inner {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin: 72px 0 72px max(0px,(100% - 1360px) / 2);
  padding: 28px 32px 32px;
  border-radius: 3px;
  background: rgba(18,24,31,.42);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
}
.band .inner > :last-child {
  margin-bottom: 0;
}
.band p {
  max-width: 44ch;
  color: var(--soft);
  line-height: 1.45;
  margin: 6px 0 22px;
}
.band p.eyebrow {
  margin: 0 0 2px;
  color: var(--soft);
}
.band .btn {
  display: inline-block;
}
.band .q {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: var(--h);
  line-height: 1.1;
  max-width: 18ch;
  margin: 0;
  color: var(--fg);
}

/* countries */
.countries {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}
@media (max-width:900px) {
  .countries {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
.cty-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
  transform: translateZ(0);
  --bh: 52px;
}
.cty-card img {
  display: block;
  border-radius: 3px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.cty-card:hover img:not(.bl) {
  transform: scale(1.05);
}
.cty-card .blw {
  position: absolute;
  inset: 0;
  clip-path: inset(calc(100% - var(--bh)) 0 0 0);
  overflow: hidden;
  pointer-events: none;
}
.cty-card .bl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(1.3);
  transform: scale(1.2);
  opacity: 1;
  border-radius: 0;
}
.cty-card span {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bh);
  padding: 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -.01em;
  background: rgba(20,26,34,.42);
  transition: background .3s;
}
.cty-card:hover span {
  background: rgba(20,26,34,.6);
}
.cty-card em {
  font-style: normal;
  font-family: var(--body);
  font-size: .8125rem;
  letter-spacing: -.01em;
  color: var(--soft);
}

/* blog */
.blog {
  padding-block: 56px 88px;
}
.bhead h1,
.phead h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: var(--h);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.bhead {
  margin: 0 calc(50% - 50vw);
  padding: 44px calc(50vw - 50%) 40px;
  background: var(--tint);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.bhead p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 52ch;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips button {
  border: 0;
  border-radius: 2px;
  background: var(--surface);
  color: var(--soft);
  font: 600 .875rem/1 var(--body);
  padding: 11px 14px;
  cursor: pointer;
  transition: background .2s,color .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chips button i {
  font-style: normal;
  font-size: .75rem;
  color: var(--muted);
  transition: color .2s;
}
.chips button:hover {
  color: var(--fg);
  background: var(--raise);
}
.chips button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}
.chips button[aria-pressed="true"] i {
  color: var(--bg);
  opacity: .6;
}
.plist {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin-top: 40px;
}
.ptag {
  display: inline-block;
  background: rgba(15,20,27,.55);
  color: var(--on-photo);
  font-size: .78125rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 2px;
  letter-spacing: -.005em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pgo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: .90625rem;
}
.pgo svg {
  width: 17px;
  height: 17px;
  transition: transform .3s ease;
}
.pgo svg,
.allp svg,
.pback svg {
  position: relative;
  top: 2.5px;
}
a:hover .pgo svg {
  transform: translateX(4px);
}
.hplist {
  margin-top: 0;
}
.allp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9375rem;
  padding: 11px 16px;
  background: var(--surface);
  border-radius: 2px;
  transition: background .2s,color .2s;
}
.allp svg {
  width: 17px;
  height: 17px;
  transition: transform .3s ease;
}
.allp:hover {
  background: var(--btn);
  color: var(--ink);
}
.allp:hover svg {
  transform: translateX(4px);
}
@media (max-width:980px) {
  .hplist .pcard:nth-child(3) {
    display: none;
  }
}
@media (max-width:640px) {
  .hplist .pcard:nth-child(3) {
    display: flex;
  }
}
.pfeat {
  grid-column: 1/-1;
  position: relative;
  display: block;
  height: min(80vh,860px);
  min-height: 520px;
  margin-inline: calc(50% - 50vw); /* edge to edge, like the post banner */
  border-radius: 0;
  overflow: hidden;
  background: var(--surface);
  color: var(--on-photo);
}
.pfeat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.pfeat:hover img {
  transform: scale(1.04);
}
.pfeat .pov {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px max(20px,env(safe-area-inset-right,0px)) 46px max(20px,env(safe-area-inset-left,0px));
  background: rgba(20,26,34,.42);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
/* the text lines up with the page */
.pfeat .povin {
  display: grid;
  gap: 10px;
  max-width: 1360px;
  margin: 0 auto;
}
.pfeat .ptag {
  justify-self: start;
  background: rgba(255,255,255,.14);
}
.pfeat b {
  font: 700 clamp(1.75rem,3.6vw,3.25rem)/1.05 var(--display);
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: 24ch;
}
.pfeat .pex {
  color: #e3e8ee;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 72ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pfeat .pfoot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: .875rem;
  color: #aeb8c4;
}
.pfeat .pgo {
  color: var(--ink);
  background: var(--btn);
  padding: 11px 16px;
  border-radius: 2px;
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .35s ease,background .25s;
}
.pcard:hover {
  transform: translateY(-4px);
  background: var(--raise);
}
.pcard .pimg {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.pcard .pimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.pcard:hover .pimg img {
  transform: scale(1.05);
}
.pcard .ptag {
  position: absolute;
  left: 12px;
  top: 12px;
}
.pbody2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
  flex: 1;
}
.pmeta {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
}
.pcard b {
  font: 700 1.3125rem/1.25 var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.pcard .pex {
  color: var(--soft);
  font-size: .9375rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard .pgo {
  margin-top: auto;
  padding-top: 6px;
}
.pcard:hover .pgo {
  color: var(--accent);
}
.post {
  max-width: 1360px;
}
/* Post banner: the cover photo edge to edge under the menu, the title on a blurred glass bar */
.blog:has(.pban),
.blog:has(.bhead) {
  padding-top: 0;
}
.bhead + .plist {
  margin-top: 0;
}
.pban {
  position: relative;
  margin-inline: calc(50% - 50vw);
  height: min(80vh,860px);
  min-height: 380px;
  overflow: hidden;
  background: var(--surface);
}
.pban .pbg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.pbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px max(20px,env(safe-area-inset-right,0px)) 46px max(20px,env(safe-area-inset-left,0px));
  background: rgba(20,26,34,.42);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  color: #f3f6f9;
}
.pbar-in {
  max-width: 1360px;
  margin: 0 auto;
}
.pbar h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: var(--h);
  line-height: 1.1;
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.pbar .pmeta {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(243,246,249,.8);
}
.pbar .ptag2 {
  background: rgba(255,255,255,.14);
  color: #f3f6f9;
}
.pback.ptop {
  margin: 28px 0 0;
}
.phead {
  max-width: 820px;
}
.phead .pmeta {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ptag2 {
  background: var(--surface);
  color: var(--fg);
  padding: 5px 10px;
  border-radius: 2px;
  font-size: .78125rem;
}
.pback {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
  font-size: .90625rem;
  padding: 10px 16px 10px 12px;
  border-radius: 2px;
  margin-bottom: 22px;
  transition: background .2s,color .2s;
}
.pback svg {
  width: 17px;
  height: 17px;
  transition: transform .3s ease;
}
.pback:hover {
  background: var(--btn);
  color: var(--ink);
}
.pback:hover svg {
  transform: translateX(-3px);
}
.pend {
  margin-top: 56px;
}
.pend .pback {
  margin: 0;
}
.pnav {
  margin-top: 20px !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pcover {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  border-radius: 3px;
  margin-top: 32px;
}
.pbody {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: clamp(32px,5vw,72px);
  margin-top: 44px;
  align-items: start;
}
.ptext > p,
.ptext > h2 {
  max-width: 72ch;
}
.ptext {
  font-size: 1.09375rem;
  line-height: 1.6;
  letter-spacing: 0;
  color: color-mix(in srgb,var(--fg) 90%,var(--bg));
}
.ptext p {
  margin: 0 0 1em;
}
/* Note on a story (how the photos were made, rules): small panel at the bottom of the Travel info box */
.pnote {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 2px;
  background: var(--raise);
  color: var(--soft);
  font-size: .875rem;
  line-height: 1.55;
}
/* The opening paragraph of every story: slightly larger, full-strength text */
.ptext > p:first-child {
  color: var(--fg);
  font-size: 1.1em;
  line-height: 1.55;
  margin-bottom: 1.6em;
}
.ptext h2 {
  font-size: clamp(1.375rem,2.2vw,1.75rem);
  color: var(--fg);
  margin: 1.6em 0 .6em;
}
.ptext figure {
  margin: 1.8em 0;
}
.ptext figure img {
  display: block;
  width: 100%;
  border-radius: 3px;
}
/* Photo grid in a story: square tiles, 3 across (2 on phones), no captions */
.pgal {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
  margin: 1.8em 0;
}
.pgal img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
  cursor: zoom-in;
}
.ptext figcaption {
  font-size: .84375rem;
  color: var(--muted);
  margin-top: 10px;
}
.pinfo {
  position: sticky;
  top: 96px;
  background: var(--surface);
  padding: 24px;
  border-radius: 2px;
}
.pinfo h3 {
  font: 700 1.1875rem/1.2 var(--display);
  letter-spacing: -.015em;
  margin: 0 0 14px;
}
.pinfo dl {
  margin: 0;
}
.pinfo dt {
  margin-top: 22px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
}
.pinfo dt:first-child {
  margin-top: 0;
}
.pinfo dd {
  margin: 4px 0 0;
  font-size: .9375rem;
  line-height: 1.5;
}
.pinfo .btn {
  display: block;
  text-align: center;
  margin-top: 22px;
  padding: 13px 16px;
  border-radius: 2px;
  font-weight: 600;
  font-size: .90625rem;
}
.pnav a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  padding: 10px 18px 10px 10px;
  border-radius: 2px;
  font-weight: 600;
  transition: background .2s;
}
.pnav a:hover {
  background: var(--raise);
}
.pnav a:last-child {
  flex-direction: row-reverse;
  text-align: right;
  padding: 10px 10px 10px 18px;
}
.pnav img {
  width: 88px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
}
.pnav small {
  display: block;
  font-size: .78125rem;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width:980px) {
  .plist {
    grid-template-columns: 1fr 1fr;
  }
  .pbody {
    grid-template-columns: 1fr;
  }
  .pinfo {
    position: static;
  }
}
@media (max-width:640px) {
  .plist {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pfeat {
    height: auto;
    min-height: 560px;
  }
  .pfeat .pex {
    -webkit-line-clamp: 3;
  }
  .pfeat .pex {
    font-size: .9375rem;
  }
  .bhead {
    display: block;
  }
  .chips {
    margin-top: 22px;
  }
  .pnav {
    grid-template-columns: 1fr;
  }
  .ptext {
    font-size: 1rem;
  }
  .pgal {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* features: windows + book */
.favs {
  padding-block: clamp(64px,8vw,104px);
}
.hblog {
  padding-bottom: clamp(40px,5vw,64px);
}
.hblog:not([hidden])+.favs {
  padding-top: clamp(28px,3.5vw,48px);
}
.ftxt {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.ftxt .eyebrow {
  margin: 0;
}
.ftxt .btn {
  align-self: center;
  margin-top: 12px;
}
.ffol {
  margin: 36px 0 0;
  padding-inline: 16px;
  text-align: center;
}
.ffol .eyebrow {
  margin: 0 0 12px;
}
.frow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ffol .btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 0;
  text-transform: none;
  letter-spacing: 0;
}
.ffol .btn svg {
  width: 18px;
  height: 18px;
}
.ftabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 26px;
  padding-inline: 16px;
  flex-wrap: wrap;
}
.ftabs button {
  font: 600 .9375rem/1 var(--body);
  letter-spacing: -.01em;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 12px 18px 14px;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}
.ftabs button:hover {
  color: var(--fg);
}
.ftabs button[aria-selected="true"] {
  color: var(--fg);
}
.ftabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 3px;
  background: var(--btn);
}
.fempty {
  grid-column: 1/-1;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  padding: 64px 16px;
  font-size: .9375rem;
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  transition: opacity .4s;
}
.fgrid.fade {
  opacity: 0;
}
.tgrid {
  gap: 1px; /* a thin line of the page colour between photos */
  margin-bottom: 48px;
}
.tgrid[hidden] {
  display: none;
}
/* Instagram favourites: 15 photos, 5 across in 3 rows (3 across in 5 rows on phones) */
.favs .fgrid button:nth-child(n+16) {
  display: none;
}
.fgrid button {
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--surface);
  aspect-ratio: 3/2;
  overflow: hidden;
  cursor: pointer;
  display: block;
  position: relative;
}
.fgrid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter .4s;
}
.fgrid button:hover img {
  filter: saturate(1.1);
}
.fgrid button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
@media (max-width:700px) {
  .fgrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .favs .fgrid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
.win {
  background: radial-gradient(90% 70% at 50% 100%,#2f3e51 0%,var(--surface) 70%) var(--surface);
  padding-block: clamp(72px,9vw,120px) clamp(56px,7vw,96px);
  overflow: hidden;
}
.wtxt {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.wtxt .eyebrow {
  margin: 0 0 10px;
  display: block;
}
.wtxt .mslogo {
  display: block;
  height: 30px;
  width: auto;
  margin: 0 auto 18px;
}
.wtxt h2 {
  font-size: var(--h);
}
.wtxt p {
  color: var(--soft);
  font-size: clamp(1.0625rem,1.6vw,1.25rem);
  margin: 14px 0 0;
}
.wtxt .go {
  display: inline-block;
  margin-top: 16px;
  color: var(--fg);
  font-size: 1.125rem;
  font-weight: 500;
}
.wtxt .go:hover,
.ddp .all:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wgo {
  text-align: center;
  margin: clamp(24px,3vw,36px) 0 0;
}
.wgo .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.wgo .btn svg {
  width: 16px;
  height: 16px;
}
.desk {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(40px,5vw,64px);
}
.monitor {
  width: min(1040px,100%);
  background: #0f151c;
  padding: 10px 10px 14px;
  box-shadow: 0 50px 100px -30px rgba(5,10,18,.8);
}
.screen {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s;
}
.screen img.on {
  opacity: 1;
}
.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6%;
  background: rgba(20,26,34,.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6%;
}
.taskbar i {
  width: .6%;
  aspect-ratio: 1;
  background: rgba(255,255,255,.5);
}
.taskbar i:first-child {
  background: var(--accent);
}
.stand {
  width: min(120px,14%);
  height: clamp(28px,5vw,64px);
  background: linear-gradient(#2b3644,#1d2630);
}
.foot {
  width: min(320px,36%);
  height: 10px;
  background: #2b3644;
}
.btn {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--btn);
  color: var(--ink);
  font-weight: 600;
  padding: 11px 22px;
  font-size: .9375rem;
  font-weight: 500;
  transition: filter .2s;
}
.btn:hover {
  background: var(--btn-hi);
}

/* about / contact */
.about .inner {
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  gap: 72px;
  align-items: center;
}
.about figure {
  margin: 0;
}
.about figure img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about figcaption {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: -.01em;
}
.about p {
  max-width: 60ch;
  color: var(--soft);
  margin: 18px 0 0;
}
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep);
  padding-block: clamp(96px,14vw,170px) !important;
  text-align: center;
}
.contact .cbg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/img/placeholder.jpg) center 60%/cover;
}
.contact .cbg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(27,34,43,.92) 0%,rgba(27,34,43,.62) 45%,rgba(27,34,43,.9) 100%);
}
.contact .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact h2 {
  max-width: 16ch;
  margin-inline: auto;
}
.contact .lede {
  color: var(--soft);
  margin: 16px 0 0;
  max-width: 46ch;
}
.cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.cta a,
.cta button {
  font: 600 .875rem/1 var(--body);
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  transition: background .2s,color .2s;
}
.cta .pri {
  background: var(--btn);
  color: var(--ink);
}
.cta .pri:hover {
  background: var(--btn-hi);
}
.contact .icons {
  justify-content: center;
  margin-top: 40px;
  gap: 12px;
}
.contact .icons a {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.contact .icons a:hover {
  background: var(--btn);
  color: var(--ink);
}
footer {
  padding-block: 28px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: -.01em;
  background: var(--deep);
}
footer .inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* gallery view */
.ghead {
  padding-block: 56px 36px;
}
.ghead .inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.ghead h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: var(--h);
  line-height: 1.1;
  margin: 0;
}
.ghead p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 52ch;
}
.crumbs {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--muted);
  margin: 0 0 10px;
}
.crumbs a:hover {
  color: var(--accent);
}
.gnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gnav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: var(--surface);
  border-radius: 2px;
  color: var(--fg);
  transition: background .2s,color .2s;
  min-width: 0;
}
.gnav img,
.gnav .ph {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
}
.gnav .ph {
  background: var(--raise);
}
.gnav span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font: 600 .9375rem/1.25 var(--display);
  white-space: nowrap;
}
.gnav small {
  font: 500 .75rem/1.4 var(--body);
  color: var(--muted);
}
.gnav a:hover {
  background: var(--btn);
  color: var(--ink);
}
.gnav a:hover small {
  color: #3a3320;
}
.mosaic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 48px;
}
.row {
  display: flex;
  gap: 6px;
  overflow: hidden;
}
.tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface);
  border: 0;
  padding: 0;
  display: block;
  flex: 0 0 auto;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.tile:hover img {
  transform: scale(1.03);
}
.note {
  color: var(--muted);
  font-size: .8125rem;
  padding-top: 18px;
  margin-bottom: 56px;
}

/* lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0b0e13;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  padding: calc(12px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(14px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));
  animation: lbIn .25s ease;
}
@keyframes lbIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lb .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
}
.lb .ttl {
  font: 600 1rem/1.2 var(--display);
  color: var(--on-photo);
  letter-spacing: -.01em;
}
.lb .ttl small {
  display: block;
  font: 400 .8125rem/1.4 var(--body);
  color: #8e9aa8;
  margin-top: 2px;
}
.lb .ib {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: var(--on-photo);
  cursor: pointer;
  transition: background .2s,color .2s;
  flex: 0 0 auto;
}
.lb .ib svg {
  width: 22px;
  height: 22px;
}
.lb .lbr {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lbbuy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 2px;
  background: var(--btn);
  color: var(--ink);
  font: 600 .90625rem/1 var(--body);
  transition: background .2s;
}
.lbbuy svg {
  width: 18px;
  height: 18px;
}
.lbbuy:hover {
  background: var(--btn-hi);
}
.lbfol {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 2px;
  background: rgba(255,255,255,.1);
  color: #f3f6f9;
  font: 600 .90625rem/1 var(--body);
  transition: background .2s,color .2s;
}
.lbfol[hidden] {
  display: none;
}
.lbfol svg {
  width: 18px;
  height: 18px;
}
.lbfol:hover {
  background: #f3f6f9;
  color: #1b222b;
}
@media (max-width:420px) {
  .lbbuy,
  .lbfol {
    padding: 0 14px;
    font-size: .84375rem;
  }
  .lbbuy svg,
  .lbfol svg {
    display: none;
  }
}
/* tours */
.tlist {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
.tour {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}
.tour:nth-child(even) {
  grid-template-columns: minmax(0,1fr) minmax(0,1.25fr);
}
.tour:nth-child(even) .timg {
  order: 2;
}
.tour .timg {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.tour .timg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.tour:hover .timg img {
  transform: scale(1.04);
}
.tour .timg .ptag {
  position: absolute;
  left: 14px;
  top: 14px;
}
.tour .tb {
  padding: clamp(24px,3.4vw,48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.tour h2 {
  font-size: clamp(1.625rem,2.6vw,2.25rem);
}
.tour .tmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--soft);
}
.tour .tmeta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tour .tmeta svg {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.tour p {
  margin: 0;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52ch;
}
.tour .tfoot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.tour .tst {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
}
.tour .tst.open {
  color: #7fcf8f;
}
.tour .tst.few {
  color: var(--accent);
}
.tour .btn {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
  font-weight: 600;
}
.tour .btn svg {
  width: 17px;
  height: 17px;
  position: relative;
  top: 1px;
}
@media (max-width:860px) {
  .tour,
  .tour:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .tour:nth-child(even) .timg {
    order: 0;
  }
  .tour .timg {
    min-height: 0;
    aspect-ratio: 3/2;
  }
}
.lb .ib:hover {
  background: var(--btn);
  color: var(--ink);
}
.lb .stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-inline: 64px;
}
.lb .stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 3px;
  transition: opacity .3s ease;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.lb .stage img.ld {
  opacity: 0;
}
.lb .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lb #lbP {
  left: 0;
}
.lb #lbF {
  right: 0;
}
.lb .strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-top: 14px;
  scrollbar-width: none;
  justify-content: safe center;
}
.lb .strip::-webkit-scrollbar {
  display: none;
}
.lb .strip button {
  flex: 0 0 auto;
  width: 72px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  opacity: .45;
  background: #212a35;
  transition: opacity .2s;
  position: relative;
}
.lb .strip button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lb .strip button:hover {
  opacity: .8;
}
.lb .strip button[aria-current="true"] {
  opacity: 1;
}
.lb .strip button[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--btn);
}
@media (max-width:700px) {
  .lb .stage {
    padding-inline: 0;
  }
  .lb .nav {
    display: none;
  }
  .lb .strip button {
    width: 56px;
    height: 40px;
  }
  .lb {
    padding-inline: 0;
  }
  .lb .bar {
    padding-inline: 16px;
  }
  .lb .stage img {
    border-radius: 0;
  }
  .lb .strip {
    padding-inline: 16px;
  }
}
.btn,
.cta a,
.cta button {
  border-radius: 2px;
}

/* soft 3px corners on photos */
.story figure,
.cty-card,
.tile,
.lb .stage img {
  border-radius: 3px;
}

/* press stories run edge to edge, two halves, like the original site */
.stories .story figure {
  border-radius: 0 !important;
}
.stories .story .t {
  padding: 14px clamp(20px,2.8vw,40px) 16px;
}
@media (max-width:980px) {
  .menu {
    display: none;
  }
  .burger {
    display: inline-block;
  }
  .hdr .burger {
    display: inline-flex;
  }
  .logo img {
    height: 100px;
    margin-block: -10px;
  }
  .icons a {
    width: 36px;
    height: 36px;
  }
  .icons svg {
    width: 18px;
    height: 18px;
  }
  .story,
  .story.big {
    grid-column: span 12;
  }
  .about .inner,
  .contact .inner {
    grid-template-columns: minmax(0,1fr);
    gap: 40px;
  }
  .now {
    text-align: left;
  }
  .dots {
    justify-content: flex-start;
  }
}
@media (max-width:560px) {
  .countries {
    grid-template-columns: 1fr 1fr;
  }
  .cty-card {
    --bh: 52px;
  }
  .cty-card span {
    font-size: .875rem;
    padding: 0 10px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }
  .band {
    min-height: 480px;
  }
  .band .inner {
    margin: 40px 0;
    padding: 22px 20px 30px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .screen img {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .hero .sl,
  .story img,
  .cty-card img,
  .tile img {
    transition: none;
    transform: none;
  }
}

/* light theme (toggle in the menu bar). Photo sections and the viewer stay dark so pictures keep their contrast. */
:root[data-theme="light"] {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --raise: #e6ebf0;
  --line: #d5dce3;
  --fg: #17202a;
  --soft: #3d4956;
  --muted: #6a7684;
  --accent: #4f5a67;
  --tint: #e6ebf0;
  color-scheme: light;
}
:root[data-theme="light"] :is(.hero,.band,.story figure,.cty-card,.contact,.lb) {
  --fg: #f3f6f9;
  --soft: #c5ced8;
  --muted: #8e9aa8;
  --accent: #f7ce46;
  --line: #35424f;
  color: var(--fg);
}
:root[data-theme="light"] .hdr {
  --bg: #1b222b;
  --surface: #212a35;
  --raise: #273240;
  --line: #35424f;
  --fg: #f3f6f9;
  --soft: #c5ced8;
  --muted: #8e9aa8;
  --accent: #f7ce46;
  color-scheme: dark;
  color: var(--fg);
  background: rgba(33,42,53,.94);
}
:root[data-theme="light"] .top .icons a {
  background: #273240;
  color: var(--on-photo);
}
:root[data-theme="light"] .top .icons a:hover {
  background: var(--btn);
  color: var(--ink);
}
:root[data-theme="light"] .win {
  background: radial-gradient(90% 70% at 50% 100%,#d3dde8 0%,#e9eef3 70%) #e9eef3;
}
:root[data-theme="light"] footer {
  background: #e8ecf1;
}
:root[data-theme="light"] .stand {
  background: linear-gradient(#c9d2dc,#b7c1cc);
}
:root[data-theme="light"] .foot {
  background: #c9d2dc;
}
:root[data-theme="light"] .monitor {
  box-shadow: 0 50px 100px -30px rgba(30,45,65,.35);
}
:root[data-theme="light"] .logo img,
:root[data-theme="light"] .drawer .top img {
  filter: brightness(0);
  opacity: .86;
}
.theme {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--raise);
  color: var(--soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background .2s,color .2s;
}
.theme:hover {
  background: var(--btn);
  color: var(--ink);
}
.theme svg {
  width: 17px;
  height: 17px;
}
.theme .sun {
  display: none;
}
:root[data-theme="light"] .theme .sun {
  display: block;
}
:root[data-theme="light"] .theme .moon {
  display: none;
}
.cartb {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px 0 10px;
  border-radius: 17px;
  background: var(--btn);
  color: var(--ink);
  font: 700 .8125rem/1 var(--body);
}
.cartb svg {
  width: 17px;
  height: 17px;
}
.cartb:hover {
  background: var(--btn-hi);
}

/* Later additions. Kept below the sections above on purpose: they override earlier rules, so moving them would change the look */
.lb .ttl small.lbc {
  color: var(--on-photo-soft);
  max-width: 60ch;
}

/* Phones: press stories show the whole photo, with the title below on a dark panel (no blurred bar) */
@media (max-width:700px) {
  .story figure,
  .story.big figure {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    background: var(--deep);
  }
  .story figure > img {
    height: auto;
    aspect-ratio: auto;
  }
  .story .cap {
    position: static;
    background: var(--deep);
  }
  .story:hover .cap {
    background: var(--deep);
  }
  .story .cap .bl {
    display: none;
  }
  .story .t {
    min-height: 0;
  }
}

/* Frame TV on a wall (home) */
.aw {
  --frame: #15181b;
  --mat: #ecebe6;
  position: relative;
  overflow: hidden;
}
/* A full-width section right after the Frame TV wall (like the photo band) gets the same gap as other sections */
.aw + :not(.sec) {
  margin-top: clamp(64px, 9vw, 120px);
}
.aw-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 2.45/1;
  min-height: 520px;
  max-height: 880px;
  background: #161c23;
}
.aw-feat {
  position: absolute;
  left: 40%;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg,rgba(255,255,255,.03),rgba(0,0,0,.25)),repeating-linear-gradient(90deg,#1d242d 0 22px,#141a20 22px 24px,#222a33 24px 26px);
  box-shadow: -18px 0 40px -10px rgba(0,0,0,.6);
}
.aw-feat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 45% at 55% 0,rgba(255,255,255,.07),transparent 70%);
}
.aw-tv {
  position: absolute;
  left: 45%;
  top: 14%;
  width: 48%;
  aspect-ratio: 16/9;
  background: var(--frame);
  padding: .55%;
  box-shadow: 0 2.2vw 3.4vw -1vw rgba(0,0,0,.55),0 .3vw .6vw rgba(0,0,0,.35);
}
.aw-mat {
  width: 100%;
  height: 100%;
  background: var(--mat);
  padding: 2.4% 2.7%;
  box-shadow: inset 0 0 1.4vw rgba(0,0,0,.12);
}
.aw-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.aw-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s;
}
.aw-screen img.on {
  opacity: 1;
}
.aw-lamp {
  position: absolute;
  left: 31%;
  bottom: 0;
  height: 76%;
  width: 7.5%;
  z-index: 1;
}
.aw-lamp .sh {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 21%;
  border-radius: 2px 2px 3px 3px;
  background: linear-gradient(90deg,rgba(0,0,0,.18),rgba(255,255,255,.08) 35%,rgba(255,255,255,.1) 55%,rgba(0,0,0,.22)),linear-gradient(180deg,#e9dcc2,#f6e7c8 45%,#e2cfa8);
  box-shadow: 0 0 30px 6px rgba(255,205,140,.25),inset 0 -6px 10px rgba(255,170,80,.25);
  clip-path: polygon(9% 0,91% 0,100% 100%,0 100%);
}
.aw-lamp .po {
  position: absolute;
  left: calc(50% - 2px);
  width: 4px;
  top: 21%;
  bottom: 2%;
  background: linear-gradient(90deg,#0c0f12,#3a4048 45%,#0c0f12);
}
.aw-lamp .ba {
  position: absolute;
  left: 23%;
  right: 23%;
  bottom: 0;
  height: 2.2%;
  border-radius: 45% 45% 2px 2px/100% 100% 2px 2px;
  background: linear-gradient(180deg,#4a515a,#22272d 45%,#0f1215);
  box-shadow: 0 4px 10px rgba(0,0,0,.6);
}
.aw-lamp .lg {
  position: absolute;
  left: 50%;
  top: 10%;
  width: 520%;
  height: 120%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  background: radial-gradient(closest-side,rgba(255,196,130,.20),rgba(255,196,130,.07) 55%,transparent);
}
.aw-txt {
  position: absolute;
  left: max(20px,4.5%);
  top: 16%;
  width: min(24.5%,360px);
  z-index: 2;
}
.aw-txt h2 {
  font-size: var(--h);
  color: var(--on-photo);
}
.aw-txt p {
  color: var(--on-photo-soft);
  font-size: clamp(1rem,1.4vw,1.1875rem);
  margin: 14px 0 0;
}
.aw-txt .eyebrow {
  display: block;
  color: #9aa5b1;
}
.aw-txt .aw-buy {
  margin: 36px 0 0;
}
.aw-buy .btn {
  display: inline-block;
  margin: 0;
}
.aw-buy + .go {
  margin-top: 12px;
}
.aw-txt .go {
  display: inline-block;
  margin-top: 16px;
  color: var(--on-photo);
  font-size: 1.125rem;
  font-weight: 500;
}
.aw-txt .go:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
:root[data-theme="light"] .aw {
  --frame: #cdb68e;
  --mat: #f6f5f1;
}
:root[data-theme="light"] .aw-scene {
  background: #c3c5c7;
}
:root[data-theme="light"] .aw-feat {
  background: linear-gradient(180deg,rgba(255,255,255,.12),rgba(0,0,0,.06)),repeating-linear-gradient(90deg,#8e9195 0 22px,#7d8084 22px 24px,#999ca0 24px 26px);
  box-shadow: -18px 0 40px -14px rgba(40,55,70,.18);
}
:root[data-theme="light"] .aw-tv {
  box-shadow: 0 2.4vw 3.6vw -1.2vw rgba(40,50,60,.35),0 .3vw .6vw rgba(40,50,60,.18);
}
:root[data-theme="light"] .aw-lamp .sh {
  background: linear-gradient(90deg,rgba(0,0,0,.08),rgba(255,255,255,.4) 40%,rgba(0,0,0,.1)),linear-gradient(180deg,#f1f2f3,#fafafa 50%,#e6e7e9);
  box-shadow: 0 0 24px 4px rgba(255,255,255,.35);
}
:root[data-theme="light"] .aw-lamp .po {
  background: linear-gradient(90deg,#9c7f4e,#e3c995 45%,#9c7f4e);
}
:root[data-theme="light"] .aw-lamp .ba {
  background: linear-gradient(180deg,#f0dcae,#c9a96c 45%,#9c7f4e);
  box-shadow: 0 4px 10px rgba(40,55,70,.25);
}
:root[data-theme="light"] .aw-lamp .lg {
  background: radial-gradient(closest-side,rgba(255,255,255,.28),transparent);
}
:root[data-theme="light"] .aw-txt h2 {
  color: var(--ink);
}
:root[data-theme="light"] .aw-txt p {
  color: #3d4753;
}
:root[data-theme="light"] .aw-txt .eyebrow {
  color: #5d6875;
}
:root[data-theme="light"] .aw-txt .go {
  color: var(--ink);
}
:root[data-theme="light"] .aw-txt .go:hover {
  color: #4f5a67;
}
@media (max-width:860px) {
  .aw-scene {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
  }
  .aw-txt {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 56px 20px 40px;
  }
  .aw-room {
    position: relative;
    aspect-ratio: 16/11;
  }
  .aw-feat {
    left: 0;
  }
  .aw-tv {
    left: 8%;
    width: 84%;
    top: 14%;
  }
  .aw-lamp {
    display: none;
  }
}

/* Buttons: bold capitals with wide spacing */
.btn,
.cta .pri,
.pfeat .pgo {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .84375rem;
  line-height: 1;
  padding: 16px 30px;
  color: #111;
}

/* Album: large list view (default) and grid view */
.gbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .875rem;
}
.vsw {
  display: flex;
  gap: 4px;
  background: var(--surface);
  padding: 4px;
  border-radius: 2px;
}
.vsw button {
  width: 38px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s,color .2s;
}
.vsw button svg {
  width: 20px;
  height: 20px;
}
.vsw button:hover {
  color: var(--fg);
}
.vsw button[aria-pressed="true"] {
  background: var(--raise);
  color: var(--fg);
}
/* Large view: wider than the page column, like Behance (up to 1800px, 4vw side gaps) */
.glist {
  --gw: min(100vw - 2 * max(20px,4vw), 1800px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px,2.5vw,40px);
  max-width: none;
  margin: 0 calc((100% - var(--gw)) / 2) 48px;
}
.glist figcaption {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: .875rem;
}
.glist figure {
  margin: 0;
}
.glist .lt {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
}
.glist img {
  display: block;
  width: 100%;
  height: auto;
}
.glist[hidden],
.mosaic[hidden] {
  display: none;
}
@media (max-width:700px) {
  .glist {
    margin-inline: -20px;
  }
  .glist figcaption {
    margin-inline: 20px;
  }
}

/* Back to top: a round button that appears after scrolling one screen down */
.totop {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right,0px));
  bottom: calc(20px + env(safe-area-inset-bottom,0px));
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--btn);
  color: var(--ink);
  cursor: pointer;
  transition: filter .2s;
}
.totop svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}
.totop:hover {
  filter: brightness(1.08);
}
.totop[hidden] {
  display: none;
}

/* Album page: More albums strip at the bottom, scrolls sideways */
.more {
  background: var(--tint);
}
.mrow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 4);
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.mrow::-webkit-scrollbar {
  display: none;
}
.mrow > a {
  scroll-snap-align: start;
}
.mnav {
  display: flex;
  gap: 8px;
}
.mnav[hidden] {
  display: none;
}
.mnav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
  transition: opacity .2s;
}
.mnav button svg {
  width: 22px;
  height: 22px;
}
.mnav button:disabled {
  opacity: .35;
  cursor: default;
}
@media (max-width:900px) {
  .mrow {
    grid-auto-columns: calc((100% - 8px) / 2);
  }
}
@media (max-width:700px) {
  .mrow {
    grid-auto-columns: 72%;
  }
  .mnav {
    display: none;
  }
}

/* Photo band as photo strips (2 to 6 photos side by side) */
.band.strips {
  background: var(--deep);
}
.band.strips .sp {
  position: absolute;
  inset: 0;
  display: flex;
}
.band.strips .sp i {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.band.strips .sp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* crop set with "Crop" in the admin: centre and zoom */
  object-position: var(--mp,50% 50%);
  transform-origin: var(--mp,50% 50%);
  transform: scale(var(--mz,1));
}
@media (max-width:760px) {
  .band.strips .sp i:nth-child(n+5) {
    display: none;
  }
}

/* Photo protection (with site.js): no long-press Save on phones, no dragging, no photos when printed */
img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}
@media print {
  img,
  picture {
    visibility: hidden;
  }
}

/* videos: films from YouTube that play on the page */
.vhead .btn,
.vsub .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn.yt {
  background: #fff;
  color: #0f0f0f;
  transition: background .2s,color .2s;
}
.btn.yt svg {
  width: 22px;
  height: 22px;
  color: #e62117;
  transition: color .2s;
}
.btn.yt .yp {
  fill: #fff;
  transition: fill .2s;
}
:root[data-theme="light"] .btn.yt {
  background: var(--raise);
}
.btn.yt:hover,
:root[data-theme="light"] .btn.yt:hover {
  background: #e62117;
  color: #fff;
}
.btn.yt:hover svg {
  color: #fff;
}
.btn.yt:hover .yp {
  fill: #e62117;
}
.vfeat {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,1fr);
  background: var(--surface);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 40px;
}
.vfeat .vtb {
  border-radius: 0;
}
.vfeat .vfb {
  padding: clamp(24px,3vw,44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.vfeat h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(1.5rem,2.4vw,2.125rem);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.vfeat p {
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}
.vfeat .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.vfeat .btn svg {
  width: 18px;
  height: 18px;
}
.vmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
  font-size: .84375rem;
}
.vcard .vmeta {
  margin-top: 6px;
}
.vcard p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: .9375rem;
  line-height: 1.55;
}
.vbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 48px 0 20px;
}
.vbar h2,
.vsub h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -.015em;
  margin: 0;
}
.vgrid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px 20px;
}
.vcard {
  display: grid;
  gap: 12px;
  align-content: start;
}
.vcard[hidden] {
  display: none;
}
.vcard h3 {
  font: 600 1.03125rem/1.35 var(--display);
  letter-spacing: -.01em;
  margin: 0;
}
.vtb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  padding: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #0f141a;
  cursor: pointer;
  color: #fff;
}
.vtb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.vtb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(10,14,19,0) 55%,rgba(10,14,19,.45));
}
.vtb:hover img {
  transform: scale(1.04);
}
.vplay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%,-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15,20,27,.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55);
  transition: background .25s,transform .25s,box-shadow .25s;
}
.vplay svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}
.vtb:hover .vplay,
.vtb:focus-visible .vplay {
  background: var(--btn);
  color: #1b222b;
  box-shadow: none;
  transform: translate(-50%,-50%) scale(1.06);
}
.vfeat .vplay {
  width: 84px;
  height: 84px;
}
.vfeat .vplay svg {
  width: 30px;
  height: 30px;
}
.vdur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  font: 600 .75rem/1 var(--body);
  padding: 6px 8px;
  border-radius: 2px;
  background: rgba(10,14,19,.7);
  color: #f3f6f9;
  letter-spacing: .02em;
}
.vsub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--surface);
  border-radius: 3px;
  padding: 28px clamp(20px,3vw,36px);
  margin: 56px 0;
}
.vsub h2 {
  margin-bottom: 6px;
}
.vsub p {
  margin: 0;
  color: var(--muted);
}
@media (max-width:980px) {
  .vgrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .vfeat {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (max-width:600px) {
  .vgrid {
    grid-template-columns: minmax(0,1fr);
  }
  .vplay {
    width: 56px;
    height: 56px;
  }
}
/* the player: full screen over the page */
.vp {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #0b0e13;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  padding: calc(12px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));
  color: #f3f6f9;
}
.vp[hidden] {
  display: none;
}
.vp .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
}
.vp .ttl {
  font: 600 1rem/1.2 var(--display);
  letter-spacing: -.01em;
}
.vp .ttl small {
  display: block;
  font: 400 .8125rem/1.4 var(--body);
  color: #8e9aa8;
  margin-top: 3px;
}
.vp .ib {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: #f3f6f9;
  cursor: pointer;
  transition: background .2s,color .2s;
  flex: 0 0 auto;
}
.vp .ib:hover {
  background: var(--btn);
  color: #1b222b;
}
.vp .ib svg {
  width: 22px;
  height: 22px;
}
.vp .stage {
  display: grid;
  place-items: center;
  min-height: 0;
  position: relative;
  padding-inline: 64px;
}
.vp .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.vp #vpP {
  left: 0;
}
.vp #vpN {
  right: 0;
}
.vscreen {
  position: relative;
  width: min(100%,calc((100vh - 260px) * 16 / 9),1280px);
  aspect-ratio: 16/9;
  border-radius: 3px;
  overflow: hidden;
  background: #000;
}
.vscreen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vp .vnext {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 16px;
  scrollbar-width: none;
  justify-content: safe center;
}
.vp .vnext::-webkit-scrollbar {
  display: none;
}
.vp .vnext button {
  flex: 0 0 auto;
  width: 120px;
  aspect-ratio: 16/9;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  opacity: .45;
  background: #212a35;
  position: relative;
  transition: opacity .2s;
}
.vp .vnext button:hover {
  opacity: .85;
}
.vp .vnext img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vp .vnext button[aria-current="true"] {
  opacity: 1;
}
.vp .vnext button[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--btn);
}
@media (max-width:700px) {
  .vp .stage {
    padding-inline: 0;
  }
  .vp .nav {
    display: none;
  }
  .vscreen {
    width: 100%;
  }
}

/* Press photos follow the admin's crop (wide screens only; phones show the whole photo) */
@media (min-width:701px) {
  .story figure > img {
    object-position: var(--dp,50% 50%);
    transform-origin: var(--dp,50% 50%);
    transform: scale(var(--dz,1));
  }
  .story:hover figure > img:not(.bl) {
    transform: scale(calc(var(--dz,1) * 1.04));
  }
}

/* Placeholder text in every box: a lighter, easier-to-read grey (Suranga 2026-11-20). */
input::placeholder,
textarea::placeholder {
  color: var(--soft);
  opacity: 0.75;
}

/* Email sign-up: the band above the footer on every page and the /subscribe/ page (src/components/Subscribe.astro) */
.subs {
  padding-block: clamp(40px,5vw,64px);
  background: var(--surface);
}
.subs .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
}
.subs-t {
  flex: 1 1 340px;
  max-width: 560px;
}
.subs h2 {
  font-size: clamp(1.5rem,2.6vw,2rem);
}
.subs-t p {
  margin: 10px 0 0;
  color: var(--soft);
}
.subs-f {
  flex: 1 1 340px;
  max-width: 520px;
}
.subs-f .row {
  display: flex;
  gap: 8px;
}
.subs-f input {
  flex: 1;
  min-width: 0;
  font: 400 .9375rem/1.4 var(--body);
  color: var(--fg);
  background: var(--bg);
  border: 0;
  border-radius: 2px;
  padding: 13px 14px;
  outline: 2px solid transparent;
  transition: outline-color .2s;
}
.subs-f input:focus {
  outline-color: var(--btn);
}
.subs-f .btn {
  margin: 0;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
.subs-f .btn:disabled {
  opacity: .6;
  cursor: default;
}
.subs-f .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.subs-m {
  margin: 10px 0 0;
  font-size: .875rem;
  color: var(--soft);
}
.subs-m.bad {
  color: #f08a7c;
}
.subs-f.done .row {
  display: none;
}
.subs-f.done .subs-m {
  margin: 0;
  font-size: 1rem;
  color: var(--fg);
}
/* the /subscribe/ page: the same box, bigger, in the middle of the page */
.subpage {
  min-height: calc(100vh - 260px);
  display: grid;
  align-content: center;
}
.subs.page {
  padding-block: clamp(64px,9vw,120px);
  background: none;
}
.subs.page .inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.subs.page .subs-t,
.subs.page .subs-f {
  flex: none;
  width: 100%;
}
.subs.page .subs-t {
  margin-inline: auto;
}
.subs.page .subs-f {
  margin-inline: auto;
}
.subs.page .subs-f input {
  background: var(--surface);
}
.subs.page h1,
.subs-st h1 {
  font-family: var(--display);
  font-size: var(--h);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0;
}
.subs-st {
  padding-block: clamp(64px,9vw,120px) 0;
  text-align: center;
}
.subs-st p {
  margin: 12px auto 0;
  max-width: 46ch;
  color: var(--soft);
}
.subs-st .btn {
  margin-top: 24px;
  border: 0;
  cursor: pointer;
}
@media (max-width:560px) {
  .subs-f .row {
    flex-direction: column;
  }
  .subs-f .btn {
    align-self: stretch;
    padding-block: 14px;
  }
}
:root[data-theme="light"] .subs:not(.page) {
  background: #f1f4f7;
}
