/* Kamryn's Kanvas · design system v2 "house lights down"
   Dark stage ground; royal blue (the gown) at full saturation is the signature;
   sequin gold is the light that catches it. Bodoni Moda for display (playbill
   contrast), Archivo for text and UI. One motion moment: the light sweep across
   S.M.A.R.T. on the home hero. */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/bodoni-var.woff2") format("woff2");
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/bodoni-italic-var.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/archivo-var.woff2") format("woff2");
}

:root {
  --stage: #0a0d1c;          /* house dark, blue-black */
  --stage-deep: #070914;     /* footer, header scrim */
  --raised: #111631;         /* cards, surfaces */
  --raised-2: #0d1226;       /* inputs, wells */
  --line: #232b52;           /* hairlines */
  --ink: #eceef8;            /* body text */
  --muted: #9ba3c7;          /* secondary text */
  --royal: #2e4fe6;          /* the gown: signature fill */
  --royal-deep: #1f3ac2;     /* hover fill */
  --royal-bright: #93a7ff;   /* royal as text on dark */
  --gold: #f2c94c;           /* sequin glint, house light */
  --rose: #ef6a9e;           /* Dress S.M.A.R.T. program accent */
  --rose-bright: #f795bd;    /* rose as text on dark */
  --radius: 12px;
  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --text: "Archivo", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--royal-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #b7c4ff; }
::selection { background: var(--royal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3, .wordmark { font-family: var(--display); font-weight: 640; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); line-height: 1.04; margin: 0.2em 0 0.4em; }
h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); line-height: 1.12; margin: 0 0 0.5em; }
h3 { font-size: 1.18rem; margin: 0 0 0.3em; }

.kicker {
  font-family: var(--text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 0.7em;
}
.lede { font-size: 1.12rem; color: var(--muted); }
.lede-quote { font-family: var(--display); font-size: 1.3rem; font-style: italic; color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7,9,20,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 40;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark {
  font-size: 1.35rem; font-weight: 700; font-style: italic;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
}
.wordmark span { color: var(--royal-bright); }
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: 0.93rem; font-weight: 500;
  letter-spacing: 0.02em; padding: 4px 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a.on { border-bottom-color: var(--gold); }
.nav-cta {
  border: 1.5px solid var(--royal-bright); border-radius: 999px;
  padding: 6px 16px !important; color: var(--royal-bright) !important;
}
.nav-cta:hover { background: var(--royal); border-color: var(--royal); color: #fff !important; }
.nav-cta.on { border-color: var(--gold) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--stage-deep); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 20px 24px; gap: 16px; align-items: flex-start;
  }
  body.nav-open .site-nav { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(48px, 9vw, 104px) 0 clamp(34px, 6vw, 68px);
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(46,79,230,0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 20% 0%, rgba(242,201,76,0.06), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.smart-mark { color: var(--royal-bright); }

/* THE motion moment: one pass of light across S.M.A.R.T., like a follow spot
   crossing sequins. Runs once on the home hero, then rests. */
.hero h1 .smart-mark {
  background: linear-gradient(105deg,
    var(--royal-bright) 0% 42%,
    #ffffff 47.5%,
    var(--gold) 50%,
    #ffffff 52.5%,
    var(--royal-bright) 58% 100%);
  background-size: 300% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: sequin-sweep 1.7s cubic-bezier(0.6, 0, 0.3, 1) 0.45s 1 both;
}
@keyframes sequin-sweep {
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .smart-mark {
    animation: none; background: none;
    -webkit-text-fill-color: currentColor; color: var(--royal-bright);
  }
  .grid-card, .btn { transition: none; }
}

.hero-quote {
  font-family: var(--display); font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-style: italic; line-height: 1.4; margin: 0.8em 0;
  padding-left: 16px; border-left: 3px solid var(--gold);
}
.hero-sub { color: var(--muted); max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.canvas-frame {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(242,201,76,0.25),
    0 24px 60px rgba(0,0,0,0.55),
    0 0 80px rgba(46,79,230,0.18);
  transform: rotate(1.5deg); max-width: 340px; margin: 0 auto;
}
.canvas-face {
  aspect-ratio: 4 / 5; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(46,79,230,0.35), transparent 65%),
    repeating-linear-gradient(45deg, #0d1226 0 3px, #101636 3px 6px);
  border: 1px solid var(--line);
}
.canvas-mono {
  font-family: var(--display); font-size: 4.2rem; font-weight: 700; font-style: italic;
  color: var(--gold); line-height: 1;
  text-shadow: 0 0 34px rgba(242,201,76,0.45);
}
.canvas-cap { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .canvas-frame { max-width: 200px; }
  .canvas-mono { font-size: 3rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border-radius: 999px; padding: 12px 26px;
  font-family: var(--text); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--royal); color: #fff;
  box-shadow: 0 6px 24px rgba(46,79,230,0.35);
}
.btn-primary:hover { background: var(--royal-deep); color: #fff; box-shadow: 0 6px 28px rgba(46,79,230,0.5); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-danger { background: transparent; border-color: #e2606b; color: #f0868f; }
.btn-danger:hover { background: #c0392b; border-color: #c0392b; color: #fff; }
.btn-wide { width: 100%; text-align: center; }
.btn-small { padding: 6px 14px; font-size: 0.85rem; }
body.ds .btn-primary { background: var(--rose); color: #14060c; box-shadow: 0 6px 24px rgba(239,106,158,0.3); }
body.ds .btn-primary:hover { background: var(--rose-bright); color: #14060c; }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- stats strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--stage-deep); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 30px 20px; }
.strip-stat { text-align: center; }
.strip-stat strong {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: 2rem; color: var(--gold);
}
.strip-stat span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 680px) { .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } }

/* ---------- sections & cards ---------- */
.section { padding: clamp(44px, 7vw, 80px) 0; }
.section-tint { background: var(--stage-deep); border-top: 1px solid var(--line); }
.page-head {
  padding: clamp(44px, 7vw, 80px) 0 0;
  background: radial-gradient(ellipse 80% 55% at 50% -15%, rgba(46,79,230,0.18), transparent 65%);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }

.card {
  background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.card-kicker {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 0.6em;
}
.card-ds { border-color: #3d2237; background: linear-gradient(180deg, #191024 0%, var(--raised) 100%); }
.card-ds .card-kicker { color: var(--rose-bright); }
.card-ds .text-link { color: var(--rose-bright); }

.mini-timeline { list-style: none; margin: 14px 0; padding: 0; font-size: 0.92rem; }
.mini-timeline li { padding: 7px 0; border-top: 1px dashed var(--line); }
.mini-date { color: var(--gold); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; }

/* ---------- flash ---------- */
.flash {
  margin: 14px 0; padding: 12px 18px; border-radius: 10px;
  background: rgba(242,201,76,0.1); border: 1px solid rgba(242,201,76,0.4);
  color: var(--ink); font-size: 0.95rem;
}

/* ---------- Art is SMART letters ---------- */
.letters { display: flex; flex-direction: column; gap: clamp(30px, 5vw, 52px); }
.letter-block { display: grid; grid-template-columns: 92px 1fr; gap: 26px; align-items: start; }
.letter-glyph {
  font-family: var(--display); font-weight: 700; font-size: 3.6rem; line-height: 1;
  color: #fff; background: var(--royal); border-radius: var(--radius);
  width: 92px; height: 92px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 32px rgba(46,79,230,0.4), 0 0 46px rgba(46,79,230,0.22);
}
.letter-block:nth-child(2n) .letter-glyph {
  background: var(--gold); color: var(--stage-deep);
  box-shadow: 0 12px 32px rgba(242,201,76,0.3), 0 0 46px rgba(242,201,76,0.15);
}
@media (max-width: 600px) {
  .letter-block { grid-template-columns: 64px 1fr; gap: 16px; }
  .letter-glyph { width: 64px; height: 64px; font-size: 2.4rem; border-radius: 10px; }
}

/* ---------- timeline: the run of show ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0, var(--royal) 90px, var(--royal) calc(100% - 60px), transparent);
  box-shadow: 0 0 14px rgba(46,79,230,0.5);
}
.tl-year { position: relative; margin: 44px 0 14px; }
.tl-year:first-child { margin-top: 0; }
.tl-year span {
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold);
  background: var(--stage); padding-right: 14px; line-height: 1;
}
.tl-entry { position: relative; padding: 16px 0 24px; }
.tl-dot {
  position: absolute; left: -28px; top: 26px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); border: 2px solid var(--stage);
  box-shadow: 0 0 0 2px var(--gold), 0 0 16px rgba(242,201,76,0.7);
}
.tl-date {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--royal-bright); font-weight: 600;
}
.tl-entry h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 0.2em 0 0.35em; }
.tl-entry p { margin: 0; color: var(--muted); max-width: 62ch; }
.tl-photo {
  border-radius: 10px; margin-top: 16px; max-height: 340px; width: auto;
  border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}

/* ---------- empty states ---------- */
.empty-state {
  background: var(--raised); border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: clamp(36px, 6vw, 58px) 28px; text-align: center; color: var(--muted);
  max-width: 560px; margin: 0 auto;
}
.empty-title { font-family: var(--display); font-size: 1.5rem; color: var(--ink); margin: 0 0 0.4em; }
.sent-state { border-style: solid; border-color: var(--royal); background: rgba(46,79,230,0.12); }

/* ---------- Dress S.M.A.R.T. ---------- */
body.ds { background: #0c0a16; }
.ds-hero {
  background:
    radial-gradient(ellipse 80% 70% at 50% -20%, rgba(239,106,158,0.2), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(46,79,230,0.15), transparent 70%);
  border-bottom: 1px solid #2b1a30;
  padding: clamp(48px, 9vw, 96px) 0 clamp(30px, 5vw, 52px);
}
.ds-kicker {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--rose-bright); margin: 0 0 0.7em;
}
.ds-wordmark { font-size: clamp(2.6rem, 8vw, 4.4rem); margin: 0; }
.ds-wordmark span { color: var(--rose-bright); }
.ds-tagline {
  font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  color: var(--ink); margin: 0.6em 0 0;
}
.ds-story p { max-width: 62ch; }
.ds-story a { color: var(--rose-bright); }
.ds-disclosure {
  font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line);
  padding-top: 14px; margin-top: 22px; max-width: 62ch;
}
.ds-more { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 28px; }
.ds-empty { border-color: #3d2237; }
.ds-empty-mark { color: var(--rose-bright); display: flex; justify-content: center; margin-bottom: 10px; }
.ds-empty a { color: var(--rose-bright); }

/* ---------- gallery grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.grid-card {
  text-decoration: none; color: var(--ink); background: var(--raised);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s; display: block;
}
.grid-card:hover {
  box-shadow: 0 18px 44px rgba(0,0,0,0.5), 0 0 30px rgba(46,79,230,0.2);
  transform: translateY(-2px); color: var(--ink); border-color: #35408a;
}
.grid-photo { position: relative; aspect-ratio: 4 / 5; background: var(--raised-2); }
.grid-photo img { width: 100%; height: 100%; object-fit: cover; }
.grid-nophoto {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, #0d1226 0 4px, #111838 4px 8px);
}
.badge {
  position: absolute; top: 10px; left: 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; background: rgba(7,9,20,0.85); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.badge-new { background: var(--rose); color: #14060c; border-color: transparent; }
.badge-pending { background: var(--gold); color: var(--stage-deep); border-color: transparent; left: auto; right: 10px; }
.badge-cover { position: absolute; top: 6px; left: 6px; background: var(--royal); border-color: transparent; }
.grid-meta { padding: 14px 16px 16px; }
.grid-line { color: var(--muted); font-size: 0.88rem; margin: 2px 0; }
.grid-price { font-weight: 700; font-size: 1.05rem; margin: 6px 0 0; color: var(--rose-bright); }

/* ---------- item detail ---------- */
.crumb { font-size: 0.9rem; margin: 0 0 18px; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--rose-bright); }
.detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; gap: 28px; } }

.carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--raised-2); border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: start; }
.carousel-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(7,9,20,0.75); border: 1px solid var(--line); border-radius: 50%;
  width: 40px; height: 40px; font-size: 1rem; cursor: pointer; color: var(--ink);
}
.car-btn:hover { background: var(--stage-deep); border-color: var(--gold); color: var(--gold); }
.car-prev { left: 10px; }
.car-next { right: 10px; }
.car-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.car-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.35); padding: 0;
}
.car-dot.on { background: var(--gold); }
.detail-nophoto { aspect-ratio: 4 / 5; border-radius: var(--radius); }

.detail-price { font-family: var(--display); font-size: 1.9rem; font-weight: 700; color: var(--rose-bright); margin: 0 0 14px; }
.detail-facts { margin: 0 0 18px; border-top: 1px solid var(--line); }
.detail-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); font-size: 0.92rem; }
.detail-facts dd { margin: 0; font-weight: 600; font-size: 0.95rem; text-align: right; }
.detail-desc { margin-bottom: 22px; }

/* ---------- resources ---------- */
.res-head { margin-top: 34px; }
.res-list { list-style: none; margin: 0; padding: 0; }
.res-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.res-list a { font-weight: 600; font-size: 1.02rem; }
.res-list p { margin: 4px 0 0; color: var(--muted); font-size: 0.94rem; max-width: 62ch; }
.res-note { margin-top: 30px; padding: 18px 22px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); }
.res-note p { margin: 0; }

/* ---------- forms ---------- */
.form { max-width: 560px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 5px; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--raised-2);
  color-scheme: dark;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--royal-bright);
  box-shadow: 0 0 0 3px rgba(46,79,230,0.25);
}
body.ds .field input:focus, body.ds .field textarea:focus {
  border-color: var(--rose-bright);
  box-shadow: 0 0 0 3px rgba(239,106,158,0.25);
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 16px; }
.form-itemref {
  background: rgba(239,106,158,0.1); border: 1px solid #3d2237; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 18px; font-size: 0.95rem;
}
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.check-field { display: flex; gap: 8px; align-items: center; font-size: 0.92rem; }

/* ---------- admin ---------- */
.admin-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.admin-bar h1 { margin: 0; font-size: 1.9rem; }
.admin-login-card {
  max-width: 420px; margin: 30px auto; background: var(--raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 16px 44px rgba(0,0,0,0.45);
}
.admin-section { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.admin-section-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-section-head h2 { margin: 0; }
.admin-empty { color: var(--muted); }
.help-text { color: var(--muted); font-size: 0.92rem; max-width: 58ch; }

.admin-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.95rem; }
.admin-table th {
  text-align: left; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line);
}
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cell-thumb img { width: 52px; height: 64px; object-fit: cover; border-radius: 6px; }
.thumb-none { color: var(--muted); font-size: 0.8rem; }
.cell-sub { display: block; color: var(--muted); font-size: 0.82rem; }
.cell-actions { white-space: nowrap; }
.cell-actions form { display: inline-block; margin-left: 6px; }
.cell-date { white-space: nowrap; color: var(--muted); }
.row-sold { opacity: 0.5; }
.status { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 999px; }
.status-available { background: rgba(72,199,116,0.16); color: #7fe0a5; }
.status-pending { background: rgba(242,201,76,0.16); color: var(--gold); }
.status-sold { background: rgba(255,255,255,0.08); color: var(--muted); }
.inline-form { display: inline-block; margin: 4px 6px 0 0; }
.danger-zone { padding-bottom: 10px; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; border: 2px dashed var(--royal-bright); border-radius: var(--radius);
  background: var(--raised-2); padding: 34px 20px; cursor: pointer; text-align: center;
  transition: background 0.15s;
  margin-bottom: 14px;
}
.dropzone.dragover { background: rgba(46,79,230,0.18); }
.dropzone input[type=file] { display: none; }
.dz-text { font-weight: 600; }
.dz-sub { color: var(--muted); font-size: 0.88rem; }

.photo-sort { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 18px 0 10px; }
.photo-tile {
  position: relative; width: 110px; border-radius: 10px; overflow: hidden;
  border: 2px solid var(--line); cursor: grab; background: var(--raised);
}
.photo-tile img { width: 100%; height: 138px; object-fit: cover; pointer-events: none; }
.photo-tile.dragging { opacity: 0.5; border-color: var(--royal-bright); }
.drag-hint {
  position: absolute; bottom: 4px; right: 6px; background: rgba(7,9,20,0.8);
  border-radius: 6px; padding: 0 6px; font-size: 0.9rem; color: var(--ink);
}
.photo-deletes { margin-top: 8px; }
.tl-current-photo { margin: 0 0 16px; }
.tl-current-photo img { max-width: 180px; border-radius: 10px; margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--stage-deep); margin-top: 20px; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 44px 20px 10px;
}
.footer-mark { font-family: var(--display); font-weight: 700; font-style: italic; font-size: 1.2rem; }
.footer-inner p { color: var(--muted); font-size: 0.92rem; max-width: 42ch; font-style: italic; }
.footer-nav { display: flex; gap: 20px; align-items: flex-start; padding-top: 6px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { padding-bottom: 26px; }
.footer-legal p { color: var(--muted); font-size: 0.82rem; margin: 0; }
