:root {
  --ink: #171513;
  --muted: #5c564e;
  --rust: #8a3b2c;
  --paper: #f6f1e8;
  --white: #fffcf8;
  --line: #e3dacd;
  --shade: #14110f;
  --header: 78px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #fffcf8;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
}

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

a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 40;
}

.skip:focus { top: 12px; transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header);
  padding: calc(8px + env(safe-area-inset-top)) 22px 8px;
  background: #fffcf8;
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -100vh;
  height: 100vh;
  background: #fffcf8;
  pointer-events: none;
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 168px; height: auto; }

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--rust); }

.header-call {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--ink);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 40;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines:before,
.nav-toggle-lines:after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.28s ease, top 0.28s ease, background 0.2s ease;
}

.nav-toggle-lines:before,
.nav-toggle-lines:after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines:before { top: -7px; }
.nav-toggle-lines:after { top: 7px; }

.nav-toggle.is-open .nav-toggle-lines { background: transparent; }
.nav-toggle.is-open .nav-toggle-lines:before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-lines:after { top: 0; transform: rotate(-45deg); }

.nav-backdrop { display: none; }

.hero,
.page-hero,
.band {
  position: relative;
  overflow: clip;
  color: var(--white);
  isolation: isolate;
}

.hero {
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: end;
}

.hero-media,
.page-hero-media,
.band-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.page-hero-media img,
.band-media img,
.story-photo img,
.about-tease img,
.about-page img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.hero-media { inset: -12% 0; }

.hero-shade,
.page-hero-shade,
.band-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 12, 10, 0.2) 8%, rgba(16, 12, 10, 0.88));
}

.hero-copy,
.page-hero-copy,
.band-copy {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-copy { padding: 0 0 8vh; }
.page-hero { min-height: 62vh; display: grid; align-items: end; }
.page-hero-short { min-height: 48vh; }
.page-hero-copy,
.band-copy { padding: 0 0 48px; }

.eyebrow,
.kicker {
  margin: 0 0 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.kicker-light { color: #f0d2c6; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h1 { margin: 0; font-size: clamp(46px, 7vw, 92px); }
h2 { margin: 0 0 16px; font-size: clamp(34px, 4vw, 58px); }
h3 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); }

.lede, .hero-copy p, .band-copy p, .page-hero p { max-width: 38rem; }

.lede { font-size: clamp(18px, 2vw, 22px); margin: 18px 0 0; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.button-ghost {
  background: transparent;
  color: var(--white);
}

.button-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.text-link {
  color: var(--rust);
  font-weight: 600;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.trust p {
  margin: 0;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}

.trust p:last-child { border-right: 0; }

.story,
.about-tease,
.about-page,
.credentials,
.contact-page,
.split,
.prose,
.repair-note,
.closer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.story,
.about-tease,
.about-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
}

.story-photo,
.about-tease figure,
.about-page figure {
  margin: 0;
  min-height: 520px;
  height: 100%;
  overflow: hidden;
}

.story-photo picture,
.about-tease picture,
.about-page picture,
.hero-media picture,
.page-hero-media picture,
.band-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.story p,
.prose p,
.repair-note p,
.about-page p,
.credentials p,
.closer p,
.projects .section-intro p { color: var(--muted); }

.band-copy p { color: #f7f3ec; font-size: 20px; }

.story p,
.prose p { font-size: 18px; }

.split { padding: 20px 0 80px; }

.section-intro { max-width: 640px; margin-bottom: 28px; }

.folders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.folder {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.folder-tab {
  align-self: flex-start;
  margin: 0 0 -1px 18px;
  padding: 12px 22px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.folder-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 14px 14px 14px;
}

.folder-body p { margin: 0; color: var(--muted); }
.folder-link { margin-top: auto; padding-top: 22px; font-weight: 600; }

.folder-dark { color: #f7f3ec; }
.folder-dark .folder-tab,
.folder-dark .folder-body {
  background: var(--shade);
  border-color: #2c261f;
}
.folder-dark .folder-body p { color: #c9c0b6; }

.band { min-height: 70vh; display: grid; align-items: end; margin: 10px 0 0; }
.band-media { inset: -10% 0; }

.repair-note,
.credentials,
.closer,
.prose { padding: 80px 0; }

.detail-list { padding: 0; margin: 24px 0 0; list-style: none; }
.detail-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.credentials,
.credentials-plain {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.marks {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marks img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px;
}

.closer { padding-bottom: 110px; }

.contact-page {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 64px 0 120px;
}

.contact-list { padding: 0; margin: 24px 0 0; list-style: none; }
.contact-list li { margin: 8px 0; }
.contact-list a { color: var(--rust); font-weight: 600; }

.estimate {
  display: grid;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}

.estimate input,
.estimate select,
.estimate textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 12px;
  margin-bottom: 8px;
}

.estimate label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.form-note { background: #e7f0e4; padding: 12px; }
.form-errors { background: #f8e6e1; padding: 12px; }
.form-errors p,
.form-note { margin: 0 0 6px; }
.hp { position: absolute; left: -9999px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 48px 24px 96px;
  background: var(--shade);
  color: #f4efe8;
}

.site-footer a { display: block; color: #f4efe8; text-decoration: none; margin: 6px 0; }
.footer-mark { display: inline-block; text-decoration: none; margin-bottom: 8px; }
.footer-mark img { width: 210px; height: auto; background: transparent; }
.footer-brand p,
.site-footer p { color: #c9c0b6; }

.projects, .reviews {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 20px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.reviews { position: relative; }
.review-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: -12px 0 16px;
}
.review-nav {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.review-nav span {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.review-nav[data-review-prev] span,
.review-nav[data-work-prev] span { transform: rotate(-135deg); margin-left: 18px; }
.review-nav[data-review-next] span,
.review-nav[data-work-next] span { transform: rotate(45deg); margin-right: 18px; }
.review-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.review-scroller::-webkit-scrollbar { display: none; }
.work-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.work-scroller::-webkit-scrollbar { display: none; }
.work-scroller figure {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.project-grid figure,
.work-scroller figure { margin: 0; position: relative; overflow: hidden; }
.shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
  text-align: left;
}
.project-grid img,
.work-scroller img { width: 100%; height: 280px; object-fit: cover; }
.project-grid figcaption,
.work-scroller figcaption {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 28px 14px 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(16, 12, 10, 0.72));
  font-size: 14px;
  font-weight: 600;
}
.review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  min-height: 220px;
  cursor: pointer;
}
.review-text {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
}
.stars { margin: 0 0 8px; color: var(--rust); letter-spacing: 0.12em; }
.review-by { color: var(--muted); font-size: 14px; }
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(16, 12, 10, 0.9);
  padding: 24px;
}
.review-modal[hidden] { display: none; }
body.review-open { overflow: hidden; }
.review-modal article {
  position: relative;
  width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  margin: 0;
  background: #fffcf8;
  padding: 48px 24px 24px;
}
.review-modal p { margin: 0 0 14px; }
.review-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
.footer-label { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; font-weight: 600; color: #f4efe8 !important; }
.legal { grid-column: 1 / -1; margin: 0; font-size: 13px; }

.callbar {
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .folder:hover,
  .js .folder.reveal.is-in:hover { transform: translateY(-4px); }
}

@media (max-width: 900px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 17, 15, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 25;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    margin: 0;
    padding: calc(var(--header) + 8px) 0 24px;
    background-color: #fffcf8;
    color: #171513;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 28;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.14);
  }

  .site-nav.is-open { transform: translateX(0); background-color: #fffcf8; }
  .site-nav a {
    padding: 16px 24px;
    font-size: 22px;
    font-family: var(--display);
    color: #171513;
    background-color: #fffcf8;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle { display: inline-flex; }
  .header-call { display: none; }
  .brand img { width: 132px; }

  .trust,
  .story,
  .about-tease,
  .about-page,
  .credentials,
  .contact-page,
  .site-footer,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .trust p { border-right: 0; border-bottom: 1px solid var(--line); }
  .story, .about-tease, .about-page, .prose, .repair-note, .credentials, .closer, .projects, .reviews, .split { width: min(1120px, calc(100% - 32px)); }
  .folders { grid-template-columns: 1fr; }
  .story, .about-tease, .about-page { align-items: start; padding: 36px 0; }
  .story-photo, .about-tease figure, .about-page figure { min-height: 320px; }
  .hero-copy { padding-bottom: 96px; }
  .about-page figure img, .about-tease img { object-position: center 20%; }
  .hero-copy, .page-hero-copy, .band-copy { width: min(1120px, calc(100% - 32px)); }
  .hero { min-height: calc(100svh - var(--header)); }
  .hero-media { inset: 0; }
  .band-media { inset: 0; }

  .callbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    background: var(--rust);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding-bottom: env(safe-area-inset-bottom);
  }

  body { padding-bottom: 56px; }
  .site-footer { padding-bottom: 88px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  background: rgba(16, 12, 10, 0.9);
  padding: 72px 8px 36px;
}

.lightbox[hidden] { display: none; }

body.lightbox-open { overflow: hidden; }

.lightbox-frame {
  grid-column: 2;
  margin: 0;
  min-width: 0;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  margin: 0 auto;
  object-fit: contain;
  background: #1c1916;
}

.lightbox figcaption {
  margin: 12px 0 0;
  color: #f7f3ec;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: transparent;
  color: #fffcf8;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  font-size: 40px;
  line-height: 1;
}

.lightbox-nav {
  width: 48px;
  height: 72px;
  justify-self: center;
}

.lightbox-prev { grid-column: 1; }
.lightbox-next { grid-column: 3; }

.lightbox-nav span,
.lightbox-nav span:before {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.lightbox-prev span { transform: rotate(-135deg); }
.lightbox-next span { transform: rotate(45deg); }

@media (max-width: 700px) {
  .lightbox {
    grid-template-columns: 1fr;
    padding: 64px 12px 24px;
  }

  .lightbox-frame { grid-column: 1; grid-row: 1; }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    background: rgba(16, 12, 10, 0.35);
  }

  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
}

@media (min-width: 700px) {
  .review-card,
  .work-scroller figure { flex-basis: calc((100% - 12px) / 2); }
}
@media (min-width: 901px) {
  .review-card,
  .work-scroller figure { flex-basis: calc((100% - 24px) / 3); }
}
@media (prefers-reduced-motion: reduce) {
  .review-scroller,
  .work-scroller { scroll-behavior: auto; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .folder, .site-nav, .nav-backdrop, .nav-toggle-lines, .nav-toggle-lines:before, .nav-toggle-lines:after { transition: none; }
}
