:root {
  --heading-font: "Playfair Display", Georgia, "Times New Roman", serif;
  --body-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #332b31;
  --muted: #766d73;
  --line: #d8ccc8;
  --paper: #f4eee9;
  --panel: #fbf8f4;
  --warm: #e9d8cb;
  --teal: #6f9497;
  --rose: #aa778f;
  --sage: #879b7b;
  --gold: #b99a61;
  --violet: #8b7aa6;
  --sky: #7f9fb1;
  --coral: #b98274;
  --shadow: 0 24px 60px rgba(63, 52, 59, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(170, 119, 143, 0.18), transparent 34rem),
    linear-gradient(245deg, rgba(127, 159, 177, 0.18), transparent 36rem),
    linear-gradient(180deg, rgba(225, 213, 205, 0.96), rgba(244, 238, 233, 0.98) 36rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  animation: pageIn 520ms ease both;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

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

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0;
}

p {
  margin-top: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.82rem clamp(1.2rem, 3.2vw, 3rem);
  color: #f6eee8;
  background: rgba(51, 43, 49, 0.66);
  border-bottom: 1px solid rgba(246, 238, 232, 0.16);
  backdrop-filter: blur(16px);
  transition: background 220ms ease, border-color 220ms ease;
}

.brand {
  position: relative;
  display: grid;
  gap: 0.12rem;
  font-family: var(--heading-font);
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1;
}

.brandName {
  position: relative;
  display: inline-block;
  background: linear-gradient(95deg, #f3dfd6, #d9b6c5 42%, #bfd0cf 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brandName::after {
  content: "";
  position: absolute;
  left: 0.1rem;
  right: 0.1rem;
  bottom: -0.22rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 182, 197, 0.86), rgba(185, 154, 97, 0.8), transparent);
}

.brand small {
  color: #dbc7c2;
  font-family: var(--body-font);
  font-size: 0.64rem;
  font-weight: 700;
}

nav {
  display: flex;
  gap: clamp(0.7rem, 1.7vw, 1.15rem);
  font-size: 0.82rem;
  font-weight: 700;
}

nav a {
  position: relative;
  padding: 0.15rem 0;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #b9a9b0;
}

#heroCanvas,
.heroPhoto,
.heroShade {
  position: absolute;
  inset: 0;
}

#heroCanvas {
  width: 100%;
  height: 100%;
}

.heroPhoto {
  background-position: center;
  background-size: cover;
  opacity: 0;
}

.heroPhoto.active {
  opacity: 0.32;
  mix-blend-mode: soft-light;
}

.heroShade {
  background:
    linear-gradient(90deg, rgba(59, 50, 58, 0.66), rgba(82, 69, 78, 0.28) 58%, rgba(139, 122, 166, 0.28)),
    linear-gradient(0deg, rgba(59, 50, 58, 0.48), rgba(59, 50, 58, 0.04) 52%);
}

.heroInner {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 8rem clamp(1.25rem, 4vw, 3rem) 4.9rem;
  color: #fbf6f0;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(260px, 0.58fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4rem);
  animation: heroCopyIn 700ms ease 120ms both;
}

.heroCopy {
  position: relative;
  z-index: 1;
}

.heroInner p,
.sectionHead p,
.about > p:first-child,
.contact p,
.loginCard > p,
.adminTop p,
.inventoryHead p {
  margin-bottom: 0.45rem;
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.heroInner p {
  color: #e2c3cf;
}

.heroTitle {
  position: relative;
  display: grid;
  gap: 0.08em;
  max-width: 12ch;
  margin-bottom: 0.72rem;
  font-size: clamp(2.9rem, 7.1vw, 6.1rem);
  line-height: 0.98;
  text-shadow: 0 18px 38px rgba(51, 43, 49, 0.28);
}

.heroTitle::before,
.heroTitle::after {
  content: "";
  display: block;
  width: min(13rem, 42vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 182, 197, 0.82), rgba(185, 154, 97, 0.72), rgba(127, 159, 177, 0.7), transparent);
}

.heroTitle::before {
  margin-bottom: 0.18rem;
}

.heroTitle::after {
  margin-top: 0.35rem;
}

.heroTitle span:first-child {
  color: #ead6dd;
  font-size: 0.38em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.heroTitle span:last-child {
  background: linear-gradient(105deg, #fff2ec, #d8b2c1 35%, #ccb58a 58%, #b5c9c7 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.heroSignature {
  width: fit-content;
  margin-bottom: 1.05rem;
  border-left: 2px solid rgba(217, 182, 197, 0.72);
  padding-left: 0.8rem;
  color: #eadbd5;
  font-family: var(--heading-font);
  font-size: clamp(0.86rem, 1.4vw, 1.1rem);
  font-style: italic;
}

.heroDetails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 42rem;
  margin-bottom: 1.45rem;
}

.heroDetails span {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  border: 1px solid rgba(235, 221, 214, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  padding: 0.35rem 0.72rem;
  color: rgba(251, 246, 240, 0.88);
  font-size: 0.72rem;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.heroButton,
.contactButton,
.primary,
.aiButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  border-radius: 8px;
  padding: 0.66rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.heroButton {
  border: 1px solid rgba(235, 221, 214, 0.52);
  background: rgba(246, 238, 232, 0.86);
  color: #51424b;
  box-shadow: 0 14px 34px rgba(51, 43, 49, 0.18);
}

.artistPortrait {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 1px solid rgba(235, 221, 214, 0.28);
  border-radius: 8px;
  background: rgba(246, 238, 232, 0.15);
  padding: 0.7rem;
  box-shadow: 0 26px 70px rgba(51, 43, 49, 0.26);
  backdrop-filter: blur(12px);
}

.artistPortrait::before {
  content: "";
  position: absolute;
  inset: -0.55rem 0.7rem auto auto;
  width: 5.2rem;
  height: 5.2rem;
  border: 1px solid rgba(235, 221, 214, 0.34);
  border-radius: 999px;
  background: rgba(170, 119, 143, 0.2);
}

.artistPortrait img {
  position: relative;
  width: 100%;
  max-height: min(46vh, 31rem);
  min-height: 20rem;
  border-radius: 6px;
  object-fit: cover;
  object-position: 58% 42%;
  filter: saturate(0.92) contrast(0.94);
}

.artistPortrait figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.2rem 0.1rem;
  color: #fbf6f0;
}

.artistPortrait figcaption span {
  font-family: var(--heading-font);
  font-size: 1.12rem;
}

.artistPortrait figcaption small {
  color: rgba(251, 246, 240, 0.76);
  font-size: 0.74rem;
  line-height: 1.45;
}

.heroButton:hover,
.contactButton:hover,
.primary:hover,
.aiButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(54, 43, 47, 0.16);
}

.section,
.about,
.contact,
.practice,
.adminGate {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.4rem) clamp(1.25rem, 4vw, 3rem);
}

.section {
  position: relative;
}

.section::before {
  content: "";
  display: block;
  height: 0.22rem;
  margin: 0 0 clamp(2rem, 4vw, 3.2rem);
  border-radius: 8px;
  background: linear-gradient(90deg, transparent, var(--rose), var(--gold), var(--sage), var(--sky), var(--violet), transparent);
  opacity: 0.65;
}

.sectionHead,
.contact,
.adminTop,
.inventoryHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.8rem;
}

.sectionHead h2,
.about h2,
.contact h2,
.loginCard h2,
.adminTop h2,
.inventoryHead h3 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  line-height: 1.08;
}

.sectionIntro {
  max-width: 48rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.filters {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(54, 43, 47, 0.06);
}

.filter {
  min-height: 2.3rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.filter.active {
  background: var(--ink);
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.35rem, 3vw, 2.4rem);
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.card {
  overflow: hidden;
  border: 1px solid rgba(233, 222, 215, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(118, 91, 111, 0.09);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  animation: cardIn 520ms ease both;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(170, 119, 143, 0.46);
  box-shadow: 0 28px 60px rgba(63, 52, 59, 0.16);
}

.card button {
  display: grid;
  width: 100%;
  border: 0;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(170, 119, 143, 0.14), transparent 48%),
    linear-gradient(315deg, rgba(127, 159, 177, 0.16), transparent 52%),
    var(--warm);
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.cardText {
  padding: 1.1rem 1.1rem 1.15rem;
}

.cardText h3 {
  margin-bottom: 0.45rem;
  font-size: 1.28rem;
  line-height: 1.16;
}

.cardText p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.82rem;
}

.cardDescription {
  display: -webkit-box;
  min-height: 3.8rem;
  margin-top: 0.75rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cardMetaGrid {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.cardMetaGrid span {
  display: grid;
  grid-template-columns: 4.3rem 1fr;
  gap: 0.55rem;
  border-top: 1px solid rgba(233, 222, 215, 0.86);
  padding-top: 0.42rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.cardMetaGrid b {
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cardFooter {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.status {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  color: #a33f68;
  font-weight: 800;
}

.viewCue {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty {
  display: none;
  min-height: 14rem;
  place-items: center;
  margin-top: 2rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.empty.show {
  display: grid;
}

.about {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(320px, 1.4fr);
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid rgba(200, 150, 44, 0.24);
  border-bottom: 1px solid rgba(40, 123, 130, 0.2);
  background: rgba(255, 255, 255, 0.44);
}

.about > p:first-child {
  grid-column: 1;
}

.about h2 {
  grid-column: 1;
  align-self: start;
}

.aboutText {
  grid-column: 2;
  display: grid;
  gap: 1.2rem;
  max-width: 760px;
}

.aboutText p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.85;
}

.practice {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(360px, 1.35fr);
  gap: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(54, 43, 47, 0.12);
}

.practiceIntro p {
  margin-bottom: 0.45rem;
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practiceIntro h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.4vw, 3.15rem);
  line-height: 1.08;
}

.practiceGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.practiceGrid article {
  border: 1px solid rgba(233, 222, 215, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(54, 43, 47, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.practiceGrid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(54, 43, 47, 0.1);
}

.practiceGrid span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.practiceGrid h3 {
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
  line-height: 1.12;
}

.practiceGrid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.contact {
  border-top: 0;
  background: rgba(247, 234, 220, 0.34);
}

.contactLinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.contactButton,
.primary,
.aiButton {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.adminGate {
  border-top: 1px solid rgba(54, 43, 47, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.loginCard,
.adminApp,
.inventory {
  border: 1px solid rgba(233, 222, 215, 0.94);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.loginCard {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.adminNotice {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  border: 1px solid rgba(170, 119, 143, 0.24);
  border-radius: 8px;
  background: rgba(244, 238, 233, 0.72);
  padding: 0.8rem;
}

.adminNotice strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.adminNotice span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.loginCard form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hidden {
  display: none !important;
}

.adminApp {
  overflow: hidden;
}

.adminTop {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 234, 220, 0.34);
}

.settingsPanel {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 1.25rem 0;
  border: 1px solid rgba(216, 204, 200, 0.94);
  border-radius: 8px;
  background: rgba(244, 238, 233, 0.55);
  padding: 1.15rem;
}

.settingsPanel p {
  margin-bottom: 0.25rem;
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settingsPanel h3 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

.settingsPanel span {
  color: var(--muted);
  font-size: 0.82rem;
}

.settingsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}

.adminButtons {
  display: flex;
  gap: 0.55rem;
}

.iconBtn,
.close,
.mini {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.iconBtn:hover,
.close:hover,
.mini:hover {
  transform: translateY(-1px);
  border-color: rgba(200, 150, 44, 0.52);
  color: #a33f68;
}

.editor {
  display: grid;
  grid-template-columns: minmax(270px, 0.42fr) minmax(360px, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  padding: 1.25rem;
}

.photoColumn,
.fields {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.photoDrop {
  display: grid;
  place-items: center;
  min-height: 24rem;
  overflow: hidden;
  border: 1px dashed rgba(200, 150, 44, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 79, 125, 0.12), transparent 45%),
    linear-gradient(315deg, rgba(93, 159, 193, 0.14), transparent 48%),
    linear-gradient(45deg, rgba(200, 150, 44, 0.12), transparent 52%),
    var(--warm);
  color: var(--muted);
  font-weight: 800;
}

.photoDrop img {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
}

.photoDrop.hasImage img {
  display: block;
}

.photoDrop.hasImage span {
  display: none;
}

#photoInput {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.row {
  display: grid;
  gap: 0.75rem;
  align-items: end;
}

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

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

.row.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

label,
.check span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.68rem 0.75rem;
  outline: none;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(239, 79, 143, 0.14);
}

.check {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

.check input {
  width: 1rem;
  min-height: 1rem;
  accent-color: var(--rose);
}

.message {
  min-height: 1.25rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.message.error {
  color: #9a2e35;
}

.message.success {
  color: #36683e;
}

.inventory {
  margin: 0 1.25rem 1.25rem;
  box-shadow: none;
}

.inventoryHead {
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.inventoryHead h3 {
  margin-bottom: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.inventoryHead input {
  width: min(16rem, 45%);
}

.item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.item:last-child {
  border-bottom: 0;
}

.thumb {
  width: 5rem;
  aspect-ratio: 1;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(200, 79, 125, 0.12), transparent 48%),
    linear-gradient(315deg, rgba(111, 148, 108, 0.12), transparent 50%),
    var(--warm);
  padding: 0;
}

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

.item h4 {
  margin: 0 0 0.25rem;
  font-family: var(--heading-font);
  font-size: 1.1rem;
}

.item p {
  margin: 0;
  color: var(--muted);
}

.itemActions {
  display: flex;
  gap: 0.45rem;
}

dialog {
  width: min(980px, calc(100% - 2rem));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
  animation: modalIn 220ms ease both;
}

dialog::backdrop {
  background: rgba(24, 21, 19, 0.68);
}

.close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

.modalGrid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.9fr);
}

.modalGrid img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  background: var(--warm);
}

.modalText {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4.5vw, 3rem);
}

.modalText h2 {
  margin-bottom: 0;
  font-family: var(--heading-font);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

.modalText p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.modalText p:first-child {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modalText strong {
  color: #a33f68;
  font-size: 1.35rem;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .site-header,
  .sectionHead,
  .contact,
  .adminTop,
  .inventoryHead {
    align-items: stretch;
    flex-direction: column;
  }

  nav,
  .filters {
    justify-content: space-between;
  }

  .filter {
    flex: 1;
  }

  .editor,
  .modalGrid,
  .about,
  .practice,
  .heroInner {
    grid-template-columns: 1fr;
  }

  .about > p:first-child,
  .about h2,
  .aboutText {
    grid-column: 1;
  }

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

  .row.two,
  .row.three,
  .row.four {
    grid-template-columns: 1fr;
  }

  .inventoryHead input {
    width: 100%;
  }

  .artistPortrait {
    max-width: 28rem;
  }

  .contactLinks {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  .brand {
    font-size: 1rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.78rem;
  }

  .item {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .item > .price,
  .itemActions {
    grid-column: 2;
  }

  .hero {
    min-height: 76vh;
  }

  .heroInner h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .artistPortrait img {
    max-height: none;
    min-height: 17rem;
  }

  .heroTitle span:first-child {
    font-size: 0.42em;
  }

  .heroDetails {
    gap: 0.35rem;
  }

  .heroDetails span {
    font-size: 0.66rem;
  }

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

  .cardMetaGrid span {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

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