:root {
  --paper: #f4f1ea;
  --paper-soft: #fbfaf6;
  --ink: #171512;
  --muted: #756f65;
  --line: rgba(23, 21, 18, 0.14);
  --accent: #6f7f69;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(244, 241, 234, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 0.88rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--ink);
}

.page {
  width: min(100% - 36px, 1280px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 96px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.44fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 86px);
  padding-bottom: 44px;
}

.hero > *,
.section-heading > *,
.page-title > *,
.about-band > *,
.contact-grid > *,
.work-detail > * {
  min-width: 0;
}

.hero h1,
.page-title h1,
.detail-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 11vw, 9rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p,
.page-title p,
.section-intro p,
.about-band p,
.contact-grid p {
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.65;
}

.hero-visual {
  margin: 0;
  align-self: stretch;
  min-height: 560px;
  overflow: hidden;
  background: #171512;
}

.hero-visual img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.section {
  padding: clamp(48px, 8vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.section-heading,
.page-title {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(240px, 0.42fr);
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 64px);
}

.section-heading h2,
.page-title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 5.7rem);
  font-weight: 400;
  line-height: 0.98;
}

.medium-section .section-heading h2 {
  font-size: clamp(2.05rem, 5.55vw, 5.25rem);
}

.kicker,
.gallery-caption p,
.output-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.medium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 38px);
  align-items: start;
}

.medium-block:nth-child(2) {
  margin-top: 54px;
}

.medium-block h3 {
  margin: 22px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1;
}

.medium-block p {
  color: var(--muted);
  line-height: 1.55;
}

.section-intro {
  max-width: 760px;
  margin: calc(clamp(28px, 5vw, 64px) * -0.55) 0 clamp(28px, 5vw, 64px);
}

.section-intro p {
  margin: 0 0 16px;
}

.image-link {
  display: block;
  overflow: hidden;
  background: #181613;
}

.image-link img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 420ms ease;
}

.image-link:hover img {
  transform: scale(1.025);
}

.text-link {
  display: inline-flex;
  margin-top: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  padding-bottom: 3px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 3vw, 42px);
}

.gallery-item {
  grid-column: span 4;
}

.gallery-item-large {
  grid-column: span 6;
}

.gallery-item-wide {
  grid-column: span 8;
}

.gallery-item-wide .image-link img {
  aspect-ratio: 8 / 5;
}

.gallery-caption {
  margin-top: 14px;
}

.gallery-caption h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 400;
}

.gallery-caption span,
.output-item code,
dl {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-band,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(280px, 0.45fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.contact-page {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
}

.contact-page .contact-grid {
  width: 100%;
}

.about-band h1,
.about-band h2,
.contact-grid h1,
.contact-grid h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.collection-card {
  display: grid;
  gap: 16px;
}

.collection-card:nth-child(1) {
  grid-column: span 2;
  max-width: 92%;
}

.collection-card h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}

.collection-card p,
.collection-card span {
  display: block;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.collection-card p {
  margin-bottom: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-card .text-link {
  margin-top: 14px;
}

.collection-card-muted {
  opacity: 0.58;
}

.collection-placeholder {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.output-item img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.create-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(26px, 5vw, 54px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.button-link {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
  padding: 0 18px;
}

.work-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.4fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.detail-image img {
  max-height: calc(100vh - 140px);
  object-fit: contain;
  background: #181613;
}

.detail-copy {
  position: sticky;
  top: 98px;
}

dl {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

dt {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 0;
}

.detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.generator-shell .site-header + .page-shell {
  padding-top: 48px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-links {
  margin: 16px 0;
  color: var(--muted);
}

.footer-links a,
.social-links a {
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.social-links a:hover {
  border-bottom-color: currentColor;
  color: var(--ink);
}

.about-emphasis {
  margin-top: 28px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.15;
}

@media (max-width: 820px) {
  .page {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero p,
  .page-title p,
  .section-intro p {
    max-width: calc(100vw - 36px);
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 58px;
    right: 18px;
    display: none;
    min-width: 210px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--paper-soft);
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero,
  .section-heading,
  .page-title,
  .about-band,
  .contact-grid,
  .create-callout,
  .work-detail {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

  .medium-grid,
  .output-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-card:nth-child(1) {
    grid-column: auto;
  }

  .medium-block:nth-child(2) {
    margin-top: 0;
  }

  .gallery-item,
  .gallery-item-wide,
  .gallery-item-large {
    grid-column: 1 / -1;
  }

  .detail-copy {
    position: static;
  }

  .site-footer {
    flex-direction: column;
  }
}
