@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700&display=swap");

:root {
  --bg: #151515;
  --bg-soft: #1c1c1c;
  --bg-raised: #222222;
  --line: #383838;
  --text: #f5f5f1;
  --muted: #c2c2bc;
  --muted-dark: #8c8c88;
  --accent: #f04747;
  --accent-dark: #c43135;
  --max-width: 1200px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  transform: translateY(-180%);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(21 21 21 / 96%);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 3rem, var(--max-width));
  min-height: var(--header-height);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 158px;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2.2rem);
}

.primary-nav a {
  position: relative;
  padding-block: 0.3rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-icon {
  display: grid;
  gap: 4px;
}

.menu-icon i {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-icon i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-icon i:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-icon i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - var(--header-height)));
  isolation: isolate;
  place-items: center;
  background-image: url("assets/images/hero-lonnies.jpg");
  background-position: center 52%;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 66%), rgb(0 0 0 / 40%) 52%, rgb(0 0 0 / 58%));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 8rem;
  text-align: center;
}

.hero-content h1 {
  margin-inline: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1,
h2,
h3,
.hours,
.callout,
.video-title {
  font-family: "Barlow Semi Condensed", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: -0.015em;
}

h1 {
  max-width: 900px;
  margin-bottom: 0.75rem;
  font-size: clamp(2.35rem, 5.6vw, 5rem);
  font-weight: 700;
}

.hero-subline {
  margin-bottom: 2rem;
  font-size: clamp(1.35rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.2rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--accent {
  background: var(--accent);
  color: #fff;
}

.button--accent:hover {
  background: var(--accent-dark);
}

.section {
  scroll-margin-top: var(--header-height);
  border-top: 1px solid var(--line);
}

.section > .container {
  padding-block: 6.5rem;
}

.section--alt {
  background: var(--bg-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.intro-copy {
  max-width: 620px;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 600;
}

.intro-copy h2 {
  font-size: clamp(1.35rem, 7.2vw, 2.5rem);
  white-space: nowrap;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.hours {
  margin-bottom: 2.1rem;
  color: var(--text);
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  font-weight: 500;
  line-height: 1.25;
}

.hours strong {
  font-weight: 600;
}

.callout {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
  color: var(--accent);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
}

.callout-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-style: normal;
  line-height: 1;
}

.body-copy {
  color: var(--muted);
}

.body-copy p {
  margin-bottom: 1.45rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.contact-card a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-map {
  min-height: 280px;
  margin-top: 2.25rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.image-stack--intro > img,
.manager-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-stack--intro > img {
  aspect-ratio: 4 / 3;
}

.manager-card {
  margin: 1.4rem 0 0;
}

.manager-card img {
  aspect-ratio: 5 / 7;
}

.manager-card figcaption {
  padding-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.video-section {
  background: var(--bg);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading h1,
.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .page-title {
  max-width: 900px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.section-heading--center {
  display: block;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-dek {
  max-width: 360px;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.video-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  text-align: left;
}

.video-thumbnail {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  background: #050505;
}

.video-thumbnail::after {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 18%);
  content: "";
  transition: background 180ms ease;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.play-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  background: rgb(255 255 255 / 78%);
  color: var(--accent);
  place-items: center;
  padding-left: 0.25rem;
  font-size: 1.4rem;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.04);
}

.video-card:hover .video-thumbnail::after {
  background: rgb(0 0 0 / 4%);
}

.video-title {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.video-link {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.photo-grid {
  display: grid;
  gap: 1.15rem;
}

.photo-grid--staff,
.photo-grid--gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-grid--cowgirls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 1px solid transparent;
  background: var(--bg-raised);
  color: var(--text);
  cursor: zoom-in;
  text-align: left;
}

.photo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / 72%));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.photo-grid--staff .photo-card,
.photo-grid--gallery .photo-card {
  aspect-ratio: 1 / 1;
}

.photo-grid--cowgirls .photo-card {
  aspect-ratio: 3 / 4;
}

.photo-card-label {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.8rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(0.35rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.photo-card:hover,
.photo-card:focus-visible {
  border-color: var(--accent);
}

.photo-card:hover::after,
.photo-card:focus-visible::after {
  opacity: 1;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  transform: scale(1.04);
}

.photo-card:hover .photo-card-label,
.photo-card:focus-visible .photo-card-label {
  opacity: 1;
  transform: translateY(0);
}

.section-note {
  margin: 2rem 0 0;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.history-copy {
  color: var(--muted);
}

.history-copy > p {
  margin-bottom: 1.5rem;
}

.history-copy em {
  color: var(--text);
}

.history-stack {
  display: grid;
  gap: 1.2rem;
}

.history-stack img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.history-stack img[data-lightbox-src] {
  cursor: zoom-in;
}

.history-stack--left {
  margin-top: 2rem;
}

.history-stack--right img:first-child {
  aspect-ratio: 3 / 4;
}

.history-stack--right img:last-child {
  aspect-ratio: 3 / 4;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.1rem;
  color: var(--muted-dark);
  font-size: 0.83rem;
}

.footer-inner p {
  max-width: 560px;
  margin: 0;
  text-align: center;
}

.footer-inner > a:last-child {
  color: var(--muted);
  font-weight: 400;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25rem;
  white-space: nowrap;
}

.footer-inner > a:last-child:hover {
  color: var(--accent);
}

.brand--footer {
  width: 130px;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text);
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 92%);
}

.lightbox-content {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  padding: 2rem 4.75rem;
  place-content: center;
  place-items: center;
}

.lightbox-content img {
  width: auto;
  max-width: min(94vw, 1400px);
  max-height: 92vh;
  object-fit: contain;
}

.lightbox-content iframe {
  display: block;
  width: min(92vw, 1100px, calc(82vh * 16 / 9));
  height: min(61.875vw, 618.75px, 82vh);
  border: 0;
}

.lightbox-content [hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 3.5rem;
  height: 4rem;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.8;
}

.lightbox-nav:hover {
  color: var(--accent);
  opacity: 1;
}

.lightbox-nav--prev {
  left: 0.75rem;
}

.lightbox-nav--next {
  right: 0.75rem;
}

@media (max-width: 960px) {
  .primary-nav {
    gap: 1rem;
  }

  .primary-nav a {
    font-size: 0.84rem;
  }

  .intro-grid,
  .history-grid {
    gap: 3rem;
  }

  .photo-grid--staff {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-grid--cowgirls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .nav-shell {
    width: min(100% - 2rem, var(--max-width));
  }

  .nav-shell {
    min-height: var(--header-height);
  }

  .brand {
    width: 138px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgb(21 21 21 / 98%);
  }

  .site-header.is-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    padding: 0.8rem 0;
    font-size: 1rem;
  }

  .primary-nav a::after {
    bottom: 0.35rem;
    left: 0;
    right: auto;
    width: 3rem;
  }

  .hero {
    min-height: min(680px, calc(100svh - var(--header-height)));
    background-position: 58% center;
  }

  .hero-content {
    padding-block: 6rem;
  }

  .section > .container {
    padding-block: 5rem;
  }

  .intro-grid,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .intro-media {
    max-width: 620px;
  }

  .section-heading {
    display: block;
  }

  .section-dek {
    margin-top: 1rem;
  }

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

  .photo-grid--staff,
  .photo-grid--gallery,
  .photo-grid--cowgirls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner p {
    flex: 1 1 100%;
    order: 3;
  }
}

@media (max-width: 540px) {
  .container,
  .nav-shell {
    width: min(100% - 2rem, var(--max-width));
  }

  .hero {
    min-height: 640px;
    background-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgb(0 0 0 / 68%), rgb(0 0 0 / 42%));
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .hero-subline {
    font-size: 1.45rem;
  }

  .contact-grid,
  .video-grid,
  .photo-grid--staff,
  .photo-grid--gallery,
  .photo-grid--cowgirls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-map {
    min-height: 240px;
  }

  .photo-grid {
    gap: 0.7rem;
  }

  .photo-grid--cowgirls .photo-card {
    aspect-ratio: 3 / 4;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.1rem;
    text-align: center;
  }

  .footer-inner p {
    order: 0;
  }

  .lightbox-content {
    padding-inline: 1.5rem;
  }

  .lightbox-nav {
    width: 2.4rem;
    font-size: 3rem;
  }

  .lightbox-nav--prev {
    left: 0.1rem;
  }

  .lightbox-nav--next {
    right: 0.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
