/* Joey Camen — Artist / Comedy Homepage
   HTML5 + CSS3 + Vanilla JavaScript
*/

:root {
  --ink: #151515;
  --paper: #f4f0e8;
  --cream: #fffaf0;
  --red: #ef3e32;
  --yellow: #ffd447;
  --white: #ffffff;
  --muted: #716d65;
  --line: rgba(21, 21, 21, .18);
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

.top-strip {
  min-height: 30px;
  padding: 7px 24px;
  background: var(--ink);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}

.strip-dot { color: var(--yellow); }

.site-header {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 20;
}

.logo { display: flex; align-items: center; gap: 5px; line-height: .8; }
.logo-script { font-family: "Permanent Marker", cursive; font-size: 34px; transform: rotate(-5deg); }
.logo-block { font-family: "Bebas Neue", sans-serif; font-size: 31px; letter-spacing: .04em; }

.main-nav { display: flex; align-items: center; gap: 30px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a:not(.nav-button) { position: relative; }
.main-nav a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -7px;
  height: 2px; background: var(--red);
  transition: right .25s ease;
}
.main-nav a:not(.nav-button):hover::after { right: 0; }

.nav-button {
  padding: 13px 18px;
  background: var(--red);
  color: white;
  border-radius: 2px;
  transform: rotate(-1deg);
}
.nav-button span { margin-left: 7px; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 27px; height: 3px; background: var(--ink); margin: 5px 0; }

.hero {
  width: min(100% - 48px, var(--max));
  min-height: 700px;
  margin: 0 auto 40px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  border: 1px solid rgba(21,21,21,.08);
}

.hero::before {
  content: "";
  position: absolute;
  width: 430px; height: 430px;
  border-radius: 50%;
  background: var(--yellow);
  top: -160px; right: 170px;
  opacity: .8;
}

.hero::after {
  content: "";
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--red);
  bottom: -80px; left: 38%;
}

.hero-noise {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(#000 0.7px, transparent .7px);
  background-size: 7px 7px;
}

.hero-copy { position: relative; z-index: 3; padding: 65px 30px 70px 8%; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .19em; margin: 0 0 18px; }
.hero h1, h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: .82;
  margin: 0;
}
.hero h1 { font-size: clamp(76px, 9vw, 136px); }
.hero h1 span, h2 span { color: var(--red); }
.hero-text { max-width: 460px; margin: 30px 0; font-size: 16px; line-height: 1.65; font-weight: 500; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.button {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-3px) rotate(-1deg); }
.button-primary { background: var(--red); color: white; box-shadow: 5px 5px 0 var(--ink); }
.button-ghost { border: 1px solid var(--ink); }
.button span { font-size: 15px; }

.hero-photo-wrap { height: 100%; min-height: 650px; position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }
.photo-frame {
  width: min(410px, 78%);
  position: relative;
  transform: rotate(3deg);
  background: white;
  padding: 12px 12px 50px;
  box-shadow: 15px 18px 0 rgba(21,21,21,.95);
}
.photo-frame::before {
  content: "";
  position: absolute;
  width: 90px; height: 20px;
  top: -10px; left: 30%;
  background: rgba(255,212,71,.9);
  transform: rotate(-4deg);
}
.photo-frame img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-label {
  position: absolute; left: 18px; bottom: 12px;
  font-family: "Bebas Neue", sans-serif; font-size: 17px; line-height: .9;
  letter-spacing: .08em;
}
.sticker {
  position: absolute; right: 2%; bottom: 12%;
  width: 125px; height: 125px; border-radius: 50%;
  background: var(--red); color: white;
  display: grid; place-items: center; text-align: center;
  font-family: "Bebas Neue", sans-serif; font-size: 20px; line-height: .85;
  transform: rotate(11deg); border: 4px solid var(--ink);
}
.scribble { font-family: "Permanent Marker", cursive; color: var(--red); font-size: 31px; }
.scribble-top { position: absolute; right: 4%; top: 15%; transform: rotate(-12deg); }

.hero-bottom {
  position: absolute; bottom: 18px; left: 8%; right: 8%;
  display: flex; align-items: center; gap: 16px; z-index: 5;
  font-size: 9px; font-weight: 800; letter-spacing: .18em;
}
.scroll-line { height: 1px; background: var(--ink); opacity: .35; flex: 1; }

.marquee { background: var(--red); color: white; overflow: hidden; padding: 14px 0; transform: rotate(-1deg) scale(1.02); margin: 30px 0 100px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 28px; animation: marquee 28s linear infinite; white-space: nowrap; font-family: "Bebas Neue", sans-serif; font-size: 29px; letter-spacing: .08em; }
.marquee b { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { width: min(100% - 48px, var(--max)); margin: 0 auto 140px; position: relative; }
.section-number { position: absolute; top: 0; left: 0; font-size: 10px; font-weight: 800; letter-spacing: .15em; color: var(--red); }
.section-number.light { color: var(--yellow); }
.about { display: grid; grid-template-columns: 25% 35% 40%; gap: 30px; padding-top: 15px; }
.about h2, .shows h2 { font-size: clamp(85px, 10vw, 145px); }
.about-copy { padding-top: 65px; max-width: 490px; }
.about-copy p { line-height: 1.75; font-size: 15px; color: #4d4a44; }
.about-copy .lead { color: var(--ink); font-size: 20px; line-height: 1.5; font-weight: 600; margin-top: 0; }
.text-link { display: inline-flex; gap: 15px; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .14em; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-top: 16px; }
.text-link span { color: var(--red); font-size: 18px; }
.about-lead { color: var(--ink); font-size: 20px; line-height: 1.5; font-weight: 600; margin-top: 0; }

.watch {
  max-width: none;
  width: 100%;
  padding: 100px max(24px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr .8fr;
  gap: 35px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.watch::before { content: "HAHA"; position: absolute; right: -50px; top: -80px; color: rgba(255,255,255,.035); font: 300 240px/1 "Bebas Neue"; transform: rotate(-10deg); }
.watch h2 { font-size: clamp(75px, 9vw, 135px); position: relative; z-index: 1; }
.light-text { color: rgba(255,255,255,.7); }
.video-card { position: relative; z-index: 2; }
.video-art {
  min-height: 330px; background: var(--red); display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.video-art::after { content: "LOL LOL LOL"; position: absolute; font: 110px/1 "Bebas Neue"; color: rgba(0,0,0,.12); transform: rotate(-15deg); }
.video-art.alt { min-height: 245px; background: var(--yellow); }
.play-ring {
  width: 74px; height: 74px; border: 3px solid white; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 3; background: rgba(0,0,0,.15);
}
.play-ring span { margin-left: 4px; }
.video-art p { position: absolute; left: 20px; bottom: 15px; z-index: 3; font: 25px/.85 "Bebas Neue"; letter-spacing: .06em; }
.video-caption { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.video-caption span { font-size: 8px; font-weight: 800; letter-spacing: .15em; color: var(--yellow); }
.video-caption strong { font-size: 12px; }

.shows { display: grid; grid-template-columns: 38% 62%; column-gap: 30px; padding-top: 15px; }
.shows-head { grid-column: 1; }
.show-list { grid-column: 1 / -1; margin-top: 70px; border-top: 1px solid var(--line); }
.show-row { display: grid; grid-template-columns: 150px 1fr 90px; gap: 25px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease; }
.show-row:hover { padding-left: 10px; padding-right: 10px; background: rgba(255,255,255,.35); }
.show-date { display: flex; flex-direction: column; }
.show-date strong { color: var(--red); font: 30px/1 "Bebas Neue"; }
.show-date span, .show-info p { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 5px 0 0; color: var(--muted); }
.show-info h3 { margin: 0; font: 30px/1 "Bebas Neue"; letter-spacing: .03em; }
.show-link { font-size: 10px; font-weight: 800; text-align: right; }
.show-link span { color: var(--red); font-size: 17px; }

.contact {
  max-width: none;
  width: 100%;
  min-height: 600px;
  background: var(--red);
  color: white;
  display: grid;
  grid-template-columns: minmax(120px, 20%) 1fr;
  padding: 100px max(24px, calc((100% - var(--max)) / 2));
  overflow: hidden;
}
.contact::before { content: ""; position: absolute; width: 650px; height: 650px; border: 2px solid rgba(255,255,255,.2); border-radius: 50%; right: -230px; top: -100px; }
.contact::after { content: ""; position: absolute; width: 400px; height: 400px; border: 2px solid rgba(255,255,255,.13); border-radius: 50%; right: -50px; bottom: -220px; }
.contact-content { position: relative; z-index: 2; max-width: 760px; }
.contact h2 { font-size: clamp(100px, 13vw, 180px); }
.contact h2 span { color: var(--yellow); }
.contact-content > p:not(.eyebrow) { max-width: 500px; font-size: 16px; line-height: 1.7; margin: 30px 0; }
.contact .button-primary { background: var(--ink); box-shadow: 5px 5px 0 var(--yellow); }
.contact-doodle { position: absolute; right: 7%; bottom: 45px; font: 65px/.75 "Permanent Marker"; color: var(--yellow); transform: rotate(-12deg); opacity: .9; }

/* Contact / booking form */
.contact {
  grid-template-columns: minmax(260px, 42%) minmax(320px, 58%);
  column-gap: 55px;
}

.contact-content {
  max-width: 620px;
}

.contact-details {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.contact-details a {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
}

.contact-details span {
  color: rgba(255,255,255,.75);
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-form-wrap {
  position: relative;
  z-index: 5;
  align-self: center;
}

.contact-form {
  background: var(--cream);
  color: var(--ink);
  padding: 32px;
  box-shadow: 10px 10px 0 var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.form-field label span {
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(21,21,21,.28);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: 500 13px/1.4 "Inter", Arial, sans-serif;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 135px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 3px 3px 0 var(--yellow);
}

.form-submit {
  border: 0;
  cursor: pointer;
  margin-top: 3px;
  box-shadow: 4px 4px 0 var(--ink);
}

.form-submit:disabled {
  opacity: .6;
  cursor: wait;
}

.form-status {
  display: none;
  margin: 15px 0 0;
  padding: 11px 12px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
}

.form-status.success {
  display: block;
  background: #dff3df;
  color: #1f5d2b;
}

.form-status.error {
  display: block;
  background: #ffe1df;
  color: #8d211a;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Two-column responsive layout */ .about-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; width: 100%; align-items: start; } /* Prevent text from becoming too wide */ .about-column { min-width: 0; } /* Lead paragraph styling */ .about-column .lead { margin-top: 0; } /* Paragraph spacing */ .about-column p { margin-bottom: 1.5rem; line-height: 1.7; } /* Tablet and mobile */ @media (max-width: 768px) { .about-columns { grid-template-columns: 1fr; gap: 20px; } } /* Smaller phones */ @media (max-width: 480px) { .about-columns { gap: 10px; } }

.site-footer { background: var(--ink); color: white; min-height: 190px; padding: 40px max(24px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; }
.footer-brand { font: 40px/1 "Bebas Neue"; letter-spacing: .04em; }
.footer-brand span { color: var(--red); }
.site-footer > p { color: #aaa; font-size: 11px; }
.footer-links { display: flex; gap: 18px; justify-content: center; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.footer-links a:hover { color: var(--yellow); }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 8px !important; letter-spacing: .12em; text-transform: uppercase; }

.video-art { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; } .video-art iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; } .video-art.alt { position: relative; }


/* -------------------------
           CONTENT
           ------------------------- */

        .credits-section {
            padding: 90px 0;
        }

        .credits-container {
            width: min(1200px, calc(100% - 40px));
            margin: 0 auto;
        }

        .section-intro {
            max-width: 760px;
            margin-bottom: 55px;
        }

        .section-label {
            margin: 0 0 8px;

            color: var(--red);

            font-size: 12px;
            font-weight: 800;

            letter-spacing: 3px;
            text-transform: uppercase;
        }

        .section-title {
            margin: 0 0 18px;

            font-family: var(--font-display);

            font-size: clamp(45px, 6vw, 75px);

            line-height: 0.95;
        }

        .section-intro p {
            margin: 0;

            color: var(--light-gray);

            font-size: 17px;
            line-height: 1.8;
        }

        /* -------------------------
           CREDIT CATEGORY
           ------------------------- */

        .credit-category {
            margin-bottom: 75px;
        }

        .credit-category-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;

            gap: 25px;

            margin-bottom: 18px;

            padding-bottom: 14px;

            border-bottom: 2px solid var(--red);
        }

        .credit-category-title {
            margin: 0;

            font-family: var(--font-display);

            font-size: clamp(42px, 5vw, 62px);

            line-height: 0.9;

            letter-spacing: 1px;
        }

        .credit-category-count {
            color: var(--gray);

            font-size: 11px;
            font-weight: 800;

            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* -------------------------
           CREDIT GRID
           ------------------------- */

        .credits-grid {
            display: grid;

            grid-template-columns:
                minmax(0, 1.25fr)
                minmax(0, 1fr)
                minmax(0, 1fr);

            border-top: 1px solid var(--border);
        }

        .credit-item {
            min-height: 82px;

            display: flex;
            flex-direction: column;
            justify-content: center;

            padding: 17px 22px;

            border-bottom: 1px solid var(--border);
            border-right: 1px solid var(--border);

            transition:
                background 0.25s ease,
                transform 0.25s ease;
        }

        .credit-item:nth-child(3n) {
            border-right: 0;
        }

        .credit-item:hover {
            background: var(--dark-gray);
        }

        .credit-project {
            color: var(--white);

            font-size: 15px;
            font-weight: 700;

            line-height: 1.4;
        }

        .credit-role {
            margin-top: 5px;

            color: var(--red);

            font-size: 12px;
            font-weight: 700;

            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .credit-company {
            color: var(--light-gray);

            font-size: 13px;
            line-height: 1.5;
        }

        /* -------------------------
           FEATURED CREDIT
           ------------------------- */

        .featured-credit {
            position: relative;

            margin-bottom: 60px;

            padding: 35px;

            background:
                linear-gradient(
                    135deg,
                    rgba(227,27,35,0.12),
                    rgba(255,255,255,0.025)
                );

            border: 1px solid var(--border);
            border-left: 4px solid var(--red);
        }

        .featured-credit-label {
            margin-bottom: 8px;

            color: var(--red);

            font-size: 11px;
            font-weight: 800;

            letter-spacing: 3px;
            text-transform: uppercase;
        }

        .featured-credit h3 {
            margin: 0;

            font-family: var(--font-display);

            font-size: 50px;
            line-height: 1;
        }

        .featured-credit p {
            margin: 12px 0 0;

            color: var(--light-gray);
        }

        /* -------------------------
           CTA
           ------------------------- */

        .credits-cta {
            position: relative;

            padding: 90px 30px;

            text-align: center;

            background: var(--dark);

            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);

            overflow: hidden;
        }

        .credits-cta::before {
            content: "JOEY";

            position: absolute;

            left: 50%;
            top: 50%;

            transform: translate(-50%, -50%);

            font-family: var(--font-display);

            font-size: clamp(150px, 25vw, 350px);

            color: rgba(255,255,255,0.02);

            pointer-events: none;
        }

        .credits-cta-content {
            position: relative;
            z-index: 2;

            max-width: 750px;
            margin: 0 auto;
        }

        .credits-cta h2 {
            margin: 0 0 15px;

            font-family: var(--font-display);

            font-size: clamp(55px, 7vw, 90px);

            line-height: 0.9;
        }

        .credits-cta p {
            margin: 0 auto 30px;

            max-width: 600px;

            color: var(--light-gray);

            font-size: 17px;
        }

.linktree-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 190px; padding: 14px 22px; background: #111; color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 3px; font-family: "Inter", Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; } .linktree-button:hover { background: #e31b23; border-color: #e31b23; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(227,27,35,0.25); } .linktree-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; } .linktree-icon svg { width: 22px; height: 22px; fill: currentColor; } .linktree-arrow { margin-left: 4px; font-size: 18px; line-height: 1; transition: transform 0.25s ease; } .linktree-button:hover .linktree-arrow { transform: translateX(4px); }

.joey-camen-book {
    max-width: 850px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e5e5;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
  }

  .book-content {
    display: flex;
    align-items: center;
    gap: 25px;
  }

  .book-icon {
    flex: 0 0 110px;
    width: 110px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 8px;
    font-size: 52px;
    box-shadow: inset 0 0 0 1px #ddd;
  }

  .book-info {
    flex: 1;
  }

  .book-info h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
    color: #222;
  }

  .book-info p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.65;
    color: #555;
  }

  .amazon-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #ff9900;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .amazon-button:hover {
    background: #e88b00;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .amazon-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
  }

  .amazon-icon svg {
    width: 24px;
    height: 24px;
    fill: #111;
  }

  .amazon-icon .smile {
    fill: none;
    stroke: #111;
    stroke-width: 1.5;
    stroke-linecap: round;
  }

  @media (max-width: 600px) {
    .joey-camen-book {
      margin: 20px 10px;
      padding: 22px;
    }

    .book-content {
      flex-direction: column;
      text-align: center;
    }

    .book-info h2 {
      font-size: 24px;
    }

    .amazon-button {
      justify-content: center;
    }
  }



/* =========================================================
   GALLERY CARD
   ========================================================= */

.photo-gallery {
  max-width: 850px;
  margin: 30px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e5e5;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.gallery-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.gallery-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-radius: 10px;
  font-size: 27px;
  box-shadow: inset 0 0 0 1px #ddd;
}

.gallery-header h2 {
  margin: 0 0 5px;
  font-size: 28px;
  line-height: 1.2;
  color: #222;
}

.gallery-header p {
  margin: 0;
  color: #666;
  font-size: 15px;
}


/* =========================================================
   SLIDESHOW
   ========================================================= */

.gallery-slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  background: #f4f4f4;
  border-radius: 10px;
  overflow: hidden;
}


/*
   The image area maintains a consistent size.

   "contain" is important here.

   It allows images of different dimensions to fit
   inside the same area WITHOUT stretching or distortion.
*/

.gallery-images {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image {
  position: absolute;
  width: 100%;
  height: 100%;

  /*
     Prevents distortion.
     Images retain their original aspect ratio.
  */
  object-fit: contain;

  /*
     Adds a small amount of space around the image.
  */
  padding: 10px;

  box-sizing: border-box;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.gallery-image.active {
  opacity: 1;
  visibility: visible;
}


/* =========================================================
   ARROW BUTTONS
   ========================================================= */

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 45px;
  height: 60px;

  border: none;
  border-radius: 6px;

  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;

  font-size: 28px;

  cursor: pointer;

  z-index: 10;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}


/* =========================================================
   CAPTION
   ========================================================= */

.gallery-caption {
  text-align: center;
  padding: 15px 10px 8px;

  color: #555;

  font-size: 15px;
  line-height: 1.5;
}

#galleryCaption {
  font-weight: 500;
}


/* =========================================================
   DOT NAVIGATION
   ========================================================= */

.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 8px;

  padding-top: 8px;
}

.gallery-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  border: none;

  background: #cccccc;

  cursor: pointer;

  padding: 0;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.gallery-dot:hover {
  transform: scale(1.2);
}

.gallery-dot.active {
  background: #333333;
  transform: scale(1.25);
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 700px) {

  .photo-gallery {
    margin: 20px 10px;
    padding: 20px;
  }

  .gallery-slideshow {
    height: 400px;
  }

  .gallery-header h2 {
    font-size: 24px;
  }

  .gallery-arrow {
    width: 40px;
    height: 50px;
    font-size: 23px;
  }

}


/* =========================================================
   SMALL MOBILE DEVICES
   ========================================================= */

@media (max-width: 450px) {

  .gallery-slideshow {
    height: 300px;
  }

  .gallery-arrow {
    width: 36px;
    height: 45px;
    font-size: 20px;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

}

@media (max-width: 900px) {
  .site-header { height: 76px; }
  .menu-toggle { display: block; position: relative; z-index: 25; }
  .main-nav {
    position: absolute; top: 65px; right: 0; width: min(300px, 90vw);
    background: var(--cream); border: 1px solid var(--ink);
    padding: 22px; display: none; flex-direction: column; align-items: stretch;
    box-shadow: 8px 8px 0 var(--ink);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px; }
  .nav-button { text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: 1050px; }
  .hero-copy { padding: 70px 8% 20px; }
  .hero-photo-wrap { min-height: 520px; }
  .hero-bottom { display: none; }
  .scribble-top { top: 0; right: 10%; }
  .about { grid-template-columns: 1fr; }
  .about-heading { padding-left: 12%; }
  .about-copy { padding: 0 12%; }
  .watch { grid-template-columns: 1fr 1fr; }
  .watch-intro { grid-column: 1 / -1; }
  .video-card:first-of-type { grid-column: 1; }
  .small-card { grid-column: 2; }
  .shows { grid-template-columns: 1fr; }
  .shows-head { padding-left: 12%; }
  .show-row { grid-template-columns: 100px 1fr 70px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-content: flex-end; }
}

@media (max-width: 600px) {
  .top-strip { font-size: 7px; letter-spacing: .12em; }
  .site-header, .hero, .section { width: min(100% - 28px, var(--max)); }
  .hero { min-height: 850px; }
  .hero h1 { font-size: 74px; }
  .hero-photo-wrap { min-height: 420px; }
  .photo-frame { width: 78%; padding-bottom: 45px; }
  .sticker { width: 95px; height: 95px; font-size: 16px; right: 0; }
  .scribble-top { font-size: 25px; }
  .marquee { margin-bottom: 70px; }
  .section { margin-bottom: 90px; }
  .about-heading, .about-copy, .shows-head { padding-left: 14%; padding-right: 3%; }
  .about h2, .shows h2 { font-size: 90px; }
  .watch { padding: 70px 20px; grid-template-columns: 1fr; }
  .video-card:first-of-type, .small-card { grid-column: auto; }
  .video-art, .video-art.alt { min-height: 280px; }
  .show-list { margin-top: 45px; }
  .show-row { grid-template-columns: 1fr; gap: 9px; }
  .show-link { text-align: left; }
  .contact { grid-template-columns: 1fr; min-height: 580px; padding: 75px 24px; }
  .contact .section-number { left: 24px; }
  .contact-content { padding-top: 45px; }
  .contact h2 { font-size: 105px; }
  .contact-doodle { right: 5%; bottom: 20px; font-size: 42px; }
  .contact-form-wrap { margin-top: 45px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; box-shadow: 6px 6px 0 var(--ink); }
  .site-footer { grid-template-columns: 1fr; padding: 35px 24px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  * { transition: none !important; }
}


/* =========================================================
   LOGO SECTION
   ========================================================= */

.logo-section {
  max-width: 850px;
  margin: 30px auto;
  padding: 30px;

  background: #ffffff;

  border-radius: 14px;

  box-shadow:
    0 6px 25px rgba(0, 0, 0, 0.12);

  border: 1px solid #e5e5e5;

  box-sizing: border-box;

  font-family:
    Arial,
    Helvetica,
    sans-serif;
}


/* =========================================================
   3 COLUMN GRID
   ========================================================= */

.logo-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  grid-template-rows:
    repeat(2, 1fr);

  gap: 20px;

  width: 100%;
}


/* =========================================================
   INDIVIDUAL LOGO BOX
   ========================================================= */

.logo-box {

  height: 1-0px;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 10px;

  box-sizing: border-box;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


/* =========================================================
   LOGO IMAGE
   ========================================================= */

.logo-box img {

  max-width: 100%;

  max-height: 110px;

  width: auto;

  height: auto;

  object-fit: contain;

  display: block;

}


/* =========================================================
   HOVER EFFECT
   ========================================================= */

.logo-box:hover {

  transform: translateY(-3px);

  background: #ffffff;

  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.10);

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 650px) {

  .logo-section {

    margin: 20px 10px;

    padding: 20px;

  }

  .logo-grid {

    gap: 15px;

  }

  .logo-box {

    height: 130px;

    padding: 15px;

  }

  .logo-box img {

    max-height: 90px;

  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 450px) {

  .logo-grid {

    grid-template-columns:
      repeat(2, 1fr);

    grid-template-rows:
      repeat(3, 1fr);

  }

  .logo-box {

    height: 120px;

  }

}
