/* ==========================================================================
   Shaun Turner Tattoos — site styles
   Loaded after styles.css (the original Webflow export, which still owns the
   hero + statement layout). Everything new lives here.
   ========================================================================== */

:root {
  --coral: #ff7d64;
  --ink: #130427;
  --ink-soft: #24123a;
  --white: #fff;
  --display: Ppagrandir, "Arial Black", Arial, sans-serif;
  --body: "Ppagrandir Regular", Arial, sans-serif;
  --label: "Ppmonumentextended Black", Ppagrandir, "Arial Black", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 90rem;
}

/* ---------- base ---------- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[id] {
  scroll-margin-top: 3.5rem;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus, var(--white));
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-family: var(--label);
  font-size: .75rem;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--label);
  font-size: .75rem;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  color: var(--coral);
  font-family: var(--display);
  font-size: clamp(3rem, 11.5vw, 10.5rem);
  font-weight: 900;
  line-height: .86;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 1.05rem 1.4rem;
  border: 3px solid var(--ink);
  font-family: var(--label);
  font-size: .8125rem;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn-solid {
  background: var(--ink);
  color: var(--coral);
}

.btn-ghost {
  color: var(--ink);
}

.btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-solid:hover {
  box-shadow: 6px 6px 0 var(--white);
}

/* on the dark sections the buttons flip */
.work .btn,
.book .btn {
  border-color: var(--coral);
}

.work .btn-solid,
.book .btn-solid {
  background: var(--coral);
  color: var(--ink);
}

.work .btn-ghost,
.book .btn-ghost {
  color: var(--white);
  border-color: var(--white);
}

.work .btn:hover,
.book .btn:hover {
  box-shadow: 6px 6px 0 var(--coral);
}

.work .btn-solid:hover,
.book .btn-solid:hover {
  box-shadow: 6px 6px 0 var(--white);
}

/* ---------- nav ---------- */

.site-nav {
  --focus: var(--coral);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 5vw;
  background-color: var(--ink);
  color: var(--white);
  transition: background-color .25s, color .25s, padding .25s;
}

.site-nav_brand {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .25s, visibility .25s;
}

.site-nav_links {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.4vw, 2.25rem);
  margin-left: auto;
}

.site-nav_links a {
  padding: .55rem 0;
  font-family: var(--label);
  font-size: .75rem;
  line-height: 1;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav_links a:not(.site-nav_cta):hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.site-nav_links .site-nav_cta {
  padding: .7rem 1rem;
  background: var(--coral);
  color: var(--ink);
  transition: background-color .25s, color .25s;
}

/* while the hero is on screen the bar goes transparent and sits on the coral */
.js .site-nav:not(.is-stuck) {
  --focus: var(--ink);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  background-color: transparent;
  color: var(--ink);
}

.js .site-nav:not(.is-stuck) .site-nav_brand {
  opacity: 0;
  visibility: hidden;
}

.js .site-nav:not(.is-stuck) .site-nav_cta {
  background: var(--ink);
  color: var(--coral);
}

@media (max-width: 600px) {
  .site-nav_brand {
    display: none;
  }

  .site-nav_links {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav_links a {
    font-size: .6875rem;
  }
}

/* ---------- hero (extends the original header37 block) ---------- */

.section_header37 {
  --focus: var(--ink);
  background-color: var(--coral);
}

.header37_image-wrapper {
  overflow: hidden;
}

.header37_image {
  display: block;
  object-position: 50% 62%;
  /* zoom in on the tattoo; the origin is chosen so the piece lands in the
     vertical centre of the frame (it sits at about 52% / 59% of the photo) */
  transform: scale(1.35);
  transform-origin: 59% 85%;
}

.heading {
  margin: 0 0 .6rem;
  /* real work behind the letters, pushed dark so it reads on the coral */
  background-image:
    linear-gradient(rgba(19, 4, 39, .78), rgba(19, 4, 39, .78)),
    url("../images/work/centipede-scorpion-900.jpg");
  background-position: 50% 50%;
  background-size: cover;
  font-size: clamp(3.5rem, 8.6vw, 11.5rem);
  line-height: .86;
}

.hero_meta {
  max-width: 32rem;
  margin: .5rem 0 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.45;
}

.hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  /* a slimmer photo column and tighter gutters give the name room to grow;
     the hero is 128px shorter than the viewport (was 100vh, capped at 60rem) */
  .header37_component {
    grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
    min-height: min(calc(100vh - 128px), 52rem);
  }

  /* the photo fills whatever height the hero ends up, so it never leaves a
     coral gap if the text needs more room than the shortened hero */
  .header37_image-wrapper {
    position: relative;
    align-self: stretch;
  }

  .header37_image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    max-height: none;
  }

  .header37_content {
    max-width: none;
    margin-right: 3.5vw;
    margin-left: 3.5vw;
    padding: 4.5rem 0 1rem;
  }
}

@media (max-width: 991px) {
  .header37_component {
    padding-top: 6.5rem;
    grid-row-gap: 3rem;
  }

  /* stacked layout: the photo is 128px shorter than its natural 3:4 height */
  .header37_image {
    height: calc(133.333vw - 128px);
  }

  .heading {
    font-size: clamp(2.5rem, 13.6vw, 140px);
  }
}

@media (max-width: 767px) {
  .header37_component {
    padding-top: 5.5rem;
  }
}

@media (max-width: 600px) {
  /* on phones the shorter frame needs a gentler zoom to keep the whole piece in */
  .header37_image {
    transform: scale(1.2);
    transform-origin: 62% 98%;
  }
}

/* ---------- statement ---------- */

.heading-2 {
  margin: 0;
  font-size: clamp(2rem, 5.3vw, 72px);
  font-weight: 900;
  line-height: 1;
}

.heading-2 span {
  color: var(--coral);
}

/* ---------- styles ---------- */

.styles {
  --focus: var(--coral);
  padding: 0 5% clamp(4rem, 8vw, 7rem);
  background: var(--ink);
}

.styles_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  max-width: var(--wrap);
  margin: 0 auto;
}

.style-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--coral);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.style-card:hover {
  transform: translate(-6px, -6px);
  box-shadow: 10px 10px 0 var(--white);
}

.style-card_num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: .7rem .85rem;
  background: var(--ink);
  color: var(--coral);
  font-family: var(--label);
  font-size: .8125rem;
  line-height: 1;
}

.style-card_media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-soft);
}

.style-card_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.style-card:hover .style-card_media img {
  transform: scale(1.06);
}

.style-card_body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1.5rem;
}

.style-card h3 {
  margin: 0 0 .7rem;
  font-family: var(--display);
  font-size: clamp(1.125rem, 2.3vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.style-card p {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
}

.style-card_more {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-top: auto;
  font-family: var(--label);
  font-size: .75rem;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.style-card_more .icon {
  transition: transform .25s var(--ease);
}

.style-card:hover .style-card_more .icon {
  transform: translateX(5px);
}

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

  .style-card_media {
    aspect-ratio: 1;
  }

  .style-card h3 {
    font-size: 1.5rem;
  }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--coral);
  color: var(--ink);
}

/* inverted version that sits under the coral hero and runs the other way */
.marquee-ink {
  background: var(--ink);
  color: var(--coral);
}

.marquee-ink .marquee_track {
  animation-direction: reverse;
}

.marquee_track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee_group {
  display: flex;
  flex: none;
  align-items: center;
}

.marquee_group span {
  padding: 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee_group .icon {
  width: clamp(1.25rem, 2.6vw, 2.25rem);
  height: clamp(1.25rem, 2.6vw, 2.25rem);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- the work ---------- */

.work {
  --focus: var(--coral);
  padding: clamp(4rem, 8vw, 7rem) 5%;
  background: var(--ink);
  color: var(--white);
}

.work_head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--wrap);
  margin: 0 auto 2rem;
}

.work_count {
  margin: 0 0 .5rem;
  font-family: var(--label);
  font-size: .8125rem;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.filters {
  display: none;
  flex-wrap: wrap;
  gap: .5rem;
  max-width: var(--wrap);
  margin: 0 auto 2rem;
}

.js .filters {
  display: flex;
}

.filter {
  padding: .75rem 1rem;
  border: 2px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: var(--white);
  font-family: var(--label);
  font-size: .75rem;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}

.filter:hover {
  border-color: var(--white);
}

.filter[aria-pressed="true"] {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
}

.work_grid {
  columns: 4;
  column-gap: .75rem;
  max-width: var(--wrap);
  margin: 0 auto;
}

.work_item {
  position: relative;
  display: block;
  margin: 0 0 .75rem;
  overflow: hidden;
  background: var(--ink-soft);
  break-inside: avoid;
}

.work_item[hidden] {
  display: none;
}

.work_link {
  display: block;
  cursor: zoom-in;
}

.work_link:focus-visible {
  outline-offset: -3px;
}

.work_link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .6s var(--ease);
}

.work_item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: .55rem .75rem;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--label);
  font-size: .6875rem;
  line-height: 1.2;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  pointer-events: none;
  transform: translateY(101%);
  transition: transform .25s var(--ease);
}

.work_link:focus-visible + figcaption {
  transform: none;
}

@media (hover: hover) {
  .work_item:hover img {
    transform: scale(1.05);
  }

  .work_item:hover figcaption {
    transform: none;
  }
}

.work_more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: var(--wrap);
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
}

.work_more p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vw, 2.25rem);
  font-weight: 900;
  line-height: 1.1;
}

@media (max-width: 1100px) {
  .work_grid {
    columns: 3;
  }
}

@media (max-width: 640px) {
  .work_grid {
    columns: 2;
    column-gap: .5rem;
  }

  .work_item {
    margin-bottom: .5rem;
  }

  .filter {
    padding: .65rem .75rem;
    font-size: .6875rem;
  }
}

/* ---------- about ---------- */

.about {
  --focus: var(--ink);
  padding: clamp(4rem, 8vw, 7rem) 5%;
  background: var(--coral);
  color: var(--ink);
}

.about_inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
}

.about_media img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: clamp(.6rem, 1.4vw, 1.25rem) clamp(.6rem, 1.4vw, 1.25rem) 0 var(--ink);
}

.about_title,
.faq_title {
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 6.2vw, 5.75rem);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.about_body > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 0 0 1rem;
  font-size: clamp(1.0625rem, 1.45vw, 1.3125rem);
  line-height: 1.5;
}

.facts {
  margin: 2.25rem 0 0;
  border-top: 3px solid var(--ink);
}

.facts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .9rem 0;
  border-bottom: 3px solid var(--ink);
}

.facts dt {
  font-family: var(--label);
  font-size: .6875rem;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 900;
  line-height: 1.2;
}

.facts a {
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.facts a:hover {
  background: var(--ink);
  color: var(--coral);
  text-decoration: none;
}

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

  .about_media {
    max-width: 30rem;
  }
}

/* ---------- booking ---------- */

.book {
  --focus: var(--coral);
  padding: clamp(4.5rem, 9vw, 8rem) 5%;
  background: var(--ink);
  color: var(--white);
}

.book_inner {
  max-width: 80rem;
  margin: 0 auto;
}

.book .eyebrow {
  color: var(--coral);
}

.book_lede {
  max-width: 40rem;
  margin: 1.75rem 0 clamp(2.5rem, 5vw, 4rem);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 2.125rem);
  font-weight: 900;
  line-height: 1.15;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 1.25rem;
  border-top: 4px solid var(--coral);
}

.step_num {
  color: var(--coral);
  font-family: var(--label);
  font-size: .8125rem;
  line-height: 1;
}

.step h3 {
  margin: .9rem 0 .6rem;
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.step a {
  color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.step a:hover {
  color: var(--white);
}

.book_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.book_note {
  max-width: 36rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1.0625rem;
  line-height: 1.5;
}

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

/* ---------- FAQ ---------- */

.faq {
  --focus: var(--ink);
  padding: clamp(4rem, 8vw, 7rem) 5%;
  background: var(--coral);
  color: var(--ink);
}

.faq_inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  max-width: 80rem;
  margin: 0 auto;
}

.faq_intro {
  position: sticky;
  top: 6rem;
}

.faq_intro > p:not(.eyebrow) {
  max-width: 24rem;
  margin: 0;
  font-size: clamp(1.0625rem, 1.45vw, 1.3125rem);
  line-height: 1.5;
}

.faq_list {
  border-top: 3px solid var(--ink);
}

.faq_item {
  border-bottom: 3px solid var(--ink);
}

.faq_item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  font-family: var(--display);
  font-size: clamp(1.125rem, 1.9vw, 1.625rem);
  font-weight: 900;
  line-height: 1.15;
  list-style: none;
  cursor: pointer;
}

.faq_item summary::-webkit-details-marker {
  display: none;
}

/* plus that becomes a minus when the answer is open */
.faq_item summary::after {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 4px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 4px 100% no-repeat;
  transition: transform .25s var(--ease);
}

.faq_item[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 4px no-repeat;
  transform: rotate(180deg);
}

.faq_item summary:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.faq_answer {
  padding: 0 3rem 1.5rem 0;
}

.faq_answer p {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}

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

  .faq_intro {
    position: static;
  }
}

/* ---------- footer ---------- */

.site-footer {
  --focus: var(--coral);
  position: relative;
  /* bottom padding leaves room for the half-sunk ghost wordmark */
  padding: 0 5% calc(3.4vw + 1.75rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.site-footer_word {
  margin: 0 0 1.5rem;
  padding-top: clamp(2rem, 5vw, 4rem);
  border-top: 3px solid rgba(255, 255, 255, .18);
  color: var(--ink);
  font-family: var(--display);
  font-size: 7.9vw;
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 2px var(--coral);
}

/* faint full-bleed echo of the wordmark, half sunk below the bottom edge */
.site-footer_ghost {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 8.85vw;
  opacity: .1;
  pointer-events: none;
  /* .47em puts the mid-height of the capitals exactly on the bottom edge */
  transform: translate(-50%, .47em);
  -webkit-user-select: none;
  user-select: none;
}

.site-footer_row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  font-family: var(--label);
  font-size: .6875rem;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-footer_row p {
  margin: 0;
}

.site-footer_row ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer_row a {
  text-decoration: none;
}

.site-footer_row a:hover {
  color: var(--coral);
}

/* ---------- lightbox ---------- */

.is-locked {
  overflow: hidden;
}

.lightbox {
  --focus: var(--white);
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(19, 4, 39, .97);
  color: var(--white);
}

.lightbox::backdrop {
  background: var(--ink);
}

.lightbox_stage {
  position: absolute;
  inset: 4rem 1rem 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox_img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.lightbox_btn {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: var(--coral);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color .15s;
}

.lightbox_btn:hover {
  background: var(--white);
}

.lightbox_close {
  top: .5rem;
  right: .5rem;
}

.lightbox_nav {
  bottom: .6rem;
}

.lightbox_prev {
  left: .5rem;
}

.lightbox_next {
  right: .5rem;
}

.lightbox_bar {
  position: absolute;
  right: 4rem;
  bottom: 0;
  left: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  height: 4.25rem;
  font-family: var(--label);
  font-size: .6875rem;
  line-height: 1.2;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.lightbox_bar p {
  margin: 0;
}

.lightbox_count {
  color: var(--coral);
}

@media (min-width: 800px) {
  .lightbox_stage {
    inset: 1.5rem 5.5rem 4.25rem;
  }

  .lightbox_close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox_nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .lightbox_prev {
    left: 1rem;
  }

  .lightbox_next {
    right: 1rem;
  }

  .lightbox_bar {
    font-size: .75rem;
  }
}

/* ---------- reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* keep the card hover lift working once revealed */
.js .style-card[data-reveal].is-in {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .7s var(--ease);
}

.js .style-card[data-reveal].is-in:hover {
  transform: translate(-6px, -6px);
}

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

  .marquee_track {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq_item summary::after,
  .btn,
  .style-card,
  .style-card_media img,
  .work_link img,
  .work_item figcaption {
    transition: none;
  }
}
