/* Responsive layout refinements. The original comic artwork, colors and copy are retained. */
:root { --header-height: 132px; --page-gutter: 28px; }
html { scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--comic-gold); outline-offset: 5px;
}
.page-container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--page-gutter); }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--comic-gold); color: #000; transform: translateY(-180%); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 40; background: #080b11; border-bottom: 2px solid #30303a; box-shadow: 0 6px 24px #0004; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 8px; }
.brand-logo { display: block; width: 116px; height: 116px; object-fit: contain; border: 0; border-radius: 0; background: transparent; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1.6vw, 26px); margin-left: auto; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-family: 'Bangers', Impact, sans-serif; font-size: 18px; letter-spacing: 1px; color: #fff; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--comic-gold); }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.sound-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 12px; border: 1px solid #5d572c; border-radius: 4px; background: #16181c; color: var(--comic-gold); font-family: 'Bangers', Impact, sans-serif; font-size: 15px; letter-spacing: .8px; white-space: nowrap; }
.sound-toggle:hover { background: #262515; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 10px 17px; border: 2px solid #000; background: var(--comic-gold); box-shadow: 3px 3px 0 var(--comic-red); color: #080b11; font-family: 'Bangers', Impact, sans-serif; font-size: 19px; letter-spacing: 1px; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.header-cta:hover { background: #ffe45b; box-shadow: 4px 4px 0 var(--comic-red); }
.menu-toggle { display: none; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid #62562c; border-radius: 4px; background: #171717; color: var(--comic-gold); }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; background: #080b11; border-top: 1px solid #292929; border-bottom: 3px solid var(--comic-gold); box-shadow: 0 12px 24px #0008; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu-inner { display: grid; padding-block: 14px 22px; gap: 2px; }
.mobile-menu a { padding: 12px 6px; min-height: 48px; color: #fff; font-family: 'Bangers', Impact, sans-serif; letter-spacing: 1.2px; font-size: 22px; border-bottom: 1px solid #252730; }
.mobile-menu a:hover { color: var(--comic-gold); }
.mobile-menu .mobile-project-link { margin-top: 12px; padding-inline: 16px; background: var(--comic-gold); color: #000; display: flex; justify-content: space-between; }
#main-content { outline: none; }
.hero-section { padding-block: clamp(40px, 5vw, 68px); overflow: visible; }
.hero-grid { gap: clamp(32px, 4vw, 54px); }
.hero-grid > *, .content-section .grid > *, .footer-grid > * { min-width: 0; }
.hero-copy { position: relative; }
.hero-badge { font-size: clamp(11px, 1vw, 13px); line-height: 1.5; padding: 8px 12px; max-width: 100%; }
.hero-badge .fa-star { flex-shrink: 0; animation-duration: 12s; }
.hero-copy h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.07; letter-spacing: .4px; margin-top: 28px; text-wrap: balance; }
.hero-copy > p { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.75; padding: 6px 0 6px 18px; }
.hero-sfx { gap: 14px; }
.hero-sfx > span { flex-basis: 100%; font-size: 17px; letter-spacing: 1.2px; margin-right: 0; }
.hero-sfx button { font-size: 23px; line-height: 1.25; padding: 8px 18px; }
.hero-cta-row { gap: 16px; padding-top: 8px; }
.hero-cta-row a { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 13px 20px; font-size: 23px; line-height: 1.25; }
.hero-art { padding: 20px 12px 12px; }
.hero-art > div { max-width: 480px; }
.hero-showcase-image { display: block; width: 100%; height: auto; object-fit: contain; }
.hero-art-labels { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-art-stamp { order: 2; flex: 0 0 120px; font-size: 23px; line-height: 1.2; text-align: center; padding: 15px 12px; }
.hero-speech { order: 1; flex: 1 1 auto; min-width: 0; font-size: 16px; line-height: 1.4; padding: 10px 12px; }
.hero-art .bg-black > .flex { flex-wrap: wrap; gap: 4px 12px; }
.studio-stats { margin-block: 12px 14px; border-top: 3px solid #000; border-bottom: 3px solid #000; }
.stats-track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; font-size: 18px; line-height: 1.5; letter-spacing: 1px; text-align: center; }
.stats-track span { white-space: normal; }
.content-section { padding-block: clamp(40px, 4.5vw, 64px); }
.content-section h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; text-wrap: balance; }
.content-section > .text-center { margin-bottom: 32px; }
.content-section .text-center > p { line-height: 1.75; font-size: 15px; }
.service-filters { margin-bottom: 32px; gap: 10px; }
.serv-filter-btn { min-height: 44px; font-size: 18px; letter-spacing: .8px; }
#services-grid { gap: 28px; }
.service-card { padding: 24px; }
.service-card h3 { font-size: 26px; line-height: 1.25; margin-bottom: 12px; }
.service-card p { font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
.service-card > button { min-height: 44px; line-height: 1.3; padding: 10px 12px; }
.lab-panel, .estimator-panel { padding: clamp(20px, 3.4vw, 40px); }
.lab-panel .text-center, .estimator-panel .text-center { margin-bottom: 28px; }
.lab-layer-btn { min-height: 44px; padding: 10px 14px; font-size: 17px; line-height: 1.3; }
.lab-panel .grid { gap: 32px; }
.character-specs > div { align-items: flex-start; gap: 16px; padding-block: 12px; line-height: 1.6; }
.character-specs > div > span:first-child { flex: 0 0 38%; }
.character-specs > div > span:last-child { text-align: right; min-width: 0; }
.lab-panel .lg\:col-span-5 > .bg-black { padding: 20px; }
.lab-panel .lg\:col-span-5 > .bg-black p { font-size: 14px; line-height: 1.7; margin-top: 8px; }
.lab-panel a { padding: 14px 16px; line-height: 1.25; font-size: 23px; }
#estimator form { max-width: 960px; margin-inline: auto; }
#estimator-services-list { gap: 10px; }
#estimator-services-list button { min-height: 44px; padding: 10px 13px; font-size: 16px; line-height: 1.3; text-align: left; letter-spacing: .6px; }
.quantity-row { gap: 16px; align-items: flex-start; flex-wrap: wrap; line-height: 1.4; }
.quantity-row label { flex: 1 1 260px; }
#est-qty-display { flex-shrink: 0; font-size: 19px; line-height: 1.4; white-space: nowrap; }
#est-range { height: 10px; margin-block: 14px 8px; background: #33333e; }
#est-range::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; border: 3px solid #000; border-radius: 50%; background: var(--comic-gold); cursor: pointer; }
#est-range::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid #000; border-radius: 50%; background: var(--comic-gold); cursor: pointer; }
.quote-summary { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; gap: 24px; padding: 24px; }
.quote-summary > div { min-width: 0; }
.quote-summary .font-body { font-size: 11px; line-height: 1.6; letter-spacing: 1px; margin-bottom: 8px; }
#est-price-display { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; overflow-wrap: break-word; }
#est-time-display { font-size: 25px; line-height: 1.35; }
#estimator input:not([type="range"]), .estimate-note { padding: 14px 16px; border-left: 3px solid var(--comic-gold); background: #161922; color: #d1d5db; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
#estimator textarea { width: 100%; min-width: 0; font-size: 16px; line-height: 1.6; padding: 14px 16px; border-color: #363944; border-width: 2px; border-radius: 0; }
#estimator input:focus, #estimator textarea:focus { border-color: var(--comic-gold); }
#estimator textarea { display: block; resize: vertical; min-height: 130px; }
#estimator button[type="submit"] { padding: 17px 20px; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.4; transform: none; }
#reviews { padding-bottom: 80px; }
#reviews > .grid { gap: 28px; }
#reviews .speech-tail { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
#reviews .speech-tail p { font-size: 14px; line-height: 1.8; }
#reviews .speech-tail > div { font-size: 21px; line-height: 1.4; }
.site-footer { padding: 48px 0 28px; border-top: 2px solid #2c2e35; }
.footer-grid { gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 20px; max-width: 460px; }
.footer-brand img { width: 120px; height: 120px; object-fit: contain; border: 0; border-radius: 0; background: transparent; flex-shrink: 0; }
.footer-brand > span { display: block; font-size: 26px; line-height: 1.2; color: #fff; letter-spacing: 1px; }
.footer-brand small { display: block; margin-top: 8px; color: var(--comic-gold); font-size: 17px; letter-spacing: 1.5px; }
.footer-grid p, .footer-grid .font-body { font-size: 13px; line-height: 1.8; }
.footer-grid .font-body a { overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--comic-gold); }
.footer-grid .md\:col-span-3 > div:first-child { font-size: 21px; margin-bottom: 12px; }
.footer-grid .flex > a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #3a3a3a; }
.site-footer > div:last-child { padding-inline: var(--page-gutter); line-height: 1.8; }
/* Comic popup: cobalt glow, halftone texture and bright panel edges. */
#service-modal {
    z-index: 60;
    background:
        radial-gradient(ellipse at 18% 20%, #0864d93d, transparent 55%),
        radial-gradient(ellipse at 88% 82%, #ee285228, transparent 50%),
        #030817d9;
    backdrop-filter: blur(8px) saturate(.8);
}
#service-modal > div {
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 54px 28px 30px;
    isolation: isolate;
    border: 2px solid var(--comic-gold);
    background-color: #102650;
    background-image:
        radial-gradient(ellipse at 100% 0%, #177ced9e, transparent 65%),
        linear-gradient(135deg, #194995 0%, #102854 52%, #171b3e 100%);
    box-shadow: 7px 7px 0 var(--comic-red), 0 28px 90px #0009;
}
#service-modal > div::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(#c4dbff24 1px, transparent 1.5px);
    background-size: 9px 9px;
    mask-image: linear-gradient(145deg, transparent 5%, #000 95%);
}
#service-modal > div::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 160px;
    height: 95px;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(135deg, #ffdb4236 0 4px, transparent 4px 15px);
    clip-path: polygon(25% 0, 100% 0, 100% 100%);
}
.modal-close {
    width: 40px;
    height: 40px;
    z-index: 1;
    border: 1px solid #b9d5ff80;
    background: #091a3bd9;
    box-shadow: 3px 3px 0 #02081680;
    transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--comic-red); color: #fff; }
#modal-service-content h3 {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
    text-shadow: 2px 2px 0 #020816;
}
#modal-service-content p { color: #eff4ff; line-height: 1.75; }
#modal-service-content .bg-black {
    background: #030d269c;
    border: 1px solid #8bb8ff40;
    border-left: 3px solid var(--comic-red);
    color: #cddbf4;
    padding: 15px;
}
#modal-service-content button {
    min-height: 52px;
    line-height: 1.4;
    padding-inline: 14px;
    background: linear-gradient(110deg, #ff365d, #e71945);
    border: 2px solid #060b18;
    box-shadow: 4px 4px 0 var(--comic-gold);
}
#modal-service-content button:hover { filter: brightness(1.1); }
@media (max-width: 480px) {
    #service-modal > div { padding: 54px 22px 26px; }
}
@media (max-width: 1179px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-actions { margin-left: auto; }
}
@media (min-width: 1180px) { .mobile-menu { display: none !important; } }
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .hero-copy, .hero-art { grid-column: auto; }
}
@media (max-width: 1023px) {
    .hero-copy { max-width: 760px; }
    .hero-copy h1 { font-size: clamp(40px, 6.6vw, 66px); max-width: 760px; }
    .hero-art { padding-top: 32px; }
    .hero-art > div { max-width: 480px; }
    .lab-panel .grid { gap: 28px; }
}
@media (max-width: 767px) {
    :root { --header-height: 108px; --page-gutter: 22px; }
    .header-inner { gap: 16px; }
    .brand-logo { width: 90px; height: 90px; }
    .header-actions { gap: 10px; }
    .content-section h2 { font-size: clamp(29px, 6vw, 40px); }
    #reviews > .grid { gap: 36px; }
    .quote-summary { grid-template-columns: minmax(0, 1fr); padding: 20px; }
    .footer-grid { gap: 32px; }
    .footer-brand { max-width: 420px; }
}
@media (max-width: 639px) {
    .header-cta { display: none; }
    .hero-section { padding-top: 34px; padding-bottom: 40px; }
    .hero-copy h1 { font-size: clamp(36px, 9.5vw, 52px); line-height: 1.1; margin-top: 26px; }
    .hero-badge { font-size: 11px; line-height: 1.5; letter-spacing: .25px; padding: 8px 9px; transform: none; }
    .hero-copy > p { padding-left: 14px; }
    .hero-cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .hero-cta-row a { width: 100%; font-size: 23px; transform: none; }
    .hero-sfx { gap: 12px; }
    .hero-sfx button { padding: 8px 15px; font-size: 22px; }
    .hero-art { padding-inline: 10px; }
    .hero-art-stamp { flex-basis: 104px; font-size: 20px; padding-inline: 8px; }
    .hero-speech { font-size: 15px; padding-inline: 10px; }
    .stats-track { gap: 10px; font-size: 16px; }
    .stats-track span { flex-basis: 100%; }
    .service-filters { justify-content: flex-start; gap: 10px; }
    .serv-filter-btn { flex: 1 1 42%; font-size: 16px; padding-inline: 10px; }
    .serv-filter-btn:first-child { flex-basis: 100%; }
    .service-card { padding: 22px; }
    .lab-panel, .estimator-panel { padding: 24px 16px; }
    .lab-layer-btn { flex: 1 1 42%; font-size: 15px; padding: 10px 8px; }
    #lab-status-badge { font-size: 10px; padding: 5px 7px; left: 6px; top: 6px; }
    .character-specs > div { display: grid; grid-template-columns: 1fr; gap: 3px; }
    .character-specs > div > span:last-child { text-align: left; }
    #estimator-services-list { gap: 8px; }
    #estimator-services-list button { flex: 1 1 44%; font-size: 15px; padding: 10px 9px; }
    #estimator form > div > label { font-size: 22px; line-height: 1.4; }
    .quantity-row { font-size: 19px; gap: 10px; }
    #est-price-display { font-size: clamp(26px, 6.8vw, 34px); }
    #est-time-display { font-size: 22px; }
    #estimator input:not([type="range"]), #estimator textarea { padding: 12px; font-size: 16px; }
    #reviews { padding-bottom: 64px; }
    .footer-brand { gap: 16px; }
    .footer-brand > span { font-size: 23px; }
    .footer-brand img { width: 100px; height: 100px; }
    .site-footer { padding-top: 36px; }
}
@media (max-width: 359px) {
    :root { --page-gutter: 18px; }
    .sound-toggle span { display: none; }
    .sound-toggle { width: 44px; }
    .hero-sfx button { padding-inline: 12px; font-size: 20px; }
    #estimator-services-list button { flex-basis: 100%; }
    .footer-brand > span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
