/*
Theme Name: Shahaab Archive
Theme URI: https://shahaab.art/
Description: A cinematic Hello Elementor child theme for the Shahaab artist archive.
Author: Shahaab
Template: hello-elementor
Version: 1.2.2
Text Domain: shahaab-archive
*/

:root {
  --ink: #0a0a09;
  --ink-soft: #10100f;
  --paper: #d9d6cd;
  --paper-bright: #ece9e0;
  --muted: #9b978f;
  --line: rgba(217, 214, 205, 0.22);
  --serif: Baskerville, "Baskerville Old Face", "Iowan Old Style",
    "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(6rem, 12vw, 11rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-main {
  min-height: 70svh;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body,
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

figure,
dl,
dd,
p,
h1,
h2,
h3 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-color: rgba(217, 214, 205, 0.5);
  text-underline-offset: 0.3em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--paper-bright);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-150%);
}

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

.section-shell {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
  color: var(--paper);
}

.wordmark {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  text-decoration: none;
}

.site-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.custom-logo-link {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
}

.custom-logo {
  width: auto;
  height: 2.25rem;
  object-fit: contain;
}

.elementor-home,
.elementor-home > .elementor {
  width: 100%;
  min-height: 70svh;
}

/* Elementor homepage: shallow, class-driven layout. */
.shb-hero {
  position: relative;
  isolation: isolate;
  display: grid !important;
  min-height: 100svh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  gap: 0.5rem 2rem;
  align-content: stretch;
  padding: clamp(8rem, 11vw, 11rem) var(--gutter) clamp(2rem, 5vw, 4.5rem) !important;
  overflow: hidden;
  background-position: 54% 50% !important;
  background-size: cover !important;
}

.shb-hero::before,
.shb-contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,5,4,.18), rgba(5,5,4,.38)), linear-gradient(0deg, rgba(5,5,4,.74), transparent 58%);
  pointer-events: none;
}

.shb-hero .hero-title {
  grid-column: 1 / -1;
  align-self: start;
}

.shb-hero .hero-title .elementor-heading-title {
  font-family: var(--serif);
  color: var(--paper) !important;
  font-size: clamp(6.2rem, 15vw, 15rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.058em !important;
  line-height: 0.7 !important;
}

.shb-hero .hero-statement {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: 38rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 2.2rem);
  line-height: 1.35;
}

.shb-hero .hero-discipline {
  grid-column: 1;
  grid-row: 4;
  max-width: 38rem;
  color: rgba(236,233,224,.76);
  font-size: .76rem;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.shb-hero .shb-hero-action {
  grid-row: 4;
  align-self: end;
}

.shb-hero .shb-hero-action--works { grid-column: 2; justify-self: start; }
.shb-hero .shb-hero-action--chapter { grid-column: 2; justify-self: end; }
.shb-hero .elementor-button {
  min-height: 2.75rem;
  padding: .7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent !important;
  color: var(--paper) !important;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.shb-release,
.shb-selected,
.shb-av,
.shb-about {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding: var(--section) var(--gutter) !important;
}

.shb-release > .elementor-widget-shortcode,
.shb-selected > .elementor-widget-shortcode,
.shb-av > .elementor-widget-shortcode {
  width: 100%;
}

.shb-practice {
  display: grid !important;
  width: min(100%, 1600px);
  grid-template-columns: 1fr minmax(20rem, 3fr);
  gap: 2rem;
  margin-inline: auto;
  padding: var(--section) var(--gutter) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shb-practice .shb-section-label {
  grid-column: 1;
}

.shb-practice .shb-practice-title,
.shb-practice .shb-practice-copy {
  grid-column: 2;
}

.shb-practice .elementor-heading-title,
.shb-about .shb-about-title .elementor-heading-title,
.shb-contact .shb-contact-title .elementor-heading-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.058em;
  color: var(--paper) !important;
}

.shb-practice .shb-practice-title .elementor-heading-title {
  max-width: 18ch;
  font-size: clamp(3rem, 6.7vw, 7.2rem) !important;
  line-height: .98 !important;
}

.shb-practice .shb-practice-copy {
  max-width: 36rem;
  color: #aaa69d;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.shb-section-label {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.shb-about {
  display: grid !important;
  grid-template-columns: minmax(15rem,.7fr) minmax(20rem,1.3fr);
  gap: 2rem clamp(3rem,9vw,10rem);
  align-items: end;
}

.shb-about .shb-section-label { grid-column: 1; }
.shb-about .shb-about-title { grid-column: 2; }
.shb-about .shb-about-image { grid-column: 1; grid-row: 2 / span 2; align-self: end; }
.shb-about .shb-about-intro,
.shb-about .shb-about-copy { grid-column: 2; }
.shb-about .shb-about-title .elementor-heading-title {
  max-width: 16ch;
  font-size: clamp(3.6rem,7vw,7.5rem) !important;
  line-height: .92 !important;
}
.shb-about .shb-about-intro {
  font-family: var(--serif);
  font-size: clamp(1.55rem,2.8vw,2.8rem);
  line-height: 1.25;
}
.shb-about .shb-about-copy { color: #b7b3aa; }
.shb-about img { width: 100%; max-height: 42rem; object-fit: cover; }

.shb-contact {
  position: relative;
  isolation: isolate;
  display: flex !important;
  min-height: 92svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8rem var(--gutter) !important;
  overflow: hidden;
  background-position: center !important;
  background-size: cover !important;
}

.shb-contact::before { background: linear-gradient(90deg, rgba(5,5,4,.88), rgba(5,5,4,.22)); }
.shb-contact .shb-section-label,
.shb-contact .shb-contact-title,
.shb-contact .shb-contact-copy,
.shb-contact .shb-contact-email,
.shb-contact .shb-social {
  width: min(100%, 1600px);
  margin-inline: auto;
}
.shb-contact .shb-contact-title .elementor-heading-title {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(3.8rem,8vw,8.5rem) !important;
  line-height: .9 !important;
}
.shb-contact .shb-contact-copy { max-width: min(40rem, 100%); margin-top: 1.5rem; font-family: var(--serif); font-size: 1.35rem; }
.shb-contact .shb-contact-email .elementor-heading-title { margin-top: 1.5rem; color: var(--paper) !important; font-family: var(--serif); font-size: clamp(1.55rem,3vw,3rem) !important; font-weight: 400 !important; }
.shb-contact .shb-contact-email a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.shb-contact .shb-social { display: inline-flex; width: auto; margin: 1rem 1.5rem 0 0; }
.shb-contact .shb-social .elementor-button { min-height: 2.75rem; padding: .75rem 0; background: transparent !important; color: var(--paper) !important; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; }

.desktop-nav {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
}

.desktop-nav a,
.mobile-nav,
.hero-index a,
.eyebrow,
.edition-note,
.project-meta,
.site-footer,
figcaption,
.role-line,
.prototype-note {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.desktop-nav a {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  text-decoration: none;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  min-height: 2.75rem;
  min-width: 2.75rem;
  display: grid;
  place-items: center;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 12rem;
  border: 1px solid var(--line);
  background: var(--ink);
}

.mobile-nav nav a {
  display: block;
  min-height: 3rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

.artist-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
}

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

.hero-image,
.contact-image {
  z-index: -2;
  object-fit: cover;
  object-position: 54% 50%;
  filter: saturate(0.56) contrast(1.08);
}

.hero-shade,
.contact-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.14), rgba(5, 5, 4, 0.35)),
    linear-gradient(0deg, rgba(5, 5, 4, 0.72), transparent 55%);
}

.hero-content {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(2rem, 5vw, 4.5rem);
}

.hero-title,
.release-heading h2,
.section-heading h2,
.identity-statement h2,
.contact-content h2,
.project-hero h1,
.text-page h1,
.not-found h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.058em;
}

.hero-title {
  align-self: start;
  font-size: clamp(6.2rem, 15vw, 15rem);
  line-height: 0.7;
  margin-left: -0.055em;
}

.hero-intro {
  align-self: end;
  width: min(38rem, 100%);
  margin-bottom: clamp(2rem, 5vh, 5rem);
}

.hero-statement {
  margin-bottom: 2.8rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 2.2rem);
  line-height: 1.35;
}

.eyebrow,
.edition-note,
.project-meta,
.role-line,
figcaption {
  color: var(--muted);
}

.hero-discipline {
  max-width: 36rem;
  color: rgba(236, 233, 224, 0.76);
}

.hero-index {
  display: flex;
  gap: clamp(2rem, 7vw, 8rem);
}

.hero-index a {
  display: inline-flex;
  min-width: 9rem;
  min-height: 2.75rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.release-feature,
.identity-statement,
.selected-works,
.av-projects,
.about-artist {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

.release-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.release-heading h2 {
  grid-column: 1 / -1;
  max-width: 11ch;
  margin-top: clamp(1.5rem, 5vw, 5rem);
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.78;
}

.release-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-top: clamp(4rem, 10vw, 10rem);
}

.release-art img,
.project-image img,
.project-featured img,
.about-grid img,
.film-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 700ms ease;
}

figcaption {
  margin-top: 0.8rem;
}

.release-copy {
  padding-bottom: 1rem;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.8rem);
  line-height: 1.25;
}

.release-copy > p + p,
.about-copy > p + p {
  margin-top: 1.8rem;
  color: #b7b3aa;
}

.project-disclosure {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--paper-bright) !important;
}

.release-copy > .project-disclosure:first-child {
  margin-top: 0;
}

.project-disclosure + .lead {
  margin-top: 1.5rem;
}

.project-hero .project-disclosure {
  max-width: 44rem;
}

.chapter-facts {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.chapter-facts > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.chapter-facts dt {
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter-facts dd {
  color: #c3bfb6;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin-top: 2.5rem;
}

.link-row a,
.social-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.film-still {
  position: relative;
  display: block;
  overflow: hidden;
  margin-top: clamp(5rem, 12vw, 12rem);
  aspect-ratio: 16 / 8;
  text-decoration: none;
}

.film-still span {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.45rem 0.6rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-statement {
  display: grid;
  grid-template-columns: 1fr minmax(20rem, 3fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.identity-statement h2 {
  max-width: 18ch;
  font-size: clamp(3rem, 6.7vw, 7.2rem);
  line-height: 0.98;
}

.identity-statement > p:last-child {
  grid-column: 2;
  max-width: 36rem;
  color: #aaa69d;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(20rem, 3fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(4rem, 9vw, 9rem);
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(3.6rem, 7vw, 7.5rem);
  line-height: 0.92;
}

.works-list {
  border-top: 1px solid var(--line);
}

.selected-work {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--line);
}

.selected-work > .project-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  color: inherit;
  text-decoration: none;
}

.project-image {
  display: block;
  overflow: hidden;
  align-self: start;
  aspect-ratio: 3 / 2;
}

.project-card-link:hover .project-image img,
.av-project-link:hover .project-image img,
.archive-card-link:hover .project-image img,
.film-still:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.archive-intro {
  padding-top: clamp(10rem, 18vw, 16rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.archive-intro h1 {
  max-width: 11ch;
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 11vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.8;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 7vw, 8rem) clamp(2rem, 5vw, 6rem);
  padding-bottom: var(--section);
}

.archive-card:nth-child(even) {
  margin-top: clamp(4rem, 9vw, 10rem);
}

.archive-card h2 {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.archive-card h2 a {
  text-decoration: none;
}

.archive-card .project-description {
  display: block;
  max-width: 34rem;
  margin-top: 1rem;
  color: #aaa69d;
}

.archive-card-link,
.av-project-link {
  display: block;
  color: inherit;
}

.text-page .entry-content > * + * {
  margin-top: 1.4rem;
}

.text-page .entry-content {
  max-width: 45rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.preview-ribbon {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.8rem;
  background: var(--paper-bright);
  color: var(--ink);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-heading h3,
.av-project h3,
.project-card-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.project-heading h3 a,
.av-project h3 a,
.project-card-link,
.av-project-link,
.archive-card-link {
  text-decoration: none;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 1rem;
}

.project-status {
  color: var(--paper-bright);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.35em;
}

.project-summary {
  grid-column: 2;
}

.project-summary > p,
.project-summary > .project-description {
  display: block;
  max-width: 35rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
}

.project-card-facts {
  display: block;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.project-card-facts > span {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: #c3bfb6;
}

.project-card-facts strong,
.role-line strong {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-summary dl {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.project-summary dl div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.project-summary dt,
.project-facts dt {
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-summary dd,
.project-facts dd {
  color: #b9b5ac;
}

.av-projects {
  background: var(--ink-soft);
}

.section-heading.compact {
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.av-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
}

.av-project:nth-child(2) {
  margin-top: clamp(7rem, 13vw, 13rem);
}

.av-project-heading {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.av-project h3 {
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
}

.av-project-link > .project-description {
  display: block;
  max-width: 34rem;
  margin-top: 1.3rem;
  color: #aaa69d;
}

.av-project-link > .role-line {
  display: block;
  margin-top: 1.3rem;
}

.role-line strong,
.role-line span {
  margin-right: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(20rem, 1.3fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
}

.about-grid figure {
  max-width: 30rem;
}

.about-copy {
  max-width: 48rem;
  padding-bottom: 2rem;
}

.contact-artist {
  position: relative;
  isolation: isolate;
  min-height: 92svh;
  overflow: hidden;
}

.contact-image {
  object-fit: cover;
  filter: saturate(0.45) brightness(0.58) contrast(1.12);
}

.contact-shade {
  background: linear-gradient(90deg, rgba(5, 5, 4, 0.84), rgba(5, 5, 4, 0.2));
}

.contact-content {
  display: flex;
  min-height: 92svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.contact-content h2 {
  max-width: 12ch;
  margin-top: 1.5rem;
  font-size: clamp(3.8rem, 8vw, 8.5rem);
  line-height: 0.9;
}

.contact-content > p:not(.eyebrow, .prototype-note) {
  max-width: 40rem;
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.contact-email {
  margin-top: 3rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 3rem);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 2rem;
}

.prototype-note {
  max-width: 42rem;
  margin-top: 5rem;
  color: rgba(236, 233, 224, 0.65);
}

.site-footer {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: flex-start;
}

.project-page,
.text-page,
.not-found {
  padding-top: clamp(8rem, 15vw, 13rem);
}

.project-hero {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.project-hero h1,
.text-page h1,
.not-found h1 {
  max-width: 11ch;
  margin-top: 1.5rem;
  font-size: clamp(4.5rem, 11vw, 11rem);
  line-height: 0.8;
}

.project-hero .lead {
  max-width: 35rem;
  margin-top: 3rem;
}

.project-hero .project-disclosure + .lead {
  margin-top: 1.5rem;
}

.project-featured {
  width: min(100%, 1800px);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.project-featured img {
  max-height: 76svh;
  object-fit: cover;
}

.project-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(3rem, 10vw, 12rem);
  padding-top: var(--section);
  padding-bottom: var(--section);
}

.project-narrative {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
  line-height: 1.4;
}

.project-narrative p + p {
  margin-top: 1.8rem;
}

.project-facts {
  border-top: 1px solid var(--line);
}

.project-facts div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.project-body .link-row {
  grid-column: 2;
  margin-top: 0;
}

.project-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-bottom: var(--section);
}

.project-pagination a {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  text-decoration: none;
}

.project-pagination a:last-child {
  text-align: right;
}

.project-pagination span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-page,
.not-found {
  min-height: 80svh;
  padding-bottom: var(--section);
}

.text-page h1,
.not-found h1 {
  margin-bottom: 3rem;
}

.text-page > p:not(.eyebrow),
.not-found > p:not(.eyebrow) {
  max-width: 45rem;
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

@media (max-width: 1024px) {
  .release-grid,
  .selected-work > .project-card-link,
  .about-grid,
  .project-body {
    grid-template-columns: 1fr;
  }

  .project-summary,
  .project-body .link-row {
    grid-column: 1;
  }

  .project-heading {
    margin-top: 0;
  }

  .about-grid figure {
    width: min(70vw, 28rem);
  }

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

@media (max-width: 768px) {
  :root {
    --gutter: clamp(1rem, 5.5vw, 2rem);
    --section: clamp(4.5rem, 22vw, 7rem);
  }

  .site-header {
    min-height: 4.5rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-title {
    font-size: clamp(5rem, 30vw, 10rem);
  }

  .hero-content {
    padding-top: 6.5rem;
  }

  .hero-intro {
    margin-top: 4rem;
  }

  .hero-statement {
    margin-bottom: 2rem;
  }

  .hero-index {
    gap: 1rem;
  }

  .hero-index a {
    min-width: 0;
    flex: 1;
  }

  .release-heading {
    grid-template-columns: 1fr;
  }

  .edition-note {
    margin-top: 0.5rem;
  }

  .release-heading h2 {
    font-size: clamp(4rem, 23vw, 8rem);
  }

  .release-grid {
    margin-top: 3.5rem;
  }

  .film-still {
    aspect-ratio: 4 / 3;
  }

  .identity-statement,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .identity-statement > p:last-child {
    grid-column: 1;
  }

  .section-heading h2,
  .identity-statement h2 {
    font-size: clamp(3rem, 15vw, 5.5rem);
  }

  .selected-work > .project-card-link {
    gap: 1.8rem;
  }

  .project-heading h3 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

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

  .av-project:nth-child(2) {
    margin-top: 2.5rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .about-grid figure {
    width: min(82vw, 25rem);
  }

  .contact-content h2 {
    font-size: clamp(3.5rem, 17vw, 6rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .project-hero {
    min-height: 56svh;
  }

  .project-hero h1,
  .text-page h1,
  .not-found h1 {
    font-size: clamp(4rem, 20vw, 7rem);
  }

  .project-pagination {
    grid-template-columns: 1fr;
  }

  .project-pagination a:last-child {
    text-align: left;
  }

  .custom-logo { height: 1.8rem; }

  .shb-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto auto auto;
    padding-top: 7rem !important;
  }

  .shb-hero .hero-title,
  .shb-hero .hero-statement,
  .shb-hero .hero-discipline,
  .shb-hero .shb-hero-action {
    grid-column: 1;
  }

  .shb-hero .hero-statement { grid-row: 3; }
  .shb-hero .hero-discipline { grid-row: 4; }
  .shb-hero .shb-hero-action--works { grid-row: 5; justify-self: stretch; }
  .shb-hero .shb-hero-action--chapter { grid-row: 6; justify-self: stretch; }
  .shb-hero .hero-title .elementor-heading-title { font-size: clamp(5rem,30vw,10rem) !important; }

  .shb-practice,
  .shb-about {
    grid-template-columns: 1fr;
  }

  .shb-practice .shb-section-label,
  .shb-practice .shb-practice-title,
  .shb-practice .shb-practice-copy,
  .shb-about .shb-section-label,
  .shb-about .shb-about-title,
  .shb-about .shb-about-image,
  .shb-about .shb-about-intro,
  .shb-about .shb-about-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .shb-contact .shb-social { display: flex; margin-right: 0; }

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

  .archive-card:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 430px) {
  .hero-index {
    flex-direction: column;
  }

  .hero-index a {
    width: 100%;
  }

  .release-grid {
    gap: 2.5rem;
  }

  .link-row,
  .social-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-summary dl div,
  .project-facts div,
  .project-card-facts > span,
  .chapter-facts > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .contact-email {
    overflow-wrap: anywhere;
  }
}

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

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