/* Hot Nails — Kitchener nail salon */
:root {
  --brand: #b01030;
  --brand-deep: #7a0c22;
  --brand-soft: #f3dde2;
  --ink: #1c1416;
  --muted: #5c5255;
  --line: #e6d8db;
  --bg: #faf7f8;
  --bg-warm: #f3ecee;
  --surface: #ffffff;
  --sand: #d4b8a0;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(28, 20, 22, 0.12);
  --font-display: "DM Serif Display", "Times New Roman", serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(176, 16, 48, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(212, 184, 160, 0.25), transparent 50%),
    var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
}

h1,
h2,
h3,
.brand-mark {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 0 0 0.4em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin: 0 0 0.45em;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 248, 0.88);
  border-bottom: 1px solid rgba(230, 216, 219, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand-mark {
  font-size: 1.35rem;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--brand);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.05rem;
  background: var(--brand);
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  transition: transform 0.35s var(--ease), background 0.25s ease;
}

.nav-cta:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.nav-cta-mobile {
  display: none;
}

.nav-cta-desktop {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-cta-num {
  font-weight: 500;
  opacity: 0.88;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}





/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--brand-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand-deep);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 20, 22, 0.25) 0%, rgba(28, 20, 22, 0.55) 45%, rgba(28, 20, 22, 0.82) 100%),
    linear-gradient(90deg, rgba(122, 12, 34, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 12vh, 7rem) 0 3.5rem;
  max-width: 38rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 0.55rem;
  letter-spacing: -0.03em;
  text-transform: none;
}

.hero-brand em {
  font-style: italic;
  color: #ffd6de;
}

.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.rating-pill strong {
  color: #ffd6de;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

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

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

.section-dark {
  background: linear-gradient(160deg, #2a151b 0%, #1c1416 100%);
  color: #fff;
}

.section-dark .section-head p,
.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-dark h2 {
  color: #fff;
}

/* Cards / grids */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.5rem 1.35rem;
  border-top: 2px solid var(--brand);
  background: transparent;
}

.service-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-preview .gallery-item,
.gallery-grid .gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--brand-soft);
  padding: 0;
  border: 0;
  cursor: zoom-in;
  width: 100%;
  font: inherit;
  color: inherit;
}

.gallery-preview img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.gallery-preview .gallery-item:hover img,
.gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.gallery-item[hidden] {
  display: none !important;
}

/* Testimonials carousel — 3-up with side buttons */
.testimonial-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  grid-template-areas:
    "prev viewport next"
    "dots dots dots";
  align-items: stretch;
  gap: 0.85rem 0.75rem;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-prev { grid-area: prev; align-self: center; }
.carousel-next { grid-area: next; align-self: center; }
.carousel-viewport { grid-area: viewport; }
.carousel-dots { grid-area: dots; }

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.carousel-page {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  box-sizing: border-box;
}

.carousel-slide {
  box-sizing: border-box;
  padding: 1.35rem 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-dark .carousel-slide {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.testimonial {
  margin: 0;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  font-weight: 450;
}

.testimonial footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-dark .testimonial footer {
  color: rgba(255, 255, 255, 0.65);
}

.carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  box-shadow: 0 8px 20px rgba(176, 16, 48, 0.22);
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.carousel-btn:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  transform: scale(1.06);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.section-dark .carousel-btn {
  background: #fff;
  border-color: #fff;
  color: var(--brand-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.section-dark .carousel-btn:hover {
  background: #ffd6de;
  border-color: #ffd6de;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s ease;
}

.carousel-dot.is-active {
  width: 1.35rem;
  background: var(--brand);
}

.section-dark .carousel-dot {
  background: rgba(255, 255, 255, 0.35);
}

.section-dark .carousel-dot.is-active {
  background: #ffd6de;
}

@media (max-width: 980px) {
  .carousel-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .testimonial-carousel {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    gap: 0.55rem;
  }

  .carousel-page {
    grid-template-columns: 1fr;
  }

  .carousel-slide {
    min-height: 11rem;
    padding: 1.25rem 1.1rem;
  }

  .carousel-btn {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.45rem;
  }
}

/* CTA band */
.cta-band {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.cta-band p.signature {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
}

/* Services page */
.service-block {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 1.4fr;
  gap: 1.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-block h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  margin: 0;
  max-width: 14ch;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.service-block:first-of-type {
  border-top: 1px solid var(--line);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
}

.service-list li:last-child {
  border-bottom: 0;
}

.service-list strong {
  font-weight: 600;
}

.service-list span {
  color: var(--muted);
  text-align: right;
  font-size: 0.95rem;
}

.pricing-note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
}

.custom-request {
  margin-top: 2rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}

.custom-request h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin-bottom: 0.45rem;
}

.custom-request p {
  color: var(--muted);
  margin: 0;
}

/* About */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Contact */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 22rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours-table th {
  width: 40%;
}

.contact-hours .hours-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
}

.contact-hours .hours-table tr {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.9fr) minmax(0, 1.1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.contact-hours .hours-table th,
.contact-hours .hours-table td {
  width: auto;
  padding: 0.7rem 0;
}

.contact-map {
  position: relative;
  align-self: stretch;
  min-height: 0;
}

.map-frame {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  filter: grayscale(0.15) contrast(1.02);
}

.contact-details {
  width: 100%;
  max-width: 22rem;
}

.contact-details h2 {
  margin-bottom: 0.35rem;
}

.contact-details > p[data-address],
.contact-details > p {
  margin-bottom: 0.35rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin: 1.1rem 0 0;
  width: 100%;
}

.contact-actions .btn {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.contact-actions a.big-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--brand);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius);
  background: #fff;
  box-sizing: border-box;
}

.contact-actions a.big-phone:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.contact-hours {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  max-width: none;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.contact-hours-intro h2 {
  margin-bottom: 0.45rem;
}

.contact-hours .hours-note {
  margin: 0;
  color: var(--muted);
  max-width: 28ch;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 1rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--brand);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .service-grid,
  .gallery-preview,
  .gallery-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-preview,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .contact-hours {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-hours .hours-note {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    width: 100%;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-cta-mobile {
    display: inline;
  }

  .service-grid,
  .footer-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    max-width: none;
  }

  .contact-map {
    min-height: 22rem;
  }

  .contact-hours {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-hours .hours-table tbody {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .contact-hours .hours-note {
    max-width: none;
  }

  .hero {
    min-height: 88vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 14, 0.82);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(90vh, 900px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "close close close"
    "prev figure next";
  align-items: center;
  gap: 0.5rem;
}

.lightbox-close {
  grid-area: close;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.lightbox-close:hover {
  background: var(--brand);
  color: #fff;
}

.lightbox-figure {
  grid-area: figure;
  margin: 0;
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  background: #111;
}

.lightbox-figure figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.lightbox-nav {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev { grid-area: prev; }
.lightbox-next { grid-area: next; }

.lightbox-nav:hover {
  background: var(--brand);
  color: #fff;
}

@media (max-width: 720px) {
  .lightbox-dialog {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "close close"
      "figure figure"
      "prev next";
  }

  .lightbox-nav {
    justify-self: center;
  }
}
