/* ─── Living Canvas v2 — acquired concept ─────────────────────────────── */

/* ── Gallery wall ──────────────────────────────────────────────────────── */
body.gallery {
  background: var(--nitz-cream);
}

.lc-header {
  text-align: center;
  padding: var(--space-2) 0 var(--space-1);
}
.lc-logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto;
}
.lc-tagline {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  opacity: .65;
}

/* ── Gallery wall: three frames row ───────────────────────────────────── */
.lc-gallery {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin: var(--space-2) 0 var(--space-1);
}

/* Flanking "neighbor" frames — faint, in the studio already */
.lc-neighbor {
  flex: 0 0 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: .22;
  filter: grayscale(.4);
  user-select: none;
}
.lc-neighbor .lc-frame-border {
  width: 54px;
  height: 54px;
}
.lc-neighbor .lc-mini-label {
  margin-top: 5px;
  width: 54px;
  height: 24px;
  border: 1px solid var(--nitz-brown);
  background: var(--nitz-cream);
}

/* Main canvas frame — center, prominent but contained */
.lc-main-frame-wrap {
  flex: 1;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lc-frame-border {
  border: 3px solid var(--nitz-brown);
  box-shadow: inset 0 0 0 2px #c9a98a, 4px 4px 0 rgba(58,26,23,.12);
  background: #fff;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Abstract artwork placeholder inside the main frame */
.lc-canvas-art {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Member placard ───────────────────────────────────────────────── */
.lc-placard {
  margin-top: 10px;
  width: 100%;
  border: 1.5px solid var(--nitz-brown);
  background: var(--nitz-cream);
  padding: 12px 14px;
  font-family: var(--font-display);
  position: relative;
}

.lc-placard__no {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 4px;
}

.lc-placard__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 26px;
  color: var(--nitz-brown);
}

.lc-placard__row {
  display: flex;
  gap: 16px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.lc-placard__field {
  display: flex;
  flex-direction: column;
}

.lc-placard__field-label {
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 1px;
}

.lc-placard__field-value {
  font-size: 13px;
  color: var(--nitz-brown);
  min-width: 40px;
  min-height: 18px;
}

.lc-placard__field-value.placeholder {
  opacity: .35;
  font-style: italic;
}

.lc-placard__contact {
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 9px;
  opacity: .55;
  letter-spacing: .05em;
}

.lc-placard__exhibit {
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 9px;
  font-style: italic;
  color: var(--nitz-brown);
  opacity: .5;
}

/* ── Intro text ────────────────────────────────────────────────────────── */
.lc-intro-text {
  font-family: var(--font-ui);
  font-size: 15px;
  font-style: italic;
  text-align: center;
  opacity: .7;
  margin: 6px 0 2px;
  letter-spacing: .02em;
}

/* ── Divider ───────────────────────────────────────────────────────────── */
.lc-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  opacity: .5;
}
.lc-divider::before,
.lc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--nitz-brown);
  opacity: .3;
}

/* ── Sign-in bar ───────────────────────────────────────────────────────── */
.lc-signin-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: var(--space-2) 0 var(--space-1);
}

/* ── Form ──────────────────────────────────────────────────────────────── */
.lc-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-1);
}

.lc-field-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lc-field-group label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .65;
}

.lc-field-error {
  font-size: 11px;
  color: #a3271f;
  min-height: 14px;
}

/* Two-col first/last name */
.lc-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Taste choice buttons */
.lc-taste-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.lc-taste-btn {
  flex: 1;
  min-width: 80px;
  padding: 10px 8px;
  border: 1.5px solid var(--nitz-brown);
  border-radius: 999px;
  background: transparent;
  color: var(--nitz-brown);
  font-family: var(--font-ui);
  font-size: 13px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.lc-taste-btn.selected,
.lc-taste-btn:active {
  background: var(--nitz-brown);
  color: var(--nitz-cream);
}

/* Consent */
.lc-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.lc-consent-row input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--nitz-brown);
  cursor: pointer;
}

/* Dog companion */
.lc-dog-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2);
  border: 1.5px dashed var(--nitz-green);
  border-radius: 12px;
}

/* Submit */
.lc-submit {
  margin-top: var(--space-1);
}

/* Dual-points promise (finish screen) */
.lc-points {
  text-align: center;
  padding: var(--space-2) var(--space-3);
  background: rgba(161, 213, 180, 0.18);
  border-radius: 12px;
}

.lc-points__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.lc-points__body {
  font-size: 14px;
  line-height: 1.5;
}

/* ── Finish screen ─────────────────────────────────────────────────────── */
.lc-finish {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-bottom: var(--space-4);
}

.lc-finish-headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.lc-finish-placard-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lc-finish-placard {
  border: 2px solid var(--nitz-brown);
  background: var(--nitz-cream);
  padding: 18px 20px;
  width: 100%;
  font-family: var(--font-display);
  box-shadow: 4px 4px 0 rgba(58,26,23,.15);
}

.lc-finish-placard .lc-placard__no {
  font-size: 10px;
}

.lc-finish-placard .lc-placard__title {
  font-size: 26px;
}

/* SVG abstract art (inline, no canvas taint) */
.lc-art-svg {
  width: 100%;
  height: 100%;
}

/* Neighbor artwork SVGs */
.lc-neighbor-svg {
  width: 54px;
  height: 54px;
  display: block;
}

/* Pulse the placard field values when they change */
@keyframes lc-pop {
  0% { opacity: .35; }
  100% { opacity: 1; }
}
.lc-placard__field-value.updated {
  animation: lc-pop .25s ease-out forwards;
}

/* Hebrew: drop Latin-only wide tracking + uppercasing so text stays legible. */
[dir="rtl"] .lc-tagline,
[dir="rtl"] .lc-placard__no,
[dir="rtl"] .lc-placard__field-label,
[dir="rtl"] .lc-divider,
[dir="rtl"] .lc-field-group label { letter-spacing: normal; text-transform: none; }

/* Language toggle (top-start corner of the header) */
.lc-langtoggle {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-bottom: 6px;
}
.lc-langtoggle button {
  background: transparent;
  border: 1px solid var(--nitz-brown);
  color: var(--nitz-brown);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  cursor: pointer;
  opacity: .55;
}
.lc-langtoggle button:first-child { border-radius: 0 999px 999px 0; }
.lc-langtoggle button:last-child { border-radius: 999px 0 0 999px; }
.lc-langtoggle button.active { background: var(--nitz-brown); color: var(--nitz-cream); opacity: 1; }
