@font-face {
  font-family: "Big Shoulders Display";
  src: url("/fonts/big-shoulders.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --water: #0F2B31;
  --shallows: #17414A;
  --deep: #0A2227;
  --salt: #F4EEE4;
  --foam: #9CC9CE;
  --sun: #FFA45C;
  --line: rgba(156, 201, 206, 0.28);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--water);
  color: var(--salt);
  font: 400 1.0625rem/1.6 var(--text);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 2 * var(--gutter)); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 20;
  background: var(--sun); color: var(--water);
  padding: 10px 14px; border-radius: var(--radius); font-weight: 600;
}
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 600 1rem/1 var(--text);
  text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--solid { background: var(--sun); color: var(--water); }
.btn--solid:hover { background: #FFB677; }
.btn--ghost { background: transparent; color: var(--salt); border-color: var(--salt); }
.btn--ghost:hover { background: rgba(244, 238, 228, .12); }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end; overflow: hidden;
  background: var(--water);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(15, 43, 49, .62) 0, rgba(15, 43, 49, 0) 140px),
    linear-gradient(to top, rgba(15, 43, 49, .96) 0%, rgba(15, 43, 49, .7) 34%, rgba(15, 43, 49, 0) 66%);
}
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--gutter);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.topbar__handle { font-weight: 600; font-size: .95rem; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a { text-decoration: none; font-weight: 500; }
.topbar__links a:not(.topbar__join) { display: none; }
.topbar__join {
  border: 1.5px solid var(--salt); border-radius: var(--radius);
  padding: 8px 16px; text-shadow: none; background: rgba(15, 43, 49, .5);
}
.hero__content { position: relative; z-index: 1; padding: 0 var(--gutter) 40px; }

.wordmark {
  font: 900 clamp(3.4rem, 19vw, 7rem)/.86 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.wordmark span { display: block; }
.wordmark__outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--salt);
}
.hero__lede { max-width: 30ch; margin-top: 18px; font-size: 1.125rem; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* the one orchestrated moment: the wordmark rises once on load */
@keyframes rise { from { transform: translateY(45%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes settle { from { opacity: 0; } to { opacity: 1; } }
.wordmark__solid { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.wordmark__outline { animation: rise .8s .12s cubic-bezier(.2, .7, .2, 1) both; }
.hero__lede, .hero__actions { animation: settle .8s .5s both; }

/* ---------- sections ---------- */
.section { padding: clamp(3.25rem, 9vw, 6rem) 0; }
.section--members { background: var(--shallows); }
.h2 { font: 800 clamp(2.4rem, 7vw, 4rem)/.95 var(--display); letter-spacing: .005em; }
.lede { max-width: 52ch; margin-top: 14px; color: var(--foam); }

/* ---------- gallery ---------- */
.masonry { columns: 2; column-gap: 10px; margin-top: 32px; }
.tile { break-inside: avoid; margin: 0 0 10px; }
.tile__btn {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: var(--shallows); border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in;
}
.tile__btn img { width: 100%; height: auto; transition: transform .4s ease; }
.tile__ai {
  position: absolute; left: 8px; bottom: 8px;
  font: 800 .8rem/1 var(--display); letter-spacing: .1em;
  color: var(--salt); background: rgba(15, 43, 49, .55);
  border: 1.5px solid var(--salt); border-radius: 2px; padding: .3em .5em .25em;
}
@media (hover: hover) { .tile__btn:hover img { transform: scale(1.025); } }

/* ---------- members ---------- */
.teasers {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px;
  margin: 32px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory;
}
.teaser {
  position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: var(--radius); background: var(--deep);
}
.teaser img { width: 100%; height: 100%; object-fit: cover; }
.teaser__lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: rgba(10, 34, 39, .35); font-weight: 600;
}

.join { margin-top: 40px; max-width: 640px; }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sun); flex: none; }
.plans { display: grid; gap: 12px; margin-top: 20px; }
.plan {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius);
}
.plan--best { border-color: var(--sun); }
.plan__name { font: 800 1.5rem/1 var(--display); letter-spacing: .02em; }
.plan__price { margin-top: 6px; }
.plan__price strong { font: 800 1.9rem/1 var(--display); }
.plan__note { margin-top: 2px; font-size: .9rem; color: var(--foam); }
.join__hint { margin-top: 14px; font-size: .95rem; color: var(--foam); }

/* ---------- faq ---------- */
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 1.6rem/1 var(--text); color: var(--sun); }
.qa[open] summary::after { content: "\2212"; }
.qa p { padding: 0 0 20px; color: var(--foam); max-width: 60ch; }
.qa a { color: var(--salt); }

/* ---------- footer ---------- */
.footer { background: var(--deep); padding: 32px 0; font-size: .95rem; color: var(--foam); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer__links { display: flex; gap: 20px; }

/* ---------- dialogs ---------- */
dialog::backdrop { background: rgba(5, 18, 21, .82); }
.lightbox {
  width: 100vw; max-width: none; height: 100svh; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--salt);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100vw; max-height: 100svh; width: auto; height: auto; object-fit: contain; }
.lb__btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(15, 43, 49, .7); color: var(--salt);
  border: 1.5px solid var(--line); border-radius: 50%; cursor: pointer;
}
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 10px; top: 50%; transform: translateY(-50%); }

.modal {
  width: min(440px, 100% - 2 * var(--gutter)); padding: 0;
  background: var(--water); color: var(--salt);
  border: 1.5px solid var(--line); border-radius: var(--radius);
}
.modal__body { padding: 28px 24px 24px; display: grid; gap: 14px; }
.modal__title { font: 800 2rem/1 var(--display); }
.modal__sub { color: var(--foam); }
.modal__note { color: var(--foam); }
.methods { display: grid; gap: 10px; }
.method-note { font-size: .9rem; color: var(--foam); margin-top: -4px; }

/* ---------- document pages ---------- */
.doc { padding: clamp(3rem, 8vw, 5rem) 0; }
.doc h1 { font: 900 clamp(2.6rem, 8vw, 4.2rem)/.92 var(--display); text-transform: uppercase; }
.doc h2 { font: 800 1.6rem/1 var(--display); margin-top: 36px; }
.doc p, .doc li { margin-top: 12px; max-width: 62ch; color: var(--foam); }
.doc ul { padding-left: 1.2em; }
.doc a { color: var(--salt); }
.doc__back { display: inline-block; margin-bottom: 28px; font-weight: 600; }

/* ---------- social ---------- */
.social-strip { padding: 26px 0; border-bottom: 1px solid var(--line); }
.social-strip__title { font-weight: 600; margin-bottom: 14px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: border-color .15s, background-color .15s;
}
.chip:hover { border-color: var(--salt); }
.chip--coffee { background: var(--sun); border-color: var(--sun); color: var(--water); }
.chip--coffee:hover { background: #FFB677; border-color: #FFB677; }
.ico {
  width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.ico--instagram { --i: url("/icons/instagram.svg"); }
.ico--tiktok { --i: url("/icons/tiktok.svg"); }
.ico--pinterest { --i: url("/icons/pinterest.svg"); }
.ico--unsplash { --i: url("/icons/unsplash.svg"); }
.ico--tumblr { --i: url("/icons/tumblr.svg"); }
.ico--bluesky { --i: url("/icons/bluesky.svg"); }
.ico--x { --i: url("/icons/x.svg"); }
.ico--discord { --i: url("/icons/discord.svg"); }
.ico--buymeacoffee { --i: url("/icons/buymeacoffee.svg"); }
.ico--other { --i: url("/icons/link.svg"); }
.footer__social { margin-bottom: 24px; }
.footer__social:has(.social:empty) { display: none; }

/* ---------- wallpapers ---------- */
.section--promo { border-top: 1px solid var(--line); }
.promo { display: grid; gap: 28px; align-items: center; }
.promo__text .btn { margin-top: 22px; }
.promo__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.promo__thumbs img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; border-radius: var(--radius); }

.subhead { padding: 14px 0; border-bottom: 1px solid var(--line); }
.subhead__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.subhead__brand { font: 900 1.35rem/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
.h1 { font: 900 clamp(2.6rem, 9vw, 5rem)/.9 var(--display); text-transform: uppercase; }
.jump { display: flex; gap: 12px; margin-top: 22px; }
.section--tight { padding-top: 0; }
.h3 { font: 800 1.5rem/1 var(--display); letter-spacing: .02em; margin: 36px 0 16px; }
.wall-note { margin-top: 10px; color: var(--foam); font-size: .95rem; }
.walls { display: grid; gap: 12px; }
.walls--phone { grid-template-columns: repeat(2, 1fr); }
.walls--desktop { grid-template-columns: 1fr; }
.wall__img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--shallows); }
.wall__img img { width: 100%; height: auto; }
.wall__lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: rgba(10, 34, 39, .35); font-weight: 600; text-align: center;
}
.wall__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-size: .9rem; color: var(--foam); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .95rem; }

/* ---------- wider screens ---------- */
@media (min-width: 700px) {
  .topbar__links a:not(.topbar__join) { display: inline; }
  .masonry { column-gap: 14px; }
  .tile { margin-bottom: 14px; }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .masonry { columns: 3; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__img { left: 50%; width: 50%; }
  .hero__scrim {
    left: 50%;
    background:
      linear-gradient(to bottom, rgba(15, 43, 49, .62) 0, rgba(15, 43, 49, 0) 140px),
      linear-gradient(to right, var(--water) 0%, rgba(15, 43, 49, 0) 28%);
  }
  .hero__content { grid-column: 1; padding: 0 var(--gutter) 64px; max-width: 640px; }
  .wordmark { font-size: clamp(4rem, 9vw, 8.5rem); }
  .teasers {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr);
    margin: 32px 0 0; padding: 0; overflow: visible;
  }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 700px) {
  .walls--phone { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .promo { grid-template-columns: 1fr 1fr; gap: 56px; }
  .walls--desktop { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .walls--phone { grid-template-columns: repeat(6, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark__solid, .wordmark__outline, .hero__lede, .hero__actions { animation: none; }
  .tile__btn img { transition: none; }
}
