/* Product facts and a landing-page illustration of the real investigation board. */
.friends-page .button, .corporate-page .button { min-height: 50px; background: #b94e24; font-size: 15px; }
.friends-page .button:hover, .corporate-page .button:hover { background: #aa421e; }
.friends-page .button-small, .corporate-page .button-small { min-height: 44px; padding-inline: 20px; font-size: 13px; }
.header-inner nav { gap: 20px; }
.friends-page .hero-content > * { animation: none; }
.hero-eyebrow, .product-eyebrow { color: #edb28c; font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.product-facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding: 24px 0 32px; }
.product-facts-list > div { padding: 0 22px; border-right: 1px solid #d6b69a32; }
.product-facts-list > div:first-child { padding-left: 0; }
.product-facts-list > div:last-child { padding-right: 0; border-right: 0; }
.product-facts-list dt { font-size: 25px; font-weight: 700; }
.product-facts-list dd { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.friends-page .steps p, .friends-page .faq-grid details p { font-size: 15px; }
.friends-page .faq-grid summary { font-size: 15px; }

.case-section { padding: 72px 0; }
.case-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-card { display: flex; flex-direction: column; min-width: 0; padding: 14px; border: 1px solid #d6b69a32; border-radius: 14px; background: linear-gradient(150deg, #231a14, #17110e); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.case-card-cover { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 8px; background: #0c0908; }
.case-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card-duration { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #d6b69a45; border-radius: 999px; background: #17110ee6; color: #fff0d9; font-size: 13px; line-height: 1.2; font-weight: 700; }
.case-card-duration svg { flex: none; color: #edb28c; }
.case-card-difficulty { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 35px 16px 14px; background: linear-gradient(transparent, #0c0908e6); color: #fff0d9; font-size: 12px; line-height: 1.5; }
.case-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 10px 8px; }
.case-card-kind { margin-bottom: 10px; color: #edb28c; font-size: 10px; line-height: 1.5; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-card h3 { margin-bottom: 12px; font-size: 23px; line-height: 1.25; font-weight: 600; }
.case-card-description { color: var(--muted); font-size: 15px; line-height: 1.7; }
.case-card-footer { margin-top: auto; padding-top: 28px; }
.case-card-price { margin-bottom: 22px; font-size: 23px; line-height: 1.35; font-weight: 700; }
.case-card-price span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; }
.friends-page .case-card .case-card-action,
.friends-page .case-card .case-card-action:hover { width: 100%; padding: 12px 14px; background: #b94e24; box-shadow: none; transform: none; cursor: default; }
.friends-page .case-card-upcoming .case-card-action,
.friends-page .case-card-upcoming .case-card-action:hover { border: 1px solid #715847; background: #332720; color: #d7c7b8; font-size: 13px; letter-spacing: .08em; }
.case-conditions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.case-conditions .button-unavailable { max-width: 220px; }
.friends-format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.friends-format-grid article { padding: 24px; border: 1px solid #d6b69a32; border-radius: 8px; background: #1a1411; }
.friends-format-grid h3 { margin-bottom: 10px; font-size: 20px; }
.friends-format-grid p { color: var(--muted); font-size: 16px; line-height: 1.75; }
/* Keep the main artwork in color; the two upcoming case covers are monochrome. */
.friends-page .hero-art,
.friends-page .case-card-cover img,
.friends-page .photo-grid img,
.friends-page .game-preview img { filter: none; }
.friends-page .case-card-upcoming .case-card-cover img { filter: grayscale(1); }
.corporate-page .team-hero-visual img,
.corporate-page .team-real-moment img,
.corporate-page .team-format-card > img,
.corporate-page .team-ready-case > img { filter: grayscale(1); }
.friends-page .closing-section .existing-access { margin-top: 20px; }
.difficulty-dots { display: inline-flex; gap: 5px; }
.difficulty-dots i { width: 8px; height: 8px; border-radius: 50%; background: #645246; }
.difficulty-dots i:nth-child(-n+3) { background: #ebaa74; }
.case-price { padding: 24px; border: 1px solid #d6b69a32; border-radius: 8px; background: #0c09084d; }
.case-price h3 { font-size: 17px; }
.case-price .price-note { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.friends-page .case-price .button-unavailable,
.friends-page .case-price .button-unavailable:hover { width: 100%; margin-top: 24px; padding: 10px 8px; border: 1px solid #715847; background: #332720; color: #d7c7b8; font-size: 14px; box-shadow: none; transform: none; cursor: default; }
.product-text-link { display: inline-block; padding: 8px 0; border-bottom: 1px solid #d09366; font-size: 14px; font-weight: 700; }
.product-text-link:hover { color: #f4b085; }

/* Keep the glow inside the section so both edges meet the page background. */
.board-section { padding: 72px 0; background: radial-gradient(ellipse 75% 42% at 30% 50%, #6e42212b, transparent 100%); }
.board-section .section-heading { max-width: 820px; }
.board-section .section-heading .product-eyebrow { margin-top: 0; margin-bottom: 14px; color: #edb28c; font-size: 12px; }
.board-section .section-heading > p:last-child { max-width: 710px; margin: 20px auto 0; font-size: 16px; }
.board-demo { margin: 38px 0 0; }
.board-demo-controls { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.board-demo-controls[hidden] { display: none; }
.board-demo-controls button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px; border: 1px solid #bd947150; border-radius: 8px; background: #1a1411; color: #d7c7b8; font-size: 14px; text-align: left; }
.board-demo-controls button span { color: #e2a36e; font-weight: 800; }
.board-demo-controls button[aria-pressed="true"] { background: #513521; border-color: #dfad7c; color: #fff0d9; }
.board-demo-controls button:hover { border-color: #dfad7c; }
.board-demo-frame { position: relative; isolation: isolate; padding: 20px; }
.board-demo-frame::before { content: ''; position: absolute; z-index: -1; inset: -8% -2%; background: radial-gradient(ellipse at 35% 48%, #d35c2b26, transparent 62%), radial-gradient(ellipse at 70% 54%, #edb28c1f, transparent 60%); filter: blur(28px); pointer-events: none; }
.board-demo-canvas { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 6px; padding: 16px 20px 24px; isolation: isolate; filter: saturate(.5) brightness(.88); }
.board-demo-note { position: relative; z-index: 1; aspect-ratio: 1; padding: 25% 14% 13%; background: var(--demo-note) center / 100% 100% no-repeat; filter: drop-shadow(3px 5px 5px #3a230b65); color: #241f16; transform: rotate(-1deg); }
.board-demo-note:nth-of-type(2) { margin-top: 24px; transform: rotate(1.5deg); }
.board-demo-note:nth-of-type(3) { transform: rotate(-1.5deg); }
.board-demo-note h3 { color: #241f16; font: 700 clamp(18px, 2vw, 24px)/1.18 Georgia, serif; letter-spacing: 0; }
.board-demo-note small { display: block; margin-top: 8px; padding-bottom: 8px; border-bottom: 1px solid #4034244d; color: #403424; font: 13px/1.4 var(--font); }
.board-demo-note p { margin-top: 12px; color: #241f16; font: clamp(15px, 1.65vw, 19px)/1.4 Georgia, serif; }
.board-demo-note .board-demo-compact-copy { display: none; }
.board-demo-note[data-board-item="1"] { --demo-note: url('../assets/board/note-yellow-pinned.webp'); }
.board-demo-note[data-board-item="2"] { --demo-note: url('../assets/board/note-blue-pinned.webp'); }
.board-demo-note[data-board-item="3"] { --demo-note: url('../assets/board/note-green-pinned.webp'); }
.board-demo-anchor { position: absolute; left: 50%; top: 18%; width: 0; height: 0; }
.board-demo-threads { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.board-demo-threads path { fill: none; stroke: #8f2f2a; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(1px 2px 1px #25110580); }
.board-demo-fasteners { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.board-demo-fastener { position: absolute; background: var(--demo-note) center / 100% 100% no-repeat; transform-origin: center; clip-path: polygon(50% 5.6%, 53% 6.4%, 55.2% 8.2%, 56.4% 10.6%, 56.3% 13%, 55.1% 15.3%, 56% 17.4%, 55.7% 19.6%, 54% 21.5%, 51.4% 22.6%, 48.5% 22.6%, 46% 21.7%, 44.5% 20%, 44% 17.7%, 45% 15.2%, 44.7% 13%, 44.8% 10.1%, 46% 7.8%, 48% 6.2%); }
.board-demo [data-board-item].is-board-hidden { visibility: hidden; }
.board-demo-caption { margin-top: 22px; color: #d7c7b8; font-size: 16px; line-height: 1.7; text-align: center; }
.board-demo-caption p { max-width: 710px; margin: 0 auto; }
.board-demo-caption small { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; }
.board-demo-next { display: block; min-height: 44px; margin: 18px auto 0; padding: 10px 18px; border: 1px solid #bd947150; border-radius: 6px; color: #fff0d9; background: #513521; font-size: 14px; }
.board-demo-next[hidden] { display: none; }
.corporate-page .board-section h2 { font-size: clamp(32px, 4.1vw, 50px); }
.corporate-page .board-section .section-heading { margin-bottom: 30px; }

@media (hover: hover) and (pointer: fine) {
  .case-card:hover { transform: translateY(-6px); border-color: #ba805c99; box-shadow: 0 18px 36px #0007, 0 0 30px #b66c3620; }
  .case-card:hover .case-card-cover img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .case-card:hover, .case-card:hover .case-card-cover img { transform: none; }
}

@media (max-width: 950px) {
  .case-catalog { gap: 14px; }
  .case-card { padding: 10px; }
  .case-card-body { padding: 18px 6px 6px; }
  .case-card h3 { font-size: 21px; }
  .case-price { padding: 20px; }
  .case-price .price-note { margin-top: 10px; }
  .board-demo-canvas { padding-inline: 5px; }
  .board-demo-note small { font-size: 11px; }
  .board-demo-note p { font-size: 15px; margin-top: 8px; }
}
@media (max-width: 1100px) {
  .header-inner nav { display: none; }
  .header-inner > .button { margin-left: auto; }
}
@media (max-width: 700px) {
  .hero-eyebrow { font-size: 11px; }
  .product-facts-list { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 20px 0 30px; }
  .product-facts-list > div { padding: 0 0 0 20px; }
  .product-facts-list > div:nth-child(odd) { padding-left: 0; }
  .product-facts-list > div:nth-child(even) { border: 0; }
  .product-facts-list dt { font-size: 23px; }
  .product-facts-list dd { font-size: 13px; }
  .case-section, .board-section { padding: 48px 0; }
  .case-catalog { grid-template-columns: 1fr; gap: 20px; }
  .case-card { padding: 14px; }
  .case-card-body { padding: 22px 10px 8px; }
  .case-card h3 { font-size: 24px; }
  .case-conditions { grid-template-columns: 1fr; gap: 12px; }
  .case-price { padding: 18px 14px; }
  .friends-format-grid { grid-template-columns: 1fr; gap: 12px; }
  .board-demo { margin-top: 28px; }
  .board-demo-controls { gap: 6px; }
  .board-demo-controls button { flex: 1; justify-content: center; padding: 10px 8px; font-size: 12px; gap: 6px; }
  .board-demo-frame { padding: 0; }
  .board-demo-frame::before { inset: 0 -2%; background: radial-gradient(ellipse at 50% 30%, #d35c2b26, transparent 62%), radial-gradient(ellipse at 50% 75%, #edb28c1f, transparent 60%); }
  .board-demo-canvas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 2px; max-width: 424px; margin-inline: auto; padding: 10px 0 12px; }
  .board-demo-note, .board-demo-note:nth-of-type(2), .board-demo-note:nth-of-type(3) { grid-column: span 2; width: 100%; justify-self: center; margin-top: 0; padding: 25% 12% 12%; }
  .board-demo-note:nth-of-type(2) { margin-top: 14px; }
  .board-demo-note:nth-of-type(3) { grid-column: 2 / span 2; }
  .board-demo-note h3 { font-size: clamp(15px, 4.2vw, 20px); line-height: 1.12; }
  .board-demo-note small, .board-demo-note .board-demo-full-copy { display: none; }
  .board-demo-note .board-demo-compact-copy { display: block; font-size: clamp(13px, 3.6vw, 16px); line-height: 1.25; margin-top: 7px; }
  .board-demo-caption { font-size: 15px; text-align: left; }
}
@media (max-width: 380px) {
  .board-demo-controls button { flex-direction: column; gap: 3px; }
}
