/* ================================
   CSS VARIABLES
================================ */
:root {
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 80px;
}


/* ================================
   BASE RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  background-color: #2d3a2e;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: #1a1f18;
}

img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

body {
  background: none;
  color: #f2e8d8;
  font-family: "Cormorant Garamond", serif;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("images/floralbackground.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}


/* ================================
   NAVIGATION
================================ */
.navbar {
  background-image: url("images/darkwalnut.png");
  background-size: 1400px auto;
  background-position: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.navbar ul {
  display: flex;
  justify-content: center;
  gap: 50px;
  list-style: none;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar a {
  text-decoration: none;
  color: #f2e8d8;
  font-size: 14px;
  letter-spacing: 2px;
}


/* ================================
   HERO
================================ */
.hero {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  padding-top: 60px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 300;
  margin: 0;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 1.7rem;
  flex-direction: column;
}

.hero-roles div {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}

.hero hr {
  margin: 25px 0 40px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.shelf-container {
  display: flex;
  justify-content: center;
}

.shelf-container img {
  width: 102%;
  max-width: 1200px;
}


/* ================================
   ABOUT (Desktop - Steady Sizing Locked)
================================ */
.about {
  width: min(1100px, 90%);
  max-width: 1100px;
  margin: var(--space-xl) auto;
  display: grid;
  grid-template-columns: 340px 550px; 
  justify-content: center;
  gap: 60px;
  align-items: start;
}

.frame {
  position: relative;
}

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

.about-image {
  width: 340px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -20px;
}

.about-image .frame {
  width: 100%;
}

.about-image .frame img {
  width: 340px;
  height: auto;
  display: block;
  object-fit: contain;
}

.about-content {
  width: 550px;
  margin-right: 0;
  text-align: center;
}

.about-content h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f2e8d8;
  font-weight: 600;
}


/* ================================
   ARTIST AT WORK
================================ */
.artist-at-work {
  width: min(1200px, 90%);
  margin: var(--space-xl) auto;
  margin-top: 150px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  color: #111;
}

.artist-title-frame {
  position: relative;
  width: 700px;
  margin-left: 0;
  margin-right: auto;
}

.artist-title-frame img {
  width: 100%;
  display: block;
}

.artist-title-frame h2 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Desktop frames */
.artist-frames-desktop {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.artist-frame {
  width: min(850px, 90%);
  position: relative;
}

.artist-frame.left {
  margin-left: 0;
  margin-right: auto;
}

.artist-frame.right {
  margin-left: auto;
  margin-right: 0;
}

.artist-frame img {
  width: 100%;
  height: auto;
  display: block;
  line-height: 0;
}

.artist-frame-content {
  position: absolute;
  inset: 0;
  padding: 12% 10% 12% 14%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  overflow: auto;
}

.artist-frame-content h3 {
  font-size: clamp(1rem, 2vw, 1.75rem);
  margin: 0 0 8px;
  flex-shrink: 0;
}

.artist-frame-content h3::after {
  content: "";
  display: block;
  width: 55px;
  height: 1px;
  background: #111;
  margin-top: 6px;
}

.artist-frame-content p {
  font-size: clamp(.8rem, 1.3vw, 1.05rem);
  font-weight: 700 !important;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: auto;
}

/* Mobile carousel — hidden on desktop */
.artist-carousel-wrapper {
  display: none;
}

.label-frame {
  width: 600px;
  height: 150px;
  background-image: url("../images/frame-label.png");
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.label-frame h3 {
  color: #2b241d;
  font-size: 2rem;
  font-weight: 400;
}

.artist-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  text-align: center;
}

.artist-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.artist-work {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.frame-img {
  width: 100%;
  display: block;
}


/* ================================
   MUSICAL LANDSCAPE
================================ */
.musical-landscape {
  width: min(1200px, 90%);
  margin: var(--space-xl) auto;
}

/* Header: shelf | title | shelf */
.ml-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 60px;
}

.ml-title {
  text-align: center;
  flex-shrink: 0;
}

.ml-title h2 {
  font-size: 2.6rem;
  font-weight: 400;
  color: #f2e8d8;
  margin-bottom: 6px;
  white-space: nowrap;
}

.ml-title p {
  font-size: 1.1rem;
  color: #f2e8d8;
}

.ml-shelf {
  flex: 1;
  max-width: 300px;
}

.ml-shelf img {
  width: 100%;
  height: auto;
  display: block;
}

/* Flip the right shelf horizontally */
.ml-shelf-right img {
  transform: scaleX(-1);
}

/* ---- Gallery wall ---- */
.gallery-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, auto);
  gap: 28px 20px;
  align-items: center;
}

/* ---- Photo wrapper (frame pattern) ---- */
.gw-photo {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
}

.gw-frame-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1; 
  pointer-events: none;
}

.gw-photo-inner {
  position: absolute;
  top: 25%;
  bottom: 20%;
  left: 24%;
  right: 22%;
  overflow: hidden;
  z-index: 2; 
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Specific layout overrides for the desktop guitar slot */
.gallery-wall .gw-photo.gw-guitar {
  grid-column: 2; 
  grid-row: 2 / 4; 
  transform: rotate(1deg); 
  align-self: start; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: fit-content; 
}

.gw-guitar .gw-frame-img {
  width: 100%;
  height: auto;
  display: block;
}

.gw-guitar .gw-photo-inner {
  position: absolute;
  top: 25%;
  bottom: 20%;
  left: 24%;
  right: 22%;
  z-index: 2;
  overflow: hidden;
}

.gw-photo-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Geometric corrections for specific custom shapes */
.gw-folk .gw-photo-inner {
  top: 24%;
  bottom: 24%;
  left: 20%;
  right: 20%;
  border-radius: 50% / 43%; 
}

/* ---- Pin wrapper (natural size, centered) ---- */
.gw-pin {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-pin img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Grid placements ---- */

/* Row 1 */
.gw-mers-pic    { grid-column: 1; grid-row: 1; transform: rotate(-2deg); }
.gw-hyperpop    { grid-column: 2; grid-row: 1; transform: rotate(1.5deg); align-self: end; }
.gw-tree-pic    { grid-column: 3; grid-row: 1; transform: rotate(-1deg); }
.gw-incidental  { grid-column: 4; grid-row: 1; transform: rotate(2deg); align-self: end; }

/* Row 2 */
.gw-cmt         { grid-column: 1; grid-row: 2; transform: rotate(-1.5deg); align-self: center; }
.gw-alt         { grid-column: 3; grid-row: 2; transform: rotate(-2deg); align-self: center; }
.gw-pic-mid     { grid-column: 4; grid-row: 2; transform: rotate(1.5deg); }

/* Row 3 */
.gw-folk        { grid-column: 1; grid-row: 3 / 5; transform: rotate(-1deg); align-self: start; }
.gw-electronic  { grid-column: 4; grid-row: 3; transform: rotate(1deg); align-self: center; }

/* Row 4 */
.gw-indie       { grid-column: 2; grid-row: 4; transform: rotate(2deg); align-self: end; }
.gw-pic-bottom  { grid-column: 3; grid-row: 3 / 5; transform: rotate(-1.5deg); align-self: start; }

/* Row 5: Jazz banner centered */
.gw-jazz        { grid-column: 4; grid-row: 4; justify-self: center; width: 100%; transform: rotate(-0.5deg); }


/* ================================
   OUTLOUD
================================ */
.outloud-section {
  width: min(1200px, 90%);
  margin: var(--space-xl) auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.outloud-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.outloud-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.outloud-title-frame,
.outloud-photo-frame,
.outloud-list-frame,
.outloud-booking-frame {
  position: relative;
}

.outloud-title-frame img,
.outloud-photo-frame img:first-child,
.outloud-list-frame img,
.outloud-booking-frame img {
  width: 100%;
  display: block;
}

.outloud-title-content {
  position: absolute;
  inset: 15% 10% 15% 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #111;
  margin-top: 50px;
}

.outloud-title-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.outloud-title-content p {
  font-size: 1.3rem;
  line-height: 1.4;
}

.outloud-photo-content {
  position: absolute;
  inset: 18% 22%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-left: 5px;
}

.outloud-photo {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.outloud-list-content {
  position: absolute;
  inset: 12% 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #2b241d;
  overflow: auto;
  font-weight: 700 !important;
}

.outloud-list-content ul {
  list-style: none;
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.outloud-booking-content {
  position: absolute;
  inset: 12%; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #111;
  overflow: visible;
}

.outloud-booking-content p {
  font-size: 1.25rem !important; /* Brought down from 1.5rem to prevent spillover */
  line-height: 1.5 !important;
  margin: 0;
}

.outloud-booking-content p:first-of-type {
  font-size: 1.05rem !important; /* Brought down to keep it compact */
  line-height: 1.4 !important;
  margin: 0;
}

.outloud-booking-content p:last-of-type {
  margin-top: 15px; /* Tighter gap to pull the email upwards */
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

.outloud-booking-content a {
  display: inline-block;
  margin-top: 4px; /* Keeps it close to its label */
  font-size: 1.35rem; /* Scaled down so it doesn't push out of the frame */
  font-weight: 800 !important;
  color: #111;
  text-decoration: underline;
}

/* Explicitly removes any forced bolding from the paragraph elements */
.outloud-booking-frame p {
  font-weight: normal !important;
}

/* Keeps the email block matching your original .email bold/size rules */
.outloud-booking-frame .email {
  font-weight: bold !important;
  margin-top: 15px;
}

.outloud-booking-frame .email a {
  font-size: 1.6rem !important;
  color: inherit;
  text-decoration: underline;
}



/* ================================
   COLLAB + SOCIAL MEDIA
================================ */
.social-collab-section {
  padding: 80px 5%;
  position: relative;
}

.social-collab-section::before {
  content: "";
  display: block;
  width: 90%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 auto 80px;
}

.social-collab-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.collab-column,
.social-column {
  flex: 1;
  text-align: center;
}

.collab-column h2,
.social-column h2 {
  color: white;
  font-size: 3.2rem;
  margin-bottom: 40px;
  font-family: "Cormorant Garamond", serif;
}

.vertical-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
  min-height: 500px;
}

.divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
  min-height: 500px;
}

.gold-frame {
  width: min(500px, 90vw);
  height: 320px;
  margin: 0 auto;
  background-image: url("images/Collab+Social.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.frame-inner {
  position: absolute;
  inset: 18%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #111;
}

.frame-content {
  position: absolute;
  inset: 18%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #111;
  text-align: center;
}

.frame-content p {
  font-size: 1.5rem;
  line-height: 1.6;
}

.email {
  margin-top: 30px;
  font-size: 1.6rem;
  font-weight: bold;
}

.email a {
  color: inherit;
  text-decoration: underline;
}

.social-links {
  flex-direction: row;
  gap: 30px;
}

.social-links img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.social-links a:last-child img {
  border-radius: 18px;
  background: #111;
}

.social-icons {
  flex-direction: row;
  gap: 50px;
}

.social-icons img {
  width: 120px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.08);
}

footer.navbar {
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================
   LARGE DESKTOP FIX (1201px and Above)
========================================================== */
@media (min-width: 1201px) {
  /* ==========================================================
   OUTLOUD BOOKING (Sideways Overflow Fix for 1201px+)
========================================================== */
.outloud-booking-content {
  position: absolute;
  inset: 12%; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #111;
  overflow: visible;

  /* THE LARGE SCREEN FIX: Restricts the text container's width 
     so it never wider-outflows past the inner artwork canvas */
  width: 76%;
  max-width: 320px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* "Mers is available..." - Kept clean and compact */
.outloud-booking-content p:first-of-type {
  font-size: 1.05rem !important; 
  line-height: 1.4 !important;
  font-weight: 700 !important;
  margin: 0;
}

/* "Submit booking inquiries to:" */
.outloud-booking-content p:last-of-type {
  margin-top: 15px; 
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

/* The actual clickable email link string */
.outloud-booking-content a {
  display: inline-block;
  margin-top: 4px; 
  font-size: 1.35rem; 
  font-weight: 800 !important;
  color: #111;
  text-decoration: underline;
}
}

/* ================================
   RESPONSIVE — Large (1200px)
================================ */
@media (max-width: 1200px) {
  .artist-title-frame {
    width: 580px;
  }

  .outloud-section {
    grid-template-columns: 1fr 1fr;
  }

  .outloud-booking-content {
    inset: 22% 20% 16% 20%;
    font-size: 0.85rem;
    gap: 8px;
    padding: 0 12px;
  }

  .outloud-booking-content p {
    margin: 0;
  }

  .social-collab-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .vertical-divider {
    width: 80%;
    height: 1px;
    min-height: unset;
  }

  .gold-frame {
    width: min(450px, 90vw);
    height: 290px;
  }

  .collab-column h2,
  .social-column h2 {
    font-size: 2.6rem;
    margin-bottom: 25px;
  }
}


/* ================================
   RESPONSIVE — Mid-Tablet (990px)
================================ */
@media (max-width: 990px) {
  .about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    width: 90%;
    margin: var(--space-lg) auto;
  }

  .about-image {
    margin-top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .about-image .frame {
    width: 85%;
    max-width: 340px;
  }

  .about-image .frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .about-content {
    max-width: 600px;
    width: 100%;
    margin-right: 0;
    padding: 0 15px;
  }

  .about-content h2 {
    text-align: center;
    font-size: 2.4rem;
  }
}


/* ================================
   RESPONSIVE — Outloud (900px)
================================ */
@media (max-width: 900px) {
  .outloud-section {
    grid-template-columns: 1fr;
  }

  .outloud-booking-content {
    inset: 20% 18% 15% 18%;
    font-size: 0.85rem;
    gap: 10px;
  }

  .outloud-list-content {
    inset: 12% 22%;
  }

  .outloud-list-content ul {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* ==========================================================
   DESKTOP PATCHES (769px and up) - Compact Text Size
========================================================== */
@media (min-width: 769px) {
  .artist-frame .artist-frame-content {
    overflow: hidden !important; 
  }
  
  .artist-frame-content::-webkit-scrollbar {
    display: none !important; 
  }

  /* Drop the font size and tighten the line height to force it to shrink */
  .artist-frame-content p {
    font-size: 0.70rem !important; 
    line-height: 1.35 !important;
  }

  /* Shift Musical Landscape text upward out of the "droop" line */
  .musical-landscape {
    margin: calc(var(--space-xl) - 50px) auto var(--space-xl) auto !important; 
    transform: translateY(-35px);
    position: relative;
    z-index: 5;
  }
}

/* ================================
   RESPONSIVE — Tablet (768px)
================================ */
@media (max-width: 768px) {
  
  .navbar ul {
    gap: 24px;
  }

  .navbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-roles {
    font-size: 1.3rem;
    align-items: center;
  }

  .artist-at-work {
    margin-top: 60px;
    gap: 16px;
  }

  .artist-title-frame {
    width: 90%;
    margin: 0 auto 4px;
  }

  .artist-title-frame h2 {
    font-size: 1.4rem;
  }

  .artist-frames-desktop {
    display: none;
  }

  .artist-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
  }

  .artist-frames-carousel {
    display: flex;
    flex-direction: row;
    width: 75vw;
    height: 500px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    scroll-behavior: smooth;
  }

  .artist-frames-carousel::-webkit-scrollbar {
    display: none;
  }

  .artist-frame-mobile {
    flex: 0 0 75vw;
    width: 75vw;
    position: relative;
    scroll-snap-align: start;
  }

  .artist-frame-mobile img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
  }

  .artist-frame-mobile .artist-frame-content {
    position: absolute;
    inset: 25% 12% 8%;
    padding: 6% 6%;
    overflow: auto;
    justify-content: flex-start;
  }

  .artist-frame-mobile .artist-frame-content h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .artist-frame-mobile .artist-frame-content p {
    font-size: 10px;
    line-height: 1.35;
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #f2e8d8;
    border: none;
    font-size: 2.5rem;
    padding: 6px 12px;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    line-height: 1;
  }

  .left-arrow  { left: 0; }
  .right-arrow { right: 0; }

  .carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
  }

  .ml-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .ml-shelf-left {
    order: -1;
    max-width: 80%;
  }

  .ml-shelf-right {
    display: none;
  }

  .gallery-wall {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }

  .gw-photo {
    transform: none !important;
  }

  .gw-pin {
    transform: none !important;
    align-self: center;
  }

  .gw-mers-pic   { grid-column: 1; grid-row: 1; }
  .gw-hyperpop   { grid-column: 2; grid-row: 1; align-self: center; }
  .gw-tree-pic   { grid-column: 2; grid-row: 2; }
  .gw-incidental { grid-column: 1; grid-row: 2; align-self: center; }
  .gw-cmt        { grid-column: 1; grid-row: 3; align-self: center; }
  .gw-guitar     { grid-column: 2; grid-row: 3; }
  .gw-alt        { grid-column: 2; grid-row: 4; align-self: center; }
  .gw-pic-mid    { grid-column: 1; grid-row: 4; }
  .gw-folk       { grid-column: 1; grid-row: 5; align-self: center; }
  .gw-pic-bottom { grid-column: 2; grid-row: 5; }
  .gw-electronic { grid-column: 2; grid-row: 6; align-self: center; }
  .gw-indie      { grid-column: 1; grid-row: 6; align-self: center; }
  .gw-jazz       { grid-column: 1 / 3; grid-row: 7; justify-self: center; width: 80%; }

  .outloud-list-content {
    overflow: hidden !important; 
    overflow-y: hidden !important;
    inset: 10% 16% !important; 
  }

  .outloud-list-content ul {
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
  }

  .social-collab-container {
    flex-direction: column;
    align-items: center;
  }

  .vertical-divider {
    width: 80%;
    height: 1px;
    min-height: unset;
  }

  .gold-frame {
    width: 90vw;
    max-width: 500px;
    height: 280px;
  }

  .collab-column h2,
  .social-column h2 {
    font-size: 2.4rem;
  }
}


/* ==========================================================
   RESPONSIVE — Mobile (480px)
   Balances larger displays like iPhone 16 Pro Max
========================================================== */
@media (max-width: 480px) {
  html, body {
    background: url("images/floralbackground.png") repeat !important;
    background-size: auto !important;
  }
  
  body::before {
    position: absolute !important;
    background-repeat: repeat !important;
    background-size: auto !important;
  }
  
  .navbar ul {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
  }

  .navbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar a {
    font-size: 10px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-roles {
    font-size: 1rem;
  }

  .about {
    width: 95%;
    gap: 20px;
  }

  .about-image .frame {
    width: 75%;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 0.95rem;
  }

  .gallery-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gw-photo {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .gw-frame-img,
  .gw-photo-content {
    display: block !important;
    width: 100%;
    height: auto;
    position: relative;
    inset: 0;
    z-index: 1;
  }

  .gw-photo-inner {
    display: none;
  }

  .gw-guitar .gw-photo-inner {
    inset: 17% 14% 16% 14%;
  }

  .gw-folk .gw-photo-inner {
    inset: 24% 20%;
    border-radius: 50% / 43%;
  }

  .gw-photo-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ml-header h2 {
    font-size: 2rem;
  }

  .outloud-title-content h2 {
    font-size: 1.3rem;
  }

  .outloud-title-content p {
    font-size: 0.8rem;
  }

  /* Centered and padded cleanly for larger mobile devices */
  .outloud-booking-content {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    
    width: 100% !important;
    padding: 0 14% !important; /* Pushes text inward safely on iPhone 16 Pro Max */
    max-width: none !important;
    margin: 0 !important;
    overflow: visible;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .outloud-booking-content p {
    font-size: 0.82rem !important; /* Slightly more readable on larger Pro Max screen */
    line-height: 1.25 !important;
  }

  .outloud-booking-content p:first-of-type {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
  }

  .outloud-booking-content p:last-of-type {
    margin-top: 8px !important;
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
  }

  .outloud-booking-content a {
    font-size: 0.65rem;
    font-weight: 800 !important;
    margin-top: 4px;
  }

  .outloud-booking-frame .email a,
  .social-collab-section .email a {
    font-size: 0.92rem !important; /* Looks balanced on Pro Max layout */
    white-space: nowrap !important;
    word-break: normal !important;
    letter-spacing: -0.3px !important;
  }

  .social-collab-section .email {
    font-size: 0.92rem !important;
    margin-top: 15px !important;
  }

  .outloud-list-content {
    inset: 12% 20% !important;
  }

  .outloud-list-content ul {
    font-size: 0.58rem !important;
    line-height: 1.3 !important;
  }

  .collab-column h2,
  .social-column h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .frame-inner p {
    font-size: 0.9rem;
  }

  .social-links img {
    width: 50px;
    height: 50px;
  }

  .gold-frame {
    height: 210px;
  }
}

/* ==========================================================
   NAOMI'S PIXEL 6 PATCH (400px and under)
   Tighter restrictions for narrower viewports
========================================================== */
@media (max-width: 400px) {
  .outloud-booking-content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 13% !important; /* Holds text safe inside narrow frame asset */
  }

  .outloud-booking-content p {
    font-size: 0.72rem !important; /* Scaled down for 393px screens */
    line-height: 1.25 !important;
  }

  .outloud-booking-content p:first-of-type {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  .outloud-booking-content p:last-of-type {
    margin-top: 6px !important;
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
  }

  .outloud-booking-frame .email a,
  .social-collab-section .email a {
    font-size: clamp(0.72rem, 3.2vw, 0.82rem) !important; /* Maximum compression for long strings */
    letter-spacing: -0.5px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .social-collab-section .email {
    font-size: 0.82rem !important;
  }

  .outloud-list-content {
    inset: 15% 20% !important;
  }

  .outloud-list-content ul {
    font-size: 0.52rem !important;
    line-height: 1.3 !important;
  }
}