/* LiquidGold · landing page.
   Concept: the landing page in Figma (hero, three marks, mission, collection, share and earn, founding list).
   From the event material: the gold standard of wellness, honey-powered gel packs, the 24-hour wellness system,
   honey-infused skincare, built for longevity.
   One committed look: ink, burgundy, cream and gold. Type stands in for the brand faces:
   Red Hat Display for Arpona, Afacad Flux as in the concept. */
:root {
  --ink: #141414; --ink-2: #1a1717; --wine: #5a0e24; --wine-deep: #2b0914; --cream: #f4efe5; --sand: #ece4d8;
  --text: #f5f3ec; --muted: #bdb2a6; --dim: #8c8178; --dark: #1c1614; --dark-muted: #675b52;
  --gold: #e5d0a3; --gold-hi: #f6ead0; --gold-mid: #c4a161; --gold-deep: #94753a; --line: rgba(229, 208, 163, .3);
  --display: "Red Hat Display", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Afacad Flux", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter-l: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
:root[data-theme="light"], :root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 20px/1.36 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap--wide { max-width: 1380px; }
section { position: relative; }
.band { padding-block: clamp(76px, 10.5vw, 152px); }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 13px; font: 500 12.5px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ""; width: 7px; height: 7px; background: var(--dot, var(--gold)); rotate: 45deg; flex: none; }
.h { font: 350 clamp(34px, 5vw, 64px)/1.03 var(--display); letter-spacing: -.012em; text-transform: uppercase; text-wrap: balance; }
.h b { font-weight: inherit; color: var(--gold); }
.t { font: 400 clamp(25px, 2.5vw, 33px)/1.06 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.sub { font-size: clamp(18px, 1.55vw, 21px); color: var(--muted); max-width: 34em; text-wrap: pretty; }
.head { display: grid; justify-items: center; gap: 22px; text-align: center; }
.head .h { max-width: 14em; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.nav.stuck { background: rgba(20, 20, 20, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(229, 208, 163, .16); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); }
.nav__brand svg:first-child { width: 27px; height: 31px; color: var(--gold-mid); }
.nav__brand svg:last-child { width: 132px; height: 35px; }
.nav__links { display: flex; gap: 30px; font: 500 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav__links a { padding: 16px 0; transition: color .25s; }
.nav__links a:hover { color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 0; background: linear-gradient(120deg, var(--gold-hi), var(--gold) 55%, #cdb27a); color: #1d1608; font: 600 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: filter .3s, translate .3s var(--ease); }
.btn:hover { filter: brightness(1.07); translate: 0 -1px; }
.btn:focus-visible, .nav a:focus-visible, .foot a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 11.5px; }
@media (max-width: 880px) { .nav__links { display: none; } }

/* hero */
.hero { min-height: min(100svh, 920px); display: grid; place-items: center; padding: 128px 0 96px; overflow: hidden; isolation: isolate; text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; animation: drift 34s ease-in-out infinite alternate; }
@keyframes drift { from { scale: 1.04; } to { scale: 1.14; rotate: 1.5deg; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 42%, rgba(43, 9, 20, .5) 0%, rgba(43, 9, 20, .76) 48%, rgba(20, 20, 20, .92) 100%), linear-gradient(180deg, rgba(20, 20, 20, 0) 55%, var(--ink) 100%); }
.hero__in { display: grid; justify-items: center; gap: 26px; }
.hero__in > * { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes rise { from { opacity: 0; translate: 0 20px; } }
.hero__symbol { width: clamp(84px, 8.4vw, 112px); }
.hero__word { width: clamp(196px, 20vw, 252px); aspect-ratio: 1052 / 280; height: auto; margin-top: -8px; color: var(--text); }
.hero .eyebrow { margin-top: 16px; }
.hero h1 { font-size: clamp(36px, 6vw, 78px); max-width: 15.5em; }
.hero .sub { color: #d2c7bc; }
.form { display: grid; gap: 16px; justify-items: center; margin-top: 20px; width: 100%; }
.form__cap { font: 500 12.5px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; }
.form__row { display: flex; gap: 10px; width: min(100%, 560px); }
.form input { flex: 1; min-width: 0; min-height: 56px; padding: 0 20px; border: 1px solid rgba(245, 243, 236, .5); border-radius: 0; background: rgba(20, 20, 20, .55); color: var(--text); font: 400 17px/1 var(--body); letter-spacing: .06em; }
.form input::placeholder { color: var(--dim); text-transform: uppercase; }
.form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__msg { min-height: 24px; font-size: 17px; color: var(--gold); }
.form .form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; }
.form__note { margin-top: -6px; font-size: 16px; line-height: 1.3; color: var(--muted); opacity: .82; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.form__note a:hover { color: var(--gold); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 560px) { .form__row { flex-direction: column; } }

/* three marks */
.marks { background: var(--cream); color: var(--dark); }
.marks .eyebrow, .cta .eyebrow { --dot: var(--gold-mid); }
.marks .sub { color: var(--dark-muted); }
.marks__grid { margin-top: clamp(52px, 7vw, 88px); display: grid; grid-template-columns: repeat(3, 1fr); }
.mark { display: grid; justify-items: center; align-content: start; text-align: center; }
.mark__icon { height: 112px; display: grid; place-items: center; color: var(--gold-mid); }
.mark__icon svg { width: auto; height: 96px; }
.mark__rule { position: relative; width: 100%; height: 1px; margin-block: 26px 40px; background: var(--gold-mid); }
.mark:not(:last-child) .mark__rule::after { content: ""; position: absolute; right: -6px; top: -5.5px; width: 12px; height: 12px; rotate: 45deg; background: var(--gold-mid); }
.mark small { font: 500 12.5px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; }
.mark .t { margin-top: 20px; max-width: 8.4em; }
.mark p { margin-top: 16px; padding-inline: 20px; color: var(--dark-muted); max-width: 17em; }
@media (max-width: 760px) {
  .marks__grid { grid-template-columns: 1fr; gap: 60px; }
  .mark__icon { height: auto; } .mark__icon svg { height: 80px; }
  .mark__rule { width: 96px; margin-block: 24px 28px; }
  .mark:not(:last-child) .mark__rule::after, .mark:last-child .mark__rule::after { content: ""; position: absolute; right: auto; left: 50%; top: -5.5px; width: 12px; height: 12px; margin-left: -6px; rotate: 45deg; background: var(--gold-mid); }
}

/* mission: the family, composed from separate cut-outs so nothing sits in a box */
.mission { overflow: hidden; background: radial-gradient(ellipse 78% 82% at 71% 54%, #701534 0%, #4a0f24 34%, #2a0a15 66%, var(--ink) 100%); }
.mission__row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.mission__txt { display: grid; gap: 24px; justify-items: start; }
.mission .sub { color: #d6c9c0; }
.stage { position: relative; width: 100%; max-width: 700px; margin-inline: auto; aspect-ratio: 1 / .93; }
.stage > * { position: absolute; }
.stage__glow { inset: 14% -6% 2%; background: radial-gradient(closest-side at 50% 58%, rgba(246, 234, 208, .5) 0%, rgba(229, 208, 163, .26) 30%, rgba(196, 161, 97, .1) 58%, transparent 80%); }
.stage__fleur { left: 20%; top: 0; width: 60%; }
.stage__cos-a { left: -3.5%; top: 15%; width: 42%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); animation: bob 8s ease-in-out infinite alternate; }
.stage__cos-b { right: -3%; top: 20%; width: 33.5%; animation: bob 9s ease-in-out -3s infinite alternate; }
@keyframes bob { from { translate: 0 -5px; } to { translate: 0 7px; } }
.stage__floor { left: 4%; right: 4%; bottom: -4.5%; height: 11%; background: radial-gradient(closest-side, rgba(0, 0, 0, .62), transparent); }
.stage__packs { left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: flex-end; }
.stage__packs img { position: relative; width: 20%; margin-inline: -1.35%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.stage__packs img:nth-child(3) { width: 21.4%; z-index: 2; }
.stage__packs img:nth-child(2), .stage__packs img:nth-child(4) { z-index: 1; }
.js .stage > *, .js .stage__packs img { transition: opacity 1.1s var(--ease), translate 1.3s var(--ease), scale 1.5s var(--ease); transition-delay: var(--d, 0s); }
.js .stage:not(.in) .stage__glow, .js .stage:not(.in) .stage__floor { opacity: 0; }
.js .stage:not(.in) .stage__fleur { opacity: 0; scale: .9; }
.js .stage:not(.in) .stage__cos-a { opacity: 0; translate: -46px 24px; }
.js .stage:not(.in) .stage__cos-b { opacity: 0; translate: 46px 24px; }
.js .stage:not(.in) .stage__packs img { opacity: 0; translate: 0 44px; }
@media (max-width: 860px) {
  .mission__row { grid-template-columns: 1fr; gap: 44px; }
  .mission__txt { justify-items: center; text-align: center; }
  .stage { max-width: 560px; }
  .stage__cos-a { left: 0; width: 40%; }
}

/* the system: four parts */
.sys { background: var(--ink); }
.tiles { margin-top: clamp(52px, 7vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 5.5vw, 76px) clamp(24px, 3.4vw, 48px); }
.tile { display: grid; gap: 24px; align-content: start; }
.tile__pic { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.tile__pic > img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.8s var(--ease); }
.tile:hover .tile__pic > img { scale: 1.035; }
.tile__pic::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(229, 208, 163, .42); pointer-events: none; }
.tile figcaption { display: grid; gap: 10px; padding-right: 8%; }
.tile p { color: var(--muted); }
.trio { background: radial-gradient(ellipse 70% 90% at 50% 62%, #76173a 0%, #47101f 46%, #1f0a11 100%); }
.tile__pic.trio > img { position: absolute; width: var(--w, 24%); height: auto; object-fit: contain; top: var(--y); left: var(--x); rotate: var(--r, 0deg); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)) brightness(var(--b, 1)); }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* the gel collection */
.coll { background: radial-gradient(ellipse 62% 46% at 50% 56%, rgba(96, 18, 44, .58) 0%, rgba(60, 13, 28, .32) 50%, rgba(20, 20, 20, 0) 100%), var(--ink); overflow: hidden; }
.gels { margin-top: clamp(40px, 6vw, 72px); display: flex; justify-content: center; gap: 0 clamp(6px, 1.5vw, 26px); }
.gel { flex: 1 1 0; min-width: 0; max-width: 256px; display: grid; justify-items: center; align-content: start; text-align: center; }
.gel__pic { position: relative; width: 100%; }
.gel__pic::before { content: ""; position: absolute; inset: 10% -16% 4%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: .46; transition: opacity .6s; }
.gel__pic::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -1.5%; height: 6%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
.gel img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 0 .6px rgba(246, 234, 208, .55)); transition: translate .8s var(--ease); }
.gel:hover img { translate: 0 -12px; } .gel:hover .gel__pic::before { opacity: .85; }
.gel .eyebrow { margin-top: 30px; font-size: 11.5px; }
.gel .t { margin-top: 14px; font-size: clamp(22px, 2vw, 28px); }
.gel p { margin-top: 8px; color: var(--muted); font-size: 18px; line-height: 1.25; max-width: 11em; }
.js .gels .gel { transition: opacity 1s var(--ease), translate 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .gels:not(.in) .gel { opacity: 0; translate: 0 34px; }
.gels__hint { display: none; margin-top: 22px; text-align: center; font: 500 11.5px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 1000px) and (min-width: 641px) {
  .gels { flex-wrap: wrap; gap: 56px 4%; }
  .gel { flex: 0 0 28%; }
}
@media (max-width: 640px) {
  /* on a phone the five gels are one row to swipe through, one pack at a time */
  .gels { justify-content: flex-start; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding: 0 17vw 14px; }
  .gels::-webkit-scrollbar { display: none; }
  .gel { flex: none; width: 66vw; max-width: none; scroll-snap-align: center; }
  .js .gels:not(.in) .gel { opacity: 1; translate: 0 0; }
  .gels__hint { display: block; }
}

/* share and earn */
.share { background: var(--ink-2); overflow: hidden; }
.share__row { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 84px); }
.packs { position: relative; display: flex; justify-content: center; gap: clamp(8px, 3vw, 40px); }
.packs::before { content: ""; position: absolute; inset: -4% -8% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(205, 166, 74, .34), rgba(120, 60, 30, .16) 55%, transparent); }
.packs img { position: relative; width: 42%; max-width: 280px; filter: drop-shadow(0 0 .6px rgba(246, 234, 208, .55)) drop-shadow(0 30px 36px rgba(0, 0, 0, .5)); }
.packs img:last-child { translate: 0 22px; }
.pitch { display: grid; gap: 22px; }
.pitch__rule { position: relative; height: 1px; background: var(--line); }
.pitch__rule::before { content: ""; position: absolute; left: 0; top: -4px; width: 8px; height: 8px; rotate: 45deg; background: var(--gold); }
.pitch ol { list-style: none; display: grid; gap: 18px; counter-reset: n; }
.pitch li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.pitch li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1d1608; display: grid; place-items: center; font: 600 14px/1 var(--display); }
.pitch li b { font-weight: 500; color: var(--gold-hi); }
.pitch > p { color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
.pitch > p b { font-weight: 500; color: var(--text); }
@media (max-width: 860px) { .share__row { grid-template-columns: 1fr; } }

/* founding list: the gift bag sits on the same sand as the section, so the photo has no edge */
.cta { background: var(--sand); color: var(--dark); overflow: hidden; }
.cta__pic { position: absolute; top: 0; right: 0; width: 60%; height: 100%; max-width: none; object-fit: cover; object-position: 46% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px); mask-image: linear-gradient(90deg, transparent 0, #000 40px); }
.cta__txt { position: relative; display: grid; gap: 22px; justify-items: start; max-width: 520px; }
.cta .sub { color: var(--dark-muted); }
.cta .form { justify-items: start; margin-top: 14px; }
.cta .form__row { flex-direction: column; width: 100%; }
.cta .form input { background: rgba(255, 255, 255, .55); border-color: rgba(28, 22, 20, .45); color: var(--dark); }
.cta .form input::placeholder { color: #85786d; }
.cta .form input:focus-visible { outline-color: var(--wine); }
.cta .btn { background: var(--wine); color: var(--text); }
.cta .btn:focus-visible { outline-color: var(--wine); }
.cta .form__msg { color: var(--wine); }
.cta .form__note { color: var(--dark-muted); opacity: 1; }
.cta .form__note a:hover { color: var(--wine); }
@media (max-width: 1100px) {
  .cta { padding-bottom: 0; }
  .cta__in { display: flex; flex-direction: column; }
  .cta__txt { justify-items: center; text-align: center; margin-inline: auto; }
  .cta .form { justify-items: center; }
  .cta__pic { position: static; order: 2; align-self: center; width: min(100%, 560px); height: auto; aspect-ratio: 1 / 1; margin-top: 20px; object-position: 48% 50%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%), linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, #000 22%), linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-composite: intersect; }
}

/* terms and privacy: two views of the same page, opened from the footer (#terms, #privacy) */
.legal { background: var(--cream); color: var(--dark); padding-block: calc(72px + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 88px)) clamp(72px, 9vw, 128px); }
.js .legal, .js .doc { display: none; }
.js.show-legal .legal, .js .doc.is-open { display: block; }
.js.show-legal main { display: none; }
.show-legal .nav { background: rgba(20, 20, 20, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(229, 208, 163, .16); }
.doc { max-width: 840px; }
html:not(.js) .doc + .doc { margin-top: clamp(72px, 9vw, 128px); }
.js .doc { scroll-margin-top: 600px; }
.doc__back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 12.5px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dark-muted); transition: color .25s; }
.doc__back:hover { color: var(--wine); }
.doc__back:focus-visible, .doc a:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.doc__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.doc .eyebrow { display: flex; width: fit-content; margin-top: 30px; --dot: var(--gold-mid); }
.doc .h { margin-top: 18px; font-size: clamp(34px, 4.6vw, 58px); outline: none; }
.doc__meta { margin-top: 18px; font: 500 12.5px/1.3 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dark-muted); }
.doc__note { margin-top: 28px; padding: 14px 18px; border-left: 2px solid var(--gold-mid); background: rgba(196, 161, 97, .13); font-size: 18px; color: var(--dark-muted); }
.doc__lead { margin-top: 34px; font-size: clamp(20px, 1.8vw, 23px); line-height: 1.42; max-width: 36em; }
.doc section { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(28, 22, 20, .14); }
.doc h3 { font: 500 clamp(21px, 2vw, 25px)/1.15 var(--display); letter-spacing: -.01em; }
.doc section p, .doc section ul, .doc address { margin-top: 12px; line-height: 1.5; color: #3b302b; max-width: 35em; }
.doc ul { padding-left: 1.1em; display: grid; gap: 6px; }
.doc address { font-style: normal; }
.doc__ph { padding: 1px 7px; background: rgba(196, 161, 97, .3); }
.doc__also { margin-top: 44px; color: var(--dark-muted); }
.doc__also a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }

.foot { background: var(--ink); padding-block: 46px calc(46px + env(safe-area-inset-bottom, 0px)); }
.foot__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; font-size: 18px; color: var(--muted); }
.foot__row svg { width: 40px; height: 45px; color: var(--gold-mid); }
.foot__links { justify-self: end; display: flex; gap: 14px; align-items: center; }
.foot__links a { padding: 12px 0; }
.foot__links a:hover { color: var(--gold); }
.foot__links i { width: 1px; height: 18px; background: var(--dim); }
@media (max-width: 640px) { .foot__row { grid-template-columns: 1fr; justify-items: center; text-align: center; } .foot__links { justify-self: center; } }

@media (max-width: 560px) { body { font-size: 18.5px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg, .hero__in > *, .stage__cos-a, .stage__cos-b { animation: none; }
  .js .stage > *, .js .stage__packs img, .js .gels .gel { transition: none; opacity: 1 !important; translate: 0 0 !important; scale: 1 !important; }
}
