/* Dotbunch Brand Showcase — full-screen presentation */
.deck-body { background: #030140; color: #c9c8e8; overflow: hidden; height: 100vh; height: 100dvh; }
.deck { height: 100vh; height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.slide {
  position: relative; min-height: 100vh; min-height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; align-items: center; padding: clamp(72px, 9vh, 110px) clamp(16px, 6vw, 96px) clamp(80px, 10vh, 110px);
  overflow: hidden; isolation: isolate;
  --b1: var(--blue); --b2: var(--navy); --b3: var(--yellow);
}
.slide--light { background: #fff; color: var(--ink-2); }
.slide--soft { background: var(--bg-soft); color: var(--ink-2); }
.slide--navy { background: var(--navy); }
.slide--blue { background: linear-gradient(140deg, var(--blue), var(--navy)); color: #d6dcff; }
.slide--brand { background: linear-gradient(140deg, var(--b1), color-mix(in srgb, var(--b1) 35%, #030140)); color: #fff; }
.slide h1, .slide h2 { color: inherit; }
.slide--light h2, .slide--soft h2, .slide--light h3, .slide--soft h3 { color: var(--ink); }
.slide--navy h2, .slide--blue h2, .slide--navy h3, .slide--blue h3 { color: #fff; }
.slide__inner { width: 100%; max-width: 1240px; margin: 0 auto; }
.slide__num { position: absolute; left: clamp(16px, 6vw, 96px); top: clamp(24px, 4vh, 40px); font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; display: flex; align-items: center; gap: 12px; }
.slide__num::after { content: ""; width: 40px; height: 2px; background: currentColor; opacity: .5; }
.slide__brandmark { position: absolute; right: clamp(16px, 6vw, 96px); top: clamp(20px, 3.6vh, 34px); height: 30px; width: auto; opacity: .9; }
.slide h2.big { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.04; margin-bottom: 18px; }
.slide .kicker { font-family: var(--font-display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; color: var(--yellow); margin-bottom: 18px; display: block; }
.slide--light .kicker, .slide--soft .kicker { color: var(--blue); }
.slide p.sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 56ch; opacity: .9; }

/* cover */
.cover { text-align: left; }
.cover__logo { width: min(420px, 70vw); margin-bottom: clamp(32px, 6vh, 64px); }
.cover h1 { font-size: clamp(2.8rem, 8vw, 7rem); line-height: .98; letter-spacing: -.035em; color: #fff; margin-bottom: 22px; }
.cover h1 em { font-style: normal; color: var(--yellow); }
.cover__meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; font-size: .95rem; }
.cover__meta span { display: flex; align-items: center; gap: 10px; }
.cover__meta span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.slide--blue::before { content: ""; position: absolute; right: -12vw; top: -12vw; width: 50vw; height: 50vw; border-radius: 50%; border: 8vw solid rgba(255, 255, 255, .05); z-index: -1; }
.slide--blue::after { content: ""; position: absolute; right: 12vw; bottom: 10vh; width: 12vw; height: 12vw; max-width: 160px; max-height: 160px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3vw rgba(255, 183, 1, .14); z-index: -1; }

/* generic columns */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .cols, .cols-3 { grid-template-columns: 1fr; } .cols-4 { grid-template-columns: 1fr 1fr; } }
.dstat { border-top: 2px solid rgba(255, 255, 255, .18); padding-top: 18px; }
.dstat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; line-height: 1; letter-spacing: -.03em; }
.dstat strong em { font-style: normal; color: var(--yellow); }
.dstat span { font-size: .95rem; opacity: .85; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.pillar b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-display); margin-bottom: 18px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pillar p { font-size: .94rem; color: var(--ink-3); margin: 0; }

/* logo frames */
.dlogo { display: grid; place-items: center; background: #fff; border-radius: 24px; min-height: clamp(200px, 34vh, 340px); padding: 40px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
.dlogo img { max-width: min(80%, 420px); max-height: 180px; width: auto; height: auto; object-fit: contain; }
.dlogo img + .dlogo__word { display: none; }
.dlogo__word { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--b1); letter-spacing: -.03em; text-align: center; line-height: 1; }
.dlogo__word small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
.dlogo--dark { background: var(--b2); box-shadow: none; }
.dlogo--dark img, .dlogo--tint img { background: #fff; padding: 10px 16px; border-radius: 12px; }
.dlogo img.is-knockout, .m-card__b img.is-knockout, .m-post--a img.is-knockout { background: none; padding: 0; filter: none; }
.dlogo--dark .dlogo__word { color: #fff; }
.dlogo--dark .dlogo__word small { color: rgba(255, 255, 255, .7); }
.dlogo--tint { background: var(--b1); box-shadow: none; }
.dlogo--tint .dlogo__word { color: #fff; }
.dlogo--tint .dlogo__word small { color: rgba(255, 255, 255, .7); }
.dlogo--sm { min-height: 160px; padding: 24px; border-radius: 18px; }
.dlogo--sm img { max-height: 90px; }
.dlogo--sm .dlogo__word { font-size: 1.6rem; }

.scope { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.scope span { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); font-size: .9rem; font-weight: 500; color: #fff; }
.slide--light .scope span, .slide--soft .scope span { border-color: var(--line); background: #fff; color: var(--ink-2); }
.slide__url { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: #fff; font-family: var(--font-display); font-weight: 600; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.slide__url svg { width: 16px; height: 16px; }

/* palette */
.palette { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; border-radius: 18px; overflow: hidden; min-height: 150px; margin-top: 20px; box-shadow: 0 20px 40px -24px rgba(4, 2, 79, .4); }
.palette[hidden] { display: none; }
.swatch { padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; font-family: var(--font-display); font-size: .82rem; font-weight: 600; letter-spacing: .06em; min-height: 150px; }
.swatch small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; opacity: .75; letter-spacing: .1em; text-transform: uppercase; }
.palette-note { font-size: .82rem; color: var(--ink-3); margin-top: 10px; }

/* mockups */
.mocks { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; }
@media (max-width: 900px) { .mocks { grid-template-columns: 1fr; } }
.m-web { grid-row: span 2; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: flex; flex-direction: column; }
.m-web__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f2f8; }
.m-web__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d6e5; }
.m-web__bar span { margin-left: 10px; font-size: .74rem; color: var(--ink-3); background: #fff; border-radius: 999px; padding: 3px 12px; }
.m-web__nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.m-web__nav .mini-logo { height: 28px; display: flex; align-items: center; }
.m-web__nav .mini-logo img { height: 28px; width: auto; max-width: 140px; object-fit: contain; }
.m-web__nav .mini-logo img + span { display: none; }
.m-web__nav .mini-logo span { font-family: var(--font-display); font-weight: 600; color: var(--b1); }
.m-web__nav i { display: inline-block; width: 38px; height: 6px; border-radius: 4px; background: var(--line); margin-left: 10px; }
.m-web__nav b { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--b1); color: #fff; font-size: .7rem; font-family: var(--font-display); margin-left: 12px; }
.m-web__hero { flex: 1; padding: 30px 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--b1) 12%, #fff), #fff); display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; min-height: 220px; }
.m-web__hero h4 { font-family: var(--font-display); color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.1; margin: 0 0 10px; }
.m-web__hero p { font-size: .78rem; color: var(--ink-3); margin: 0 0 14px; }
.m-web__hero .cta { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--b1); color: #fff; font-size: .74rem; font-weight: 600; }
.m-web__hero .art { aspect-ratio: 1; border-radius: 50% 50% 18px 50%; background: linear-gradient(140deg, var(--b1), var(--b2)); position: relative; }
.m-web__hero .art::after { content: ""; position: absolute; width: 28%; height: 28%; border-radius: 50%; background: var(--b3); right: 6%; bottom: 6%; }
.m-card { position: relative; height: clamp(170px, 24vh, 230px); }
.m-card__f, .m-card__b { position: absolute; width: auto; height: 78%; aspect-ratio: 1.75; border-radius: 12px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); display: grid; place-items: center; padding: 14px; }
.m-card__b { left: 4%; top: 0; background: var(--b1); transform: rotate(-6deg); }
.m-card__b img { max-height: 46%; max-width: 70%; object-fit: contain; background: #fff; padding: 6px 10px; border-radius: 8px; }
.m-card__b img + span { display: none; }
.m-card__b span, .m-card__f span { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.1rem; }
.m-card__f { right: 4%; bottom: 0; background: #fff; transform: rotate(4deg); place-items: start; align-content: space-between; }
.m-card__f img { max-height: 28px; max-width: 110px; object-fit: contain; }
.m-card__f img + span { display: none; }
.m-card__f span { color: var(--b1); font-size: .95rem; }
.m-card__f .ln { display: grid; gap: 5px; width: 100%; }
.m-card__f .ln i { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.m-card__f .ln i:first-child { width: 55%; background: var(--b1); opacity: .6; } .m-card__f .ln i:nth-child(2) { width: 75%; } .m-card__f .ln i:nth-child(3) { width: 45%; }
.m-social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-post { aspect-ratio: 1; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); overflow: hidden; position: relative; }
.m-post--a { background: linear-gradient(150deg, var(--b1), var(--b2)); }
.m-post--b { background: #fff; color: var(--ink); }
.m-post strong { font-family: var(--font-display); font-size: clamp(.85rem, 1.3vw, 1.05rem); line-height: 1.15; }
.m-post small { font-size: .66rem; opacity: .8; }
.m-post .tiny-logo { height: 18px; display: flex; }
.m-post .tiny-logo img { height: 18px; width: auto; max-width: 90px; object-fit: contain; }
.m-post--a .tiny-logo img { background: #fff; padding: 2px 6px; border-radius: 5px; }
.m-post--a .tiny-logo img.is-knockout { background: none; padding: 0; }
.m-post .tiny-logo img + span { display: none; }
.m-post .tiny-logo span { font-family: var(--font-display); font-weight: 600; font-size: .72rem; }
.m-post--b strong { color: var(--b1); }
.m-post--b::after { content: ""; position: absolute; right: -20%; bottom: -20%; width: 60%; height: 60%; border-radius: 50%; background: var(--b3); opacity: .9; }
.mock-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; opacity: .7; margin-top: 18px; }

/* closing */
.close-contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; max-width: 760px; }
@media (max-width: 640px) { .close-contacts { grid-template-columns: 1fr; } }

/* deck chrome */
.deck-ui { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 28px); pointer-events: none; }
.deck-ui > * { pointer-events: auto; }
.deck-ui__left { display: flex; gap: 8px; align-items: center; }
.deck-btn { height: 42px; min-width: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(3, 1, 64, .7); backdrop-filter: blur(10px); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 500; font-size: .88rem; }
.deck-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.deck-btn svg { width: 18px; height: 18px; }
.deck-count { font-family: var(--font-display); font-size: .88rem; color: #fff; background: rgba(3, 1, 64, .7); backdrop-filter: blur(10px); padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }
.deck-progress { position: fixed; left: 0; top: 0; height: 3px; background: var(--yellow); z-index: 30; width: 0; transition: width .3s; }
@media (max-width: 560px) { .deck-btn .lbl { display: none; } }

@media print {
  @page { size: 1600px 900px; margin: 0; }
  .deck-body, .deck { height: auto; overflow: visible; }
  .slide { height: 900px; min-height: 0; page-break-after: always; break-after: page; }
  .deck-ui, .deck-progress { display: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* On phones slides can be taller than the screen: don't force-snap */
@media (max-width: 760px) { .deck { scroll-snap-type: y proximity; } .slide { scroll-snap-stop: normal; padding-bottom: 96px; } }

/* real website screenshot inside the showcase browser mockup */
.m-web__shot { aspect-ratio: 16 / 10; max-width: 100%; position: relative; overflow: hidden; container-type: size; }
.m-web__shot > img { position: absolute; left: 0; top: 0; width: 100%; height: auto; animation: deckScroll 20s ease-in-out 1s infinite alternate; }
@keyframes deckScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
@media (prefers-reduced-motion: reduce) { .m-web__shot > img { animation: none; } }
