/*
Theme Name: Jeane Lewin Art
Theme URI: https://example.com/jeane-lewin-art
Author: OpenAI Codex
Author URI: https://openai.com
Description: Moody, cinematic artist portfolio theme with separate pages for home, about, works, commissions, contact, and privacy policy.
Version: 0.5.22
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: jeane-lewin-art
*/

:root {
  --charcoal: #11191a;
  --steel-teal: #1b2b30;
  --smoky-blue: #40595b;
  --off-white: #f6efe0;
  --ochre: #b88a3b;
  --ochre-soft: rgba(184, 138, 59, 0.3);
  --text-muted: rgba(243, 239, 232, 0.8);
  --line: rgba(243, 239, 232, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --max: 1240px;
  --body-font: "Urbanist", "Segoe UI", sans-serif;
  --heading-font: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--off-white);
  font-family: var(--body-font);
  line-height: 1.7;
  background: #0a1112;
}

body.nav-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  opacity: 0.68;
  background-image: url("assets/images/approved/home-backplate.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.08) brightness(1.2) contrast(1.12);
  transform: scale(1.04) translate3d(-0.35%, -0.2%, 0);
  animation: cinematic-drift 48s ease-in-out infinite alternate;
}

body::after {
  z-index: -1;
  opacity: 0.64;
  background:
    linear-gradient(180deg, rgba(5, 9, 9, 0.58), rgba(5, 9, 9, 0.38)),
    radial-gradient(circle at top left, rgba(69, 112, 112, 0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(197, 146, 58, 0.18), transparent 24%),
    radial-gradient(circle at 46% 74%, rgba(45, 77, 78, 0.18), transparent 34%);
  mix-blend-mode: normal;
  animation: atmosphere-shift 38s ease-in-out infinite alternate;
}

body.home::before {
  opacity: 0.82;
  filter: saturate(1.1) brightness(1.18) contrast(1.1);
}

body.page-template-page-about::before {
  opacity: 0.74;
}

body.post-type-archive-artwork::before,
body.single-artwork::before,
body.taxonomy-artwork_collection::before {
  background-image: url("assets/images/approved/works-backplate.png");
  opacity: 0.7;
  filter: saturate(1.04) brightness(1.2) contrast(1.08);
}

body.page-template-page-commissions::before {
  background-image: url("assets/images/approved/commissions-backplate.png");
  opacity: 0.68;
  filter: saturate(1.05) brightness(1.2) contrast(1.08);
}

body.page-template-page-contact::before {
  opacity: 0.72;
}

body.page-template-page-privacy-policy::before {
  opacity: 0.62;
}

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

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

p {
  margin-top: 0;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 0;
  border-bottom: 1px solid rgba(151, 183, 185, 0.06);
  background: linear-gradient(180deg, rgba(11, 31, 33, 0.28) 0%, rgba(11, 31, 33, 0.08) 100%);
  backdrop-filter: blur(10px);
}

.site-header::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1.15rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 31, 33, 0.12), rgba(11, 31, 33, 0));
}

.site-header__inner,
.hero,
.page-hero,
.section,
.site-footer__inner {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.35rem;
  gap: 0.85rem;
  padding: 0.06rem 0;
}

.site-header .site-branding,
.site-header .site-header__brand,
.site-header .site-brandmark,
.site-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.site-brandmark,
.custom-logo-link {
  display: inline-flex;
  align-items: flex-end;
  position: relative;
  padding-right: 0;
  padding-bottom: 0;
}

.site-brandmark::after,
.custom-logo-link::after,
.site-brandmark:after,
.custom-logo-link:after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.site-brandmark img,
.site-header .site-branding img,
.site-header .custom-logo {
  width: clamp(70px, 6vw, 96px) !important;
  max-width: clamp(70px, 6vw, 96px) !important;
  max-height: 2rem !important;
  height: auto !important;
  object-fit: contain;
  filter: brightness(1.01);
}

.site-navigation {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-menu,
.primary-menu,
.site-navigation .menu,
.site-navigation ul {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-menu a,
.primary-menu a,
.site-navigation .menu a {
  position: relative;
  padding: 0.12rem 0;
  color: rgba(243, 239, 232, 0.9);
  font-family: var(--body-font);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-menu a::after,
.site-navigation .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 1px;
  background: transparent;
  transition: background 180ms ease;
}

.site-menu .current-menu-item > a::after,
.site-navigation .current_page_item > a::after,
.site-menu a:hover::after,
.site-navigation .menu a:hover::after {
  background: var(--ochre);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 1px solid rgba(243, 239, 232, 0.12);
  border-radius: 999px;
  background: rgba(10, 22, 23, 0.38);
  color: var(--off-white);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.menu-toggle:hover {
  border-color: rgba(184, 138, 59, 0.72);
  background: rgba(16, 34, 35, 0.58);
  transform: translateY(-1px);
}

.menu-toggle span {
  display: block;
  width: 0.98rem;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease, width 180ms ease;
}

.menu-toggle span:nth-child(2) {
  width: 0.76rem;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.site-main {
  padding-bottom: 4rem;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 2rem;
}

.hero--home {
  min-height: min(86vh, 900px);
}

body.home .site-header {
  position: sticky;
  border-bottom: 1px solid rgba(151, 183, 185, 0.08);
  background: linear-gradient(180deg, rgba(13, 38, 40, 0.24) 0%, rgba(13, 38, 40, 0.06) 100%);
  backdrop-filter: blur(10px);
}

body.home .hero {
    position: relative;
    padding-top: clamp(5rem, 8vw, 7rem);
    align-items: start;
  }

body.home .hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 12% -6%;
  width: min(54vw, 780px);
  background:
    radial-gradient(circle at 28% 28%, rgba(79, 126, 130, 0.24), transparent 36%),
    radial-gradient(circle at 58% 54%, rgba(184, 138, 59, 0.12), transparent 22%);
  filter: blur(10px);
  pointer-events: none;
}

body.home .hero__visual--art {
  position: relative;
  margin-top: 0;
  z-index: 0;
  align-self: stretch;
  isolation: isolate;
  overflow: visible;
}

body.home .hero__visual--art::before {
  content: "";
  position: absolute;
  inset: -10% -12% 6% -14%;
  z-index: -1;
  background: url("assets/images/approved/home-backplate.png") center / cover no-repeat;
  opacity: 0.32;
  filter: blur(34px) saturate(1.02) brightness(1.06);
}

body.home .hero__visual--art::after {
  content: none;
  display: none;
}

body.home .media-card--hero {
  min-height: 46rem;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

body.home .media-card--hero img {
  position: relative;
  z-index: 1;
  border-radius: 0;
  object-position: center 18%;
  box-shadow: none !important;
  -webkit-mask-image: radial-gradient(ellipse at 52% 46%, #000 58%, rgba(0, 0, 0, 0.72) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse at 52% 46%, #000 58%, rgba(0, 0, 0, 0.72) 76%, transparent 100%);
}

.page-hero--single-column {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.page-hero--about {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  max-width: var(--max);
  align-items: end;
}

.page-hero--about.page-hero--single-column {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.page-hero--legal {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.page-hero--contact {
  position: relative;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  max-width: var(--max);
  min-height: clamp(32rem, 72vh, 48rem);
  align-items: center;
  overflow: visible;
  background: transparent;
  isolation: isolate;
}

.page-hero--commissions {
  position: relative;
  grid-template-columns: 1fr;
  max-width: var(--max);
  min-height: auto;
  align-items: center;
  overflow: visible;
  background: transparent;
  isolation: isolate;
}

.kicker,
.section-label,
.surface__eyebrow,
.site-footer__eyebrow {
  margin-bottom: 1rem;
  color: rgba(184, 138, 59, 0.95);
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-copy {
  max-width: 38rem;
  color: var(--text-muted);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--off-white);
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.9rem);
  max-width: 10ch;
}

body.home h1 {
  color: rgba(184, 138, 59, 0.98);
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

.page-hero .kicker {
  display: none;
}

.page-hero h1 {
  color: rgba(184, 138, 59, 0.96);
  max-width: none;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.08;
}

.lead {
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.page-hero .lead {
  max-width: 31rem;
}

.micro-copy {
  color: rgba(243, 239, 232, 0.58);
  font-size: 0.92rem;
}

.hero-signature {
  position: relative;
  width: min(760px, 100%);
  max-width: 100%;
  margin-bottom: 1.35rem;
  aspect-ratio: 16 / 10;
  overflow: visible;
}

.hero-signature__mount,
.hero-signature__video {
  width: 100%;
  height: 100%;
}

.hero-signature__mount {
  position: relative;
  z-index: 1;
}

.hero-signature__video {
  display: block;
  position: relative;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.hero-signature__lottie,
dotlottie-wc.hero-signature__lottie {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.hero-signature__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.hero-signature.is-fallback .hero-signature__mount {
  display: none;
}

.hero-signature.is-fallback .hero-signature__fallback {
  opacity: 1;
}

body,
p,
li,
input,
textarea,
button,
select,
label {
  font-family: var(--body-font);
}

.hero__content,
.hero__visual,
.page-hero__content,
.page-hero__visual,
.section-head,
.surface,
.entry-content,
.contact-form-wrap,
.about-feature,
.about-process-gallery {
  animation: fade-up 720ms ease both;
}

.hero__visual,
.page-hero__visual {
  animation-delay: 90ms;
}

.page-hero--contact .page-hero__content,
.page-hero--commissions .page-hero__content,
.page-hero--about .page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 31rem;
}

.page-hero--single-column .page-hero__content,
.page-hero--commissions .page-hero__content {
  max-width: 58rem;
  margin-inline: auto;
}

.page-hero--contact .page-hero__content {
  max-width: 34rem;
  padding-block: clamp(0.5rem, 2vw, 1.35rem);
}

.page-hero--contact::before {
  content: "";
  position: absolute;
  inset: -2.5rem -10vw -2rem auto;
  z-index: -2;
  width: min(74vw, 1080px);
  background: url("assets/images/approved/contact-hero-portrait.png") right center / contain no-repeat;
  opacity: 1;
  filter: none;
}

.page-hero--contact::after {
  content: none;
  display: none;
}

.page-hero--commissions::before {
  content: none;
  display: none;
}

.page-hero--commissions::after {
  content: none;
  display: none;
}

.button-row,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.button-row {
  margin-top: 2rem;
}

.center-action {
  justify-content: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid rgba(184, 138, 59, 0.78);
  border-radius: 10px;
  background: rgba(17, 25, 26, 0.72);
  color: var(--off-white);
  font-family: var(--body-font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 138, 59, 1);
  background: rgba(24, 35, 37, 0.88);
}

.button--home {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    rgba(17, 25, 26, 0.74);
  box-shadow: inset 0 0 0 1px rgba(184, 138, 59, 0.16), 0 16px 40px rgba(0, 0, 0, 0.28);
}

.button--ghost {
  border-color: rgba(147, 179, 181, 0.48);
  background: rgba(10, 16, 16, 0.42);
  box-shadow: inset 0 0 0 1px rgba(147, 179, 181, 0.08);
}

.button--small {
  min-height: 2.8rem;
  padding: 0.78rem 1rem;
  font-size: 0.72rem;
}

.text-link {
  color: rgba(243, 239, 232, 0.88);
  font-family: var(--body-font);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link::before {
  content: none;
}

.media-card,
.surface,
.contact-form-wrap,
.featured-work-image {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 18, 18, 0.44);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-card img,
.featured-work-image img,
.work-card__media img,
.commission-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card--hero {
  min-height: 42rem;
}

.media-card--hero img {
  transform: scale(1.015);
  transition: transform 1.8s ease;
}

.hero--home:hover .media-card--hero img {
  transform: scale(1.04);
}

.media-card--wide {
  min-height: 24rem;
}

.media-card--about {
  min-height: clamp(24rem, 44vw, 36rem);
}

.media-card--about img {
  object-position: center;
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.58fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-feature--process {
  grid-template-columns: minmax(0, 0.96fr) minmax(16rem, 0.74fr);
  align-items: start;
}

.about-feature--text-only {
  grid-template-columns: 1fr;
  justify-items: center;
}

.about-feature__main-image {
  min-height: clamp(18rem, 32vw, 28rem);
  max-height: 34rem;
}

.about-process-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-self: start;
}

.about-process-gallery__item {
  aspect-ratio: 0.86;
  min-height: 0;
}

.about-feature__main-image img,
.about-process-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: image-breathe 24s ease-in-out infinite alternate;
}

.about-process-gallery__item:nth-child(2) {
  transform: translateY(1.35rem);
}

.about-process-gallery__item:nth-child(3) {
  transform: translateY(0.35rem);
}

.section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.section-head {
  margin-bottom: 2rem;
}

.page-hero--single-column .page-hero__content,
.page-hero--legal .page-hero__content,
.section-head,
.entry-content--page,
.entry-content--legal,
.narrow-copy,
.about-intro {
  width: min(100%, 62rem);
  margin-inline: auto;
}

.section .entry-content--page,
.section .entry-content--legal,
.section .narrow-copy,
.section .about-intro {
    padding-inline: clamp(0.15rem, 1.4vw, 0.85rem);
  }

.page-template-page-about .about-intro,
.page-template-page-about .entry-content--page {
    width: min(100%, 56rem);
  }

.page-template-page-about .about-intro > *,
.page-template-page-about .entry-content--page > * {
    max-width: 50rem;
    margin-right: auto;
  }

.section--featured {
  position: relative;
  isolation: isolate;
  margin-top: clamp(1rem, 3vw, 2rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 3vw, 2.4rem);
}

.section--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(147, 179, 181, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(8, 14, 14, 0.86), rgba(13, 31, 33, 0.58) 48%, rgba(7, 10, 10, 0.22)),
    radial-gradient(circle at 16% 0%, rgba(79, 126, 130, 0.22), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(184, 138, 59, 0.1), transparent 26%);
}

.section--featured .section-head {
  width: min(100%, 74rem);
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-title {
  max-width: 13ch;
  margin: 0;
  color: rgba(243, 239, 232, 0.98);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.9;
}

.split,
.contact-layout,
.works-grid,
.commission-grid {
  display: grid;
  gap: 1.6rem;
}

.split--story,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split--studio {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
}

.split--studio--single {
  grid-template-columns: 1fr;
}

.split--timeline {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

.split--ruled > *:last-child {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.4rem, 3vw, 2.2rem);
}

.surface,
.contact-form-wrap {
  padding: clamp(1.55rem, 2.2vw, 2rem);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-socials--icons {
  gap: 0.9rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 14, 14, 0.46);
  color: rgba(243, 239, 232, 0.92);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 138, 59, 0.92);
  background: rgba(24, 35, 37, 0.88);
  color: var(--off-white);
}

.social-link svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: currentColor;
}

.works-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.works-grid--featured-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.1rem, 2vw, 1.75rem);
}

.section--featured .work-card {
  gap: 0.9rem;
}

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

.stack,
.feature-panel,
.page-support,
.portfolio-note {
  display: grid;
  gap: 0.9rem;
}

.feature-panel,
.page-support {
  align-content: start;
}

.work-card {
  display: grid;
  gap: 1rem;
}

.work-card__body {
  display: grid;
  gap: 0.2rem;
}

.work-card__media,
.commission-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.work-card__media {
  aspect-ratio: 0.82;
}

.commission-card {
  margin: 0;
  aspect-ratio: 1.95;
}

.commission-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.commission-card strong {
  color: var(--off-white);
  font-family: var(--body-font);
  font-weight: 600;
}

.work-card__body h2,
.work-card__body h3 {
  margin-bottom: 0.4rem;
}

.work-card__body h2,
.work-card__body h3,
.surface h2,
.surface h3,
.entry-content h2,
.entry-content h3,
.contact-panel h2 {
  max-width: none;
}

.work-card__body p,
.entry-content p,
.contact-form label,
.surface p,
.commission-card figcaption span {
  color: var(--text-muted);
}

.fallback-media {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.38)),
    url("assets/images/approved/works-backplate.png") center/cover no-repeat;
}

.fallback-media--large {
  min-height: 32rem;
}

.collection-stack {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
}

.collection-block {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(147, 179, 181, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(12, 26, 27, 0.64), rgba(7, 10, 10, 0.18) 58%, rgba(184, 138, 59, 0.06)),
    radial-gradient(circle at 12% 0%, rgba(79, 126, 130, 0.18), transparent 34%);
}

.collection-block + .collection-block {
  padding-top: clamp(1.5rem, 3vw, 2.4rem);
}

.collection-block__intro {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.collection-block__heading,
.collection-block__heading a {
  max-width: none;
  color: rgba(243, 239, 232, 0.98);
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.collection-block__heading a {
  display: inline-block;
  transition: color 180ms ease, transform 180ms ease;
}

.collection-block__heading a:hover {
  color: rgba(184, 138, 59, 0.98);
  transform: translateY(-2px);
}

.collection-block__heading a::after {
  content: none;
}

.collection-block__summary {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.works-grid--collection {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: 0;
}

body.post-type-archive-artwork .works-grid--collection .work-card,
body.taxonomy-artwork_collection .works-grid--collection .work-card {
  gap: 0.85rem;
}

body.post-type-archive-artwork .works-grid--collection .work-card__body,
body.taxonomy-artwork_collection .works-grid--collection .work-card__body {
  display: grid;
  gap: 0.25rem;
}

body.post-type-archive-artwork .works-grid--collection .work-card__media,
body.taxonomy-artwork_collection .works-grid--collection .work-card__media {
  border: 1px solid rgba(147, 179, 181, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.post-type-archive-artwork .works-grid--collection .work-card__media:hover,
body.taxonomy-artwork_collection .works-grid--collection .work-card__media:hover {
  transform: scale(1.04);
  border-color: rgba(184, 138, 59, 0.36);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34), 0 0 34px rgba(79, 126, 130, 0.16);
}

body.post-type-archive-artwork .works-grid--collection .work-card__body h3,
body.taxonomy-artwork_collection .works-grid--collection .work-card__body h3 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.1;
}

body.post-type-archive-artwork .works-grid--collection .work-card__body h3 a,
body.taxonomy-artwork_collection .works-grid--collection .work-card__body h3 a {
  color: rgba(243, 239, 232, 0.92);
}

.works-grid--curated .work-card:nth-child(2n) .work-card__media {
  aspect-ratio: 0.98;
}

.works-grid--curated .work-card:nth-child(2n + 1) .work-card__media {
  aspect-ratio: 0.74;
}

.entry-content {
  max-width: 46rem;
}

.about-intro {
  max-width: 56rem;
}

.entry-content--page,
.narrow-copy {
  max-width: 50rem;
}

.entry-content--legal {
  max-width: 58rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2rem;
}

.entry-content ul {
  padding-left: 1.2rem;
}

.surface-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.surface-list li + li {
  margin-top: 0.42rem;
}

.empty-state {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.empty-state p:last-child {
  margin-bottom: 0;
}

.process-list h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.contact-panel {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.contact-brandmark {
  width: min(236px, 64%);
}

.work-meta {
  align-content: start;
}

.contact-form p {
  margin-bottom: 1.22rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.02rem 1.08rem;
  border: 1px solid rgba(243, 239, 232, 0.14);
  border-radius: 12px;
  background: rgba(6, 10, 10, 0.5);
  color: var(--off-white);
  font: inherit;
}

.form-intro {
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(184, 138, 59, 0.7);
  box-shadow: 0 0 0 1px rgba(184, 138, 59, 0.18);
}

.form-notice {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.form-notice--success {
  border: 1px solid rgba(184, 138, 59, 0.28);
  background: rgba(47, 35, 18, 0.28);
}

.form-notice--error {
  border: 1px solid rgba(243, 239, 232, 0.14);
  background: rgba(22, 14, 14, 0.28);
}

.cta-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.site-footer {
  margin-top: clamp(1rem, 4vw, 2.4rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 12, 12, 0) 0%, rgba(8, 12, 12, 0.34) 24%, rgba(8, 12, 12, 0.62) 100%);
  padding: 3rem 0 3.6rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2.2rem;
}

.site-footer__note {
  max-width: 32rem;
  color: rgba(243, 239, 232, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

.site-footer__meta {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  gap: 0.72rem 1.45rem;
  text-align: left;
}

.site-footer__meta a {
  color: rgba(243, 239, 232, 0.86);
  font-size: 0.98rem;
}

.site-footer__meta a:hover {
  color: rgba(184, 138, 59, 0.96);
}

.pagination {
  margin-top: 2rem;
}

@keyframes cinematic-drift {
  from {
    transform: scale(1.04) translate3d(-0.35%, -0.2%, 0);
  }

  to {
    transform: scale(1.08) translate3d(0.65%, 0.45%, 0);
  }
}

@keyframes atmosphere-shift {
  from {
    opacity: 0.58;
  }

  to {
    opacity: 0.7;
  }
}

@keyframes image-breathe {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.07);
  }
}

@keyframes signature-ink {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    filter: blur(0.8px) sepia(8%) saturate(76%) brightness(112%) drop-shadow(0 20px 34px rgba(0, 0, 0, 0.26));
    transform: translateY(10px) scale(0.98);
  }

  48% {
    opacity: 0.92;
    clip-path: inset(0 34% 0 0);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: sepia(8%) saturate(80%) brightness(108%) drop-shadow(0 20px 34px rgba(0, 0, 0, 0.34));
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .page-hero,
  .split--story,
  .split--studio,
  .split--timeline,
  .contact-layout,
  .collection-block,
  .works-grid,
  .commission-grid,
  .about-feature,
  .site-footer__inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .split--ruled > *:last-child {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-navigation {
    position: fixed;
    top: 2.55rem;
    left: 1rem;
    right: 1rem;
    display: none;
    max-height: calc(100svh - 3.9rem);
    overflow: auto;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(243, 239, 232, 0.08);
    border-radius: 22px;
    background: rgba(8, 12, 12, 0.98);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
  }

  .site-navigation.is-open {
    display: block;
  }

  .site-brandmark img,
  .site-header .site-branding img,
  .site-header .custom-logo {
    width: clamp(74px, 22vw, 98px) !important;
    max-width: clamp(74px, 22vw, 98px) !important;
    max-height: 2rem !important;
  }

  .site-menu,
  .primary-menu,
  .site-navigation .menu {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .site-menu a,
  .primary-menu a,
  .site-navigation .menu a {
    font-size: 0.98rem;
  }

  .hero-signature {
    width: min(520px, 96%);
  }

  .works-grid--featured-home,
  .works-grid--collection {
    grid-template-columns: 1fr;
  }

  .page-hero--about,
  .page-hero--contact,
  .page-hero--commissions {
    grid-template-columns: 1fr;
    max-width: 900px;
  }

  .about-process-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-process-gallery__item:nth-child(2),
  .about-process-gallery__item:nth-child(3) {
    transform: none;
  }

  .page-hero--contact::before {
    inset: 5.25rem -16vw -1.5rem auto;
    width: min(118vw, 620px);
    transform: none;
    background-position: right bottom;
  }

  .page-hero--commissions::before {
    content: none;
  }

  .page-hero--commissions {
    background: transparent;
  }

  body.home .hero__visual--art {
    margin-top: 0;
    order: 2;
  }

  body.home .hero__visual--art::before,
  body.home .hero__visual--art::after {
    content: none;
  }

  body.home .media-card--hero {
    min-height: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  body.home .media-card--hero img {
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .media-card--hero,
  .featured-work-image,
  .fallback-media--large {
    min-height: 26rem;
  }

  .site-footer__meta {
    text-align: left;
    grid-template-columns: repeat(2, max-content);
    gap: 0.85rem 1.3rem;
  }
}

