/* Home page look, 2026-10-23. Loaded after style.css on index.html only.
   Direction from a Framer study (templates Souma and Auravell): a photo
   card for the hero with the header floating on it, labels set as
   "/ LABEL", an italic turn in each heading, three phrase cards and a photo
   card to close. Screenshots keep style.css's rule: no drawn iPhone frame. */

/* Labels and headings */

.home .kicker {
  font: 600 0.75rem/1.3 var(--sans);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
}
.home .kicker { display: block; }
.home .kicker::before { content: "/"; margin-right: 0.7em; color: var(--accent); }
.home h2 em, .home .display em { font-style: italic; }

/* Hero: one rounded photo card. The header floats on it as a pill. */

.home .hero-shell {
  --hero-shade: linear-gradient(180deg, rgb(27 31 42 / 0.36) 0%, rgb(27 31 42 / 0) 26%, rgb(27 31 42 / 0.12) 55%, rgb(27 31 42 / 0.66) 100%);
  position: relative; overflow: hidden;
  margin: 12px; border-radius: 28px;
  color: #F8F4EC;
  background: var(--hero-shade), url(/images/home-lake-1400.webp) center 60% / cover, #2B2F37;
}
@media (min-width: 1401px), (min-width: 701px) and (min-resolution: 2dppx) {
  .home .hero-shell { background: var(--hero-shade), url(/images/home-lake-2400.webp) center 60% / cover, #2B2F37; }
}

.home .site-header {
  position: absolute; z-index: 3; top: 28px; left: 0; right: 0;
  width: fit-content; max-width: calc(100% - 48px);
  margin-inline: auto; padding: 5px 5px 5px 14px; gap: 22px;
  border-radius: 999px;
  background: rgb(246 241 231 / 0.16);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24);
}
.home .site-header .brand { margin-left: 0; padding-inline: 4px; color: #F8F4EC; }
.home .nav { margin-right: 0; }
.home .nav a { color: rgb(248 244 236 / 0.9); }
.home .nav .nav-cta { background: #F6F1E7; color: #1F1D1A; }
@media (hover: hover) and (pointer: fine) {
  .home .nav a:hover { color: #FFFFFF; }
  .home .nav a:not(.nav-cta):hover, .home .site-header .brand:hover { background: rgb(255 255 255 / 0.14); }
  .home .nav .nav-cta:hover { background: #FFFFFF; color: #1F1D1A; }
}

.home .hero {
  align-items: end;
  min-height: min(840px, 94svh);
  padding-block: 132px 0;
}
.home .hero > div:first-child { align-self: end; padding-bottom: clamp(48px, 6vw, 72px); text-shadow: 0 1px 14px rgb(20 22 30 / 0.35); }
.home .hero-kicker { margin-bottom: 18px; color: rgb(248 244 236 / 0.86); }
.home .hero-kicker::before { color: #D8B76A; }
.home .display {
  margin: 0;
  font-size: clamp(2.6rem, 5.6vw, 4.75rem); line-height: 1; letter-spacing: -0.03em;
  color: #F8F4EC; text-wrap: balance;
}
.home .hero .lead { color: rgb(248 244 236 / 0.88); }
.home .hero .requirements { color: rgb(248 244 236 / 0.8); }
.home .hero .get { margin-top: 30px; }

/* Three ways in, under the badge: hear the bell, the browser timer, the calendar */
.home .hero-paths {
  margin: 18px 0 0; padding: 0; list-style: none;
  max-width: 380px;
  border-top: 1px solid rgb(248 244 236 / 0.26);
}
.home .hero-paths li { border-bottom: 1px solid rgb(248 244 236 / 0.26); }
.home .hero-path {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 52px; padding: 8px 4px;
  border: 0; border-radius: 0; background: none;
  font: 0.9375rem/1.35 var(--sans); color: #F8F4EC; text-align: left; text-decoration: none;
  cursor: pointer;
}
.home .hero-path:focus-visible { outline: 2px solid #D8B76A; outline-offset: 2px; }
.home .hero-path-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.home .hero-path-note { font-size: 0.8125rem; color: rgb(248 244 236 / 0.74); }
.home .hero-path-chevron {
  flex: none; width: 7px; height: 7px; margin-right: 6px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: 0.8;
}
.home .hero-bell-mark {
  flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%;
  background: #F8F4EC;
}
.home .hero-bell-mark::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 11px; margin: -5.5px 0 0 -3.5px;
  background: #1F1D1A; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.home .hero-bell.is-playing .hero-bell-mark::after {
  width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; clip-path: none;
}
@media (hover: hover) and (pointer: fine) {
  .home .hero-path { transition: background-color 160ms var(--ease-out), transform 110ms var(--ease-out); }
  .home .hero-path:hover { background: rgb(255 255 255 / 0.08); }
}
.home .hero .screen { align-self: end; margin-bottom: -96px; transform: rotate(-3deg); }
.home .hero .screen video, .home .hero .screen img { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 40px 70px -30px rgb(0 0 0 / 0.55); }

@media (min-width: 820px) {
  .home .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); }
}
@media (max-width: 819px) {
  .home .hero-shell {
    --hero-shade: linear-gradient(180deg, rgb(27 31 42 / 0.42) 0%, rgb(27 31 42 / 0.6) 40%, rgb(27 31 42 / 0.32) 72%, rgb(27 31 42 / 0.3) 100%);
    margin: 8px; border-radius: 22px;
  }
  .home .site-header { top: 20px; max-width: calc(100% - 32px); gap: 10px; }
  .home .hero { min-height: 0; padding-block: 116px 0; gap: 40px; }
  .home .hero > div:first-child { padding-bottom: 0; }
  .home .hero .screen { width: min(250px, 62vw); margin-bottom: -150px; transform: rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .home .hero .screen { transform: none; }
}

/* Three phrases, under the Phrases section */

.home .phrase-cards {
  display: grid; gap: 12px;
  margin-block: clamp(48px, 7vw, 72px) 0; list-style: none;
}
@media (min-width: 820px) {
  .home .phrase-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home .phrase-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: clamp(220px, 27vw, 320px);
  padding: 26px 28px; border-radius: 24px;
  background: color-mix(in srgb, var(--accent) 14%, var(--paper));
}
.home .phrase-card .kicker { margin: 0; }
.home .phrase-card q {
  quotes: none;
  font-style: italic; font-size: clamp(1.75rem, 2.9vw, 2.25rem); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--ink); text-wrap: balance;
}
.home .phrase-card.photo {
  background:
    linear-gradient(180deg, rgb(246 241 231 / 0.55) 0%, rgb(246 241 231 / 0.05) 35%, rgb(246 241 231 / 0.15) 55%, rgb(246 241 231 / 0.92) 100%),
    url(/images/home-shadow-900.webp) center / cover;
}
.home .phrase-card.photo .kicker { color: #5B564E; }
.home .phrase-card.photo q { color: #1F1D1A; }
.home .phrase-card.dark { background: #1B1F2A; }
.home .phrase-card.dark .kicker { color: rgb(241 236 226 / 0.62); }
.home .phrase-card.dark .kicker::before { color: #D8B76A; }
.home .phrase-card.dark q { color: #F1ECE2; }
@media (prefers-color-scheme: dark) {
  .home .phrase-card.dark { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
}

/* The Lock Screen drawing sits on a misty forest */

.home .stage.photo {
  box-shadow: none;
  background: url(/images/home-mist-900.webp) center / cover, var(--well);
}
@media (min-resolution: 2dppx) and (min-width: 600px) {
  .home .stage.photo { background: url(/images/home-mist-1400.webp) center / cover, var(--well); }
}

/* Closing: a photo card, inset like the hero */

.home .section.closing { border-top: 0; padding-block: 0 12px; }
.home .closing-card {
  max-width: none; margin: 0 12px;
  padding: clamp(88px, 12vw, 148px) var(--gutter);
  border-radius: 28px;
  color: #F8F4EC;
  background: linear-gradient(rgb(20 22 18 / 0.5), rgb(20 22 18 / 0.5)), url(/images/home-bell-1400.webp) 30% center / cover, #2B2F37;
}
@media (min-width: 1401px), (min-width: 701px) and (min-resolution: 2dppx) {
  .home .closing-card { background: linear-gradient(rgb(20 22 18 / 0.5), rgb(20 22 18 / 0.5)), url(/images/home-bell-2400.webp) 30% center / cover, #2B2F37; }
}
.home .closing h2 { color: #F8F4EC; }
.home .closing-sub { margin: 18px 0 0; color: rgb(248 244 236 / 0.86); }
.home .closing .button { background: #F6F1E7; color: #1F1D1A; }
@media (hover: hover) and (pointer: fine) {
  .home .closing .button:hover { background: #FFFFFF; }
}
@media (max-width: 819px) {
  .home .closing-card { margin: 0 8px; border-radius: 22px; }
}
.home .faq + * { border-top: 0; }
.home .faq > .kicker { text-align: center; }
