/* Dompad discovery home. Palette and typography are owned by dompad.css. */
.home-portal { overflow: clip; }
.home-portal [id] { scroll-margin-top: 96px; }
.home-portal h1, .home-portal h2, .home-portal h3 { text-wrap: balance; }
.home-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.home-kicker > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dp-signal); color: var(--dp-ink); font-size: 20px; }
.home-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; text-underline-offset: 5px; }
.home-text-link:hover { color: var(--dp-primary-strong); }
.home-text-link > span { font-size: 21px; }
.home-hero { position: relative; padding: 54px 0 0; background: var(--dp-surface); border-bottom: var(--dp-panel-border); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 54px; align-items: center; padding-bottom: 46px; }
.home-hero__copy { position: relative; z-index: 2; }
.home-hero h1 { margin: 22px 0; font-family: var(--dp-font-display); font-size: clamp(34px, 4.6vw, 62px); line-height: 1.12; letter-spacing: -.055em; }
.home-hero h1 > span { color: var(--dp-primary-strong); }
.home-hero__lede { max-width: 480px; margin: 0; color: var(--dp-muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.home-hero__actions .btn { min-height: 56px; padding-inline: 24px; }
.home-hero__note { margin: 20px 0 0; font-size: 12px; color: var(--dp-muted); }
.home-hero__visual { position: relative; min-width: 0; padding: 22px 32px 28px 8px; }
.home-hero__visual::before { content: ''; position: absolute; inset: 20% -12% 3% 5%; background: var(--dp-signal); border-radius: 50%; transform: rotate(-18deg); }
.home-photo-stack { position: relative; width: min(100%, 380px); aspect-ratio: 4 / 4.65; margin-inline: auto; }
.home-photo-stack__front, .home-photo-stack__back { position: absolute; inset: 0; overflow: hidden; border: 2px solid var(--dp-ink); border-radius: var(--dp-radius-card); background: var(--dp-ink); }
.home-photo-stack__back { transform: rotate(calc(var(--stack) * 6deg)) translate(calc(var(--stack) * 8px), calc(var(--stack) * -5px)); }
.home-photo-stack img { width: 100%; height: 100%; object-fit: cover; }
.home-photo-stack__front { z-index: 2; color: var(--dp-surface); text-decoration: none; transform: rotate(-4deg); box-shadow: 8px 10px 0 rgba(21, 33, 27, .12); transition: transform .25s ease; }
.home-photo-stack__front:hover { transform: rotate(-1deg) translateY(-4px); }
.home-photo-stack__front::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(21,33,27,.96)); pointer-events: none; }
.home-photo-stack__tag { position: absolute; z-index: 3; top: 16px; left: 16px; display: flex; align-items: center; gap: 14px; padding: 9px 13px; border-radius: 99px; background: var(--dp-surface); color: var(--dp-ink); font-size: 12px; font-weight: 700; }
.home-photo-stack__tag span { color: var(--dp-primary-strong); font-size: 20px; }
.home-photo-stack__caption { position: absolute; z-index: 2; inset: auto 22px 24px; display: grid; gap: 6px; }
.home-photo-stack__caption small { color: var(--dp-signal); font-size: 13px; }
.home-photo-stack__caption strong { font-family: var(--dp-font-display); font-size: clamp(20px, 2vw, 27px); letter-spacing: -.03em; line-height: 1.2; overflow-wrap: anywhere; }
.home-photo-stack__caption > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.home-photo-stack__caption > span > span { font-size: 26px; }
.home-hero__sticker { position: absolute; z-index: 3; right: -6px; bottom: 4px; padding: 18px 24px; transform: rotate(7deg); background: var(--dp-primary); color: var(--dp-surface); border: 2px solid var(--dp-ink); border-radius: 16px; font-size: 16px; font-weight: 700; line-height: 1.4; box-shadow: 5px 5px 0 var(--dp-ink); }
.home-hero__blank { position: relative; display: grid; gap: 20px; padding: 40px; border: 2px solid var(--dp-ink); border-radius: var(--dp-radius-card); background: var(--dp-signal); transform: rotate(-3deg); }
.home-hero__blank > span { font-size: 80px; line-height: 1; }
.home-hero__blank strong { font-family: var(--dp-font-display); font-size: 28px; }
.home-hero__blank p { margin: 0; }
.home-start { position: relative; z-index: 3; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr auto; align-items: center; gap: 18px; padding: 22px; background: var(--dp-canvas); border: 1px solid var(--dp-ink); border-radius: var(--dp-radius-panel); box-shadow: 6px 6px 0 var(--dp-signal); }
.home-start__intro { display: grid; gap: 4px; }
.home-start__intro strong { font-size: 19px; }
.home-start__intro span { font-size: 12px; color: var(--dp-muted); }
.home-start__field { min-width: 0; display: grid; gap: 5px; }
.home-start label { font-size: 12px; font-weight: 600; }
.home-start select { min-width: 0; width: 100%; height: 46px; padding: 0 10px; border: var(--dp-panel-border); border-radius: var(--dp-radius-control); background: var(--dp-surface); color: var(--dp-ink); cursor: pointer; }
.home-start .btn { align-self: end; min-height: 46px; }
.home-pulse { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 24px 0; font-size: 13px; color: var(--dp-muted); }
.home-pulse p { margin: 0; }
.home-pulse strong { color: var(--dp-ink); font-weight: 700; }
.home-pulse > span { color: var(--dp-primary); font-size: 24px; }
.home-jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 24px 0; }
.home-jumps a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 0 16px; border: var(--dp-panel-border); border-radius: 99px; background: var(--dp-surface); text-decoration: none; font-size: 13px; font-weight: 600; }
.home-jumps a:first-child { background: var(--dp-ink); color: var(--dp-signal); border-color: var(--dp-ink); }
.home-jumps a:hover { border-color: var(--dp-primary); }
.home-section { padding-block: 42px; }
.home-section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.home-section__head h2, .home-swipe-invite h2, .home-metro h2, .home-help h2, .home-contact h2 { margin: 8px 0 0; font-family: var(--dp-font-display); font-size: clamp(25px, 3vw, 38px); line-height: 1.2; letter-spacing: -.045em; }
.home-section__head > p { max-width: 360px; margin: 0; font-size: 14px; color: var(--dp-muted); }
.home-section__head .home-kicker { color: var(--dp-muted); }
.home-section__head > a { flex-shrink: 0; font-size: 14px; }
.home-stories { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 16px; }
.home-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 355px; padding: 20px; overflow: hidden; border-radius: var(--dp-radius-card); background: var(--dp-ink); color: var(--dp-surface); text-decoration: none; }
.home-story > img, .home-city > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-story::after, .home-city::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(21,33,27,.12) 15%, rgba(21,33,27,.4) 45%, rgba(21,33,27,.95)); pointer-events: none; }
.home-story:hover > img, .home-city:hover > img { transform: scale(1.045); }
.home-story__type { position: relative; z-index: 1; align-self: start; padding: 6px 10px; border: 1px solid rgba(249,250,247,.45); border-radius: 99px; background: var(--dp-surface); color: var(--dp-ink); font-size: 12px; font-weight: 600; }
.home-story__body { position: relative; z-index: 1; display: grid; gap: 12px; padding-top: 40px; }
.home-story__body strong { font-family: var(--dp-font-display); font-size: clamp(20px, 1.85vw, 25px); line-height: 1.2; letter-spacing: -.035em; }
.home-story__body > span { font-size: 14px; }
.home-story__body small { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(249,250,247,.35); font-size: 12px; }
.home-story__body small span { color: var(--dp-signal); font-size: 26px; }
.home-story:first-child .home-story__type { background: var(--dp-signal); }
.home-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-city { position: relative; min-height: 250px; overflow: hidden; border-radius: var(--dp-radius-card); background: var(--dp-ink); color: var(--dp-surface); text-decoration: none; }
.home-city__count { position: absolute; z-index: 1; top: 18px; left: 18px; border-radius: 99px; padding: 6px 10px; background: var(--dp-surface); color: var(--dp-ink); font-size: 12px; font-weight: 600; }
.home-city__body { position: absolute; z-index: 1; bottom: 22px; left: 22px; right: 65px; display: grid; gap: 7px; }
.home-city__body strong { font-family: var(--dp-font-display); font-size: clamp(20px, 2vw, 27px); letter-spacing: -.04em; line-height: 1.2; }
.home-city__body > span { font-size: 14px; }
.home-city__arrow { position: absolute; z-index: 1; bottom: 22px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--dp-surface); border-radius: 50%; font-size: 22px; }
.home-swipe-invite { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; padding: clamp(24px, 4vw, 52px); border-radius: var(--dp-radius-card); background: var(--dp-primary-strong); color: var(--dp-surface); }
.home-swipe-invite h2 { font-size: clamp(27px, 3.2vw, 42px); }
.home-swipe-invite > div > p { max-width: 470px; margin: 18px 0 24px; font-size: 16px; }
.home-gesture-guide { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.home-gesture-guide li { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid rgba(249,250,247,.3); border-radius: var(--dp-radius-panel); }
.home-gesture-guide li > span { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; border: 1px solid var(--dp-surface); font-size: 25px; }
.home-gesture-guide li:nth-child(2) > span { background: var(--dp-surface); color: var(--dp-primary-strong); }
.home-gesture-guide li:last-child > span { background: var(--dp-signal); color: var(--dp-ink); border-color: var(--dp-signal); }
.home-gesture-guide strong { font-size: 16px; }
.home-gesture-guide p { margin: 4px 0 0; font-size: 13px; }
.home-budgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 14px; }
.home-budget { display: grid; gap: 22px; padding: 22px; border: 1px solid var(--dp-line); border-radius: var(--dp-radius-panel); background: var(--dp-surface); text-decoration: none; transition: transform .2s ease; }
.home-budget > span { color: var(--dp-muted); font-size: 12px; }
.home-budget strong { font-family: var(--dp-font-display); font-size: 22px; letter-spacing: -.04em; line-height: 1.3; }
.home-budget small { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.home-budget small > span { font-size: 23px; }
.home-budget:hover { border-color: var(--dp-ink); transform: translateY(-4px); }
.home-budget:nth-child(2) { background: var(--dp-signal); border-color: var(--dp-ink); }
.home-budget:nth-child(2) > span { color: var(--dp-ink); }
.home-metro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding: clamp(24px, 4vw, 48px); border: var(--dp-panel-border); border-radius: var(--dp-radius-card); background: var(--dp-surface); }
.home-metro p { color: var(--dp-muted); font-size: 14px; }
.home-metro__symbol { display: block; margin-top: 30px; font-family: var(--dp-font-display); font-size: 70px; line-height: 1; color: var(--dp-primary-strong); }
.home-metro__list { display: grid; align-content: center; }
.home-metro__list a { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 12px 0; border-bottom: var(--dp-panel-border); text-decoration: none; }
.home-metro__list a:last-child { border-bottom: 0; }
.home-metro__list a:hover { color: var(--dp-primary-strong); }
.home-metro__dot { flex: 0 0 14px; height: 14px; border: 3px solid var(--dp-primary); border-radius: 50%; }
.home-metro__list small { display: block; margin-top: 3px; font-size: 12px; color: var(--dp-muted); }
.home-metro__list a > span:last-child { margin-left: auto; font-size: 22px; }
.home-journal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-article { min-width: 0; text-decoration: none; }
.home-article__media { display: grid; place-items: center; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--dp-radius-panel); background: var(--dp-primary-strong); color: var(--dp-surface); font-family: var(--dp-font-display); font-size: 30px; }
.home-article__media img { width: 100%; height: 100%; object-fit: cover; }
.home-article time { display: block; margin-top: 16px; color: var(--dp-muted); font-size: 12px; }
.home-article h3 { margin: 8px 0; font-size: 21px; line-height: 1.3; }
.home-article p { color: var(--dp-muted); font-size: 14px; }
.home-article:hover h3 { color: var(--dp-primary-strong); text-decoration: underline; text-underline-offset: 4px; }
.home-help { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.home-help h2 { margin-bottom: 18px; }
.home-faq details { border-bottom: var(--dp-panel-border); }
.home-faq summary { position: relative; min-height: 64px; padding: 20px 34px 20px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--dp-primary-strong); }
.home-faq details[open] summary::after { content: '−'; }
.home-faq summary:hover { color: var(--dp-primary-strong); }
.home-faq p { margin: 0; padding-bottom: 20px; color: var(--dp-muted); font-size: 15px; }
.home-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding: clamp(24px, 4vw, 48px); background: var(--dp-signal); border: 1px solid var(--dp-ink); border-radius: var(--dp-radius-card); box-shadow: 8px 8px 0 var(--dp-ink); }
.home-contact p { max-width: 450px; }
.home-contact .home-text-link { font-size: 14px; }
.home-contact__form { padding: 24px; border: var(--dp-panel-border); border-radius: var(--dp-radius-panel); background: var(--dp-surface); }
.home-contact .lead-form { display: grid; gap: 14px; }
.home-contact .form-group { display: grid; gap: 6px; }
.home-contact .lead-form input { width: 100%; min-width: 0; }
.home-contact .lead-form .btn { width: 100%; }

@media (max-width: 1100px) {
    .home-hero__grid { gap: 24px; }
    .home-start { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-start__intro { grid-column: 1 / -1; }
    .home-start .btn { grid-column: 1 / -1; }
    .home-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-story { min-height: 330px; }
    .home-hero__sticker { right: 0; font-size: 13px; }
    .home-swipe-invite, .home-metro, .home-contact { gap: 30px; }
}
@media (min-width: 981px) and (max-width: 1320px) {
    .home-portal [id] { scroll-margin-top: 160px; }
}
@media (max-width: 760px) {
    .home-hero { padding-top: 30px; }
    .home-hero__grid { grid-template-columns: 1fr; gap: 24px; }
    .home-hero__copy { max-width: 570px; }
    .home-hero h1 { font-size: clamp(33px, 6.3vw, 48px); }
    .home-hero__visual { width: min(100%, 400px); margin-inline: auto; padding: 12px 32px 32px; }
    .home-photo-stack { max-width: 280px; aspect-ratio: 4 / 4.3; }
    .home-hero__visual::before { inset: 20% -2% 3% 5%; }
    .home-hero__sticker { bottom: 5px; padding: 12px 16px; }
    .home-pulse { justify-content: flex-start; gap: 8px 20px; }
    .home-pulse > span { display: none; }
    .home-section { padding-block: 30px; }
    .home-section__head { flex-wrap: wrap; gap: 12px; }
    .home-section__head > p { max-width: none; }
    .home-section__head > p br { display: none; }
    .home-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-swipe-invite, .home-metro, .home-help, .home-contact { grid-template-columns: 1fr; gap: 26px; }
    .home-metro__symbol { display: none; }
    .home-journal { grid-template-columns: 1fr; }
    .home-article { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 16px; align-content: start; }
    .home-article__media { grid-row: span 3; aspect-ratio: 1; font-size: 18px; }
    .home-article time { margin-top: 0; }
    .home-article h3 { margin: 0; font-size: 17px; }
    .home-article p { margin: 0; }
}
@media (max-width: 480px) {
    .home-start { grid-template-columns: 1fr 1fr; padding: 18px; gap: 14px; }
    .home-start__field:nth-of-type(2) { grid-column: 1 / -1; }
    .home-start__intro { grid-column: 1 / -1; }
    .home-hero__actions { gap: 12px; }
    .home-hero__note { max-width: 290px; }
    .home-stories, .home-cities { grid-template-columns: 1fr; }
    .home-story { min-height: 300px; }
    .home-story__body strong { font-size: 26px; }
    .home-city { min-height: 220px; }
    .home-budgets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .home-budget { padding: 16px; gap: 18px; }
    .home-budget strong { font-size: 19px; }
    .home-budget > span { font-size: 11px; }
    .home-gesture-guide li { padding: 14px; gap: 12px; }
    .home-gesture-guide li > span { flex-basis: 40px; height: 40px; }
    .home-contact__form { padding: 18px; }
    .home-article { grid-template-columns: 100px minmax(0, 1fr); }
    .home-article p { grid-column: 1 / -1; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-portal *, .home-portal *::before, .home-portal *::after { transition: none; animation: none; }
}
@media (forced-colors: active) {
    .home-story, .home-city, .home-photo-stack__front { border: 2px solid CanvasText; }
    .home-story__body, .home-city__body, .home-photo-stack__caption { background: Canvas; color: CanvasText; }
}
