:root {
  --container: 1200px;
  --bg: #f4efea;
  --panel: #ede6df;
  --text: #2b2622;
  --text-soft: #5e544c;
  --text-mute: #8f8378;
  --gold: #b08a57;
  --gold-dark: #8e6b3f;
  --footer: #1c1a18;
  --offwhite: #f7f3ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.site-header {
  padding: 16px 0 14px;
  border-bottom: 1px solid rgba(111, 103, 96, 0.08);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav cta";
  align-items: center;
  column-gap: clamp(22px, 2.8vw, 42px);
}

.brand {
  grid-area: brand;
  flex: 0 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--text);
}

.main-nav {
  grid-area: nav;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.main-nav a {
  font-size: 14px;
  opacity: 0.9;
  transform: scale(1);
  transform-origin: center;
  transition: opacity 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  opacity: 1;
  color: var(--gold-dark);
  transform: scale(1.14);
}

.header-inner.is-nav-vertical {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand . cta"
    "nav nav nav";
  row-gap: 14px;
  padding-top: 0;
}

.header-inner.is-nav-vertical .main-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 0;
}

.btn.header-cta-inline {
  grid-area: cta;
  justify-self: end;
  align-self: center;
  box-sizing: border-box;
  min-height: 43px;
  height: 43px;
  min-width: 0;
  max-width: 100%;
  padding: 0 12px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  white-space: normal;
}

body.is-nav-vertical .breadcrumbs {
  display: none;
}

.breadcrumbs {
  padding: 14px 0 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.breadcrumbs a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--text-soft);
  text-shadow: 0 0 0.015em currentColor;
}

.breadcrumbs span {
  margin: 0 8px;
  color: #c0b4a9;
}

.artwork-layout {
  display: grid;
  grid-template-columns: 64px 510px minmax(0, 1fr);
  gap: clamp(18px, 1.8vw, 24px);
  align-items: start;
}

body.is-nav-vertical .artwork-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

body.is-artwork-panel-below .artwork-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.is-artwork-panel-below .artwork-panel {
  order: 3;
  max-width: 760px;
  margin-left: auto;
}

body.is-artwork-panel-below.is-artwork-sidebar-side .artwork-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr);
  grid-template-areas:
    ". sidebar main ."
    "panel panel panel panel";
  align-items: start;
  column-gap: clamp(20px, 2.2vw, 28px);
  row-gap: 20px;
}

body.is-artwork-panel-below.is-artwork-sidebar-side .artwork-main {
  grid-area: main;
  width: auto;
}

body.is-artwork-panel-below.is-artwork-sidebar-side .artwork-sidebar {
  grid-area: sidebar;
  order: initial;
  width: auto;
  align-self: center;
}

body.is-artwork-panel-below.is-artwork-sidebar-side .artwork-panel {
  grid-area: panel;
}

.artwork-sidebar {
  padding-top: var(--artwork-sidebar-offset, 118px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  overflow: visible;
}

.thumb-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  overflow: visible;
}

.thumb {
  width: min(var(--artwork-thumb-size, 72px), 72px);
  aspect-ratio: 1 / 1.15;
  border: 1px solid transparent;
  background: #fff;
  padding: 3px;
  transition:
    border-color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  transform-origin: center center;
  will-change: transform;
}

.thumb:hover,
.thumb:focus-visible {
  transform: scale(1.14);
  border-color: rgba(176, 138, 87, 0.45);
  box-shadow: 0 12px 24px rgba(30, 22, 15, 0.11);
  z-index: 3;
}

.thumb-list:hover .thumb:not(:hover),
.thumb-list:focus-within .thumb:not(:focus-visible):not(.is-active) {
  transform: scale(0.985);
  filter: saturate(0.97);
}

.thumb.is-active {
  border-color: rgba(176, 138, 87, 0.6);
  box-shadow: 0 8px 18px rgba(30, 22, 15, 0.08);
}

.thumb.is-active:hover,
.thumb.is-active:focus-visible {
  border-color: rgba(176, 138, 87, 0.72);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.is-nav-vertical .artwork-sidebar,
body.is-artwork-panel-below .artwork-sidebar {
  order: 2;
  padding-top: 0;
  width: 100%;
}

body.is-nav-vertical .thumb-list,
body.is-artwork-panel-below .thumb-list {
  flex-direction: row;
  justify-content: center;
  gap: 12px;
}

body.is-nav-vertical .thumb,
body.is-artwork-panel-below .thumb {
  width: min(var(--artwork-thumb-size, 58px), 58px);
}

body.is-artwork-panel-below.is-artwork-sidebar-side .thumb-list {
  flex-direction: column;
}

body.is-artwork-panel-below.is-artwork-sidebar-side .thumb {
  width: min(var(--artwork-thumb-size, 72px), 72px);
}

.thumb-button {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  width: 100%;
  display: block;
}

.artwork-main {
  min-width: 0;
}

body.is-nav-vertical .artwork-main,
body.is-artwork-panel-below .artwork-main {
  order: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

body.is-artwork-panel-below.is-artwork-sidebar-side .artwork-main {
  width: auto;
}

.main-image-wrap {
  position: relative;
  display: block;
  background: transparent;
  width: fit-content;
  max-width: min(510px, 100%);
  margin: 0 auto;
  isolation: isolate;
}

.main-image-wrap.is-neutral-relief::before,
.main-image-wrap.is-neutral-relief::after {
  opacity: 0;
}

.main-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  box-shadow: none;
  pointer-events: none;
}

.main-image-wrap::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: -14px;
  height: 24px;
  border-radius: 50%;
  background: rgba(88, 63, 39, 0.22);
  filter: blur(12px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}

.main-image {
  position: relative;
  display: block;
  width: auto;
  max-width: min(510px, 100%);
  height: auto;
  max-height: 510px;
  margin: 0 auto;
  box-shadow:
    0 2px 3px rgba(33, 25, 18, 0.10),
    0 12px 22px rgba(33, 25, 18, 0.11),
    0 24px 34px rgba(33, 25, 18, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.34) inset,
    0 -1px 0 rgba(70, 48, 24, 0.05) inset;
  transition: box-shadow 0.28s ease;
}

.main-image-wrap.is-neutral-relief .main-image {
  box-shadow:
    0 1px 2px rgba(33, 25, 18, 0.08),
    0 8px 16px rgba(33, 25, 18, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.20) inset;
}

.main-image-note {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  background: rgba(24, 20, 17, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(247, 243, 238, 0.96);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.main-image-note.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Artwork information panel */
.artwork-panel {
  width: 100%;
  min-width: 0;
  padding-top: 0;
  transform: translateY(-4px);
}

body.is-nav-vertical .artwork-panel {
  order: 3;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.eyebrow-trigger {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.eyebrow-trigger:hover,
.eyebrow-trigger:focus-visible {
  color: var(--gold);
}

.artwork-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.028em;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

.gold-line {
  width: 42px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 20px;
}

.artwork-copy {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.72;
}

.artwork-copy p {
  margin: 0 0 14px;
}

.meta-grid {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.meta-row {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  column-gap: 6px;
  align-items: start;
}

body.is-meta-stacked .meta-grid {
  gap: 8px;
}

body.is-meta-stacked .meta-row {
  grid-template-columns: 1fr;
}

.meta-label {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  line-height: 1.8;
  margin: 0;
}

.meta-value {
  color: var(--text-soft);
  font-size: 13px;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
}

/* Portfolio actions */
.portfolio-actions {
  margin-top: 22px;
  width: min(100%, 522px);
}

.panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
  width: 100%;
  justify-self: stretch;
}

body.is-nav-vertical .panel-actions,
body.is-artwork-panel-below .panel-actions {
  width: min(100%, 394px);
  max-width: 394px;
  flex: 1 1 auto;
  justify-self: start;
}

.panel-actions .btn {
  box-sizing: border-box;
  width: 100%;
}

.panel-actions .btn-primary,
.panel-actions .btn-header-outline {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  text-align: center;
  line-height: 1.15;
  font-size: 11px;
  min-height: 46px;
  padding-inline: 20px;
}

.panel-actions .btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  flex-wrap: wrap;
}

.panel-actions .btn-label-word {
  white-space: nowrap;
}

body.is-panel-actions-tight .panel-actions .btn-primary,
body.is-panel-actions-tight .panel-actions .btn-header-outline {
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.12;
  min-height: 48px;
  padding-inline: 8px;
}

body.is-panel-actions-tight .panel-actions .btn-primary .btn-label {
  flex-direction: column;
  gap: 0;
}

.btn {
  min-height: 40px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 400;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--offwhite);
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-header-outline {
  border: 1px solid rgba(176, 138, 87, 0.55);
  color: var(--gold-dark);
  background: transparent;
}

.btn-header-outline:hover {
  background: rgba(176, 138, 87, 0.08);
}

body.is-modal-open {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

.contact-modal[hidden],
.feature-modal[hidden] {
  display: none;
}

.contact-modal,
.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: min(8vh, 64px) 16px max(24px, env(safe-area-inset-bottom));
}

.contact-modal-overlay,
.feature-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 24, 0.58);
  backdrop-filter: blur(4px);
}

.contact-modal-dialog,
.feature-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin: 0 auto;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #f7f3ee;
  color: var(--text);
  border: 1px solid rgba(176, 138, 87, 0.22);
  box-shadow: 0 26px 70px rgba(24, 18, 12, 0.22);
  padding: 28px 28px 24px;
}


@supports not (height: 100dvh) {
  .contact-modal-dialog,
  .feature-modal-dialog {
    max-height: calc(100vh - 48px);
  }
}

.contact-modal-close,
.feature-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal-close:hover,
.feature-modal-close:hover {
  color: var(--text);
}

.contact-modal-eyebrow,
.feature-modal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.contact-modal-title,
.feature-modal-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 4.5vw, 38px);
  line-height: 0.96;
  letter-spacing: 0.03em;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

.contact-modal-intro,
.feature-modal-intro {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-field {
  display: grid;
  gap: 6px;
}

.contact-field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.contact-inline-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.contact-checkbox-field {
  min-height: 46px;
  display: flex;
  align-items: center;
}

.contact-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.contact-checkbox-label input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1.5px solid rgba(142, 107, 63, 0.7);
  border-radius: 50%;
  background: #fff;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-checkbox-label input::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dark);
  transform: scale(0);
  transition: transform 0.18s ease;
}

.contact-checkbox-label input:checked::before {
  transform: scale(1);
}

.contact-checkbox-label input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(176, 138, 87, 0.12);
}

.contact-checkbox-label:hover {
  color: var(--text);
}

.contact-field input:not([type="checkbox"]),
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(176, 138, 87, 0.22);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 10px;
  min-height: 38px;
}

.contact-field input:not([type="checkbox"]):disabled {
  background: rgba(43, 38, 34, 0.05);
  color: var(--text-mute);
  cursor: not-allowed;
}

.contact-field textarea {
  min-height: 144px;
  resize: vertical;
}

.contact-field input:not([type="checkbox"]):focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(176, 138, 87, 0.7);
  box-shadow: 0 0 0 3px rgba(176, 138, 87, 0.12);
}

.contact-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-privacy {
  margin: 0;
  color: var(--text-mute);
  font-size: 11px;
  line-height: 1.55;
}

.contact-modal-status {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--gold-dark);
  min-height: 0;
}

.contact-modal-status:empty {
  display: none;
}

.feature-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.feature-trigger .feature-icon,
.feature-trigger .feature-title {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.feature-trigger:hover .feature-icon,
.feature-trigger:hover .feature-title {
  transform: translateY(-1px);
  opacity: 0.92;
}

.feature-modal-copy {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.feature-modal-illustration {
  margin: 16px 0 0;
}

.feature-modal-illustration img {
  display: block;
  width: min(100%, 300px);
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(24, 18, 12, 0.12);
}

#feature-certificate-modal .feature-modal-illustration img {
  width: 100%;
}


#feature-unique-modal .feature-modal-title {
  margin-bottom: 12px;
}

#feature-unique-modal .feature-modal-illustration {
  float: left;
  width: 170px;
  margin: 6px 16px 2px 0;
}

#feature-unique-modal .feature-modal-illustration img {
  width: 100%;
  margin: 0;
}

#feature-unique-modal .feature-modal-actions {
  clear: both;
}

@media (max-width: 640px) {
  #feature-unique-modal .feature-modal-illustration {
    float: none;
    width: min(100%, 240px);
    margin: 14px auto 10px;
  }
}

.feature-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Secondary reassurance features */
.panel-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: 24px;
  width: min(100%, 522px);
}

.panel-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  gap: 14px;
  width: 100%;
}

.feature {
  min-width: 0;
  text-align: center;
  color: var(--text-soft);
  justify-self: center;
}

.feature-icon {
  width: 35px;
  height: 35px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.feature-title {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: normal;
  color: #8e6b3f;
  font-weight: 600;
}

.feature-title-lower {
  text-transform: none;
  font-weight: 400;
}

.story-section {
  padding: 48px 0 0;
}

.story-card {
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  overflow: hidden;
}

.story-copy {
  background: var(--panel);
  padding: 46px;
}

.story-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(31px, 2.6vw, 40px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.018em;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

.story-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
  font-size: 14.5px;
  max-width: 470px;
}

.story-copy p + p {
  margin-top: 14px;
}

.story-copy .story-paragraph-break {
  margin-bottom: 30px;
}

.story-image {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  background: var(--bg);
}

.story-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.related-section {
  padding: 40px 0 50px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.section-heading::before,
.section-heading::after {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(176, 138, 87, 0.55);
}

.related-wrap {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 20px;
  align-items: center;
}

.carousel-arrow,
.carousel-arrow:hover,
.carousel-arrow:focus,
.carousel-arrow:focus-visible,
.carousel-arrow:active {
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  border: 0;
  padding: 0;
  background: transparent !important;
  background-image: none !important;
  color: var(--gold-dark);
  font-size: 30px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
}


.related-viewport {
  overflow: hidden;
}

.related-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.related-grid::-webkit-scrollbar {
  display: none;
}


#feature-series-modal .feature-modal-dialog {
  width: min(100%, 900px);
}

#feature-series-modal .related-section {
  padding: 28px 0 26px;
}

#feature-series-modal .related-grid {
  grid-auto-columns: calc((100% - 48px) / 3);
}

#feature-series-modal .related-card img {
  aspect-ratio: 1 / 1;
}

#feature-series-modal .related-title {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.related-card {
  scroll-snap-align: start;
}

.related-card.is-current {
  cursor: pointer;
}

.related-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 14px;
  box-shadow:
    0 1px 2px rgba(33, 25, 18, 0.08),
    0 8px 16px rgba(33, 25, 18, 0.08),
    0 16px 22px rgba(33, 25, 18, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.related-card:hover img {
  box-shadow:
    0 2px 3px rgba(33, 25, 18, 0.10),
    0 12px 22px rgba(33, 25, 18, 0.10),
    0 20px 28px rgba(33, 25, 18, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
  transform: scale(1.025);
}

.related-card img.related-image-absente {
  object-position: center 22%;
}

.related-title {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: center;
}

.quote-band {
  position: relative;
  background: var(--panel);
  color: var(--text);
  text-align: center;
  padding: clamp(24px, 3vw, 34px) 24px clamp(26px, 3.2vw, 38px);
  border-top: 1px solid rgba(176, 138, 87, 0.16);
}

.quote-band::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 0 auto 14px;
  background: var(--gold);
}

.quote-band blockquote {
  width: min(100%, 900px);
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 23px);
  line-height: 1.2;
  font-weight: 400;
}

.site-footer {
  background: var(--footer);
  color: rgba(247,243,238,0.92);
  padding: 16px 0 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "brand center social right";
  gap: 24px;
  align-items: center;
  min-height: 43px;
}

.footer-brand {
  color: inherit;
  text-decoration: none;
  grid-area: brand;
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.footer-center {
  grid-area: center;
  min-width: 0;
  padding: 0 26px;
  border-left: 1px solid rgba(247,243,238,0.18);
  border-right: 1px solid rgba(247,243,238,0.18);
}

.footer-text {
  color: rgba(247,243,238,0.72);
  font-size: 14px;
  line-height: 1.45;
  max-width: none;
}


.footer-social {
  grid-area: social;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  color: rgba(247,243,238,0.8);
  font-size: 14px;
  flex-shrink: 0;
}

.footer-right {
  grid-area: right;
  display: grid;
  gap: 4px;
  justify-items: end;
}

.footer-meta {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.88);
  white-space: nowrap;
}

.footer-meta a {
  opacity: 0.9;
  display: inline-block;
  transform: scale(1);
  transform-origin: center;
  transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.footer-meta a:hover {
  color: var(--bg);
  opacity: 1;
  transform: scale(1.08);
}

.footer-copy {
  font-size: 13px;
  line-height: 1.35;
  color: rgba(247,243,238,0.68);
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(247,243,238,0.62);
  white-space: nowrap;
}

.footer-powered img {
  height: 10px;
  width: auto;
  display: block;
}

.social-link {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 980px) {
  .story-card {
    grid-template-columns: 1fr;
  }

  .story-copy {
    padding: 28px;
  }

  .story-copy p {
    max-width: none;
  }

  .story-image {
    min-height: 320px;
  }
}

@media (max-width: 1160px) {
  .header-inner {
    column-gap: 24px;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand social right";
    row-gap: 0;
    align-items: center;
  }

  .footer-center {
    display: none;
  }

  .footer-social {
    justify-self: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .contact-modal,
  .feature-modal {
    padding: 14px 10px max(18px, env(safe-area-inset-bottom));
  }

  .contact-modal-dialog,
  .feature-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 28px);
    padding: 22px 18px 18px;
  }

  .contact-form-row,
  .contact-inline-choice {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand social"
      "right right";
    row-gap: 12px;
    align-items: center;
  }

  .footer-social {
    align-self: center;
    justify-self: end;
    justify-content: flex-end;
    padding-right: 0;
  }

  .footer-right {
    justify-items: start;
    align-self: start;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "brand . cta"
      "nav nav nav";
    column-gap: 24px;
    row-gap: 14px;
  }

  .main-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 24px;
  }

  .panel-bottom {
    align-items: stretch;
  }

  .panel-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 14px;
  }

  .panel-features .feature {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .related-wrap {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 148px);
  }

  .btn.header-cta-inline {
    max-width: min(148px, calc(100vw - 32px));
    padding-inline: 10px;
  }

  .artwork-layout {
    display: flex;
    flex-direction: column;
  }

  .artwork-main {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .artwork-sidebar {
    order: 2;
    padding-top: 0;
    width: 100%;
  }

  .artwork-panel {
    order: 3;
  }

  .panel-actions {
    width: min(100%, 394px);
    max-width: 394px;
    flex: 1 1 auto;
    justify-self: start;
  }

  .thumb-list {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
  }

  .thumb {
    width: min(var(--artwork-thumb-size, 58px), 58px);
  }

  .thumb:hover,
  .thumb:focus-visible {
    transform: scale(1.1);
  }

  .story-copy {
    padding: 28px;
  }

  .panel-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 14px;
  }

  .panel-features .feature {
    justify-self: center;
  }

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

  .related-wrap {
    position: relative;
    gap: 0;
    margin-top: 58px;
  }

  .related-grid {
    grid-auto-columns: 100%;
  }

  .carousel-arrow {
    margin: 0;
    justify-self: center;
  }

  .carousel-arrow-prev {
    position: absolute;
    left: 0;
    right: 0;
    top: -58px;
    width: auto;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .carousel-arrow-next {
    margin-top: -13px;
  }

  .panel-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .panel-actions .btn-primary,
  .panel-actions .btn-header-outline {
    min-width: 0;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .btn.header-cta-inline {
    max-width: min(136px, calc(100vw - 32px));
    font-size: 9px;
    letter-spacing: 0.06em;
    line-height: 1.05;
    padding-inline: 9px;
  }
}


@media (max-width: 360px) {
  .panel-actions .btn-primary,
  .panel-actions .btn-header-outline {
    font-size: 10px;
    line-height: 1.12;
  }

  .panel-actions .btn-header-outline .btn-label {
    flex-direction: column;
    gap: 0;
  }

  .panel-actions .btn-header-outline .btn-label-word {
    white-space: normal;
  }

  body.is-panel-actions-tight .panel-actions .btn-primary,
  body.is-panel-actions-tight .panel-actions .btn-header-outline {
    font-size: 8px;
  }
}

/* Variantes limitées aux formats et collections concernés. */
body[data-artwork-framed] .main-image-wrap::before {
  border: 1px solid rgba(102, 76, 48, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 250, 245, 0.18) inset;
}

body[data-collection="chromatiques"] .related-grid {
  justify-content: center;
}

body[data-artwork="la-silencieuse"] .main-image-wrap.is-neutral-relief {
  overflow: hidden;
}

body[data-artwork="la-silencieuse"] .main-image-note {
  max-width: calc(100% - 28px);
  box-sizing: border-box;
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body[data-artwork="la-silencieuse"] .main-image-wrap.is-neutral-relief .main-image-note {
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(24, 20, 17, 0.68);
}

@media (max-width: 680px) {
  body[data-collection="chromatiques"] .related-grid {
    justify-content: start;
  }

  body[data-collection="chromatiques"] #feature-series-modal .related-grid {
    justify-content: center;
  }
}
