:root {
  --bg: #014D5A;
  --bg2: #013F4A;
  --teal: #0B6676;
  --orange: #F28A30;
  --ink: #012A31;
  --soft: #CBE3E6;
  --dim: #A9CDD2;
  --line: rgba(255, 255, 255, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.serif { font-family: 'Bree Serif', Georgia, serif; font-weight: 400; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }
.scroll-x { overflow-x: auto; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline { border: 1px solid rgba(255, 255, 255, .4); font-weight: 600; padding: 13px 22px; }
.btn-outline:hover { border-color: var(--orange); }
.btn-outline-orange { border: 1px solid var(--orange); font-weight: 600; padding: 13px 24px; }
.btn-outline-orange:hover { background: rgba(242, 138, 48, .12); }
.btn-small { padding: 12px 20px; font-size: 16px; font-weight: 600; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 56px 0;
}
.brand img { display: block; height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--orange); }
.menu-open { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; padding: 0; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle 460px at 70.6% 330px, var(--teal) 0%, var(--bg) 100%);
}
.hero-inner {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(24px, 17.4%, 223px) 76px clamp(24px, 8.7%, 111px);
}
.hero-text { display: flex; flex-direction: column; gap: clamp(20px, 4.4vw, 56px); min-width: 0; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.22; white-space: nowrap; }
.hero-sub { font-size: clamp(19px, 2.5vw, 32px); line-height: 1.33; white-space: nowrap; }
.hero-foot { height: clamp(300px, 37vw, 475px); width: auto; flex: 0 0 auto; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--soft);
}

/* Shelf */
.shelf { display: flex; flex-direction: column; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 15px;
}
.pill:hover { border-color: var(--orange); }
.pill.active { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.card { display: flex; flex-direction: column; gap: 12px; }
.card[hidden] { display: none; }
.card-img {
  position: relative;
  height: 170px;
  background: var(--teal);
  border-radius: 14px;
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chip {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(1, 42, 49, .82);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}
.chip-static { position: static; align-self: flex-start; }
.card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 600; }
.card:hover h2 { color: var(--orange); }
.card p { font-size: 15px; line-height: 1.5; color: var(--soft); }
.price { margin-top: auto; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--orange); }
.cults-link { text-align: right; }
.cults-link a { font-size: 15px; font-weight: 600; text-decoration: underline; }
.cults-link a:hover { color: var(--orange); }

/* Listing page */
.listing-page { padding-top: 28px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 28px; }
.back { font-size: 15px; font-weight: 500; color: var(--soft); align-self: flex-start; }
.back:hover { color: var(--orange); }
.listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas: "gallery aside" "about aside";
  column-gap: 48px;
  row-gap: 22px;
  align-items: start;
}
.area-gallery { grid-area: gallery; min-width: 0; }
.area-aside { grid-area: aside; display: flex; flex-direction: column; gap: 14px; }
.area-about { grid-area: about; min-width: 0; }
.area-aside h1 { font-size: 42px; line-height: 1.1; }
.descriptor { font-size: 17px; line-height: 1.5; color: var(--soft); }
.area-aside .price { margin-top: 0; font-size: 15px; }
.area-aside .btn-primary { margin-top: 8px; }
.about { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.about h2 { font-size: 26px; }
.about p { font-size: 16px; line-height: 1.65; color: var(--soft); max-width: 70ch; }
.cults-all { text-align: center; margin-top: 4px; }

/* Gallery */
.gallery { display: flex; flex-direction: column; gap: 14px; }
.viewer {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--teal);
  border-radius: 14px;
  overflow: hidden;
}
.viewer > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.viewer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-big, .play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(1, 42, 49, .82);
}
.play-big { width: 68px; height: 68px; }
.play-badge { width: 28px; height: 28px; }
.play-big::after, .play-badge::after {
  content: '';
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}
.play-big::after { border-width: 13px 0 13px 22px; }
.play-badge::after { border-width: 6px 0 6px 10px; }
.thumbs { display: flex; gap: 14px; }
.thumb {
  position: relative;
  flex: 0 0 auto;
  width: 118px;
  height: 66px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--teal);
  opacity: .75;
  cursor: pointer;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 1; }
.thumb.current { border-color: var(--orange); opacity: 1; }

/* Signup */
.signup { border-top: 1px solid var(--line); margin-top: 8px; }
.signup-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.signup-form { display: flex; flex-direction: column; gap: 10px; width: 470px; max-width: 100%; flex: 0 0 auto; }
.signup-row { display: flex; gap: 10px; }
.signup-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  font: inherit;
  font-size: 16px;
}
.signup-row input::placeholder { color: #8FB4BA; }
.signup-row .btn { padding: 14px 22px; }
.signup-note { font-size: 13px; color: var(--dim); }
.signup-big .signup-inner { padding-top: 32px; padding-bottom: 40px; }
.signup-foot { height: 150px; width: auto; flex: 0 0 auto; }
.signup-copy { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.signup-copy h2 { font-size: 34px; line-height: 1.15; }
.signup-copy p { font-size: 16px; color: var(--soft); }
.signup-compact .signup-inner { justify-content: space-between; padding-top: 24px; padding-bottom: 32px; gap: 24px; }
.signup-compact p.serif { font-size: 22px; line-height: 1.25; }

/* Phone menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 0 24px 32px;
  background: var(--bg);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; }
.menu-top .brand img { height: 36px; }
.menu-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; padding: 0; }
.menu-links { margin-top: 36px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Bree Serif', Georgia, serif;
  font-size: 32px;
  line-height: 1;
}
.menu-bottom { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.menu-bottom p { font-size: 16px; color: var(--soft); }
.menu-bottom .btn { padding: 16px 20px; }

/* Tablet */
@media (max-width: 1000px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .site-header { padding: 28px 32px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 32px; }
}

/* Phone */
@media (max-width: 820px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .site-header { padding: 20px 24px 0; }
  .brand img { height: 36px; }
  .site-nav { display: none; }
  .menu-open { display: flex; }

  .hero {
    min-height: 700px;
    background: radial-gradient(circle 210px at 50% 500px, var(--teal) 0%, var(--bg) 100%);
  }
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    padding: 0 24px 32px;
  }
  .hero-text { gap: 20px; }
  .hero h1 { font-size: 38px; line-height: 46px; }
  .hero-sub { font-size: 19px; line-height: 26px; }
  .hero-foot { height: 300px; align-self: center; margin-top: 12px; }
  .scroll-cue { display: none; }

  .shelf { gap: 24px; }
  .filters { flex-wrap: nowrap; margin: 0 -24px; padding: 0 24px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .card-img { height: 200px; }
  .cults-link { text-align: center; }

  .listing {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "gallery" "aside" "about";
    row-gap: 22px;
  }
  .thumbs { margin: 0 -24px; padding: 0 24px; }
  .thumb { width: 96px; height: 54px; }
  .area-aside h1 { font-size: 36px; }
  .area-aside .btn { padding: 15px 20px; }
  .area-aside .btn-outline { padding: 14px 20px; }
  .about p { font-size: 16px; }
  .cults-all .btn { display: block; }

  .signup-big .signup-foot { display: none; }
  .signup-big .signup-inner { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 28px; padding-bottom: 40px; }
  .signup-copy { flex: 0 0 auto; }
  .signup-copy h2 { font-size: 28px; }
  .signup-compact .signup-inner { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 28px; padding-bottom: 40px; }
  .signup-compact p.serif { font-size: 28px; line-height: 1.15; }
  .signup-form { width: 100%; }
  .signup-row { flex-direction: column; }
  .signup-row .btn { padding: 15px 22px; }
  .signup-row input { padding: 15px 16px; }
}
