:root {
  --paper: #f6f1ea;
  --paper-deep: #efe7dc;
  --cream: #fbf7f1;
  --ink: #2c241c;
  --ink-soft: #5f564b;
  --muted: #8a8074;
  --line: #ddd2c4;
  --accent: #8d5a48;
  --accent-soft: #c4a090;
  --white: #fffcf8;
  --shadow: 0 18px 50px rgba(44, 36, 28, 0.12);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
  --max: 1240px;
  --header: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--paper-deep);
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.55rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

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

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

.btn-light {
  border-color: var(--cream);
  background: transparent;
  color: var(--cream);
}

.btn-light:hover {
  background: var(--cream);
  color: var(--ink);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(246, 241, 234, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

body.lb-open .site-header {
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark .name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.wordmark .studio {
  margin-top: 0.28rem;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.nav a.nav-cta {
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  position: relative;
  margin-inline: auto;
  transition: transform 0.25s var(--ease);
}

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

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding-top: var(--header);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - var(--header));
  object-fit: contain;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 0.5rem;
}

.hero-copy.below {
  padding: 3.5rem 0 0;
}

.intro-hero {
  padding: 3.2rem 0 1.5rem;
}

.intro-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 14ch;
  margin-bottom: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.split-text h2 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  margin-bottom: 1.2rem;
}

.split-photo img {
  width: 100%;
  height: auto;
}

.intro-body {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 38rem;
}

.intro-body p + p {
  margin-top: 1rem;
}

/* Work grid */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.bento {
  columns: 2;
  column-gap: 0.9rem;
}

.tile {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 0.9rem;
  break-inside: avoid;
  background: var(--paper-deep);
}

.tile figure,
.tile picture {
  width: 100%;
  margin: 0;
  display: block;
}

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

.tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 1.1rem 1.1rem;
  background: linear-gradient(to top, rgba(28, 22, 16, 0.7), transparent);
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.tile:hover figcaption,
.tile:focus-visible figcaption {
  opacity: 1;
  transform: none;
}

.tile .cap-kicker {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.tile .cap-title {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.tile.wide,
.tile.tall {
  aspect-ratio: auto;
}

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

.service {
  background: var(--paper);
  padding: 2.4rem 1.6rem;
}

.service h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.service p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.about-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-band img {
  width: 100%;
  height: auto;
}

.about-band h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin-bottom: 1.1rem;
}

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.3;
  text-align: center;
  max-width: 18em;
  margin: 0 auto;
}

.cta-band,
.booking-copy {
  text-align: center;
  padding: 5.5rem 1.5rem;
  background: var(--ink);
  color: var(--cream);
}

.cta-band h2,
.booking-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 0.8rem;
}

.cta-band p,
.booking-copy p {
  max-width: 32rem;
  margin: 0 auto 1.6rem;
  color: rgba(251, 247, 241, 0.86);
}

.booking-photo {
  margin: 0;
}

.booking-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.booking-copy .kicker {
  color: var(--accent-soft);
}

/* Portfolio */
.page-hero {
  padding: calc(var(--header) + 3.5rem) 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.filter {
  border: 1px solid var(--line);
  background: transparent;
  min-height: 2.4rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter.is-active,
.filter:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.work-grid {
  columns: 3;
  column-gap: 1rem;
}

.work-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.4rem;
  break-inside: avoid;
}

.work-card .frame {
  background: var(--paper-deep);
}

.work-card img {
  width: 100%;
  height: auto;
}

.work-card h3 {
  margin-top: 0.75rem;
  font-size: 1.45rem;
}

.work-card .meta {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card.is-hidden {
  display: none;
}

/* Gallery page */
.gallery-hero {
  padding: calc(var(--header) + 3rem) 0 1.5rem;
}

.gallery-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.masonry {
  columns: 2;
  column-gap: 0.85rem;
}

.masonry figure {
  break-inside: avoid;
  margin: 0 0 0.85rem;
  cursor: zoom-in;
}

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

.gallery-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.gallery-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  max-width: 45%;
}

.gallery-nav .next {
  text-align: right;
  margin-left: auto;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.price-card {
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}

.price-card img {
  width: 100%;
  height: auto;
}

.price-body {
  padding: 1.8rem 1.6rem 2rem;
}

.price-body h2 {
  font-size: 2.2rem;
}

.price {
  font-family: var(--serif);
  font-size: 2.6rem;
  margin: 0.3rem 0 1rem;
}

.price span {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.price-body ul {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.price-body li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.price-body li:last-child {
  border-bottom: 0;
}

.note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* About extras */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.fact h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.fact p {
  color: var(--ink-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.7rem 0;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--ink);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.honeypot {
  display: none;
}

.form-success {
  display: none;
  padding: 1.2rem;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

body.sent .form {
  display: none;
}

body.sent .form-success {
  display: block;
}

.email-link {
  font-family: var(--serif);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--line);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}

.footer-brand .name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.copy {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: #14100c;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 4.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.lb-close {
  top: 1rem;
  right: 1.2rem;
  font-size: 2rem;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: 1rem;
}

.lb-prev { left: 0.4rem; }
.lb-next { right: 0.4rem; }

.lb-cap {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(251, 247, 241, 0.75);
  font-size: 0.85rem;
}

/* 404 */
.empty {
  min-height: 80svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.empty h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 0.8rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .split,
  .about-band,
  .contact-grid,
  .price-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services,
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid,
  .bento {
    columns: 2;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }

  body.nav-open .nav {
    transform: none;
  }



  .masonry {
    columns: 1;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .work-grid,
  .bento {
    columns: 1;
  }

  .services,
  .facts,
  .form-row {
    grid-template-columns: 1fr;
  }



  .tile figcaption {
    opacity: 1;
    transform: none;
  }

  .hero h1 {
    max-width: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 3.5rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
