/* ==========================================================================
   Paragon Tattoo Studio — stylesheet
   ========================================================================== */

:root {
  --black: #0b0b0c;
  --black-soft: #141416;
  --panel: #1b1b1e;
  --cream: #f3efe6;
  --cream-dim: #cfc9ba;
  --gold: #c9a24a;
  --gold-bright: #e6c874;
  --red: #7a1f1f;
  --border: rgba(201, 162, 74, 0.25);
  --radius: 2px;
  --maxw: 1180px;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

p { color: var(--cream-dim); margin: 0 0 16px; }

.lead { font-size: 1.15rem; color: var(--cream-dim); max-width: 640px; margin-left: auto; margin-right: auto; }

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.section.tight { padding: 64px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head p { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--cream);
  background: transparent;
  border-radius: var(--radius);
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn.solid { background: var(--gold); color: var(--black); }
.btn.solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

/* ---- Navigation ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: linear-gradient(to bottom, rgba(11,11,12,0.9), transparent);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(11,11,12,0.96);
  padding: 14px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--gold); }
.logo-img { height: 34px; width: auto; display: block; }
.footer-logo-img { height: 30px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-color: var(--gold);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background:
    radial-gradient(ellipse at top right, rgba(201,162,74,0.14), transparent 55%),
    linear-gradient(180deg, rgba(11,11,12,0.55), rgba(11,11,12,0.94) 70%, rgba(11,11,12,0.98)),
    url('../images/hero-studio.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-inner { max-width: 720px; text-align: center; }
.hero .eyebrow { color: var(--gold-bright); }
.hero-logo { display: block; max-width: 520px; width: 100%; height: auto; margin: 4px auto 2px; }
.hero-sub {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 26px;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta div { font-size: 12.5px; letter-spacing: 0.08em; color: var(--cream-dim); text-transform: uppercase; }
.hero-meta strong { display: block; color: var(--gold); font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0; text-transform: none; }

.page-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 60px;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.2), rgba(11,11,12,0.95)),
    repeating-linear-gradient(135deg, #17171a 0px, #17171a 2px, #0f0f11 2px, #0f0f11 40px);
  border-bottom: 1px solid var(--border);
}

/* ---- Media frames (photos, portraits, logos) ---- */
.ph {
  position: relative;
  background: linear-gradient(160deg, #1c1c1f, #0e0e10);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--cream-dim);
  text-align: center;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(201,162,74,0.05) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.ph iframe { position: relative; z-index: 1; }
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph-label {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius);
  background: rgba(11,11,12,0.5);
}
.ph.square { aspect-ratio: 1 / 1; }
.ph.portrait { aspect-ratio: 3 / 4; }
.ph.wide { aspect-ratio: 16 / 9; }

.ph.logo img { object-fit: contain; padding: 48px; }

/* ---- Cards / grids ---- */
.grid {
  display: grid;
  gap: 28px;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---- Artist profile ---- */
.artist {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  padding: 56px 0;
}
.artist:not(:last-child) { border-bottom: 1px solid var(--border); }
.artist-tags {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 22px;
}
.artist-tags span {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--gold); padding: 6px 12px; border-radius: var(--radius);
}

/* ---- Inline award list (e.g. Manny's Artists card) ---- */
.award-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.award-list li {
  font-size: 14px;
  color: var(--cream);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.award-list li:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
.award-list strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-right: 8px;
}
.award-list span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  opacity: 0.8;
}

/* ---- Guest artists ---- */
.guest-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.guest-card .ph { border: none; }
.guest-card-body { padding: 28px; }
.guest-role {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
}
.guest-portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

/* ---- Reviews carousel ---- */
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; }
.section-head .stars { display: block; margin-bottom: 8px; font-size: 1.1rem; }

.review-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.review-track {
  position: relative;
}
.review-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 48px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.review-card.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.review-card .stars { margin-bottom: 18px; }
.review-card p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 20px;
}
.review-author { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.review-author span { color: var(--cream-dim); text-transform: none; letter-spacing: 0; }

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
}
.review-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--cream);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.review-arrow:hover { background: var(--gold); color: var(--black); }
.review-dots { display: flex; gap: 9px; }
.review-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
}
.review-dots button.active { background: var(--gold); }

@media (max-width: 560px) {
  .review-card { padding: 32px 26px; }
  .review-card p { font-size: 1.05rem; }
}
.award-year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  min-width: 80px;
}
.award-body { flex: 1; }
.award-body h4 { margin-bottom: 4px; }
.award-body p { margin: 0; font-size: 14px; }

/* ---- Collaborations ---- */
.collab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}
.collab:not(:last-child) { border-bottom: 1px solid var(--border); }
.collab-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.collab-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 6px;
}
.collab-sub { color: var(--gold-bright); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.collab-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.info-row .k { min-width: 110px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.info-row .v { color: var(--cream); }

form.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.field input, .field textarea, .field select {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
}
.form-note { font-size: 13px; color: var(--cream-dim); margin-top: -4px; }

/* ---- Footer ---- */
.site-footer {
  padding: 56px 0 32px;
  background: var(--black-soft);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 13px; color: var(--cream-dim); }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.05em;
  color: var(--cream-dim);
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--cream-dim);
}

/* ---- Motion / scroll animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,.68,.32,1), transform 0.7s cubic-bezier(.22,.68,.32,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.hero-inner > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.8s ease forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.16s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.27s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.38s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.49s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.6s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Portfolio / photo hover zoom */
.ph { transition: border-color 0.3s ease, transform 0.35s ease; }
.ph img { transition: transform 0.6s ease; }
.ph:hover img { transform: scale(1.06); }

/* Card lift on hover */
.card, .guest-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover, .guest-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

/* Section title — gold tick draws in once the section reveals */
.section-head h2 {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-bright) 50%, var(--gold) 80%, transparent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(.22,.68,.32,1) 0.2s;
}
.section-head.is-visible h2::after { transform: translateX(-50%) scaleX(1); }

/* 3D tilt on photo frames (desktop, fine-pointer only — see main.js) */
.ph.tilt-active { transition: transform 0.06s linear; }

/* Ambient ember particles behind the hero copy */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

/* Custom cursor (desktop, fine-pointer only) */
body.has-custom-cursor, body.has-custom-cursor * { cursor: none; }
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor select { cursor: auto; }
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold-bright);
  opacity: 0;
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.2s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring { opacity: 0.85; }
.cursor-ring.is-hovering {
  width: 60px; height: 60px;
  border-color: var(--gold-bright);
  background: rgba(201,162,74,0.08);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-inner > * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .ph img, .card, .guest-card, .section-head h2::after { transition: none !important; }
}

/* ---- Utility ---- */
.cta-band {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(160deg, #17171a, #0b0b0c);
}
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .split, .artist, .collab, .contact-grid { grid-template-columns: 1fr; }
  .artist { gap: 24px; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(11,11,12,0.98);
    padding: 24px;
    gap: 18px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 560px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .award-list { grid-template-columns: 1fr; }
  .award-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); padding-bottom: 12px; }
  .award-list li:last-child { border-bottom: none; padding-bottom: 0; }
}
