/* Motif home: black liquid glass */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
:root { --ink: #f4f1eb; --dim: #c9c4bd; --copper: #e29578; --base: #0a0a0a; --ease: cubic-bezier(.3,.1,.15,1); color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--base); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: transparent; min-height: 100svh; color: var(--ink); font: 400 16px/1.6 Raleway, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; border-radius: 3px; }
[hidden] { display: none !important; }

/* the glass; the gradient is what shows without 3D graphics */
.glass { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(70% 60% at 16% 8%, #2b2c2e, transparent 70%), radial-gradient(60% 55% at 92% 78%, #1d1e1f, transparent 70%), var(--base); }
.glass canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.8s ease; }
.glass.live canvas { opacity: 1; }
.veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(54% 56% at 50% 42%, rgba(9,9,9,.44), rgba(9,9,9,.22) 62%, rgba(9,9,9,0)), linear-gradient(to bottom, rgba(9,9,9,0) 55%, rgba(9,9,9,.6)); }

.home { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 0 max(20px, env(safe-area-inset-right,0px)) 0 max(20px, env(safe-area-inset-left,0px)); }
.entrance { width: min(100%, 760px); margin: 0 auto; padding: clamp(64px, 11vh, 170px) 0 clamp(40px, 5.6vh, 70px); text-align: center; align-self: center; }
.mark { margin: 0 0 clamp(40px, 7.5vh, 78px); line-height: 0; }
.mark a { display: inline-block; text-decoration: none; }
.mark img { width: min(528px, 78vw); height: auto; display: block; }
blockquote { margin: 0 0 clamp(34px, 5vh, 54px); }
.quote { margin: 0; font: italic 400 clamp(25px, 3.1vw, 40px)/1.3 'Playfair Display', Georgia, serif; text-wrap: balance; }
cite { display: block; margin-top: 14px; font: 600 10px/1.5 Montserrat, sans-serif; letter-spacing: .22em; color: #e6e1da; font-style: normal; text-transform: uppercase; }
.line { margin: 0 auto clamp(28px, 4vh, 42px); max-width: 38ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: var(--ink); text-wrap: balance; }

/* the question, and its answers in the same place */
.ask { display: grid; }
.ask > * { grid-area: 1/1; transition: opacity .45s ease, transform .6s var(--ease), visibility .45s; }
.ask .closed { align-self: start; }
.why { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; min-width: min(100%, 340px); padding: 0 38px; border-radius: 99px; border: 1px solid rgba(244,241,235,.34); background: rgba(20,20,20,.34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-decoration: none; font: 600 12px/1 Montserrat, sans-serif; letter-spacing: .2em; text-transform: uppercase; transition: background-color .3s, border-color .3s; }
.why:hover { background: rgba(244,241,235,.1); border-color: rgba(244,241,235,.62); }
.ways { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; margin-top: 28px; font-size: 14px; }
.ways a { text-underline-offset: 6px; text-decoration-color: rgba(244,241,235,.4); transition: text-decoration-color .25s; }
.ways a:hover { text-decoration-color: var(--copper); }
.answers { margin: 0; padding: 0; list-style: none; text-align: left; border-top: 1px solid rgba(244,241,235,.2); }
.answers li { border-bottom: 1px solid rgba(244,241,235,.2); }
.answers a { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: 15px 4px; text-decoration: none; font: 400 clamp(20px, 2vw, 26px)/1.25 'Playfair Display', Georgia, serif; transition: padding .45s var(--ease), color .3s; }
.answers a small { flex: none; font: 600 10px/1 Montserrat, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #e6e1da; transition: color .3s; }
.answers a:hover, .answers a:focus-visible { padding-left: 14px; }
.answers a:hover small, .answers a:focus-visible small { color: var(--copper); }
.open-panel { opacity: 0; visibility: hidden; transform: translateY(12px); }
.ask.open .open-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .16s, transform .6s var(--ease) .16s, visibility 0s; }
.ask:not(.open) .closed { transition: opacity .45s ease .1s, transform .6s var(--ease) .1s, visibility 0s; }
.ask.open .closed { opacity: 0; visibility: hidden; transform: translateY(-8px); }
.panel-foot { display: flex; justify-content: space-between; gap: 18px; margin-top: 18px; font-size: 13px; color: var(--dim); }
.panel-foot a, .panel-foot button { appearance: none; background: none; border: 0; padding: 6px 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(244,241,235,.32); text-underline-offset: 5px; }
.panel-foot a:hover, .panel-foot button:hover { color: var(--ink); }

/* foot of the page */
.foot { display: grid; justify-items: center; gap: clamp(22px, 3.2vh, 34px); padding: 0 0 clamp(18px, 2.6vh, 28px); }
.press { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1.9vw, 30px); }
.press img { display: block; width: auto; height: 17px; filter: brightness(0) invert(1); opacity: .6; }
.press .ap { height: 22px; }
.legal { font-size: 12px; color: var(--dim); text-decoration-color: rgba(244,241,235,.3); text-underline-offset: 4px; padding: 8px 4px; }
.kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* arrival: one calm sequence, visible without it */
@media (prefers-reduced-motion: no-preference) {
  .js .mark, .js blockquote, .js .line, .js .ask, .js .foot { animation: arrive 1.1s var(--ease) both; }
  .js .mark { animation-duration: 1.4s; } .js blockquote { animation-delay: .35s; } .js .line { animation-delay: .6s; } .js .ask { animation-delay: .75s; } .js .foot { animation-delay: 1s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(10px); } }
  .js .foot { animation-name: arrive-foot; } @keyframes arrive-foot { from { opacity: 0; } }
}
@media (max-width: 900px) { .press { flex-wrap: wrap; } }
@media (max-width: 650px) {
  .entrance { padding-top: 84px; }
  .press { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 16px; justify-items: center; } .press img { max-width: 100%; height: 15px; } .press .ap { height: 20px; }
  .ways { flex-direction: column; align-items: center; gap: 18px; }
  .answers a { flex-direction: column; gap: 8px; padding: 14px 2px; }
}
@media (max-height: 880px) and (min-width: 651px) { .entrance { padding: clamp(34px, 7vh, 84px) 0 22px; } .mark { margin-bottom: clamp(28px, 4.6vh, 44px); } blockquote { margin-bottom: clamp(20px, 3vh, 30px); } .line { margin-bottom: 24px; } .quote { font-size: clamp(25px, 2.8vw, 36px); } .answers a { padding: 12px 4px; } .foot { gap: 18px; padding-bottom: 16px; } }
@media (max-height: 740px) and (min-width: 651px) { .entrance { padding: 30px 0 14px; } .mark { margin-bottom: 26px; } .mark img { width: min(440px, 78vw); } cite { margin-top: 8px; } .line { margin-bottom: 18px; } .answers a { padding: 9px 4px; font-size: 21px; } .panel-foot { margin-top: 8px; } .foot { gap: 8px; padding-bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .glass img.on { animation: none; } .ask > *, .glass img { transition-duration: .01s; transition-delay: 0s !important; } }

@media (max-width: 650px) { .veil { background: linear-gradient(to bottom, rgba(9,9,9,.14), rgba(9,9,9,.3) 34%, rgba(9,9,9,.6)); } }

/* going in */
.answers a span { display: block; }
.going-in, .going-in body { overflow: hidden; }
.going-in .answers a { pointer-events: none; }
.going-in .answers li, .going-in .answers { border-color: transparent; transition: border-color .3s; }
.going-in :focus-visible { outline-color: transparent; }
.going-in .answers a { padding-left: 14px; }
