/* =========================================================
   Trazy Jay Rsa — design tokens
   Palette pulled from the artist's own press kit: warm black,
   ember orange, ivory paper, brass rule, deep KZN-bushveld green.
   No gradients anywhere — flat color only.
   ========================================================= */
:root {
  --ink: #14110d;
  --ink-raised: #1d1811;
  --ink-line: #33291b;

  --ivory: #f3ecdd;
  --ivory-raised: #eae1cc;
  --ivory-line: #d8cbac;

  --ember: #e8591f;
  --ember-dark: #b8451a;
  --brass: #b98a3d;
  --green: #1f4e3c;

  --text-dark-primary: #f4ede0;
  --text-dark-muted: #b7ab95;
  --text-light-primary: #1c1710;
  --text-light-muted: #6c5f49;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "SFMono-Regular", Consolas, monospace;

  --wrap: 1120px;
  --radius: 2px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-dark-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
button, input, textarea { font-family: inherit; font-size: 1rem; color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ember);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-family: var(--font-mono);
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* =========================================================
   Eyebrow / labels
   ========================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.85rem;
}
.eyebrow--dark { color: var(--ember-dark); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--ember);
  color: var(--ink);
  font-weight: 700;
}
.btn--primary:hover { background: var(--ember-dark); }
.btn--ghost {
  background: transparent;
  border-color: var(--text-dark-muted);
  color: var(--text-dark-primary);
}
.btn--ghost:hover { border-color: var(--ember); color: var(--ember); }
.btn--block { width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand__text em { font-style: normal; color: var(--ember); }

.brand__disc {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink-raised);
  border: 2px solid var(--brass);
  position: relative;
  flex: none;
}
.brand__disc::after {
  content: "";
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: var(--ember);
}
.brand__disc--small { width: 22px; height: 22px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-nav a:not(.site-nav__cta) { color: var(--text-dark-muted); transition: color 0.15s ease; }
.site-nav a:not(.site-nav__cta):hover { color: var(--ember); }
.site-nav__cta {
  background: var(--ember);
  color: var(--ink);
  padding: 0.55rem 1rem;
  font-weight: 700;
  border-radius: var(--radius);
}
.site-nav__cta:hover { background: var(--ember-dark); }

@media (max-width: 640px) {
  .site-nav { gap: 0.85rem; font-size: 0.72rem; }
  .brand__text { font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .site-nav a:not(.site-nav__cta) { display: none; }
  .site-nav { gap: 0.6rem; }
}

/* =========================================================
   Flash messages
   ========================================================= */
.flash-stack { padding-top: 1.25rem; }
.flash {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--ember);
  background: var(--ink-raised);
}
.flash--error { border-left-color: #c2472f; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-block: 3rem 4rem; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
}
.hero__title span { color: var(--ember); }
.hero__tagline {
  font-size: 1.15rem;
  color: var(--text-dark-muted);
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__tags li::before { content: "\2022"; margin-right: 0.5em; color: var(--ink-line); }
.hero__tags li:first-child::before { content: ""; margin: 0; }

.hero__portrait {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem;
}
.hero__photo {
  position: relative;
  z-index: 2;
  width: min(280px, 100%);
  aspect-ratio: 281 / 364;
  object-fit: cover;
  border: 3px solid var(--ember);
  background: var(--ink-raised);
}
.vinyl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vinyl__disc {
  width: min(320px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink-raised);
  box-shadow:
    0 0 0 2px var(--ink-line),
    inset 0 0 0 22px var(--ink),
    inset 0 0 0 24px var(--ink-line),
    inset 0 0 0 44px var(--ink),
    inset 0 0 0 46px var(--ink-line),
    inset 0 0 0 66px var(--ink),
    inset 0 0 0 68px var(--ink-line);
  animation: spin 14s linear infinite;
  transform: translateX(8%);
}
.vinyl__disc::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brass);
}
@keyframes spin {
  to { transform: translateX(8%) rotate(360deg); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .hero__portrait { order: -1; max-width: 320px; margin-inline: auto; }
}

/* =========================================================
   Sections (shared)
   ========================================================= */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--paper { background: var(--ivory); color: var(--text-light-primary); }
.section--ink { background: var(--ink); color: var(--text-dark-primary); }

.section__head { max-width: 46ch; margin-bottom: 2.5rem; }
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.section--paper .section__head h2 { color: var(--text-light-primary); }
.section--ink .section__head h2 { color: var(--text-dark-primary); }
.section__head--center { max-width: 100%; text-align: center; margin-inline: auto; }
.section__lede {
  margin-top: 1rem;
  color: var(--text-light-muted);
  max-width: 40ch;
}

.section__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.section__grid--bookings { grid-template-columns: 1fr 1fr; }

@media (max-width: 860px) {
  .section__grid, .section__grid--bookings {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* =========================================================
   Biography prose
   ========================================================= */
.prose { display: flex; flex-direction: column; gap: 1.2rem; }
.prose p { color: var(--text-light-primary); max-width: 62ch; }
.prose p:first-of-type { font-size: 1.08rem; }

/* =========================================================
   Spec sheet
   ========================================================= */
.spec-sheet {
  max-width: 720px;
  margin-inline: auto;
  border-top: 1px solid var(--ink-line);
}
.spec-sheet__row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 0.92rem;
}
.spec-sheet__row dt {
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  align-self: center;
}
.spec-sheet__row dd { color: var(--text-dark-primary); }

@media (max-width: 560px) {
  .spec-sheet__row { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* =========================================================
   Contact card + booking form
   ========================================================= */
.contact-card {
  margin-top: 2rem;
  border: 1px solid var(--ivory-line);
  background: var(--ivory-raised);
}
.contact-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--ivory-line);
  transition: background-color 0.15s ease;
}
.contact-card__row:last-child { border-bottom: none; }
.contact-card__row:hover { background: var(--ivory-line); }
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light-muted);
}
.contact-card__value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ember-dark);
  text-align: right;
}

.booking-form {
  background: var(--ivory-raised);
  border: 1px solid var(--ivory-line);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light-muted);
}
.field input, .field textarea {
  border: 1px solid var(--ivory-line);
  background: var(--ivory);
  color: var(--text-light-primary);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink-raised);
  border-top: 1px solid var(--ink-line);
  padding-block: 2.5rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.site-footer__brand { display: flex; align-items: center; gap: 0.7rem; }
.site-footer__name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.02em; }
.site-footer__label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dark-muted); }
.site-footer__links {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.site-footer__links a { color: var(--text-dark-muted); }
.site-footer__links a:hover { color: var(--ember); }
.site-footer__meta {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dark-muted);
  border-top: 1px solid var(--ink-line);
  padding-top: 1.25rem;
  line-height: 1.7;
}
.site-footer__meta a { color: var(--brass); }

/* =========================================================
   Error pages
   ========================================================= */
.error-page { text-align: center; padding-block: 6rem; }
.error-page__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0.5rem 0 1rem;
}
.error-page__lede { color: var(--text-dark-muted); margin-bottom: 2rem; }
