/* Homepage editorial rhythm. Shared brand tokens remain in styles.css. */
.home-layout { --home-width: 1160px; --home-gap: clamp(28px, 4vw, 56px); }
.home-layout main > .section { padding-block: clamp(56px, 6vw, 88px); scroll-margin-top: 90px; }
.home-layout .section-inner { max-width: var(--home-width); }
.home-layout .section-head { display: block; margin-bottom: 32px; }
.home-layout .section-head::after { display: none; }
.home-layout .section-head .kicker { padding: 0; margin-bottom: 16px; }
.home-layout .display-title { max-width: none; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.18; text-shadow: none; }
.home-layout .accent-word { text-shadow: none; }
.home-layout .featured-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.home-layout .featured-product-media { min-height: 0; display: grid; place-items: center; background: var(--snow); }
.home-layout .featured-product-media img { display: block; width: 100%; height: 100%; max-height: 640px; object-fit: contain; }
.home-layout .featured-product-content { padding: clamp(24px, 3vw, 40px); }
.home-layout .featured-product-content h3 { max-width: none; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.35; text-wrap: pretty; }
.home-layout .featured-tagline { margin-top: 24px; padding-top: 20px; font-size: 20px; line-height: 1.5; }
.home-layout .featured-highlights { margin-top: 20px; gap: 10px; font-size: 14px; }
.home-layout .featured-product-footer { gap: 20px; margin-top: 28px; }
.home-layout .featured-product-footer strong { font-size: 22px; }
.home-layout .featured-product-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-layout .featured-product-actions > * { min-width: 0; font-size: 12px; }
.home-layout .featured-product-slot { margin-bottom: 64px; }
.home-layout .curated-heading { display: block; padding-top: 28px; }
.home-layout .curated-heading h3 { max-width: none; font-size: clamp(28px, 3vw, 38px); line-height: 1.3; }
.home-layout .product-grid { margin-top: 28px; }
.home-layout .collection-link { margin-top: 28px; }
.home-layout .feature { max-width: var(--home-width); margin: 0 auto; padding: 0; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border-radius: 24px; }
.home-layout main > .feature { padding-block: 0; }
.home-layout .feature-film__video { min-height: 0; height: 100%; max-height: 640px; aspect-ratio: 4 / 5; }
.home-layout .feature-copy { min-height: 0; padding: clamp(24px, 4vw, 48px); }
.home-layout .feature-copy .display-title { font-size: clamp(30px, 3.2vw, 44px); }
.home-layout .feature-copy a { gap: 20px; }
.home-layout .journal-card a { grid-template-columns: 110px minmax(0, 1fr) auto; gap: 28px; padding: 28px 0; }
.home-layout .journal-card h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; }
.home-layout .game-invite { max-width: var(--home-width); margin: 0 auto; padding: 56px 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--home-gap); }
.home-layout .game-invite__number { display: none; }
.home-layout .game-invite__copy h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.2; }
.home-layout .game-invite__copy > p:not(.kicker) { max-width: 430px; font-size: 16px; }
.home-layout .game-invite__product { grid-column: 2; width: 100%; max-width: 480px; justify-self: end; }
.home-layout .reel-showcase__head { grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: var(--home-gap); align-items: end; }
.home-layout .reel-showcase__guide { padding: 0; }
.home-layout .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--home-gap); }
@media (max-width: 1200px) {
 .home-layout .feature, .home-layout .game-invite { margin-inline: var(--page-pad); }
}
@media (max-width: 760px) {
 .home-layout .featured-product, .home-layout .feature, .home-layout .contact-grid, .home-layout .reel-showcase__head, .home-layout .game-invite { grid-template-columns: minmax(0, 1fr); }
 .home-layout .featured-product-media { aspect-ratio: auto; }
 .home-layout .featured-product-media img { height: auto; max-height: 460px; }
 .home-layout .featured-product-content h3 { font-size: 26px; }
 .home-layout .featured-product-slot { margin-bottom: 40px; }
 .home-layout .feature-film__video { max-height: 440px; aspect-ratio: 1; }
 .home-layout .feature-copy { grid-column: 1; grid-row: 2; }
 .home-layout .journal-card a { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
 .home-layout .journal-card time { grid-column: 1 / -1; }
 .home-layout .game-invite__product { grid-column: 1; max-width: 420px; }
 .home-layout .contact-grid { gap: 32px; }
}

.home-layout .feature-copy { width: 100%; margin: 0; }
.home-layout .reel-showcase > .section-inner { padding-inline: 0; }
.home-layout .home-film-hero__copy { max-width: 1160px; }
.home-layout .home-film-hero h1 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.18; text-shadow: none; }
.home-layout .store-product-media { aspect-ratio: 1; }
.home-layout .store-product-media img { object-fit: contain; }

@media (max-width: 760px) {
 .home-layout .product-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 88%; overflow-x: auto; overflow-y: hidden; width: 100%; max-width: 100%; margin-inline: 0; padding: 4px 8px 16px 4px; gap: 14px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; contain: inline-size layout paint; }
 .home-layout .store-product-media { max-height: 340px; }
}

.home-layout .reel-showcase > .section-inner { width: calc(100% - 2 * var(--page-pad)); }

.home-layout .product-grid:focus-visible { outline: 2px solid var(--harbor); outline-offset: 4px; }

/* Distinguish the four brand promises with readable titles and soft color panels. */
.home-layout .trust-strip { background: #e2e9df; color: #253b30; gap: 2px; }
.home-layout .trust-item { min-height: 120px; padding: 24px 16px; border: 0; }
.home-layout .trust-item:nth-child(1) { background: #e7edda; }
.home-layout .trust-item:nth-child(2) { background: #d8e7df; }
.home-layout .trust-item:nth-child(3) { background: #efe7d8; }
.home-layout .trust-item:nth-child(4) { background: #dfe7ed; }
.home-layout .trust-item strong { display: block; font-size: 22px; font-weight: 750; line-height: 1.4; letter-spacing: -.025em; }
.home-layout .trust-item span { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #3f5046; opacity: 1; }
@media (max-width: 760px) {
 .home-layout .trust-item { min-height: 112px; padding: 20px 12px; }
 .home-layout .trust-item strong { font-size: 18px; }
 .home-layout .trust-item span { font-size: 13px; }
}

/* Product-led private inquiry, with a quiet white form surface. */
.home-layout #contact { background: var(--harbor); }
.home-layout #contact .contact-grid { align-items: start; gap: clamp(32px,6vw,80px); }
.home-layout #contact .contact-copy { padding-top: 0; }
.home-layout #contact .contact-copy .display-title { font-size: clamp(32px,3.5vw,44px); line-height: 1.3; }
.home-layout #contact .contact-copy > p:not(.kicker) { font-size: 16px; line-height: 1.85; }
.home-layout #contact .contact-copy > a { font-size: 14px; }
.home-layout #contact .contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 28px; border: 1px solid var(--color-fog); border-radius: 24px; background: var(--snow); color: var(--ink); }
.home-layout #contact .contact-form > * { grid-column: 1 / -1; min-width: 0; }
.home-layout #contact .contact-form > .field:nth-child(1) { grid-column: 1; }
.home-layout #contact .contact-form > .field:nth-child(2) { grid-column: 2; }
.home-layout #contact .field label { font-size: 13px; margin-bottom: 8px; color: var(--ink); }
.home-layout #contact .field input, .home-layout #contact .field select, .home-layout #contact .field textarea { padding: 12px 14px; min-height: 48px; font-size: 15px; border: 1px solid var(--color-fog); border-radius: 12px; background: var(--cream); color: var(--ink); }
.home-layout #contact .field textarea { min-height: 140px; height: 140px; }
.home-layout #contact .field-error, .home-layout #contact .form-status { font-size: 12px; color: var(--ink); }
.home-layout #contact .field-error:empty, .home-layout #contact .form-status:empty { display: none; }
.home-layout #contact .consent-field label { font-size: 12px; line-height: 1.7; }
.home-layout #contact .contact-form button { padding: 14px 18px; min-height: 50px; border: 0; border-radius: 12px; background: var(--harbor); color: white; font-size: 14px; }
@media(max-width:760px) {
 .home-layout #contact { background-position: 38% center; }
 .home-layout #contact .contact-copy { padding: 0; }
 .home-layout #contact .contact-form { padding: 22px; grid-template-columns: minmax(0,1fr); }
 .home-layout #contact .contact-form > .field:nth-child(2) { grid-column: 1; }
}

.home-layout #contact .inquiry-product-photo { margin: 24px 0 0; overflow: hidden; border-radius: 20px; background: #e8e5dc; }
.home-layout #contact .inquiry-product-photo img { display: block; width: 100%; height: 360px; object-fit: contain; }
.home-layout #contact .inquiry-product-photo figcaption { padding: 10px 16px; background: var(--cream); color: var(--harbor); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
@media(max-width:760px) { .home-layout #contact .inquiry-product-photo img { height: 340px; } }

/* Shared row height: photo fills the space below the copy, without cropping. */
@media(min-width:761px) {
 .home-layout #contact .contact-grid { align-items: stretch; }
 .home-layout #contact .contact-copy { display: flex; flex-direction: column; min-width: 0; }
 .home-layout #contact .contact-copy > a { align-self: start; }
 .home-layout #contact .inquiry-product-photo { position: relative; flex: 1; min-height: 250px; }
 .home-layout #contact .inquiry-product-photo img { position: absolute; inset: 0 0 36px; height: calc(100% - 36px); }
 .home-layout #contact .inquiry-product-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; height: 36px; }
 .home-layout #contact .contact-form { align-content: start; }
}
