.guitars-page {
  background:
    radial-gradient(circle at 82% 8%, #173a5b 0%, transparent 29%),
    radial-gradient(circle at 14% 31%, #80501a2c 0%, transparent 25%),
    linear-gradient(180deg, #02070d 0%, #081827 48%, #030910 100%);
}

.guitars-page .hm-desktop {
  background-image: url("assets/header-desktop.webp");
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  border-radius: 8px;
  color: #181006;
  background: var(--gold-300);
  font: 800 1rem/1 var(--sans);
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.guitars-main {
  width: min(100%, 1600px);
  margin: 0 auto;
  overflow: hidden;
  background: #06111de8;
  box-shadow: 0 0 80px #000d;
}

.guitars-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 5.75rem;
  overflow: hidden;
  border-bottom: 1px solid #8b6028;
  text-align: center;
  background:
    linear-gradient(120deg, #02070de8, #0b2338df 52%, #03080ff2),
    repeating-linear-gradient(120deg, transparent 0 205px, #f1c55b10 206px 208px, transparent 209px 410px);
}

.guitars-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 5px;
  background: var(--gold-line);
  box-shadow: 0 0 20px #efbd4e8f;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: min(920px, 94vw);
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #c0832847 0%, #173f6645 42%, transparent 72%);
  filter: blur(14px);
}

.guitars-eyebrow,
.section-kicker,
.viewer-kicker {
  margin: 0;
  color: var(--gold-300);
  font: 800 .98rem/1.5 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.guitars-eyebrow span {
  letter-spacing: 0;
}

.guitars-hero h1,
.portrait-copy h2,
.gallery-heading h2,
.guitar-name,
.guitar-viewer h2 {
  color: var(--gold-300);
  font-family: var(--display);
  text-shadow: 0 4px 18px #000c, 0 0 20px #c9892d29;
}

.guitars-hero h1 {
  margin: .8rem 0 .65rem;
  font-size: clamp(4.1rem, 7.4vw, 7.3rem);
  line-height: .98;
}

.guitars-hero > p:last-child {
  max-width: 980px;
  margin: 1.7rem auto 0;
  color: #eef2f5;
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  line-height: 1.7;
}

.title-filigree {
  width: min(500px, 78vw);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold-300);
  font-size: 1.4rem;
}

.title-filigree::before,
.title-filigree::after {
  content: "";
  height: 3px;
  flex: 1;
  background: var(--gold-line);
  box-shadow: 0 0 12px #ebb340a6;
}

.collection-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem);
  border-bottom: 1px solid #8b6028;
  background:
    radial-gradient(circle at 82% 32%, #234e7047, transparent 38%),
    linear-gradient(145deg, #06111d, #0b2236 58%, #030910);
}

.portrait-frame {
  position: relative;
  max-width: 760px;
  padding: 8px;
  border: 1px solid #dcad4b;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8dc83, #855415 45%, #f3cb68 100%);
  box-shadow: 0 28px 70px #000c, 0 0 38px #d9a23a30;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 20% -8% -9% 30%;
  z-index: -1;
  border-radius: 50%;
  background: #df9b2930;
  filter: blur(38px);
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.portrait-copy {
  max-width: 570px;
}

.portrait-copy h2,
.gallery-heading h2 {
  margin: .55rem 0 1.15rem;
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  line-height: 1.02;
}

.portrait-copy > p:last-of-type {
  margin: 1.4rem 0 2.1rem;
  color: #dce4eb;
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.72;
}

.portrait-rule {
  width: min(370px, 85%);
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--gold-300);
}

.portrait-rule::before,
.portrait-rule::after {
  content: "";
  height: 2px;
  flex: 1;
  background: var(--gold-line);
}

.portrait-copy .gold-action {
  min-height: 56px;
  gap: .9rem;
  padding: .95rem 1.4rem;
  border-radius: 12px;
  font-size: 1.05rem;
}

.gold-divider {
  position: relative;
  height: 1px;
  margin: 0 auto;
  background: var(--gold-line);
  box-shadow: 0 0 16px #e4b34966;
  text-align: center;
}

.gold-divider span {
  position: relative;
  top: -17px;
  display: inline-block;
  padding: 0 1.25rem;
  color: var(--gold-300);
  background: #06111d;
  font-size: 1.05rem;
}

.gallery-section {
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1rem, 6vw, 6rem) clamp(6rem, 10vw, 10rem);
  background:
    radial-gradient(circle at 14% 14%, #91602424, transparent 25%),
    radial-gradient(circle at 88% 63%, #214e7340, transparent 34%),
    linear-gradient(150deg, #040b13, #0a1d2f 50%, #03080e);
}

.gallery-heading {
  max-width: 960px;
  margin: 0 auto 3.6rem;
  text-align: center;
}

.gallery-heading h2 {
  font-size: clamp(3.2rem, 5.8vw, 5.7rem);
}

.gallery-heading > p:last-child {
  margin: 0;
  color: #d9e0e7;
  font-size: 1.2rem;
  line-height: 1.65;
}

.guitar-grid {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1.35rem, 2.4vw, 2.2rem);
}

.guitar-card {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #bd8937;
  border-radius: 16px;
  background: linear-gradient(145deg, #0d273d, #050c14 70%);
  box-shadow: 0 18px 44px #000a, 0 0 18px #d29b3620;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.guitar-card:hover,
.guitar-card:focus-within {
  border-color: #f3ce6e;
  box-shadow: 0 25px 58px #000c, 0 0 28px #e1ad4548;
  transform: translateY(-5px);
}

.guitar-open {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: center;
}

.guitar-open:focus-visible {
  outline-offset: -4px;
}

.guitar-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-bottom: 1px solid #72572b;
  background:
    radial-gradient(ellipse at 50% 46%, #50361b4d, transparent 55%),
    #02070b;
}

.guitar-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px #0008);
  transition: transform .25s ease, filter .25s ease;
}

.guitar-card:hover .guitar-image img,
.guitar-card:focus-within .guitar-image img {
  filter: drop-shadow(0 18px 18px #000b) brightness(1.04);
  transform: scale(1.018);
}

.guitar-name {
  display: block;
  max-width: 100%;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.guitar-copy {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1.35rem 1.1rem 1.4rem;
  border-top: 1px solid #382b18;
  background: linear-gradient(180deg, #0c2134 0%, #050c14 100%);
  text-align: center;
}

.view-prompt {
  display: block;
  margin-top: .1rem;
  color: #d8e0e7;
  font: 700 .92rem/1.4 var(--sans);
  letter-spacing: .04em;
}

.view-prompt b {
  color: var(--gold-300);
  font-size: 1.05rem;
}

.guitar-viewer {
  width: min(1000px, calc(100% - 2rem));
  height: min(94vh, 920px);
  height: min(94dvh, 920px);
  max-height: calc(100vh - 1rem);
  max-height: calc(100dvh - 1rem);
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--gold-500);
  border-radius: 18px;
  color: var(--ivory);
  background: #040b12;
  box-shadow: 0 32px 100px #000f, 0 0 42px #dca33a4d;
}

.guitar-viewer::backdrop {
  background: #000d;
  backdrop-filter: blur(6px);
}

.viewer-card {
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  padding: 1.6rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 8%, #183a574f, transparent 36%),
    linear-gradient(145deg, #07131f, #02070b);
}

.viewer-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid #dfb653;
  border-radius: 50%;
  color: var(--gold-300);
  background: #071521e8;
  box-shadow: 0 8px 24px #000b;
  font: 700 2rem/1 var(--sans);
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.viewer-close:hover,
.viewer-close:focus-visible {
  color: #181006;
  background: var(--gold-button);
  transform: scale(1.05);
}

.viewer-kicker {
  padding-right: 3.6rem;
  padding-left: 3.6rem;
}

.guitar-viewer h2 {
  margin: .35rem 3.5rem 1.25rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.viewer-image-wrap {
  width: 100%;
  min-height: 0;
  height: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: .8rem;
  border: 1px solid #a8792f;
  border-radius: 12px;
  background: #000;
}

.viewer-image-wrap img {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.guitars-footer {
  width: min(100%, 1600px);
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid #b27c2c;
  color: #d5dce4;
  background: #02070c;
  font: .95rem/1.5 var(--sans);
}

.guitars-footer span:first-child,
.guitars-footer a {
  color: var(--gold-300);
  font-weight: 700;
}

.guitars-footer a {
  text-underline-offset: 4px;
}

@media (max-width: 1040px) {
  .collection-portrait {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 2.5rem;
  }

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

}

@media (max-width: 760px) {
  .guitars-hero {
    min-height: 460px;
    padding: 3.75rem 1rem 3.5rem;
  }

  .guitars-hero h1 {
    font-size: clamp(3.5rem, 15vw, 5.6rem);
  }

  .collection-portrait {
    grid-template-columns: 1fr;
    padding: 3.5rem 1rem;
  }

  .portrait-frame,
  .portrait-copy {
    width: min(100%, 640px);
    margin-inline: auto;
  }

  .portrait-copy {
    text-align: center;
  }

  .portrait-rule {
    margin-inline: auto;
  }

  .gallery-section {
    padding: 4.75rem .85rem 5.25rem;
  }

  .guitars-footer {
    flex-direction: column;
    text-align: center;
  }
}

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

  .viewer-card {
    padding: 1rem;
  }

  .viewer-close {
    top: .75rem;
    right: .75rem;
  }

  .viewer-kicker {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 3.4rem;
    padding-left: 0;
    text-align: left;
  }

  .guitar-viewer h2 {
    margin: .6rem 0 1rem;
    font-size: clamp(1.65rem, 7vw, 2.4rem);
  }

  .viewer-image-wrap {
    height: auto;
    min-height: 0;
    padding: .4rem;
  }
}

@media (max-width: 430px) {
  .guitars-eyebrow,
  .section-kicker,
  .viewer-kicker {
    font-size: .82rem;
    letter-spacing: .14em;
  }

  .guitars-hero > p:last-child {
    font-size: 1.07rem;
  }

  .portrait-copy h2,
  .gallery-heading h2 {
    font-size: 2.8rem;
  }

  .gallery-heading {
    margin-bottom: 2.5rem;
  }

  .guitar-name {
    font-size: 1.7rem;
  }
}
