:root {
  --paper: #f6f3ef;
  --paper-deep: #e4dbd2;
  --ink: #1f1f1f;
  --muted: #4a4a4a;
  --line: rgba(31, 31, 31, 0.12);
  --sand: #c9ae96;
  --stone: #b89d88;
  --rose: #c98f8f;
  --rose-bright: #c98f8f;
  --moss: #6f8d4c;
  --plum: #5c3646;
  --gold: #bfa16a;
  --nav-dark: #2c2a28;
  --nav-ink: #f6f3ef;
  --shadow: 0 18px 60px rgba(20, 15, 12, 0.1);
  --display-font:
    "Cormorant Garamond",
    "Didot",
    "Bodoni 72 Display",
    "Bodoni 72",
    "Times New Roman",
    serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #050505;
}

body {
  margin: 0;
  background: #050505;
  color: var(--ink);
  font-family:
    "Avenir Next",
    "Helvetica Neue",
    "Segoe UI",
    sans-serif;
}

html.footer-zone,
body.footer-zone {
  background: var(--paper);
}

body.modal-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--rose);
}

.site-header,
.site-footer {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 28px;
}

.site-header {
  top: 0;
  color: var(--nav-ink);
  background: transparent;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    background-color 180ms ease;
}

.site-footer {
  bottom: 0;
  grid-template-columns: 1fr;
  justify-items: center;
  color: var(--ink);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.site-footer.footer-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header.header-on-light {
  color: var(--nav-ink);
  background: rgba(5, 5, 5, 0.96);
  text-shadow: none;
}

.site-header.header-on-light .brand-logo {
  filter: none;
}

.nav,
.footer-links {
  display: flex;
  gap: 20px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 500;
}

.nav a,
.footer-links a {
  position: relative;
}

.nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.32rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-right,
.footer-links {
  justify-content: flex-end;
}

.site-footer .footer-links {
  justify-content: center;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: clamp(170px, 20vw, 320px);
  height: auto;
}

main {
  padding-bottom: 80px;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(128px, 15vh, 172px) clamp(28px, 4.5vw, 78px) 70px;
  display: grid;
  align-items: center;
  background: #050505;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-image {
  background-image:
    linear-gradient(90deg, #050505 0%, #050505 48%, rgba(5, 5, 5, 0.84) 58%, rgba(5, 5, 5, 0) 76%),
    url("./work-hero-black-tulle.png");
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: cover;
}

.hero-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(42vh, 420px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0) 0%,
    rgba(5, 5, 5, 0.5) 48%,
    #050505 100%
  );
}

.hero-copy {
  position: relative;
  isolation: isolate;
  z-index: 1;
  display: grid;
  gap: 24px;
  max-width: min(980px, 58vw);
  margin-left: clamp(20px, 2.6vw, 54px);
  padding: 0 0 36px;
}

.hero-copy::before {
  content: "";
  order: 2;
  width: 72px;
  height: 1px;
  margin-top: clamp(16px, 2vw, 26px);
  background: rgba(246, 243, 239, 0.84);
}

.hero-copy::after {
  content: none;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--display-font);
  color: var(--ink);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.hero h1 {
  order: 1;
  max-width: none;
  color: var(--paper);
  font-size: clamp(7rem, 14.6vw, 16rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-subcopy {
  order: 3;
  display: grid;
  gap: 0.2rem;
  max-width: none;
  margin: 0;
  color: rgba(246, 243, 239, 0.88);
  font-size: clamp(0.78rem, 0.9vw, 0.96rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-subcopy span {
  display: block;
}

.intro-card p,
.gallery-copy p,
.about-copy {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.about-section {
  padding-inline: clamp(24px, 6vw, 96px);
  scroll-margin-top: 108px;
}

.gallery-section {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
  background: #050505;
  color: var(--paper);
  scroll-margin-top: 0;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.gallery-section .section-heading {
  position: relative;
  min-height: min(66vh, 620px);
  margin: 0;
  padding: clamp(92px, 10vw, 132px) clamp(28px, 7vw, 118px) clamp(34px, 4vw, 56px);
  align-content: center;
  gap: clamp(24px, 3vw, 44px);
  isolation: isolate;
}

.gallery-section .section-heading::before,
.gallery-section .section-heading::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gallery-section .section-heading::before {
  z-index: -2;
  background:
    linear-gradient(90deg, #050505 0%, #050505 64%, rgba(5, 5, 5, 0.96) 72%, rgba(5, 5, 5, 0.42) 86%, rgba(5, 5, 5, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.58) 0%, rgba(5, 5, 5, 0.96) 100%),
    url("./work-hero-black-tulle.png");
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.84) brightness(0.66);
}

.gallery-section .section-heading::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 68%, rgba(5, 5, 5, 0.98) 100%),
    radial-gradient(circle at 28% 52%, rgba(255, 255, 255, 0.08), transparent 36%);
}

.section-heading h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 11ch;
}

.section-heading h2 em {
  display: block;
  font-style: italic;
}

.gallery-section .section-kicker {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  width: min(430px, 74vw);
  margin-bottom: clamp(6px, 1vw, 16px);
  color: rgba(246, 243, 239, 0.78);
  letter-spacing: 0.34em;
}

.gallery-section .section-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(246, 243, 239, 0.46);
}

.gallery-section .section-heading h2 {
  color: var(--paper);
  max-width: none;
  font-family: var(--display-font);
  font-size: clamp(5.4rem, 9.2vw, 10.1rem);
  font-weight: 20;
  line-height: 0.86;
  letter-spacing: -0.03em;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  text-rendering: geometricPrecision;
}

.gallery-section .section-heading h2 em {
  display: inline;
  margin: 0 0 0 0.08em;
  font-weight: 20;
  letter-spacing: 2px;
}

.gallery-section .section-heading h2::after {
  content: none;
}

.section-deck {
  max-width: 54ch;
  margin: 0;
  color: rgba(246, 243, 239, 0.82);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.section-deck span {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  counter-reset: work-card;
  border-top: 1px solid rgba(246, 243, 239, 0.16);
}

.gallery-card {
  counter-increment: work-card;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 0;
  border-right: 1px solid rgba(246, 243, 239, 0.16);
  border-bottom: 1px solid rgba(246, 243, 239, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 243, 239, 0.06), transparent 34%),
    #11100e;
  box-shadow: none;
  overflow: hidden;
}

.gallery-card-standard,
.gallery-card-wide,
.gallery-card-tall {
  grid-column: auto;
}

.gallery-image {
  display: block;
  width: 100%;
  height: clamp(310px, 31vw, 520px);
  object-fit: cover;
  object-position: center;
  background: #11100e;
  filter: saturate(0.92) contrast(0.96) brightness(0.84);
}

.gallery-image-stack {
  position: relative;
  height: clamp(310px, 31vw, 520px);
  overflow: hidden;
  background: #11100e;
}

.gallery-image-stack .gallery-image {
  height: 100%;
}

.gallery-sketch {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: saturate(0.98) contrast(0.98) brightness(0.96);
  transition: opacity 220ms ease;
}

.gallery-image-stack:hover .gallery-sketch,
.gallery-image-stack:focus-within .gallery-sketch {
  opacity: 1;
}

.gallery-card-tall .gallery-image {
  height: clamp(310px, 31vw, 520px);
}

.gallery-card-wide .gallery-image {
  height: clamp(310px, 31vw, 520px);
}

.gallery-copy {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 22px;
  padding: 22px clamp(18px, 2.5vw, 34px) 30px;
}

.gallery-copy::before {
  content: counter(work-card, decimal-leading-zero);
  padding-top: 0.16em;
  border-bottom: 1px solid rgba(246, 243, 239, 0.24);
  color: rgba(246, 243, 239, 0.86);
  font-family: var(--display-font);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.2;
}

.gallery-copy h3 {
  grid-column: 2;
  margin: 0 0 8px;
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 1.75vw, 1.95rem);
  font-weight: 300;
  color: var(--paper);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.gallery-copy p {
  grid-column: 2;
  max-width: 34ch;
  color: rgba(246, 243, 239, 0.76);
  font-size: 0.96rem;
  line-height: 1.58;
}

.gallery-copy p,
.about-copy {
  margin: 0;
}

.bring-to-life-button {
  grid-column: 2;
  width: 260px;
  min-height: 48px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.bring-to-life-button:hover,
.bring-to-life-button:focus-visible {
  background: var(--gold);
  color: #11100e;
  transform: translateY(-1px);
}

.vote-modal[hidden] {
  display: none;
}

.vote-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.vote-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
}

.vote-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  min-height: min(72vh, 600px);
  padding: clamp(42px, 5vw, 68px) clamp(28px, 5vw, 62px) clamp(34px, 4vw, 54px);
  background:
    radial-gradient(circle at 18% 0%, rgba(246, 243, 239, 0.08), transparent 30%),
    linear-gradient(135deg, #171715 0%, #0e0e0d 100%);
  color: var(--paper);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
}

.vote-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(246, 243, 239, 0.76);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.vote-close:hover,
.vote-close:focus-visible {
  color: var(--paper);
}

.vote-dialog h2 {
  margin: 0 0 26px;
  font-family: var(--display-font);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

.vote-dialog p {
  max-width: 32ch;
  margin: 0;
  color: rgba(246, 243, 239, 0.84);
  font-size: 1.08rem;
  line-height: 1.55;
}

.vote-email-form {
  display: grid;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}

.vote-email-form input {
  width: 100%;
  padding: 18px 22px;
  border: 1px solid rgba(246, 243, 239, 0.86);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
}

.vote-email-form input::placeholder {
  color: rgba(246, 243, 239, 0.7);
}

.vote-submit-button {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(246, 243, 239, 0.86);
  background: rgba(246, 243, 239, 0.9);
  color: #11100e;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.vote-submit-button:hover,
.vote-submit-button:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  transform: translateY(-1px);
}

.vote-dialog .vote-status {
  min-height: 1.4em;
  color: rgba(246, 243, 239, 0.7);
  font-size: 0.82rem;
}

.vote-confirmation[hidden] {
  display: none;
}

.vote-confirmation {
  min-height: calc(min(72vh, 600px) - clamp(76px, 9vw, 122px));
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 22px;
  text-align: center;
}

.vote-confirmation-icon {
  position: relative;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(246, 243, 239, 0.88);
  border-radius: 50%;
}

.vote-confirmation-icon::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 24px;
  width: 24px;
  height: 40px;
  border-right: 2px solid #6ed460;
  border-bottom: 2px solid #6ed460;
  transform: rotate(40deg);
}

.vote-confirmation h2 {
  max-width: 8ch;
  margin: 16px 0 0;
}

.vote-confirmation p {
  max-width: 28ch;
}

.about-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: end;
  margin-top: 0;
  padding-top: 88px;
  padding-bottom: 120px;
  background: var(--paper);
  color: var(--ink);
}

.about-section .section-heading h2 {
  line-height: 1.14;
}

.about-body {
  display: grid;
  gap: 18px;
}

.about-copy {
  max-width: 42ch;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    padding-inline: 18px;
  }

  .gallery-grid,
  .about-section,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
    text-align: center;
    padding-block: 16px;
    mix-blend-mode: normal;
  }

  .site-header {
    position: absolute;
    gap: 0;
    color: var(--nav-ink);
    text-shadow: 0 1px 14px rgba(31, 31, 31, 0.22);
  }

  .site-header.header-on-light {
    color: var(--nav-ink);
    background: transparent;
    text-shadow: 0 1px 14px rgba(31, 31, 31, 0.22);
  }

  .brand-logo {
    width: clamp(150px, 52vw, 240px);
  }

  .site-header .nav {
    display: none;
  }

  .nav,
  .nav-right,
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 100svh;
    padding: 18vh 22px 52px;
    align-items: end;
  }

  .hero-copy {
    gap: 18px;
    max-width: min(100%, 31ch);
    margin-left: clamp(16px, 6vw, 28px);
    padding-bottom: 12px;
  }

  .hero-image {
    background-image:
      linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.04) 42%, rgba(5, 5, 5, 0.68) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.46) 0%, rgba(5, 5, 5, 0.04) 100%),
      url("./work-hero-black-tulle.png");
    background-position: center, center, 66% center;
  }

  .hero h1 {
    font-size: clamp(5.2rem, 22vw, 8.8rem);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-subcopy {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .section-heading h2 {
    max-width: none;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .gallery-section .section-heading {
    min-height: 64svh;
    padding: 112px 22px 32px;
  }

  .gallery-section .section-heading::before {
    background: #050505;
  }

  .gallery-section .section-heading h2 {
    max-width: min(100%, 10ch);
    font-size: clamp(4rem, 16vw, 6.5rem);
    white-space: normal;
  }

  .gallery-section .section-heading h2 em {
    display: block;
    margin-left: 0;
  }

  .section-deck {
    max-width: 29ch;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
  }

  .gallery-image,
  .gallery-image-stack,
  .gallery-card-tall .gallery-image,
  .gallery-card-wide .gallery-image {
    height: min(92vw, 430px);
  }

  .gallery-copy {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 18px 26px;
  }

  .gallery-copy h3 {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .bring-to-life-button {
    width: min(100%, 260px);
  }

  .about-section {
    padding-inline: 22px;
    padding-bottom: 160px;
  }

  .gallery-section,
  .about-section {
    scroll-margin-top: 88px;
  }
}
