/* Photography and motion are isolated to the homepage. */
.home .site-header { background: #f6f5f0f2; backdrop-filter: blur(12px); }
.home .desktop-nav a { position: relative; border-bottom: 0; }
.home .desktop-nav a::after { content: ''; position: absolute; bottom: 6px; left: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.home .desktop-nav a:hover::after, .home .desktop-nav a[aria-current='location']::after { transform: scaleX(1); }
.home .desktop-nav a[aria-current='location'] { color: var(--accent); }
.hero--immersive { position: relative; isolation: isolate; display: grid; padding: 0; overflow: hidden; background: #c1c5ad; }
.hero__landscape, .hero--immersive .hero__grid { grid-area: 1 / 1; }
.hero__landscape { display: block; position: relative; overflow: hidden; min-width: 0; }
.hero__landscape::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f6f5f0e8 0%, #f6f5f0b8 24%, #f6f5f025 53%, transparent 68%); }
.hero__landscape img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; transform: scale(var(--landscape-scale, 1)); }
.hero--immersive .hero__grid { z-index: 1; display: flex; align-items: center; min-height: clamp(640px, 51vw, 880px); padding-block: 70px 95px; pointer-events: none; }
.hero__copy { width: 47%; pointer-events: auto; }
.hero--immersive h1 { font-size: clamp(46px, 4.8vw, 76px); line-height: 1.35; letter-spacing: -.04em; }
.hero--immersive .eyebrow { margin-bottom: 24px; color: #795237; font-size: 11px; letter-spacing: .19em; }
.hero--immersive .hero__lead { max-width: 410px; color: #354333; font-size: 16px; line-height: 2; margin-top: 26px; }
.hero--immersive .hero__process-link { color: var(--primary-deep); border-color: #73836a; }
.hero__process-link span { display: inline-block; transition: transform .3s ease; }
.hero__process-link:hover span { transform: translateX(6px); }
.home .visual-attribution { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.hero__availability { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding-block: 22px; }
.hero__availability p { max-width: 780px; margin: 0; font-size: 11px; color: var(--muted); }
.hero__availability a { white-space: nowrap; font-size: 12px; }
.hero__availability a span { display: inline-block; margin-left: 24px; }
.home .metrics { margin-top: 5px; margin-bottom: 0; padding-block: 34px; }
.home #features { padding-top: 110px; padding-bottom: 95px; }
.home #features .section-heading { max-width: 900px; }
.home .feature-card { transition: border-color .3s ease; }
.home .feature-card:hover { border-color: var(--accent); }
.home #process { background: #eaece3; padding: 90px 0; }
.home #process > .container { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 40px 80px; padding-top: 0; border: 0; }
.home #process .section-heading { grid-column: 2; grid-row: 1; padding-top: 18px; }
.home #process h2 { font-size: clamp(32px, 3.4vw, 46px); }
.encounter { grid-column: 1; grid-row: 1 / 3; position: sticky; top: 115px; margin: 0; }
.encounter__image { overflow: hidden; border-radius: 5% / 5.9%; background: #c4c8b4; }
.encounter__image img { width: 100%; height: auto; transform: scale(1.012); }
.encounter figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; color: var(--muted); font-size: 11px; }
.encounter figcaption span:last-child { color: var(--accent); }
.home .process-grid { grid-column: 2; grid-row: 2; display: block; }
.home .step-card { display: grid; grid-template-columns: 36px 1fr; gap: 0 18px; padding: 28px 0; border-top: 1px solid #c7cfc0; }
.home .step-card__number { grid-row: 1 / 3; font-size: 20px; }
.home .step-card h3 { margin: 0 0 10px; font-size: 20px; }
.home .step-card p { grid-column: 2; font-size: 15px; }
.home .app-preview { background: #eaece3; padding-top: 65px; border-top: 1px solid #d1d7c7; }
.home .preview-copy { position: sticky; top: 130px; align-self: start; padding-top: 25px; }
.home .phone-preview { position: relative; }
.screenshot-link { display: block; border-radius: inherit; }
.screenshot-link:focus-visible { outline-offset: 8px; }
.home .source-card__links a span { transition: transform .25s ease; }
.home .source-card__links a:hover span { transform: translate(3px, -3px); }
.home .button { transition: background .25s ease, transform .25s ease; }
.home .button:hover { transform: translateY(-2px); }
.home .mobile-menu[open] .mobile-menu__panel { animation: menu-enter .22s ease both; }
.home .faq-list details[open] p { animation: menu-enter .25s ease both; }
/* Content remains readable with JavaScript disabled or reduced motion enabled. */
@media (prefers-reduced-motion: no-preference) {
  .hero__intro { animation: hero-enter 1s .1s both; }
  .hero__details { animation: hero-enter 1s .28s both; }
  .hero__landscape { animation: landscape-enter 1.6s ease-out both; }
  [data-reveal].reveal-pending { opacity: 0; transform: translateY(22px); transition: none; }
  [data-reveal] { transition: opacity 1.3s ease, transform 1.3s cubic-bezier(.2,.65,.3,1); }
}
@keyframes hero-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes landscape-enter { from { opacity: .5; } to { opacity: 1; } }
@keyframes menu-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) and (min-width: 681px) {
  .hero--immersive .hero__grid { min-height: 600px; }
  .hero__copy { width: 48%; }
  .hero--immersive h1 { font-size: 43px; }
  .hero--immersive .hero__lead { font-size: 14px; }
  .hero--immersive .store-badge { width: 154px; height: 47px; }
  .hero--immersive .store-badges { gap: 8px; }
  .hero__availability { gap: 24px; }
  .hero__availability a { display: none; }
  .home #process > .container { gap: 28px; }
  .home .preview-copy { position: static; }
}
@media (max-width: 680px) {
  .hero--immersive { background: var(--bg); }
  .hero__landscape { grid-area: 1 / 1; aspect-ratio: 3 / 4; }
  .hero__landscape img { object-fit: cover; object-position: center; }
  .hero__landscape::after { background: linear-gradient(180deg, #f6f5f0db 0%, #f6f5f090 23%, #f6f5f000 46%); }
  .hero--immersive .hero__grid, .hero__copy { display: contents; }
  .hero__intro { grid-area: 1 / 1; align-self: start; z-index: 1; margin: 30px 24px 0; pointer-events: auto; }
  .hero--immersive .eyebrow { margin-bottom: 15px; font-size: 10px; }
  .hero--immersive h1 { font-size: clamp(35px, 9vw, 52px); line-height: 1.3; }
  .hero__details { grid-area: 2 / 1; padding: 26px 24px 8px; pointer-events: auto; }
  .hero--immersive .hero__lead { max-width: none; font-size: 15px; line-height: 1.95; margin: 0; }
  .hero--immersive .store-badges--hero { display: grid; grid-template-columns: repeat(2, minmax(0, 163px)); gap: 9px; margin-top: 22px; }
  .hero--immersive .store-badge { width: 100%; min-width: 0; height: 49px; }
  .hero--immersive .store-badge__copy strong { font-size: 13px; }
  .hero--immersive .store-badge--android { padding-inline: 8px; gap: 6px; }
  .hero--immersive .store-badge__icon { width: 24px; flex-basis: 24px; }
  .hero__availability { padding-block: 18px 24px; width: calc(100% - 48px); }
  .hero__availability p { font-size: 10px; }
  .hero__availability a { display: none; }
  .home .metrics { padding-block: 0; margin-top: 0; }
  .home #features { padding-block: 60px; }
  .home #process { padding-block: 55px; }
  .home #process > .container { grid-template-columns: 1fr; gap: 28px; }
  .home #process .section-heading { grid-column: 1; grid-row: 1; padding: 0; }
  .encounter { position: static; grid-column: 1; grid-row: 2; }
  .home .process-grid { grid-column: 1; grid-row: 3; }
  .home .step-card { padding-block: 22px; }
  .home .step-card p { font-size: 14px; }
  .home .app-preview { padding-top: 50px; }
  .home .preview-copy { position: static; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__landscape img { transform: none; }
  [data-reveal].reveal-pending { opacity: 1; transform: none; }
}
@media print {
  [data-reveal].reveal-pending { opacity: 1; transform: none; }
  .encounter, .home .preview-copy { position: static; }
}
