:root {
  --background: #f6f1e8;
  --surface: #fbf8f1;
  --surface-deep: #ebe2d2;
  --text: #181715;
  --muted: #686157;
  --rule: #d8cebc;
  --accent: #9d792a;
  --accent-dark: #5f4517;
  --focus: #6f5219;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent-dark);
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: var(--background);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(24, 23, 21, 0.12);
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(16px);
}

.site-nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
}

.nav-panel a {
  text-decoration: none;
}

.nav-cta {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--text);
}

.nav-external {
  color: var(--muted);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.menu-toggle__line {
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.menu-toggle__label {
  font-size: 0.86rem;
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.hero__content {
  max-width: 680px;
}

.section-label {
  margin: 0 0 1.15rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--serif);
}

h1 {
  font-size: clamp(5rem, 11vw, 9.5rem);
}

h2 {
  font-size: clamp(3.5rem, 6.6vw, 6.8rem);
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.hero__artist {
  margin: 1.2rem 0 0;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
}

.hero__meta {
  margin: 0.3rem 0 0;
  color: var(--accent-dark);
  font-weight: 500;
}

.hero__statement {
  max-width: 620px;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.3rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

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

.button--primary:hover {
  background: var(--accent-dark);
  color: var(--background);
  border-color: var(--accent-dark);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button--text {
  border-color: transparent;
  color: var(--accent-dark);
  padding-inline: 0;
}

.hero__support {
  max-width: 480px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__image {
  margin: 0;
  height: min(72vh, 760px);
  min-height: 460px;
  border-left: 1px solid var(--rule);
  padding-left: clamp(1.2rem, 3vw, 2.2rem);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  border-top: 1px solid var(--rule);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 860px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.prose {
  max-width: 760px;
  margin-top: clamp(1.8rem, 4vw, 3rem);
  color: #2e2a25;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.prose p {
  margin: 0 0 1.15rem;
}

.quiet-link {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.works {
  background: var(--surface);
}

.work {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 0.64fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--rule);
}

.work:first-of-type {
  border-top: 0;
}

.work--large {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 0.58fr);
}

.work__image {
  margin: 0;
  background: var(--background);
}

.work__image img {
  width: 100%;
  max-height: 780px;
  object-fit: contain;
}

.work__text {
  max-width: 520px;
}

.work__number {
  margin: 0 0 2rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.work__detail {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.work__text p:not(.work__number):not(.work__detail):not(.artist-note) {
  margin: 1.8rem 0 0;
}

.artist-note {
  margin: 1.8rem 0 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.12;
}

.works__closing {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.04;
}

.about {
  background: var(--background);
}

.acknowledgements {
  background: var(--surface);
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.thanks-grid div {
  min-height: 210px;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  background: var(--surface);
}

.thanks-grid h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
}

.thanks-grid p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.invitation {
  background: var(--text);
  color: var(--background);
}

.invitation h2,
.invitation .section-label {
  color: var(--background);
}

.invitation .section-label {
  opacity: 0.82;
}

.invitation .prose {
  color: #dfd5c5;
}

.invitation__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.invitation-form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(246, 241, 232, 0.28);
  background: rgba(246, 241, 232, 0.045);
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.88rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(246, 241, 232, 0.35);
  border-radius: 0;
  background: rgba(246, 241, 232, 0.08);
  color: var(--background);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

option {
  color: var(--text);
}

select {
  appearance: auto;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--surface-deep);
  outline-offset: 2px;
}

.consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0 1.4rem;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.22rem;
}

.consent-field label {
  color: #dfd5c5;
  line-height: 1.45;
}

.form-status {
  min-height: 1.4em;
  margin: 1rem 0 0;
  color: #dfd5c5;
  font-size: 0.92rem;
}

.direct-contact {
  margin: 1.2rem 0 0;
  color: #dfd5c5;
  font-size: 0.92rem;
}

.direct-contact a {
  color: var(--background);
}

.closing-cta {
  border-top: 1px solid var(--rule);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.closing-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.closing-cta h2 {
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 1rem;
}

.privacy-page {
  min-height: calc(100vh - 160px);
}

.privacy-page h1 {
  font-size: clamp(4rem, 8vw, 7rem);
}

@media (max-width: 920px) {
  .site-nav {
    min-height: 64px;
  }

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

  .nav-panel {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 20px 1.4rem;
    border-bottom: 1px solid var(--rule);
    background: var(--background);
    font-size: 1rem;
  }

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

  .nav-panel a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .nav-cta {
    border: 0;
  }

  .nav-panel--privacy {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.82rem;
  }

  .nav-panel--privacy a {
    border: 0;
    padding: 0;
  }

  .hero,
  .work,
  .work--large,
  .invitation__layout,
  .closing-cta__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 3.5rem;
  }

  .hero__image {
    height: auto;
    min-height: 0;
    border-left: 0;
    padding-left: 0;
  }

  .hero__image img {
    max-height: 70vh;
    object-fit: cover;
  }

  .work {
    align-items: start;
  }

  .work__image img {
    max-height: 74vh;
  }

  .thanks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .site-nav,
  .section__inner,
  .hero,
  .site-footer__inner {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(4.2rem, 21vw, 6.3rem);
  }

  h2 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero__statement {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero__actions,
  .site-footer__inner,
  .site-footer div {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .button--text {
    width: auto;
  }

  .section {
    padding: 4rem 0;
  }

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

  .thanks-grid div {
    min-height: auto;
  }

  .nav-panel--privacy {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
