/* ========================================
   PILLBILLIE - GLOBAL STYLES
   ======================================== */

:root {
    --black: #000000;
    --white: #FFFFFF;
    --red: #E63946;
    --blue: #00BFFF;
    --blue-dark: #0099CC;
    --gray-light: #E8E8E8;
    --gray-dark: #1a1a1a;
    --font-display: 'Bebas Neue', 'Oswald', sans-serif;
    --font-body: 'Oswald', 'Arial Narrow', sans-serif;
    --font-script: 'Dancing Script', cursive;
    --font-quote: 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; height: auto; display: block; }

.red { color: var(--red); }
.blue { color: var(--blue); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-blue {
    background-color: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-blue:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn-dark {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-dark:hover {
    background-color: #333;
    border-color: #333;
}

/* ========================================
   HEADER / NAV
   ======================================== */
.header {
    background-color: var(--black);
    padding: 16px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #111;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-mark.small {
    width: 56px;
    height: 56px;
}

.logo-text h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: 2px;
    color: var(--white);
}

.tm {
    font-size: 0.42em;
    font-weight: 600;
    letter-spacing: 0;
    margin-left: 4px;
    vertical-align: super;
    color: var(--white);
    opacity: 0.85;
}

.logo-text .tagline {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--white);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.main-nav ul a {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    color: var(--white);
    transition: color 0.3s ease;
    position: relative;
}

.main-nav ul a:hover {
    color: var(--blue);
}

.main-nav ul a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blue);
    transition: width 0.3s ease;
}

.main-nav ul a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background-color: var(--black);
    padding: 60px 40px 100px;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 0.95;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--blue);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 14px;
    color: var(--white);
    text-transform: uppercase;
}

.hero-tag {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-mascot {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mascot {
    position: relative;
}

.hero-mascot svg,
.hero-mascot-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
    object-fit: contain;
    z-index: 2;
}

.hero-tm {
    position: absolute;
    top: 6%;
    right: 6%;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    z-index: 3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    user-select: none;
}

@media (max-width: 1100px) {
    .hero-tm {
        font-size: 1.8rem;
        top: 4%;
        right: 12%;
    }
}

.dots-pattern {
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 24px;
    gap: 8px;
    align-content: center;
}

.dots-pattern span {
    width: 18px;
    height: 18px;
    background-color: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--black);
}

/* ========================================
   MEANS BAR
   ======================================== */
.means-bar {
    background-color: var(--black);
    padding: 50px 40px 0;
    text-align: center;
}

.means-label {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 18px;
    color: var(--white);
}

/* ── Acronym Row (column layout) ── */
.acro-row {
    display: flex;
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    max-width: 1600px;
    margin: 0 auto;
}

.acro-item {
    flex: 1 1 10%;
    min-width: 76px;
    padding: 2.4rem 0.6rem 2rem;
    border-right: 1px solid #2a2a2a;
    text-align: center;
    cursor: default;
    transition: background 0.3s ease;
}

.acro-item:last-child {
    border-right: none;
}

.acro-letter {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5.5rem);
    line-height: 1;
    margin-bottom: 0.9rem;
    color: var(--white);
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.special-p {
    color: #ff2020;
}

.special-b {
    color: #00BFFF;
}

/* All columns lift slightly on hover */
.acro-item:hover .acro-letter {
    transform: translateY(-1px);
}

/* PILL half (items 1-4: P + ILL) hover RED */
.acro-row > .acro-item:nth-child(-n+4):hover {
    background: rgba(255, 32, 32, 0.05);
}

.acro-row > .acro-item:nth-child(-n+4):hover .acro-letter {
    color: #ff2020;
    text-shadow:
        0 0 6px rgba(255, 32, 32, 0.55),
        0 0 12px rgba(255, 32, 32, 0.45),
        0 0 24px rgba(255, 32, 32, 0.35);
}

/* BILLIE half (items 5-10: B + ILLIE) hover BLUE */
.acro-row > .acro-item:nth-child(n+5):hover {
    background: rgba(0, 191, 255, 0.05);
}

.acro-row > .acro-item:nth-child(n+5):hover .acro-letter {
    color: #00BFFF;
    text-shadow:
        0 0 6px rgba(0, 191, 255, 0.55),
        0 0 12px rgba(0, 191, 255, 0.45),
        0 0 24px rgba(0, 191, 255, 0.35);
}

.acro-word {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 245, 242, 0.4);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .acro-row {
        overflow-x: auto;
        scrollbar-width: none;
    }
    .acro-row::-webkit-scrollbar {
        display: none;
    }
    .acro-item {
        flex: 0 0 80px;
        padding: 1.6rem 0.4rem 1.4rem;
    }
}

/* ========================================
   CONTENT + MERCH SECTION
   ======================================== */
.content-merch {
    background-color: var(--gray-light);
    color: var(--black);
    padding: 70px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 100%;
}

.content-block, .merch-block {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1;
    letter-spacing: 1px;
    color: var(--black);
    margin-bottom: 20px;
}

.section-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 28px;
    max-width: 420px;
}

.content-icons {
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.content-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--black);
    transition: transform 0.3s ease, color 0.3s ease;
}

.content-icon i {
    font-size: 2.2rem;
    padding: 14px;
    border: 2px solid var(--black);
    border-radius: 6px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-icon.fa-microphone i,
.content-icon i.fa-microphone {
    border-radius: 50%;
}

.content-icon span {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.content-icon:hover {
    color: var(--blue);
    transform: translateY(-4px);
}

.content-icon:hover i {
    border-color: var(--blue);
}

.merch-block {
    text-align: left;
    position: relative;
}

.merch-image {
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 20px;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
}

.hoodie-mock {
    position: relative;
    width: 240px;
}

.hoodie-mock svg {
    width: 100%;
    height: auto;
}

.hoodie-print {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: auto;
}

.hoodie-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: bold;
    white-space: nowrap;
}

.cap-mock {
    position: relative;
    width: 180px;
    margin-bottom: 30px;
}

.cap-mock svg {
    width: 100%;
    height: auto;
}

.cap-text {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 1px;
    font-weight: bold;
    white-space: nowrap;
}

/* ========================================
   FEATURED VIDEOS
   ======================================== */
.featured-videos {
    background-color: var(--black);
    padding: 60px 40px;
}

.featured-heading {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--white);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.featured-sub {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #aaa;
    letter-spacing: 1px;
    margin-bottom: 30px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

.video-grid.single-feature {
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
}

.video-card {
    background: transparent;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    background-size: cover;
    background-position: center;
}

.yt-thumb {
    background-size: cover;
    background-position: center;
}

.yt-short {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000;
}

.video-card.placeholder {
    cursor: default;
}

.coming {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.55);
    padding: 8px 16px;
    border: 1px solid var(--blue);
    border-radius: 4px;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 2;
}

.post-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.thumb-post {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #0d0d0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-icon {
    font-size: 5rem;
    color: var(--red);
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.post-card:hover .post-icon {
    transform: scale(1.08);
    opacity: 1;
}

.thumb-1 {
    background: linear-gradient(135deg, #2c1810 0%, #4a2818 50%, #1a0e08 100%);
}

.thumb-2 {
    background: linear-gradient(180deg, #ff6b35 0%, #f7931e 30%, #2c5364 100%);
}

.thumb-3 {
    background: linear-gradient(135deg, #1a0033 0%, #4a148c 50%, #311b92 100%);
}

.thumb-4 {
    background: linear-gradient(180deg, #ff7e00 0%, #ffb347 40%, #4a90a4 100%);
}

.video-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: var(--blue);
    transform: translate(-50%, -50%) scale(1.1);
}

.duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0,0,0,0.85);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.video-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 6px;
}

.video-meta,
.short-card .video-meta,
.reel-card .video-meta,
.feature-hero .video-meta {
    font-size: 0.8rem;
    color: var(--blue) !important;
}

/* ========================================
   QUOTE SECTION
   ======================================== */
.quote-section {
    background-color: var(--black);
    padding: 80px 40px;
    text-align: center;
}

.quote-section blockquote {
    max-width: 1100px;
    margin: 0 auto;
}

.quote-section blockquote p {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 20px;
}

.quote-section cite {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 1.1rem;
    color: var(--blue);
    text-align: right;
    max-width: 1100px;
    margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--black);
    padding: 50px 40px 20px;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto;
    align-items: center;
}

.footer-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pbx-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.footer-center {
    text-align: center;
    padding: 0 12px;
    min-width: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1;
}

.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--white);
    margin-top: 2px;
}

.footer-disclaimer {
    padding: 12px 0;
    margin: 18px 0;
}

.footer-disclaimer p {
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.4;
}

.footer-means {
    margin: 18px 0;
}

/* ── Footer Acronym (fresh, isolated styles — no shared inheritance) ── */
.footer-acro-label {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--white);
    text-align: center;
    margin-bottom: 12px;
}

.footer-acro {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    width: 100%;
    box-sizing: border-box;
}

.fa-cell {
    text-align: center;
    padding: 6px 2px;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.fa-letter {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.8vw, 1.4rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 4px;
}

.fa-red { color: #ff2020; }
.fa-blue { color: #00BFFF; }

.fa-word {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.42rem, 0.75vw, 0.55rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 245, 242, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.means-label.small {
    font-size: 1.05rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--blue);
    transform: translateY(-3px);
}

/* Instagram TV variant — second IG icon with a small "TV" badge */
.social-links a.social-tv {
    position: relative;
}

.social-links a.social-tv .tv-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 1px;
    color: var(--white);
    background-color: var(--red);
    padding: 1px 5px;
    border-radius: 2px;
    line-height: 1.2;
}

/* Email button on contact page */
.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    color: var(--white);
    background-color: var(--blue);
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.email-btn i {
    font-size: 1.05rem;
}

.email-btn:hover {
    background-color: var(--blue-dark);
    transform: translateY(-2px);
}

.footer-right {
    text-align: center;
}

.gateway-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
    border-radius: 8px;
}

.collector-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.1;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    margin-top: 30px;
    border-top: 1px solid #222;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #777;
}

/* ========================================
   PAGE PLACEHOLDER (for inner pages)
   ======================================== */
.page-hero {
    background-color: var(--black);
    padding: 100px 40px;
    text-align: center;
    border-bottom: 1px solid #222;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 1px;
}

.page-content {
    background-color: var(--black);
    padding: 80px 40px;
    min-height: 50vh;
}

.page-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
}

.coming-soon h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.coming-soon p {
    font-size: 1.1rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Contact page background — one fixed image covering the whole body */
.contact-body {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88)),
        url('../images/contactbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-body .header,
.contact-body .page-hero,
.contact-body .page-content,
.contact-body .footer {
    background-color: transparent;
    border: none;
}

.contact-body .header {
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.contact-body .footer {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    background-color: #111;
    border: 2px solid #222;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ── Row heading + Shorts Grid ── */
.row-heading {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 2px;
    color: var(--white);
    margin: 10px 0 24px;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

/* Homepage variant — auto-fits 3-4 cards across on wide screens */
.shorts-grid.home-shorts {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1600px;
    margin: 0 auto;
}

.shorts-grid.shorts-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
    margin: 0 auto;
}

.shorts-grid.shorts-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    margin: 0 auto;
}

/* ── Reels grid — 2 columns of 9:16 reels ── */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    gap: 28px;
    max-width: 760px;
    margin: 0 auto 36px;
    padding: 0 20px;
    justify-content: center;
}

.reel-card {
    cursor: pointer;
}

.reel-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #000;
    margin-bottom: 10px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.reel-card:hover .reel-thumb {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6);
}

.reel-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.reel-card .video-meta {
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 720px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
        gap: 12px;
        padding: 0 12px;
    }
    .shorts-grid.shorts-two {
        max-width: 480px;
    }
}

@media (max-width: 900px) {
    .shorts-grid.home-shorts {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 540px) {
    .shorts-grid.home-shorts,
    .shorts-grid.shorts-three {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
}

/* ── Featured 16:9 Hero Video ── */
.featured-feature {
    max-width: 920px;
    margin: 0 auto 36px;
    padding: 0 20px;
}

.feature-hero {
    cursor: pointer;
}

.feature-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-bottom: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-hero:hover .feature-thumb {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}

.feature-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
    transition: opacity 0.3s ease;
}

.play-btn-lg {
    width: 86px;
    height: 86px;
    font-size: 1.8rem;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.play-btn-lg:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.badge-featured {
    background: var(--blue);
    font-size: 0.78rem;
    letter-spacing: 2px;
    padding: 5px 12px;
}

.feature-hero h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 1.5px;
    color: var(--white);
    text-align: center;
    margin-bottom: 4px;
}

.feature-hero .video-meta {
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 720px) {
    .play-btn-lg { width: 66px; height: 66px; font-size: 1.3rem; }
    .feature-hero h3 { font-size: 1.1rem; }
    .featured-feature { padding: 0 14px; margin-bottom: 28px; }
}

/* "Have a PillBillie Day" footer accent */
.have-day,
.footer-disclaimer p.have-day {
    color: var(--blue) !important;
    font-family: var(--font-display);
    letter-spacing: 1.5px;
    margin-top: 6px;
}

.short-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.short-card:hover {
    transform: translateY(-5px);
}

.short-thumb {
    position: relative;
    aspect-ratio: 9 / 16;
    background-size: cover;
    background-position: center;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.short-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.short-card:hover .short-thumb::before {
    background: rgba(0, 0, 0, 0);
}

.short-card .video-meta {
    text-align: center;
    font-size: 0.78rem;
}

@media (max-width: 900px) {
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .shorts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* About page */
.about-intro {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: left;
}

.about-intro p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #ddd;
    margin-bottom: 20px;
}

.about-section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 24px;
    margin-top: 20px;
}

.about-mission {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px;
    padding: 40px 20px;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
}

.mission-statement {
    font-family: var(--font-quote);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.5;
}

.stands-for-line {
    text-align: center;
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    max-width: 950px;
    margin: 0 auto 18px;
    line-height: 1.5;
}

.motto-cursive {
    text-align: center;
    color: var(--blue);
    font-family: var(--font-script);
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 0 auto 50px;
    max-width: 800px;
}

/* Homepage definition section wrapper */
.definition-section {
    background-color: var(--black);
    padding: 12px 20px 20px;
    margin-top: -90px;
    position: relative;
    z-index: 10;
}

.definition-section .urban-def {
    margin: 0 auto;
    padding: 36px;
}

.definition-section .about-section-title {
    color: var(--blue);
}

/* Urban Dictionary definition block */
.urban-def {
    max-width: 850px;
    margin: 60px auto 70px;
    padding: 36px 30px;
    background-color: rgba(33, 150, 243, 0.04);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 10px;
    text-align: center;
}

.urban-def .about-section-title {
    font-size: 2rem;
    margin-bottom: 24px;
}

.urban-def-text {
    font-size: 1.05rem;
    color: #ddd;
    line-height: 1.75;
    margin-bottom: 18px;
    text-align: left;
}

.urban-def-text em {
    color: var(--blue);
    font-style: italic;
}

.urban-def-text a {
    color: var(--blue);
    text-decoration: underline;
}

.urban-def-quote {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--white);
    margin: 22px 0;
    text-align: center;
}

.urban-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--white);
    background-color: var(--blue);
    padding: 12px 24px;
    border-radius: 6px;
    margin-top: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.urban-link:hover {
    background-color: var(--blue-dark);
    transform: translateY(-2px);
}

.join-cta {
    text-align: center;
    margin-top: 80px;
    padding: 50px 20px;
    background-color: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
}

.join-cta p {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 30px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.about-card {
    background-color: #111;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
}

.about-card i {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 16px;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.about-card p {
    color: #ccc;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px 60px;
    }

    .hero-content {
        order: 2;
    }

    .hero-mascot {
        order: 1;
    }

    .hero-mascot svg,
    .hero-mascot-img {
        max-width: 460px;
        width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .dots-pattern {
        display: none;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-merch {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .content-block,
    .merch-block {
        text-align: center;
    }

    .section-text {
        margin-left: auto;
        margin-right: auto;
    }

    .content-icons {
        justify-content: center;
    }

    .featured-heading,
    .featured-sub {
        text-align: center;
    }

    .merch-image {
        position: static;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-center {
        border: none;
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .header { padding: 12px 20px; }

    .nav-container { gap: 12px; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: var(--black);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid #222;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        width: 100%;
    }

    .mobile-toggle {
        display: block;
    }

    .logo-text h1 { font-size: 1.6rem; }
    .logo-text .tagline { font-size: 0.6rem; }
    .logo-mark { width: 45px; height: 45px; }

    /* Hero mascot fills the full mobile width */
    .hero-mascot svg,
    .hero-mascot-img {
        max-width: 100%;
        width: 100%;
    }

    .hero {
        padding: 28px 12px 50px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .content-merch, .featured-videos, .quote-section, .footer {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .content-block,
    .merch-block {
        text-align: center;
    }

    .featured-heading,
    .featured-sub,
    .row-heading {
        text-align: center;
    }

    .content-icons {
        gap: 18px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 3rem; }
    .section-heading { font-size: 2rem; }
    .btn { padding: 12px 22px; font-size: 1rem; }
}

/* ==========================================================================
   FULL MOBILE OPTIMIZATION — keeps hero mascot full-width, refines all else
   ========================================================================== */

/* ----- Touch device tweaks: kill hover-only effects, larger tap targets --- */
@media (hover: none) and (pointer: coarse) {
    .acro-item:hover .acro-letter,
    .video-card:hover,
    .short-card:hover,
    .reel-card:hover .reel-thumb,
    .feature-hero:hover .feature-thumb,
    .about-card:hover,
    .content-icon:hover,
    .btn:hover,
    .social-links a:hover,
    .urban-link:hover,
    .email-btn:hover {
        transform: none;
        box-shadow: none;
    }
    a, button { -webkit-tap-highlight-color: rgba(0, 191, 255, 0.18); }
    .btn { min-height: 44px; }
    .main-nav ul a { padding: 12px 0; }
    .social-links a { padding: 6px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

/* ----- Phone / tablet (≤768px) — full mobile layout ---------------------- */
@media (max-width: 768px) {
    /* HEADER */
    .header { padding: 10px 14px; }
    .nav-container { gap: 10px; align-items: center; }
    .logo { gap: 8px; }
    .logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
    .logo-text h1 { font-size: 1.4rem; letter-spacing: 1px; }
    .logo-text .tagline { font-size: 0.55rem; letter-spacing: 0.5px; }
    .tm { font-size: 0.45em; margin-left: 2px; }

    /* Mobile dropdown nav with backdrop */
    .main-nav {
        position: fixed;
        top: 64px;
        right: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.97);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        padding: 18px 20px 24px;
        gap: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        animation: navSlide 0.22s ease;
    }
    .main-nav.active { display: flex; }
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
        width: 100%;
        text-align: center;
    }
    .main-nav ul a {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
        border-radius: 6px;
    }
    .main-nav ul a:active { background: rgba(0, 191, 255, 0.08); }
    .nav-cta {
        width: 100%;
        margin-top: 8px;
        padding: 14px;
        font-size: 1rem;
    }
    @keyframes navSlide {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* HERO — keep mascot edge-to-edge, refine everything around it */
    .hero {
        padding: 24px 14px 40px;
        gap: 18px;
        min-height: auto;
    }
    .hero-content { order: 2; text-align: center; }
    .hero-mascot { order: 1; }
    .hero-mascot svg,
    .hero-mascot-img {
        max-width: 100%;
        width: 100%;
    }
    .hero-title {
        font-size: clamp(2.4rem, 11vw, 3.6rem);
        margin-bottom: 16px;
        line-height: 0.98;
    }
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.55;
        margin-bottom: 10px;
    }
    .hero-subtitle br { display: none; }
    .hero-tag {
        font-size: 1rem;
        margin-bottom: 22px;
        letter-spacing: 1px;
    }
    .hero-tm {
        font-size: 1.4rem;
        top: 1%;
        right: 14%;
    }
    .hero-buttons {
        justify-content: center;
        gap: 10px;
    }
    .hero-buttons .btn {
        flex: 1 1 auto;
        min-width: 0;
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    /* DEFINITION section */
    .definition-section {
        padding: 14px 14px 18px;
        margin-top: -50px;
    }
    .definition-section .urban-def {
        padding: 24px 18px;
    }
    .urban-def .about-section-title {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    .urban-def-text {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }
    .urban-def-quote {
        font-size: 1rem;
        margin: 18px 0;
    }

    /* MEANS BAR — horizontal swipe with snap + edge fade hint */
    .means-bar {
        padding: 26px 0 0;
        position: relative;
    }
    .means-label {
        font-size: 0.95rem;
        letter-spacing: 2.5px;
        margin-bottom: 12px;
        padding: 0 12px;
    }
    .acro-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        padding: 0 8px;
    }
    .acro-row::-webkit-scrollbar { display: none; }
    .acro-row > .acro-item {
        flex: 0 0 84px;
        min-width: 84px;
        padding: 1.4rem 0.3rem 1rem;
        scroll-snap-align: center;
    }
    .acro-letter { font-size: 3rem; }
    .acro-word {
        font-size: 0.55rem;
        letter-spacing: 0.12em;
    }
    .means-bar::before,
    .means-bar::after {
        content: '';
        position: absolute;
        top: 50%;
        bottom: 0;
        width: 22px;
        pointer-events: none;
        z-index: 3;
    }
    .means-bar::before {
        left: 0;
        background: linear-gradient(to right, var(--black), transparent);
    }
    .means-bar::after {
        right: 0;
        background: linear-gradient(to left, var(--black), transparent);
    }

    /* CONTENT + MERCH */
    .content-merch {
        padding: 44px 16px;
        gap: 36px;
        grid-template-columns: 1fr;
    }
    .content-block,
    .merch-block {
        max-width: 100%;
        text-align: center;
    }
    .section-heading {
        font-size: 2rem;
        line-height: 1.05;
    }
    .section-text {
        font-size: 0.95rem;
        max-width: 100%;
        margin: 0 auto 24px;
    }
    .content-icons {
        gap: 14px;
        justify-content: center;
    }
    .content-icon i {
        font-size: 1.6rem;
        width: 52px;
        height: 52px;
        padding: 10px;
    }
    .content-icon span { font-size: 0.78rem; }
    .merch-image {
        position: static;
        width: 100%;
        margin: 22px auto 0;
        justify-content: center;
        gap: 12px;
    }
    .hoodie-mock { width: 170px; }
    .cap-mock { width: 120px; margin-bottom: 10px; }

    /* FEATURED VIDEOS — 4 cards stay in one row, just smaller */
    .featured-videos { padding: 38px 14px; }
    .featured-heading { font-size: 1.5rem; }
    .featured-sub { font-size: 0.85rem; margin-bottom: 20px; }
    .shorts-grid.home-shorts {
        gap: 8px;
        padding: 0 4px;
    }
    .video-card h3 { font-size: 0.85rem; }
    .video-meta { font-size: 0.7rem; }
    .play-btn { width: 44px; height: 44px; font-size: 0.95rem; }
    .badge {
        font-size: 0.55rem;
        padding: 3px 6px;
        top: 6px;
        left: 6px;
    }

    /* QUOTE */
    .quote-section { padding: 50px 18px; }
    .quote-section blockquote p {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        line-height: 1.4;
    }
    .quote-section cite {
        font-size: 0.92rem;
        text-align: center;
        margin-top: 14px;
        display: block;
    }

    /* FOOTER */
    .footer { padding: 12px 8px 14px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    .footer-side {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-start !important;
        min-height: 0 !important;
    }
    .footer-left {
        line-height: 0;
        overflow: hidden;
    }
    .pbx-img {
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
        object-position: center !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        transform: scale(1.35) !important;
        transform-origin: center !important;
    }
    .gateway-img { max-width: 260px; }
    .footer-center {
        border: none;
        padding: 8px 0 0;
    }
    .footer-brand {
        flex-direction: column;
        gap: 6px;
    }
    .footer-brand h3 { font-size: 1.7rem; }
    .footer-tagline { font-size: 0.7rem; }
    .footer-disclaimer p { font-size: 0.82rem; }
    .have-day { font-size: 0.95rem; letter-spacing: 1px; }
    /* Footer acronym row — mobile sizing */
    .fa-cell { padding: 6px 1px; }
    .fa-letter { font-size: 0.85rem; }
    .fa-word { font-size: 0.36rem; letter-spacing: 0.04em; }
    .social-links {
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 18px;
        justify-content: center;
    }
    .social-links a { font-size: 1.4rem; }

    /* INNER PAGES — page-hero + page-content */
    .page-hero { padding: 50px 18px; }
    .page-hero h1 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
    .page-hero p {
        font-size: 0.95rem;
        padding: 0 6px;
        line-height: 1.5;
    }
    .page-content { padding: 42px 14px; }
    .row-heading {
        font-size: 1.3rem;
        margin-bottom: 16px;
        text-align: center;
    }
    .coming-soon { padding: 34px 14px; }
    .coming-soon h2 { font-size: 1.7rem; }
    .coming-soon p { font-size: 0.95rem; }
    .video-grid.single-feature { grid-template-columns: minmax(220px, 320px); }

    /* SHORTS row on videos page */
    .shorts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* FEATURED hero (on videos page) */
    .featured-feature { padding: 0 8px; margin-bottom: 24px; }
    .play-btn-lg { width: 60px; height: 60px; font-size: 1.2rem; }
    .feature-hero h3 { font-size: 1.05rem; }

    /* REELS grid on homepage if used */
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
        padding: 0 10px;
    }

    /* ABOUT page */
    .about-intro { margin-bottom: 36px; }
    .about-intro p {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 16px;
    }
    .about-section-title { font-size: 1.7rem; margin-bottom: 20px; }
    .about-mission {
        padding: 28px 14px;
        margin-bottom: 44px;
    }
    .mission-statement { font-size: 1.15rem; }
    .stands-for-line {
        font-size: 0.98rem;
        letter-spacing: 0.5px;
        padding: 0 8px;
    }
    .motto-cursive {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    .urban-def {
        padding: 26px 18px;
        margin: 36px auto 40px;
    }
    .urban-link {
        font-size: 0.85rem;
        padding: 11px 16px;
        letter-spacing: 1.5px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .about-card { padding: 24px 20px; }
    .about-card i { font-size: 2rem; }
    .about-card h3 { font-size: 1.2rem; }
    .about-card p { font-size: 0.94rem; }
    .join-cta {
        margin-top: 44px;
        padding: 34px 18px;
    }
    .join-cta p { font-size: 0.98rem; }

    /* CONTACT page — fix iOS fixed-bg + zoom-on-focus */
    .contact-body {
        background-attachment: scroll;
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.92)),
            url('../images/contactbg.png');
    }
    .contact-form { gap: 12px; }
    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 16px;   /* prevents iOS auto-zoom on focus */
    }
    .contact-form textarea { min-height: 120px; }
    .email-btn {
        font-size: 0.9rem;
        padding: 12px 18px;
        flex-wrap: wrap;
        justify-content: center;
        letter-spacing: 1px;
    }
}

/* ----- Phone portrait (≤540px) — tighter still --------------------------- */
@media (max-width: 540px) {
    .logo-text h1 { font-size: 1.3rem; }
    .logo-text .tagline { display: none; }
    .logo-mark { width: 40px; height: 40px; }

    .hero-tm { font-size: 1.2rem; right: 12%; top: 0%; }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn {
        width: 100%;
        padding: 13px;
    }

    .means-label { font-size: 0.85rem; letter-spacing: 2px; }
    .acro-row > .acro-item {
        flex: 0 0 76px;
        min-width: 76px;
    }
    .acro-letter { font-size: 2.6rem; }

    .featured-heading { font-size: 1.3rem; }
    .video-card h3 { font-size: 0.78rem; }
    .video-meta { font-size: 0.65rem; }

    .footer-brand h3 { font-size: 1.5rem; }
    .fa-letter { font-size: 0.78rem; }
    .fa-word { font-size: 0.32rem; }

    .urban-def { padding: 22px 14px; }
    .urban-link { font-size: 0.8rem; padding: 10px 14px; }

    .page-hero { padding: 40px 14px; }
    .about-section-title { font-size: 1.5rem; }
    .mission-statement { font-size: 1.05rem; }
    .motto-cursive { font-size: 1.5rem; }
}

/* ----- Small phones (≤380px) --------------------------------------------- */
@media (max-width: 380px) {
    .header { padding: 8px 12px; }
    .logo-text h1 { font-size: 1.15rem; letter-spacing: 0; }
    .logo-mark { width: 36px; height: 36px; }
    .hero { padding: 18px 12px 34px; }
    .hero-title { font-size: 2.2rem; }
    .section-heading { font-size: 1.7rem; }
    .featured-heading { font-size: 1.15rem; }
    .quote-section blockquote p { font-size: 1.05rem; }
    .acro-letter { font-size: 2.4rem; }
}

/* ----- Respect reduced motion preference --------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

