:root {
  --ink: #151515;
  --warm: #f2eee8;
  --sand: #ded4c6;
  --paper: #fbfaf8;
  --line: #d8d1c8;
  --accent: #8d6e52;
  --muted: #6c6965;
  --slide-h: 320px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.lb-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.header-phone {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.our-work {
  padding: 56px 0 72px;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lede {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}

.slider-wrap {
  position: relative;
}

.slider {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 2px 16px;
  outline: none;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
  height: var(--slide-h);
  position: relative;
}

.slide-open {
  display: block;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.slide img,
.slide video {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  background: var(--warm);
}

.slide-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.slide.is-featured img {
  box-shadow: 0 0 0 1px rgba(141, 110, 82, 0.35);
}

.slide.is-premium {
  height: calc(var(--slide-h) + 32px);
}

.slide.is-premium img {
  box-shadow: 0 0 0 1px rgba(141, 110, 82, 0.55), 0 8px 22px rgba(21, 21, 21, 0.12);
}

.premium-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 1px;
  background: rgba(21, 21, 21, 0.72);
  color: #f2eee8;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin-left: -29px;
  margin-top: -29px;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.62);
  pointer-events: none;
}

.play-badge::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 19px;
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: -28px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 250, 248, 0.92);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(21, 21, 21, 0.12);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow[hidden] {
  display: none;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: #fff;
  color: var(--accent);
}

.slider-arrow-prev {
  left: -8px;
}

.slider-arrow-next {
  right: -8px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin: 28px 0 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--accent);
  color: #fff;
}

.btn-text {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
}




.site-footer {
  background: var(--ink);
  color: #efeae3;
  padding: 28px 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer a {
  color: #efeae3;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--sand);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 13, 0.88);
}

.lightbox-media {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media img,
.lightbox-media video {
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #000;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
}

.lightbox-close {
  top: 12px;
  right: 12px;
  font-size: 2.2rem;
}

.lightbox-prev {
  left: 8px;
  top: 50%;
  margin-top: -24px;
}

.lightbox-next {
  right: 8px;
  top: 50%;
  margin-top: -24px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  color: var(--sand);
}

@media (max-width: 700px) {
  :root {
    --slide-h: 58vw;
  }

  .our-work {
    padding-top: 36px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }

  .slider-arrow-prev {
    left: 4px;
  }

  .slider-arrow-next {
    right: 4px;
  }


  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 16px;
    margin-top: 0;
  }
}

@media (min-width: 1100px) {
  :root {
    --slide-h: 340px;
  }
}
