/* site.css — shared design system for all LandonSwan.com layout directions */

:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --ink: #f3f1ea;
  --ink-2: #9a978e;
  --ink-3: #5f5d57;
  --line: rgba(255,255,255,0.10);
  --gold: #d4a24a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  color: var(--ink);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
a { color: inherit; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 32px; background: rgba(11,11,13,0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar .brand { font-weight: 800; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; }
.bar .brand b { color: var(--gold); }
.bar nav { display: flex; gap: 26px; align-items: center; }
.bar nav a {
  color: var(--ink-2); text-decoration: none; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; font-family: 'JetBrains Mono', monospace; transition: color 0.15s; cursor: pointer;
}
.bar nav a:hover { color: var(--gold); }
.bar nav a.cta { color: var(--ink); border: 1px solid var(--line); padding: 7px 14px; border-radius: 2px; }
.bar nav a.cta:hover { border-color: var(--gold); color: var(--gold); }
.bar .back { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.bar .back:hover { color: var(--gold); }

/* ---------- quote break ---------- */
.break { position: relative; width: 100%; height: 70vh; min-height: 460px; }
.break .break-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.break .scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(11,11,13,0.55), rgba(11,11,13,0.35), rgba(11,11,13,0.8)); }
.break .q { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: flex; flex-direction: column; justify-content: center; max-width: 1100px; margin: 0 auto; left: 0; right: 0; padding: 0 40px; }
.break blockquote { margin: 0; font-size: clamp(30px, 5vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; max-width: 900px; text-transform: uppercase; }
.break blockquote .gold { color: var(--gold); }
.break .by { margin-top: 22px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { max-width: 1280px; margin: 0 auto; padding: 96px 40px 40px; }
.contact h3 { margin: 0 0 8px; font-size: clamp(40px, 7vw, 92px); font-weight: 900; letter-spacing: -0.035em; text-transform: uppercase; line-height: 0.92; }
.contact h3 .gold { color: var(--gold); }
.contact .lead { color: var(--ink-2); max-width: 540px; margin: 0 0 40px; font-size: 18px; }
.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; max-width: 820px; }
.links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 4px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: padding 0.16s, color 0.16s; }
.links a:hover { padding-left: 12px; color: var(--gold); }
.links a:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.links a .l { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.links a .r { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.links a:hover .r { color: var(--gold); }

.foot { max-width: 1280px; margin: 40px auto 0; padding: 48px 40px 56px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); flex-wrap: wrap; gap: 12px; }
.foot b { color: var(--ink-2); font-weight: 400; }

/* ---------- detail overlay ---------- */
.ov { position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow-y: auto; display: none; opacity: 0; transition: opacity 0.22s; }
.ov.open { display: block; opacity: 1; }
.ov-head { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 32px; background: rgba(11,11,13,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.ov-head .t .num { font-family: 'JetBrains Mono', monospace; color: var(--gold); font-size: 12px; letter-spacing: 0.16em; }
.ov-head .t h2 { margin: 2px 0 0; font-size: clamp(20px, 3vw, 30px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.ov-head .t .sub { margin-top: 5px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.ov-tools { display: flex; align-items: center; gap: 8px; }
.ov-tools button { appearance: none; border: 1px solid var(--line); background: transparent; color: var(--ink); width: 40px; height: 40px; border-radius: 4px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s, color 0.15s; }
.ov-tools button:hover { border-color: var(--gold); color: var(--gold); }
.ov-tools .close { font-size: 22px; }
.ov-body { max-width: 1180px; margin: 0 auto; padding: 44px 40px 80px; }
.ov-intro { max-width: 760px; margin-bottom: 44px; }
.ov-lead { margin: 0 0 30px; font-size: clamp(22px, 3vw, 32px); line-height: 1.32; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.ov-lead b { color: var(--gold); font-weight: 700; }
.ov-points { list-style: none; margin: 0 0 30px; padding: 0; }
.ov-points li { display: grid; grid-template-columns: 168px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.ov-points li:last-child { border-bottom: 1px solid var(--line); }
.ov-points .pk { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.ov-points .pt { font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: var(--ink); }
.ov-points .pt b { color: var(--ink); font-weight: 700; }
.ov-tenets { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 32px; }
.ov-tenets span { font-size: clamp(22px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); }
.ov-tenets span:nth-child(odd) { color: var(--gold); }
.ov-tenets span::after { content: '·'; color: var(--ink-3); margin-left: 14px; font-weight: 400; }
.ov-tenets span:last-child::after { content: ''; }
.ov-pullq { margin: 0 0 36px; padding: 22px 0 22px 28px; border-left: 3px solid var(--gold); font-size: clamp(20px, 2.8vw, 30px); line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); font-style: italic; max-width: 760px; }
.ov-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ov-tags span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--ink-2); border: 1px solid var(--line); padding: 6px 11px; border-radius: 3px; }
.ov-gallery { column-count: 3; column-gap: 14px; }
.ov-gallery figure { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 5px; overflow: hidden; cursor: zoom-in; background: #16161a; }
.ov-gallery img { width: 100%; display: block; transition: transform 0.5s; }
.ov-gallery figure:hover img { transform: scale(1.04); }
.ov-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 13px; line-height: 1.3; color: var(--ink); font-weight: 500; background: linear-gradient(to top, rgba(8,8,10,0.92), rgba(8,8,10,0.35) 65%, transparent); opacity: 0; transition: opacity 0.18s; }
.ov-gallery figure:hover figcaption, .ov-gallery figure.has-cap figcaption { opacity: 1; }
.ov-gallery figcaption .yr { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.95); display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 90vh; object-fit: contain; box-shadow: 0 20px 80px rgba(0,0,0,0.6); }
.lb .lbcap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-2); }
.lb .lbx { position: absolute; top: 22px; right: 26px; font-size: 30px; color: var(--ink); cursor: pointer; line-height: 1; }

@media (max-width: 860px) {
  .ov-gallery { column-count: 2; }
}
@media (max-width: 560px) {
  .ov-gallery { column-count: 1; }
  .bar { padding: 14px 20px; }
  .bar nav { gap: 14px; }
  .bar nav a:not(.cta):not(.back) { display: none; }
  .contact, .foot, .ov-body { padding-left: 24px; padding-right: 24px; }
}
