:root {
  --ink: #171511;
  --paper: #f7f3ec;
  --muted: #746b61;
  --line: rgba(23, 21, 17, 0.16);
  --clay: #b35c48;
  --teal: #146b6c;
  --gold: #c6923b;
  --plum: #5d3453;
  --white: #fffaf2;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(20, 107, 108, 0.06), transparent 34%),
    var(--paper);
}

body,
input,
textarea,
button {
  font: inherit;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 44px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 243, 236, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.site-footer div,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 8px;
  font-weight: 700;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--gold), transparent 45%),
    linear-gradient(315deg, var(--teal), var(--clay));
  box-shadow: 0 0 0 2px rgba(255, 250, 242, 0.28);
}

.nav {
  gap: clamp(12px, 2vw, 22px);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a,
.text-link {
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.text-link:hover {
  border-color: currentColor;
}

.header-action,
.button {
  justify-self: end;
  min-height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 104px clamp(16px, 4vw, 56px) 48px;
  overflow: hidden;
  color: var(--white);
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 13, 11, 0.76), rgba(13, 13, 11, 0.42) 44%, rgba(13, 13, 11, 0.1)),
    linear-gradient(0deg, rgba(13, 13, 11, 0.38), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow,
.section-label,
.work-info span {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero-note span {
  color: #f2c16c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-size: clamp(4rem, 14vw, 10.5rem);
}

.hero-title-small {
  display: block;
  font-size: 0.46em;
  line-height: 1.05;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 250, 242, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero .button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 250, 242, 0.08);
}

.hero-note {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 250, 242, 0.42);
}

.hero-note strong {
  font-size: 1.12rem;
}

.band,
.works,
.about,
.shop-preview,
.contact {
  padding: clamp(44px, 6vw, 82px) clamp(16px, 4vw, 56px);
}

.band {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}

.intro-text {
  max-width: 990px;
}

.intro {
  gap: clamp(16px, 3vw, 40px);
}

.intro-text p,
.process p,
.about-copy p,
.shop-preview p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.collection-description {
  max-width: 900px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.work-card.is-clickable {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.work-card.is-clickable:hover,
.work-card.is-clickable:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(179, 92, 72, 0.38);
  box-shadow: 0 16px 40px rgba(23, 21, 17, 0.12);
  outline: none;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.work-card img.work-image-contain {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f4f0e8;
}

.work-info {
  padding: 14px;
}

.work-info p {
  min-height: 40px;
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

.art-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  padding: 24px;
}

.art-modal.is-open {
  display: grid;
  place-items: center;
}

.art-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 21, 17, 0.72);
}

.art-modal-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.art-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.9);
  cursor: pointer;
  font-weight: 700;
}

.art-modal-copy {
  padding: 24px 28px 0;
}

.art-modal-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
}

.art-modal-viewer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  padding: 0 20px 18px;
}

.art-modal-viewer img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  background: #f4f0e8;
}

.art-modal-nav {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
}

.art-modal-close:hover,
.art-modal-close:focus-visible,
.art-modal-nav:hover,
.art-modal-nav:focus-visible,
.art-modal-thumbs button:hover,
.art-modal-thumbs button:focus-visible,
.art-modal-thumbs button.is-active {
  border-color: var(--clay);
  outline: none;
}

.art-modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 28px 28px;
}

.art-modal-thumbs button {
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #f4f0e8;
  cursor: pointer;
}

.art-modal-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.process {
  background: #ede7dc;
}

.contact {
  background: #ede7dc;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(18px, 3vw, 42px);
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.process-list strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}

.process-list span {
  line-height: 1.5;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(18px, 4vw, 52px);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 16px;
}

.about-photo {
  width: min(260px, 100%);
  max-height: 360px;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(23, 21, 17, 0.12);
}

.about-panel {
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 20px;
}

dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.shop-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.shop-preview p {
  color: rgba(255, 250, 242, 0.74);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 520px);
  gap: clamp(18px, 4vw, 52px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-style: normal;
  font-weight: 700;
}

.contact-details a {
  width: fit-content;
  border-bottom: 1px solid var(--line);
}

.contact-details a:hover {
  border-color: currentColor;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 107, 108, 0.16);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(16px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.site-footer div {
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 110px;
    padding-bottom: 116px;
  }

  .hero-note {
    left: 16px;
    right: 16px;
    bottom: 20px;
  }

  .band,
  .process-grid,
  .about,
  .shop-preview,
  .contact {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3.4rem, 19vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
