/* Art Dallas — global tokens */
:root {
  --bg: #FAF7F1;
  --surface: #FFFFFF;
  --ink: #1A1612;
  --ink-body: #3A332B;
  --muted: #8A7F70;
  --forest: #2B3A2D;
  --forest-hover: #1f2a21;
  --gold: #B08D57;
  --hairline: #E5DCC9;

  --font-display: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max-w: 1320px;
  --max-w-wide: 1480px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.display { font-family: var(--font-display); color: var(--ink); font-weight: 400; letter-spacing: -0.005em; line-height: 1.05; }
.display em { font-style: italic; font-weight: 400; color: var(--ink); }
.eyebrow { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: var(--max-w-wide); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container, .container-wide { padding: 0 20px; } }

.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; padding: 16px 28px; border: 1px solid transparent; cursor: pointer; transition: all 0.25s ease; font-family: var(--font-body); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-hover); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-link { padding: 0; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; letter-spacing: 0.12em; }

.hairline { border: 0; border-top: 1px solid var(--hairline); }

.section { padding: 96px 0; }
.section-lg { padding: 140px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-lg { padding: 80px 0; } }

.fade-in { animation: fadeUp 0.8s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* form */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); }
.field textarea { min-height: 120px; resize: vertical; }

::selection { background: var(--forest); color: #fff; }

/* gallery */
.masonry { columns: 3; column-gap: 16px; }
.masonry > * { break-inside: avoid; margin-bottom: 16px; }
@media (max-width: 980px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* lightbox */
.lb-overlay { position: fixed; inset: 0; background: rgba(15,12,8,0.94); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 20px 80px rgba(0,0,0,0.5); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; font-family: var(--font-display); }
.lb-nav:hover { background: rgba(255,255,255,0.1); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close { position: fixed; top: 24px; right: 24px; font-size: 11px; letter-spacing: 0.2em; color: #fff; background: transparent; border: 0; cursor: pointer; padding: 8px 12px; }
.lb-count { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); font-family: var(--font-mono); }
