/*
Theme Name: Artodj Colibri Child
Theme URI: https://artodj.fr
Description: Thème enfant Colibri du site Artodj, consacré à la photographie et à la création numérique.
Author: Artodj
Template: colibri-wp
Version: 1.2.1
Text Domain: artodj-colibri-child
*/

:root {
  --artodj-ink: #070605;
  --artodj-black: #0b0907;
  --artodj-charcoal: #14100c;
  --artodj-earth: #27140f;
  --artodj-red: #67251c;
  --artodj-ochre: #b87527;
  --artodj-gold: #d7ad61;
  --artodj-gold-light: #efc775;
  --artodj-ivory: #f2eadc;
  --artodj-muted: #b9aa95;
  --artodj-line: rgba(215, 173, 97, 0.24);
  --artodj-line-strong: rgba(215, 173, 97, 0.46);
  --artodj-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --artodj-font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --artodj-font-heading: "Raleway", "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.colibri-wp-theme body,
body.artodj-theme-active {
  background:
    radial-gradient(circle at 10% 0%, rgba(184, 117, 39, 0.16), transparent 30rem),
    radial-gradient(circle at 100% 18%, rgba(103, 37, 28, 0.18), transparent 32rem),
    linear-gradient(180deg, var(--artodj-ink), var(--artodj-charcoal) 46%, #080604);
  color: var(--artodj-ivory);
  font-family: var(--artodj-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.artodj-theme-active::before {
  background-image:
    linear-gradient(rgba(242, 234, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 234, 220, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  opacity: 0.16;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body.artodj-theme-active img {
  max-width: 100%;
}

body.artodj-theme-active a {
  color: var(--artodj-gold);
}

body.artodj-theme-active a:focus-visible,
body.artodj-theme-active button:focus-visible,
body.artodj-theme-active input:focus-visible,
body.artodj-theme-active textarea:focus-visible,
body.artodj-theme-active select:focus-visible {
  outline: 3px solid var(--artodj-gold-light);
  outline-offset: 4px;
}

body.artodj-theme-active h1,
body.artodj-theme-active h2,
body.artodj-theme-active h3,
body.artodj-theme-active h4,
body.artodj-theme-active h5,
body.artodj-theme-active h6 {
  color: var(--artodj-ivory);
  font-family: var(--artodj-font-heading) !important;
  font-weight: 600;
  letter-spacing: 0;
}

body.artodj-theme-active p,
body.artodj-theme-active li,
body.artodj-theme-active a,
body.artodj-theme-active span,
body.artodj-theme-active label,
body.artodj-theme-active input,
body.artodj-theme-active textarea,
body.artodj-theme-active button,
body.artodj-theme-active select,
body.artodj-theme-active figcaption {
  font-family: var(--artodj-font-body) !important;
}

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.artodj-skip-link {
  background: var(--artodj-gold-light);
  color: var(--artodj-black) !important;
  font-weight: 800;
  left: 16px;
  padding: 12px 16px;
  position: fixed;
  top: -80px;
  z-index: 100000;
}

.artodj-skip-link:focus {
  top: 16px;
}

.artodj-site-header {
  background: rgba(7, 6, 5, 0.9);
  border-bottom: 1px solid var(--artodj-line);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.artodj-site-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 74px;
  width: min(1180px, calc(100% - 32px));
}

.artodj-brand {
  align-items: baseline;
  color: var(--artodj-ivory) !important;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.artodj-brand__logo,
.artodj-brand__logo .custom-logo-link {
  align-items: center;
  display: inline-flex;
}

.artodj-brand__logo img {
  height: auto;
  max-height: 46px;
  width: auto;
}

.artodj-brand__name {
  font-family: var(--artodj-font-heading) !important;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.artodj-brand__artist {
  color: var(--artodj-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artodj-menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--artodj-line-strong);
  border-radius: 2px;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 48px;
}

.artodj-menu-toggle span[aria-hidden="true"] {
  background: var(--artodj-ivory);
  height: 1px;
  left: 12px;
  position: absolute;
  transition: transform 180ms ease, top 180ms ease;
  width: 22px;
}

.artodj-menu-toggle span[aria-hidden="true"]:nth-child(2) {
  top: 16px;
}

.artodj-menu-toggle span[aria-hidden="true"]:nth-child(3) {
  top: 26px;
}

.artodj-menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-child(2) {
  top: 21px;
  transform: rotate(45deg);
}

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

.artodj-primary-navigation {
  display: block;
}

body.artodj-menu-open {
  overflow: hidden;
}

.artodj-menu {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.5vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.artodj-menu li {
  margin: 0;
}

.artodj-menu a {
  color: var(--artodj-ivory) !important;
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 26px 0 22px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.artodj-menu a::after {
  background: var(--artodj-gold);
  bottom: 17px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.artodj-menu a:hover,
.artodj-menu .current-menu-item > a,
.artodj-menu .current_page_item > a {
  color: var(--artodj-gold-light) !important;
}

.artodj-menu a:hover::after,
.artodj-menu .current-menu-item > a::after,
.artodj-menu .current_page_item > a::after {
  transform: scaleX(1);
}

.artodj-page {
  background: transparent;
  color: var(--artodj-ivory);
  overflow: clip;
}

.artodj-section {
  margin: 0 auto;
  padding: 82px 0;
  width: min(1120px, calc(100% - 32px));
}

.artodj-section--compact {
  padding-top: 20px;
}

.artodj-page-intro {
  padding-top: 112px;
}

.artodj-kicker {
  color: var(--artodj-gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.artodj-title,
.artodj-heading,
.artodj-subheading {
  color: var(--artodj-ivory);
  font-family: var(--artodj-font-heading) !important;
  font-weight: 600;
  letter-spacing: 0;
}

.artodj-title {
  font-size: clamp(3.2rem, 7vw, 5.75rem);
  line-height: 0.9;
  margin: 0;
}

.artodj-heading {
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  line-height: 1.02;
  margin: 0 0 24px;
  max-width: 920px;
}

.artodj-subheading {
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  line-height: 1.12;
  margin: 0 0 16px;
}

.artodj-copy {
  color: var(--artodj-muted);
  font-size: clamp(1rem, 2.5vw, 1.16rem);
  line-height: 1.78;
  margin: 0;
  max-width: 720px;
}

.artodj-copy--lead {
  color: #d4c7b4;
  font-size: clamp(1.1rem, 2.7vw, 1.35rem);
  max-width: 760px;
}

.artodj-note {
  border-left: 2px solid var(--artodj-gold);
  color: var(--artodj-muted);
  font-size: 0.9rem;
  margin: 28px 0 0;
  max-width: 700px;
  padding-left: 18px;
}

.artodj-button,
body.artodj-theme-active .artodj-button,
body.artodj-theme-active button.artodj-button {
  align-items: center;
  background: var(--artodj-gold) !important;
  border: 1px solid rgba(242, 234, 220, 0.24) !important;
  border-radius: 2px !important;
  color: #100c08 !important;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 48px;
  padding: 0 22px !important;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.artodj-button:hover,
body.artodj-theme-active .artodj-button:hover,
body.artodj-theme-active button.artodj-button:hover {
  background: var(--artodj-gold-light) !important;
  transform: translateY(-2px);
}

.artodj-button.is-ghost {
  background: transparent !important;
  color: var(--artodj-ivory) !important;
}

.artodj-button.is-ghost:hover {
  border-color: var(--artodj-gold) !important;
  color: var(--artodj-gold-light) !important;
}

.artodj-text-link {
  color: var(--artodj-gold-light) !important;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.artodj-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.artodj-hero {
  align-items: center;
  display: grid;
  min-height: calc(100svh - 74px);
  position: relative;
}

.artodj-hero::before {
  background:
    linear-gradient(180deg, rgba(7, 6, 5, 0.02), rgba(7, 6, 5, 0.76)),
    radial-gradient(circle at 76% 24%, rgba(215, 173, 97, 0.16), transparent 25rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.artodj-hero__inner {
  align-items: center;
  display: grid;
  gap: clamp(38px, 7vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  margin: 0 auto;
  padding: 70px 0;
  position: relative;
  width: min(1120px, calc(100% - 32px));
}

.artodj-hero__text {
  max-width: 760px;
}

.artodj-hero__text .artodj-copy {
  margin-top: 26px;
}

.artodj-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.artodj-hero__art,
.artodj-image {
  background: #130f0c;
  border: 1px solid var(--artodj-line);
  box-shadow: var(--artodj-shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.artodj-hero__art {
  aspect-ratio: 4 / 5;
  min-height: 520px;
}

.artodj-image {
  aspect-ratio: 4 / 5;
  min-height: 460px;
}

.artodj-hero__art picture,
.artodj-image picture,
.artodj-gallery-card__media picture {
  display: contents;
}

.artodj-hero__art img,
.artodj-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.artodj-hero__art::after,
.artodj-image::after {
  background: linear-gradient(180deg, transparent 50%, rgba(7, 6, 5, 0.72));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.artodj-hero__art figcaption,
.artodj-image figcaption {
  bottom: 18px;
  color: var(--artodj-ivory);
  font-size: 0.75rem;
  font-weight: 800;
  left: 20px;
  letter-spacing: 0.1em;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.artodj-grid {
  display: grid;
  gap: clamp(34px, 7vw, 82px);
}

.artodj-grid.is-two {
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.artodj-panel {
  border-left: 1px solid var(--artodj-line);
  padding-left: clamp(24px, 4vw, 44px);
}

.artodj-panel p,
.artodj-contact-card p,
.artodj-cta p,
.artodj-link-panel p {
  color: var(--artodj-muted);
  line-height: 1.72;
  margin: 0 0 20px;
}

.artodj-panel strong {
  color: var(--artodj-ivory);
}

.artodj-statement {
  border-block: 1px solid var(--artodj-line);
  color: var(--artodj-ivory);
  font-family: var(--artodj-font-heading) !important;
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  padding: 52px 0;
}

.artodj-section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.artodj-section-heading .artodj-heading {
  margin-bottom: 0;
}

.artodj-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.artodj-gallery-card {
  background: #120e0b;
  border: 1px solid rgba(215, 173, 97, 0.18);
  margin: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.artodj-gallery-card__link {
  color: inherit !important;
  display: block;
  height: 100%;
  text-decoration: none;
}

.artodj-gallery-card__media {
  align-items: center;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 35%, rgba(215, 173, 97, 0.12), transparent 45%),
    #0b0907;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.artodj-gallery-card__media img {
  display: block;
  height: 100%;
  object-fit: contain;
  transform: scale(1.002);
  transition: filter 240ms ease, transform 300ms ease;
  width: 100%;
}

.artodj-gallery-card__link:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.artodj-gallery-card__caption {
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.2), rgba(7, 6, 5, 0.98));
  border-top: 1px solid rgba(215, 173, 97, 0.12);
  min-height: 94px;
  padding: 18px;
}

.artodj-gallery-card__caption strong {
  color: var(--artodj-ivory);
  display: block;
  font-family: var(--artodj-font-heading) !important;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
}

.artodj-gallery-card__caption span {
  color: var(--artodj-muted);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-top: 7px;
  text-transform: uppercase;
}

.artodj-list {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.artodj-list li {
  border-top: 1px solid var(--artodj-line);
  color: var(--artodj-muted);
  line-height: 1.65;
  padding-top: 18px;
}

.artodj-list strong {
  color: var(--artodj-ivory);
  display: block;
  font-family: var(--artodj-font-heading) !important;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.artodj-cta,
.artodj-link-panel {
  align-items: center;
  background: linear-gradient(135deg, rgba(103, 37, 28, 0.34), rgba(215, 173, 97, 0.08));
  border: 1px solid var(--artodj-line);
  display: flex;
  gap: 34px;
  justify-content: space-between;
  margin-bottom: 84px;
  padding: clamp(32px, 6vw, 62px);
}

.artodj-cta p:last-child,
.artodj-link-panel p:last-child {
  margin-bottom: 0;
  max-width: 700px;
}

.artodj-contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 74px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.artodj-contact-card {
  border-left: 1px solid var(--artodj-line);
  padding-left: 26px;
  position: sticky;
  top: 118px;
}

.artodj-form-panel {
  background: rgba(12, 9, 7, 0.58);
  border: 1px solid var(--artodj-line);
  padding: clamp(24px, 5vw, 46px);
}

.artodj-contact-form {
  display: grid;
  gap: 22px;
}

.artodj-form-row {
  display: grid;
  gap: 8px;
}

.artodj-form-row label {
  color: var(--artodj-ivory);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.artodj-theme-active .artodj-contact-form input[type="text"],
body.artodj-theme-active .artodj-contact-form input[type="email"],
body.artodj-theme-active .artodj-contact-form textarea {
  background: rgba(242, 234, 220, 0.04);
  border: 1px solid rgba(215, 173, 97, 0.3);
  border-radius: 2px;
  color: var(--artodj-ivory);
  font-size: 1rem;
  line-height: 1.5;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

body.artodj-theme-active .artodj-contact-form textarea {
  min-height: 190px;
  resize: vertical;
}

body.artodj-theme-active .artodj-contact-form input:focus,
body.artodj-theme-active .artodj-contact-form textarea:focus {
  border-color: var(--artodj-gold);
  box-shadow: 0 0 0 3px rgba(215, 173, 97, 0.12);
}

.artodj-honeypot {
  left: -10000px;
  position: absolute;
}

.artodj-consent {
  align-items: flex-start;
  color: var(--artodj-muted);
  display: flex;
  font-size: 0.84rem;
  gap: 10px;
  line-height: 1.5;
}

.artodj-consent input {
  margin-top: 4px;
}

.artodj-alert {
  border: 1px solid;
  margin-bottom: 24px;
  padding: 14px 16px;
}

.artodj-alert.is-success {
  background: rgba(59, 122, 78, 0.16);
  border-color: rgba(132, 203, 153, 0.6);
  color: #d7efde;
}

.artodj-alert.is-error {
  background: rgba(139, 54, 45, 0.17);
  border-color: rgba(227, 126, 111, 0.6);
  color: #f5d7d2;
}

.artodj-lightbox {
  background: transparent;
  border: 0;
  color: var(--artodj-ivory);
  height: min(92vh, 920px);
  margin: auto;
  max-height: 92vh;
  max-width: min(1180px, calc(100% - 30px));
  padding: 0;
  width: 100%;
}

.artodj-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.artodj-lightbox__frame {
  background: #0b0907;
  border: 1px solid var(--artodj-line-strong);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  height: 100%;
  overflow: hidden;
  position: relative;
}

.artodj-lightbox__media {
  align-items: center;
  background: #050403;
  display: flex;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.artodj-lightbox__media img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.artodj-lightbox__details {
  align-self: center;
  padding: clamp(28px, 5vw, 56px);
}

.artodj-lightbox__details h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 0 0 18px;
}

.artodj-lightbox__details p:not(.artodj-kicker) {
  color: var(--artodj-muted);
  margin: 0 0 28px;
}

.artodj-lightbox__close {
  align-items: center;
  background: rgba(7, 6, 5, 0.82);
  border: 1px solid var(--artodj-line-strong);
  border-radius: 50%;
  color: var(--artodj-ivory);
  cursor: pointer;
  display: flex;
  font-size: 1.8rem;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 44px;
  z-index: 4;
}

.artodj-site-footer {
  background: #060504;
  border-top: 1px solid var(--artodj-line);
}

.artodj-site-footer__inner {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 1.4fr;
  margin: 0 auto;
  padding: 52px 0 30px;
  width: min(1120px, calc(100% - 32px));
}

.artodj-footer-brand {
  color: var(--artodj-ivory) !important;
  font-family: var(--artodj-font-heading) !important;
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
}

.artodj-site-footer p {
  color: var(--artodj-muted);
  font-size: 0.78rem;
  margin: 8px 0 0;
}

.artodj-footer-nav {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: flex-end;
}

.artodj-footer-nav a {
  color: var(--artodj-muted) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.artodj-footer-nav a:hover {
  color: var(--artodj-gold-light) !important;
}

.artodj-site-footer__copyright {
  border-top: 1px solid rgba(215, 173, 97, 0.12);
  grid-column: 1 / -1;
  margin-top: 12px !important;
  padding-top: 20px;
  text-align: center;
}

/* Keep the parent theme coherent on legal or standard WordPress pages. */
body.artodj-theme-active .h-navigation,
body.artodj-theme-active .header,
body.artodj-theme-active header.site-header,
body.artodj-theme-active .navigation-bar {
  background: rgba(7, 6, 5, 0.92) !important;
  border-bottom-color: var(--artodj-line) !important;
}

body.artodj-theme-active .page-footer,
body.artodj-theme-active #copyright {
  background: #060504 !important;
  color: var(--artodj-muted) !important;
}

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

  .artodj-brand__artist {
    display: none;
  }

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

  .js .artodj-primary-navigation {
    background: rgba(7, 6, 5, 0.98);
    border-bottom: 1px solid var(--artodj-line);
    border-top: 1px solid var(--artodj-line);
    display: none;
    left: 0;
    padding: 12px 16px 22px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .js .artodj-primary-navigation.is-open {
    display: block;
  }

  .artodj-menu {
    align-items: stretch;
    display: grid;
    gap: 0;
  }

  .artodj-menu a {
    border-bottom: 1px solid rgba(215, 173, 97, 0.12);
    padding: 16px 4px;
  }

  .artodj-menu a::after {
    display: none;
  }

  .artodj-hero {
    min-height: auto;
  }

  .artodj-hero__inner,
  .artodj-grid.is-two,
  .artodj-contact-layout {
    grid-template-columns: 1fr;
  }

  .artodj-hero__inner {
    padding: 74px 0 48px;
  }

  .artodj-hero__art {
    min-height: 0;
    width: min(100%, 620px);
  }

  .artodj-image {
    min-height: 0;
    width: min(100%, 620px);
  }

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

  .artodj-cta,
  .artodj-link-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .artodj-contact-card {
    position: static;
  }

  .artodj-lightbox__frame {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: auto;
  }

  .artodj-lightbox__details {
    padding: 24px;
  }

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

  .artodj-footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .artodj-section {
    padding: 58px 0;
  }

  .artodj-section--compact {
    padding-top: 12px;
  }

  .artodj-page-intro {
    padding-top: 76px;
  }

  .artodj-title {
    font-size: clamp(3.4rem, 20vw, 5.6rem);
  }

  .artodj-heading {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .artodj-hero__actions,
  .artodj-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .artodj-hero__actions .artodj-button {
    width: 100%;
  }

  .artodj-section-heading {
    gap: 18px;
  }

  .artodj-gallery {
    grid-template-columns: 1fr;
  }

  .artodj-gallery-card__media {
    aspect-ratio: 1 / 1.12;
  }

  .artodj-statement {
    padding: 36px 0;
  }

  .artodj-cta,
  .artodj-link-panel {
    margin-bottom: 58px;
  }

  .artodj-lightbox {
    height: 94vh;
    max-height: 94vh;
    max-width: calc(100% - 16px);
  }

  .artodj-lightbox__media {
    min-height: 54vh;
  }
}

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

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

/* Artwork content model — version 1.2.1 */

.artodj-artwork-card__placeholder {
  display: block;
  width: 100%;
  min-height: 20rem;
  background:
    linear-gradient(135deg, rgba(215, 173, 97, 0.12), transparent 60%),
    var(--artodj-charcoal);
}

.artodj-artwork-single__header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.artodj-artwork-single__image {
  margin: 0;
}

.artodj-artwork-single__image picture,
.artodj-artwork-single__image img {
  display: block;
  width: 100%;
}

.artodj-artwork-single__image img {
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #050403;
  border: 1px solid var(--artodj-line);
  box-shadow: var(--artodj-shadow);
}

.artodj-artwork-single__image figcaption {
  margin-top: 0.75rem;
  color: var(--artodj-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.artodj-artwork-single__body {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.artodj-artwork-meta {
  margin: 0;
  border-top: 1px solid var(--artodj-line);
}

.artodj-artwork-meta > div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.65fr) minmax(0, 1.35fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--artodj-line);
}

.artodj-artwork-meta dt {
  color: var(--artodj-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artodj-artwork-meta dd {
  margin: 0;
  color: var(--artodj-ivory);
}

.artodj-artwork-meta a {
  color: var(--artodj-gold-light);
}

.artodj-artwork-single__content > :first-child {
  margin-top: 0;
}

.artodj-artwork-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--artodj-line);
}

.artodj-artwork-pagination > div:last-child {
  text-align: right;
}

.artodj-artwork-pagination a {
  color: var(--artodj-gold-light);
  font-weight: 700;
}

@media (max-width: 899px) {
  .artodj-artwork-single__header,
  .artodj-artwork-single__body {
    grid-template-columns: 1fr;
  }

  .artodj-artwork-single__header {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .artodj-artwork-meta > div,
  .artodj-artwork-pagination {
    grid-template-columns: 1fr;
  }

  .artodj-artwork-pagination > div:last-child {
    text-align: left;
  }
}
