/* Direction: Linen & Gold — off-white linen paper, muted antique gold,
   a high serif display over very large photographs. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f8f5f0;
  --surface: #fffdfa;
  --surface-2: #efe9e1;
  --border: #e1d9cd;
  --border-strong: #b4b1aa;
  --ink: #1d1a16;
  --muted: #6b6358;
  --accent: #96763b;
  --accent-hover: #806432;
  --accent-ink: #151108;
  --accent-text: #7f6028;
  --accent-strong: #6a5123;
  --accent-soft: #efe5d2;
  --accent-border: #ccbc9f;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dde7db;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f0e2d4;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f0dbd7;
  --danger-strong: #b91c1c;
  --chart-1: #96763b;
  --chart-2: #5b9d50;
  --chart-3: #007379;
  --chart-4: #5c8ad8;
  --chart-5: #82458e;
  --chart-6: #d16a6a;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.01em;
  --radius-card: 2px;
  --radius-btn: 2px;
  --radius-input: 2px;
  --card-pad: 1.75rem;
  --x-on-photo: #ffffff;
  --x-band: #17140f;
  --x-band-soft: #262118;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Jost", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #151108;
  --surface: #2c2921;
  --surface-2: #211d14;
  --border: #36322b;
  --border-strong: #5b5852;
  --ink: #f8f5f0;
  --muted: #9d9a93;
  --accent: #96763b;
  --accent-hover: #a68b58;
  --accent-ink: #151108;
  --accent-text: #ad9466;
  --accent-strong: #a68b59;
  --accent-soft: #312713;
  --accent-border: #4f3e1f;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #152914;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #382008;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #39130c;
  --danger-strong: #d16969;
  --chart-1: #96763b;
  --chart-2: #67aa5c;
  --chart-3: #059299;
  --chart-4: #6290df;
  --chart-5: #a364af;
  --chart-6: #d87070;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.rule {
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--accent);
}

.photo-scrim {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.zoomable {
  cursor: zoom-in;
  transition: opacity 0.35s ease;
}
.zoomable:hover {
  opacity: 0.86;
}

.cover-zoom img {
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cover-zoom:hover img {
  transform: scale(1.04);
}
html.reduced-motion .cover-zoom:hover img {
  transform: none;
}

dialog#lightbox {
  border: 0;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: transparent;
}
dialog#lightbox::backdrop {
  background: rgba(10, 9, 7, 0.95);
}
