/* Velvetrose shared styles. Tokens first; every page loads this file.
   Look: a speakeasy behind a theater. Oxblood velvet, brass, a neon rose. */
:root {
  --house: #0b0708;        /* the room with the lights off */
  --velvet: #1a0a0d;       /* raised panels */
  --velvet-2: #260d13;     /* deeper panels, hover */
  --oxblood: #5c0f1a;
  --crimson: #9b1b30;
  --neon: #ff3b5c;         /* the neon rose tube */
  --neon-soft: #ff8197;
  --brass: #c8a25a;
  --brass-hi: #ecd29a;
  --ivory: #f3e7d6;        /* body text, never pure white */
  --smoke: #b3a3a0;        /* secondary text */
  --ash: #7f716f;          /* labels, small print */
  --line: rgba(236, 210, 154, .14);
  --line-2: rgba(236, 210, 154, .28);
  --glass: rgba(255, 235, 220, .035);
  --display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --script: "Sacramento", "Brush Script MT", cursive;
  --ui: "Jost", "Futura", system-ui, sans-serif;
  --max: 1140px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--house);
  color: var(--ivory);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Velvet grain over everything (very faint) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; }
a { color: var(--brass-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }
::selection { background: var(--crimson); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 400; }
h3 { font-size: 1.6rem; }
h1 em, h2 em, h3 em { color: var(--neon-soft); font-style: italic; }
p { margin: 0 0 1em; }
.lede { font-size: 1.18rem; color: var(--smoke); max-width: 40rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--ui); font-size: .72rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.script { font-family: var(--script); font-weight: 400; }
.muted { color: var(--smoke); }
.small { font-size: .85rem; color: var(--ash); }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section.band { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }

/* Page hero */
.hero { padding: clamp(72px, 12vw, 140px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at 50% 0%, rgba(155, 27, 48, .32), transparent 70%);
}
.hero > * { position: relative; }

/* Cards */
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(38, 13, 19, .9), rgba(16, 7, 9, .9));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(236, 210, 154, .06), 0 30px 60px -40px rgba(0, 0, 0, .8);
}
.card h3 { margin-bottom: .35em; }
.card.glass { background: var(--glass); }
.card .tag { position: absolute; top: 18px; right: 18px; }

/* Brass corner ornaments: add <i class="corners"></i> inside a card */
.corners::before, .corners::after, .corners {
  pointer-events: none;
}
.corners { position: absolute; inset: 10px; border-radius: 10px; }
.corners::before, .corners::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--brass); opacity: .55;
}
.corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.corners::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Chips & tags */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: .8rem; letter-spacing: .02em;
  border: 1px solid var(--line-2); color: var(--ivory); background: rgba(255, 255, 255, .02);
}
.tag {
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  padding: 4px 10px; border-radius: 999px; border: 1px dashed var(--brass); color: var(--brass-hi);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  font-family: var(--ui); font-size: .82rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--ivory);
  background: linear-gradient(180deg, #b22138, #6e1020);
  border: 1px solid rgba(236, 210, 154, .5);
  box-shadow: 0 0 0 4px rgba(155, 27, 48, .14), 0 12px 30px -10px rgba(255, 59, 92, .45);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { color: var(--ivory); transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(155, 27, 48, .2), 0 16px 40px -10px rgba(255, 59, 92, .6); }
.btn.ghost { background: transparent; box-shadow: none; border-color: var(--line-2); color: var(--brass-hi); }
.btn.ghost:hover { border-color: var(--brass); background: rgba(200, 162, 90, .07); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .actions { justify-content: center; }

/* Hairline divider with a small rose */
.divider { display: flex; align-items: center; gap: 16px; color: var(--brass); margin: 40px auto; max-width: 420px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.divider svg { width: 22px; height: 22px; }

/* Placeholder blocks for pages still being written */
.placeholder {
  border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 28px;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(236, 210, 154, .025) 14px 28px);
}
.placeholder .tag { margin-bottom: 12px; display: inline-block; }

/* Scroll reveal (site.js adds .in) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s ease; }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
