/* =============================================================================
   choyens.com — home (2026-10-12)
   =============================================================================
   One brand, three products: the Open Play app (app.choyens.com), Court
   Booking (venue.choyens.com) and Tournaments (play.choyens.com). Every class
   here is prefixed hm- so main.css (nav, footer, contact, store badges — shared
   with every subpage) keeps doing its job untouched.

   Design notes: Espresso × Sand palette from theme.css; dark hero with a
   grain, paper sections; one italic accent word per headline (the brand's
   type treatment); generous space; illustrations are inline SVG so they stay
   sharp and cost no requests.
   ===========================================================================*/

:root {
  --hm-ink: #1a0e0b;
  --hm-espresso: #2a1612;
  --hm-court: #2f5d4f;
  --hm-court-dark: #244a3f;
  --hm-line: #f7e8cf;
  --hm-paper: #faf6f0;
  --hm-paper-2: #f3ebdf;
  --hm-gold: #f4c430;
  --hm-teal: #4db6ac;
  --hm-blue: #42a5f5;
  --hm-green: #66bb6a;
  --hm-purple: #7e57c2;
  --hm-orange: #ff9800;
  --hm-red: #ef5350;
}

/* ─── Atoms ───────────────────────────────────────────────────────────── */
.hm-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); position: relative; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-dark); }
.hm-dark .hm-eyebrow { color: var(--accent); }
.hm-h1 { margin: 18px 0 0; font-size: clamp(40px, 7vw, 86px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; color: #fff; }
.hm-h2 { margin: 14px 0 0; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; color: var(--primary); }
.hm-dark .hm-h2 { color: #fff; }
.hm-h1 em, .hm-h2 em { font-style: italic; color: var(--accent); }
.hm-paper .hm-h2 em, .hm-light .hm-h2 em { color: var(--primary-light); }
.hm-lead { margin: 16px 0 0; max-width: 600px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--text-secondary); }
.hm-dark .hm-lead { color: rgba(253, 245, 234, 0.72); }
.hm-center { text-align: center; margin-left: auto; margin-right: auto; }
.hm-sec { position: relative; padding: clamp(64px, 9vw, 128px) 0; }
.hm-dark { background: linear-gradient(180deg, var(--hm-ink), var(--hm-espresso)); color: #fff; }
.hm-paper { background: var(--hm-paper); }
.hm-light { background: #fff; }

.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15px; white-space: nowrap; transition: transform .25s var(--easing), background .25s var(--easing), box-shadow .25s var(--easing); }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn-sand { background: var(--accent); color: var(--primary); box-shadow: 0 12px 30px -12px rgba(242, 206, 152, 0.7); }
.hm-btn-sand:hover { background: var(--accent-light); }
.hm-btn-maroon { background: var(--primary); color: #fff; box-shadow: 0 14px 30px -14px rgba(78, 34, 28, 0.6); }
.hm-btn-maroon:hover { background: var(--primary-light); }
.hm-btn-ghost { background: rgba(253, 245, 234, 0.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(242, 206, 152, 0.3); }
.hm-btn-ghost:hover { background: rgba(253, 245, 234, 0.12); }
.hm-btn-outline { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1.5px rgba(78, 34, 28, 0.18); }
.hm-btn-outline:hover { box-shadow: inset 0 0 0 1.5px rgba(78, 34, 28, 0.4); }
.hm-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--primary); }
.hm-link i { transition: transform .25s var(--easing); }
.hm-link:hover i { transform: translateX(3px); }
.hm-dark .hm-link { color: var(--accent); }

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hm-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(96px, 14vw, 160px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(70% 55% at 90% 0%, rgba(242, 206, 152, 0.16), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(107, 52, 40, 0.6), transparent 65%),
    linear-gradient(180deg, #1f110d 0%, #2a1612 100%); }
.hm-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background-image: radial-gradient(rgba(242, 206, 152, 0.2) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 20%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 70% 20%, #000, transparent 75%); }
.hm-hero-top { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hm-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 9px; border-radius: 999px; background: rgba(253, 245, 234, 0.07); box-shadow: inset 0 0 0 1px rgba(242, 206, 152, 0.24); font-size: 13px; font-weight: 700; color: rgba(253, 245, 234, 0.86); }
.hm-pill b { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--primary); border-radius: 999px; padding: 4px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hm-hero .hm-lead { margin-left: auto; margin-right: auto; max-width: 680px; font-size: clamp(16.5px, 1.6vw, 20px); color: rgba(253, 245, 234, 0.74); }
.hm-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* The three doors */
.hm-doors { position: relative; margin-top: clamp(44px, 6vw, 76px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 960px) { .hm-doors { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.hm-door { position: relative; display: flex; flex-direction: column; border-radius: 30px; padding: clamp(18px, 2.2vw, 26px); color: var(--text); background: #fff;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(78, 34, 28, 0.06);
  transition: transform .4s var(--easing), box-shadow .4s var(--easing); overflow: hidden; }
.hm-door:hover { transform: translateY(-6px); box-shadow: 0 70px 100px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(78, 34, 28, 0.1); }
.hm-door-tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-light); background: var(--hm-paper-2); border-radius: 999px; padding: 6px 11px; }
.hm-door-tag i { font-size: 11px; }
.hm-door-art { margin: 16px -4px 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #f8ecdb, #efdcc0); }
.hm-door-art svg { width: 100%; height: 100%; display: block; }
.hm-door h3 { margin: 18px 0 0; font-size: 22px; letter-spacing: -0.02em; color: var(--primary); }
.hm-door p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); flex: 1; }
.hm-door-for { margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--accent-dark); }
.hm-door-cta { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hm-door-cta small { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.hm-door-url { font-size: 12px; color: var(--text-muted); font-weight: 700; letter-spacing: .02em; }

/* Floating stickers */
.hm-sticker { position: absolute; width: 72px; height: 72px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); animation: hm-float 7s ease-in-out infinite; pointer-events: none; }
.hm-sticker svg { width: 100%; height: 100%; display: block; }
.hm-sticker-a { left: -28px; top: -30px; animation-delay: -2s; }
.hm-sticker-b { right: -26px; top: -34px; width: 64px; height: 64px; animation-delay: -4s; }
.hm-sticker-c { right: 31.5%; bottom: -22px; width: 56px; height: 56px; animation-delay: -1s; }
@media (max-width: 960px) { .hm-sticker { display: none; } }
@keyframes hm-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(5deg); } }

/* ─── Journey ─────────────────────────────────────────────────────────── */
.hm-journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); position: relative; }
@media (max-width: 900px) { .hm-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hm-journey { grid-template-columns: 1fr; } }
.hm-stop { position: relative; border-radius: 26px; background: #fff; padding: 22px 20px 20px; box-shadow: 0 30px 60px -46px rgba(78, 34, 28, 0.6), inset 0 0 0 1px rgba(78, 34, 28, 0.07); }
.hm-stop-n { position: absolute; top: -13px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--accent); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px -10px rgba(78, 34, 28, 0.8); }
.hm-stop-art { height: 92px; display: flex; align-items: center; justify-content: center; }
.hm-stop-art svg { height: 86px; width: auto; }
.hm-stop h3 { margin: 10px 0 0; font-size: 17px; letter-spacing: -0.01em; color: var(--primary); }
.hm-stop p { margin: 5px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.hm-stop-prod { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }

/* ─── Product sections ────────────────────────────────────────────────── */
.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.hm-split.rev > :first-child { order: 2; }
@media (max-width: 920px) { .hm-split, .hm-split.rev { grid-template-columns: 1fr; } .hm-split.rev > :first-child { order: 0; } }
.hm-prod-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.hm-prod-tag span { display: inline-flex; width: 24px; height: 24px; border-radius: 8px; align-items: center; justify-content: center; font-size: 11px; }
.hm-prod-tag.app { background: rgba(47, 93, 79, 0.1); color: var(--hm-court-dark); } .hm-prod-tag.app span { background: var(--hm-court); color: #fff; }
.hm-prod-tag.venue { background: rgba(196, 154, 108, 0.16); color: #7a5431; } .hm-prod-tag.venue span { background: var(--accent-dark); color: #fff; }
.hm-prod-tag.play { background: rgba(78, 34, 28, 0.09); color: var(--primary); } .hm-prod-tag.play span { background: var(--primary); color: var(--accent); }
.hm-dark .hm-prod-tag.app { background: rgba(77, 182, 172, 0.14); color: #9fe0d8; }
.hm-points { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.hm-points li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.hm-ico { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(78, 34, 28, 0.07); color: var(--primary); font-size: 17px; }
.hm-dark .hm-ico { background: rgba(242, 206, 152, 0.12); color: var(--accent); }
.hm-points b { display: block; font-size: 16px; letter-spacing: -0.01em; color: var(--primary); }
.hm-dark .hm-points b { color: #fff; }
.hm-points p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
.hm-dark .hm-points p { color: rgba(253, 245, 234, 0.66); }
.hm-prod-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.hm-prod-note { width: 100%; margin-top: 2px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.hm-dark .hm-prod-note { color: rgba(253, 245, 234, 0.5); }
.hm-art { position: relative; border-radius: 34px; padding: clamp(18px, 3vw, 34px); background: #fff; box-shadow: 0 50px 90px -50px rgba(78, 34, 28, 0.55), inset 0 0 0 1px rgba(78, 34, 28, 0.07); }
.hm-art svg { width: 100%; height: auto; display: block; }
.hm-dark .hm-art { background: radial-gradient(80% 70% at 50% 0%, rgba(242, 206, 152, 0.1), transparent 70%), #2c1612; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(242, 206, 152, 0.14); }
.hm-art-push { position: absolute; right: -8px; bottom: -22px; width: 262px; border-radius: 18px; padding: 12px 14px; background: rgba(253, 248, 240, 0.98); color: var(--text); box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.6); animation: hm-float 8s ease-in-out infinite; }
.hm-art-push-h { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--text-muted); }
.hm-art-push-h img { width: 18px; height: 18px; border-radius: 6px; }
.hm-art-push-h em { margin-left: auto; font-style: normal; font-weight: 600; letter-spacing: 0; }
.hm-art-push b { display: block; margin-top: 6px; font-size: 14px; color: var(--primary); }
.hm-art-push p { margin: 2px 0 0; font-size: 12.5px; color: var(--text-secondary); line-height: 1.4; }
@media (max-width: 920px) { .hm-art-push { right: 8px; bottom: -16px; animation: none; } }

/* ─── Sports strip ────────────────────────────────────────────────────── */
.hm-sports { border-top: 1px solid rgba(78, 34, 28, 0.08); border-bottom: 1px solid rgba(78, 34, 28, 0.08); background: #fff; }
.hm-sports-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; padding: 22px 0; }
.hm-sports-in > span:first-child { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.hm-sport { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--primary); }
.hm-sport i { font-size: 21px; color: var(--accent-dark); }
.hm-sports-more { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* ─── Explore directories ─────────────────────────────────────────────── */
.hm-explore { margin-top: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .hm-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hm-explore { grid-template-columns: 1fr; } }
.hm-dir { display: flex; flex-direction: column; gap: 10px; border-radius: 24px; padding: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(78, 34, 28, 0.08); transition: transform .3s var(--easing), box-shadow .3s var(--easing); min-height: 150px; }
.hm-dir:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(78, 34, 28, 0.6), inset 0 0 0 1px rgba(78, 34, 28, 0.12); }
.hm-dir .hm-ico { width: 40px; height: 40px; }
.hm-dir b { font-size: 17px; letter-spacing: -0.01em; color: var(--primary); }
.hm-dir p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); flex: 1; }
.hm-dir span { font-size: 13px; font-weight: 800; color: var(--primary); }

/* ─── Choose your Choyens ─────────────────────────────────────────────── */
.hm-choose { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .hm-choose { grid-template-columns: 1fr; } }
.hm-choice { border-radius: 28px; padding: 26px 24px; background: rgba(253, 245, 234, 0.05); box-shadow: inset 0 0 0 1px rgba(242, 206, 152, 0.16); display: flex; flex-direction: column; gap: 10px; }
.hm-choice .hm-ico { width: 46px; height: 46px; border-radius: 14px; }
.hm-choice b { font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.hm-choice p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(253, 245, 234, 0.68); flex: 1; }
.hm-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-store { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 14px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); transition: transform .25s var(--easing); }
.hm-store:hover { transform: translateY(-2px); }
.hm-store i { font-size: 22px; }
.hm-store span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.hm-store small { font-size: 10px; opacity: .8; }
.hm-store strong { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }

/* ─── Reveal ──────────────────────────────────────────────────────────── */
.hm-r { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--easing), transform .8s var(--easing); }
.hm-r.hm-in { opacity: 1; transform: none; }
.hm-r.d1 { transition-delay: .08s; } .hm-r.d2 { transition-delay: .16s; } .hm-r.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .hm-r { opacity: 1; transform: none; transition: none; } .hm-sticker, .hm-art-push { animation: none; } }

/* main.css gives the nav white text on a dark hero and flips it once
   .scrolled is set (home.js). The home's nav CTA keeps the sand pill. */
.hm-page .nav-menu .nav-menu-cta { background: var(--accent); color: var(--primary); }

/* phone: the hero pill stacks its badge above the text instead of wrapping mid-line */
@media (max-width: 520px) {
  .hm-pill { flex-direction: column; gap: 6px; padding: 10px 16px; border-radius: 20px; font-size: 12.5px; text-align: center; }
  .hm-h1 { font-size: clamp(36px, 11vw, 46px); }
}

/* ─── Courts strip (2026-10-12: "not exclusively badminton — pickleball, tennis, ping pong too") ── */
.hm-courts { padding: clamp(40px, 6vw, 72px) 0; background: var(--hm-paper-2); border-top: 1px solid rgba(78, 34, 28, 0.06); border-bottom: 1px solid rgba(78, 34, 28, 0.06); }
.hm-courts-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .hm-courts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.hm-courtcard { margin: 0; border-radius: 22px; padding: 12px 12px 10px; background: #fff; box-shadow: 0 24px 50px -40px rgba(78, 34, 28, 0.6), inset 0 0 0 1px rgba(78, 34, 28, 0.07); transition: transform .3s var(--easing); }
.hm-courtcard:hover { transform: translateY(-4px); }
.hm-courtcard svg { width: 100%; height: auto; display: block; border-radius: 12px; }
.hm-courtcard figcaption { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800; font-size: 14px; color: var(--primary); }
.hm-courtcard figcaption i { font-size: 18px; color: var(--accent-dark); }
.hm-courts-more { margin: 18px auto 0; max-width: 620px; text-align: center; font-size: 14px; color: var(--text-secondary); }
.hm-courts-more b { color: var(--primary); font-weight: 700; }

/* ─── Three, said plainly (2026-10-12: "not clear that there are 3 services") ──
   One colour per product, used everywhere that product appears. */
:root { --p-app: #2f5d4f; --p-app-soft: rgba(47, 93, 79, 0.12); --p-venue: #b9833f; --p-venue-soft: rgba(196, 154, 108, 0.18); --p-play: #6b3428; --p-play-soft: rgba(107, 52, 40, 0.12); }
[data-p="app"] { --p: var(--p-app); --p-soft: var(--p-app-soft); }
[data-p="venue"] { --p: var(--p-venue); --p-soft: var(--p-venue-soft); }
[data-p="play"] { --p: var(--p-play); --p-soft: var(--p-play-soft); }
.hm-hero .hm-lead b { color: #fff; font-weight: 700; }

/* the index under the headline: three tiles that fit one phone screen */
.hm-trio { margin: 26px auto 0; max-width: 720px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hm-trio-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 10px 14px; border-radius: 20px; background: rgba(253, 245, 234, 0.06); box-shadow: inset 0 0 0 1px rgba(242, 206, 152, 0.18); transition: transform .3s var(--easing), background .3s var(--easing); min-height: 44px; }
.hm-trio-item:hover { transform: translateY(-3px); background: rgba(253, 245, 234, 0.1); }
.hm-trio-item i { width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; background: var(--p); }
.hm-trio-item b { font-size: 14px; letter-spacing: -0.01em; color: #fff; line-height: 1.2; }
.hm-trio-item small { font-size: 11.5px; font-weight: 600; color: rgba(253, 245, 234, 0.6); }
.hm-trio-num { position: absolute; top: 8px; left: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: var(--accent); opacity: .9; }
@media (max-width: 420px) { .hm-trio { gap: 8px; } .hm-trio-item { padding: 14px 6px 12px; border-radius: 16px; } .hm-trio-item b { font-size: 12.5px; } .hm-trio-item small { font-size: 10.5px; } .hm-trio-item i { width: 36px; height: 36px; font-size: 15px; } }

/* doors: numbered, colour-coded, shorter on phones */
.hm-door-tag { background: var(--p-soft); color: var(--p); }
.hm-door-num { font-weight: 800; letter-spacing: .06em; padding-right: 6px; margin-right: 2px; border-right: 1px solid currentColor; opacity: .85; }
.hm-door[data-p] .hm-door-art { background: linear-gradient(160deg, #f8ecdb, #efdcc0); box-shadow: inset 0 0 0 2px var(--p-soft); }
.hm-door-for { color: var(--p); }
@media (max-width: 960px) { .hm-door-art { aspect-ratio: 16 / 8.5; } .hm-door p { font-size: 14px; } .hm-door { padding: 16px; border-radius: 24px; } }

/* product sections: a big numeral, the product's colour, the audience line */
.hm-prod-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-bottom: 16px; }
.hm-num { font-size: clamp(34px, 4vw, 48px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--p); opacity: .9; }
.hm-dark .hm-num { color: var(--accent); }
.hm-prod-for { margin: 8px 0 0; font-size: 13.5px; font-weight: 700; color: var(--p); }
.hm-dark .hm-prod-for { color: #9fe0d8; }
.hm-prod .hm-ico { background: var(--p-soft); color: var(--p); }
.hm-dark.hm-prod .hm-ico { background: rgba(159, 224, 216, 0.14); color: #9fe0d8; }

/* ─── Hero: the flipping word (owner, 2026-10-12: "a flipping Open Play /
   Court Booking / Tournament") ─────────────────────────────────────────── */
.hm-h1-line { display: block; }
.hm-flip { position: relative; display: inline-block; vertical-align: top; }
.hm-flip-sizer { visibility: hidden; display: inline-block; white-space: nowrap; }
.hm-flip-word { position: absolute; left: 0; top: 0; white-space: nowrap; font-style: italic; color: var(--accent); opacity: 0; transform: translateY(0.55em) rotateX(-40deg); transform-origin: 50% 100%; transition: opacity .55s var(--easing), transform .65s var(--easing); will-change: transform, opacity; }
.hm-flip-word.is-on { opacity: 1; transform: none; }
.hm-flip-word.is-out { opacity: 0; transform: translateY(-0.5em) rotateX(40deg); }
.hm-flip-word[data-p="app"] { color: #9fe0d8; }
.hm-flip-word[data-p="venue"] { color: var(--accent); }
.hm-flip-word[data-p="play"] { color: var(--hm-gold); }
.hm-flip { perspective: 600px; }
.hm-trio-item.is-on { background: rgba(253, 245, 234, 0.12); box-shadow: inset 0 0 0 2px var(--p), 0 18px 40px -24px rgba(0, 0, 0, 0.8); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .hm-flip-word { transition: none; } }
@media (max-width: 520px) { .hm-h1 { font-size: clamp(34px, 10.4vw, 44px); line-height: 1.04; } }

/* ─── Offers section: the doors, with each product's colour bar ─────────── */
.hm-offers .hm-doors { margin-top: clamp(28px, 4vw, 44px); }
.hm-door { border-top: 6px solid var(--p); }
.hm-offers .hm-sticker { filter: drop-shadow(0 14px 22px rgba(78, 34, 28, 0.35)); }

/* ─── Each product on its own background ────────────────────────────────── */
.hm-sand { background: linear-gradient(180deg, #fbf3e6 0%, #f3e4cf 100%); }
.hm-maroon { background: radial-gradient(70% 60% at 100% 0%, rgba(244, 196, 48, 0.12), transparent 60%), linear-gradient(180deg, #4e221c 0%, #3a160f 100%); }
.hm-maroon .hm-art { background: #fff; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(242, 206, 152, 0.2); }
.hm-maroon .hm-num, .hm-maroon .hm-prod-for, .hm-maroon .hm-h2 em, .hm-maroon .hm-link { color: var(--hm-gold); }
.hm-maroon .hm-ico { background: rgba(244, 196, 48, 0.14); color: var(--hm-gold); }
.hm-maroon .hm-btn-maroon { background: var(--hm-gold); color: var(--primary); box-shadow: 0 14px 30px -14px rgba(244, 196, 48, 0.6); }
.hm-maroon .hm-btn-maroon:hover { background: #f8d35c; }
.hm-prod-head { grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: clamp(26px, 4vw, 44px); padding-bottom: clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--p-soft); }
.hm-dark .hm-prod-head { border-bottom-color: rgba(242, 206, 152, 0.16); }
.hm-num { font-size: clamp(44px, 6vw, 76px); opacity: 1; }
.hm-prod-kind { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--p); }
.hm-dark .hm-prod-kind { color: var(--accent); }
.hm-prod-title { margin: 4px 0 0; font-size: clamp(28px, 4.2vw, 50px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; color: var(--primary); }
.hm-dark .hm-prod-title { color: #fff; }
.hm-prod-for { margin-top: 8px; }
.hm-h3 { font-size: clamp(26px, 3.4vw, 40px); }
.hm-sand .hm-h2 em { color: var(--p-venue); }
.hm-sand .hm-link, .hm-sand .hm-prod-for, .hm-sand .hm-num { color: #9a6a2a; }
.hm-sand .hm-ico { background: rgba(185, 131, 63, 0.14); color: #9a6a2a; }

/* ─── Phone pass (owner: "responsive — text, elements and components") ──── */
@media (max-width: 520px) {
  .hm-sec { padding: 56px 0; }
  .hm-h2 { font-size: clamp(28px, 8.6vw, 38px); }
  .hm-h3 { font-size: clamp(24px, 7.2vw, 30px); }
  .hm-lead { font-size: 15.5px; }
  .hm-hero { padding-top: 84px; }
  .hm-hero-cta { flex-direction: column; align-items: stretch; }
  .hm-hero-cta .hm-btn { width: 100%; }
  .hm-prod-head { gap: 12px; margin-bottom: 22px; }
  .hm-num { font-size: 36px; }
  .hm-prod-title { font-size: clamp(26px, 8vw, 34px); }
  .hm-prod-for { font-size: 12.5px; }
  .hm-points { gap: 12px; }
  .hm-points li { grid-template-columns: 36px 1fr; gap: 11px; }
  .hm-ico { width: 36px; height: 36px; border-radius: 11px; font-size: 15px; }
  .hm-points b { font-size: 15px; } .hm-points p { font-size: 13.5px; }
  .hm-prod-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hm-prod-cta .hm-btn { width: 100%; }
  .hm-prod-cta .hm-link { justify-content: center; }
  .hm-stores { justify-content: center; }
  .hm-store { flex: 1 1 calc(50% - 5px); justify-content: center; padding: 0 10px; }
  .hm-art { padding: 14px; border-radius: 24px; }
  .hm-art-push { width: 228px; right: 6px; bottom: -14px; padding: 10px 12px; }
  .hm-door { padding: 16px; }
  .hm-door h3 { font-size: 20px; }
  .hm-stop { padding: 20px 16px 18px; }
  .hm-choice { padding: 22px 18px; }
  .hm-choice b { font-size: 18px; }
  .hm-choice .hm-btn { width: 100%; }
  .hm-dir { padding: 16px; min-height: 0; }
  .hm-courts { padding: 40px 0; }
  .hm-pill { font-size: 12px; }
}
