/* ============================================================
   Know Name Studios — Modern brand system (v2)
   Colors sourced directly from logo mark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --maroon: #570217;
  --maroon-bright: #7A0E2A;
  --maroon-tint: #FBEAEE;
  --ink: #180C10;
  --ink-soft: #2E2126;
  --white: #FFFFFF;
  --bg-alt: #FAF8F8;
  --line: #ECE4E6;
  --text: #241A1E;
  --text-soft: #6B5F63;

  --display: 'Playfair Display', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- eyebrow labels ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 0 -2px var(--white), 0 4px 0 -2px var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1140px;
  margin: 0 auto;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark img { height: 40px; width: auto; display: block; }
.wordmark-text { display: none; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text-soft);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--maroon); border-color: var(--maroon); }

.nav-cta {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: var(--maroon);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--maroon);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--maroon-bright); border-color: var(--maroon-bright); transform: translateY(-1px); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--maroon);
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}
.btn-solid { background: var(--maroon); color: var(--white); }
.btn-solid:hover { background: var(--maroon-bright); border-color: var(--maroon-bright); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-outline:hover { background: var(--maroon-tint); }

.text-link {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  color: var(--maroon);
  border-bottom: 1.5px solid var(--maroon);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--maroon-bright); border-color: var(--maroon-bright); }

/* ---------- hero ---------- */
.hero {
  padding: 110px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-tag { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 20px 0 26px;
  color: var(--ink);
  max-width: 780px;
}
.hero h1 em { font-style: italic; color: var(--maroon); font-weight: 600; }
.hero p.lede {
  font-size: 20px;
  max-width: 540px;
  color: var(--text-soft);
  margin: 0 0 40px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.ledger-rule {
  border: none;
  height: 5px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0;
}

/* ---------- section scaffolding ---------- */
section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: #E8A9B8; }
.section-deep { background: var(--bg-alt); }

h2.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.15;
  margin: 14px 0 20px;
  max-width: 620px;
  color: var(--ink);
}
.section-dark h2.section-title { color: var(--white); }

.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.section-intro p { max-width: 400px; color: var(--text-soft); font-size: 16.5px; }
.section-dark .section-intro p { color: #C9BFC3; }

/* ---------- card grid ---------- */
.card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .card-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-row { grid-template-columns: 1fr; } }

.index-card {
  background: var(--white);
  border: 1px solid var(--line);
  outline: 1px solid var(--line);
  outline-offset: 5px;
  border-radius: 4px;
  padding: 30px 26px 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s, outline-color 0.2s;
}
.index-card::before {
  content: '';
  position: absolute;
  top: -9px; left: -9px;
  width: 16px; height: 16px;
  border-top: 1.5px solid var(--maroon);
  border-left: 1.5px solid var(--maroon);
  opacity: 0.55;
}
.index-card::after {
  content: '';
  position: absolute;
  bottom: -9px; right: -9px;
  width: 16px; height: 16px;
  border-bottom: 1.5px solid var(--maroon);
  border-right: 1.5px solid var(--maroon);
  opacity: 0.55;
}
.index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(87, 2, 23, 0.09);
  border-color: var(--maroon-tint);
  outline-color: var(--maroon-tint);
}
.index-card:hover::before, .index-card:hover::after { opacity: 1; }
.index-card .card-no {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--maroon-tint);
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 20px;
}
.index-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
  margin: 0 0 12px;
  color: var(--ink);
}
.index-card p { font-size: 15px; color: var(--text-soft); margin: 0 0 18px; }
.index-card .card-price {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  color: var(--maroon);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ---------- timeline / process rows ---------- */
.ledger-list { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.4fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 700px) {
  .ledger-row { grid-template-columns: 40px 1fr; }
  .ledger-row .ledger-desc { grid-column: 2 / 3; margin-top: 8px; }
}
.ledger-row .ledger-no {
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: 20px;
  color: var(--maroon);
}
.ledger-row h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  margin: 0;
  color: var(--ink);
}
.ledger-row p { margin: 0; color: var(--text-soft); font-size: 15.5px; }
.section-dark .ledger-row { border-color: rgba(255,255,255,0.14); }
.section-dark .ledger-row h4 { color: var(--white); }
.section-dark .ledger-row p { color: #C9BFC3; }
.section-dark .ledger-row .ledger-no { color: #E8A9B8; }
.section-dark .ledger-list { border-color: rgba(255,255,255,0.14); }

/* ---------- quote / pull ---------- */
.pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  max-width: 760px;
  color: var(--ink);
}
.section-dark .pull { color: var(--white); }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #C9BFC3; padding: 68px 0 36px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 28px;
}
footer .wordmark-text { color: var(--white); }
footer .wordmark-text em { color: #E8A9B8; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8A9B8;
  margin: 0 0 14px;
}
.footer-col a { display: block; text-decoration: none; color: #C9BFC3; font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--body);
  font-size: 12.5px;
  color: #8A7D82;
}

/* ---------- generic page hero ---------- */
.page-hero { padding: 76px 0 56px; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1;
  margin: 18px 0 20px;
  color: var(--ink);
  max-width: 760px;
}
.page-hero p.lede { font-size: 18.5px; max-width: 540px; color: var(--text-soft); }

/* ---------- two column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- tag ---------- */
.tag {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--maroon-tint);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item h4 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 0 0 10px; color: var(--ink); }
.faq-item p { margin: 0; color: var(--text-soft); font-size: 15.5px; }

/* ---------- form ---------- */
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--text);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--maroon);
}

/* ---------- portrait/portfolio frames ---------- */
.frame {
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, #7A0E2A, #570217 55%, #2E2126 130%);
  border-radius: 4px;
  outline: 1px solid var(--line);
  outline-offset: 6px;
  position: relative;
  overflow: visible;
}
.frame::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  width: 18px; height: 18px;
  border-top: 1.5px solid var(--maroon);
  border-left: 1.5px solid var(--maroon);
}
.frame .frame-label {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,0.92);
  padding: 6px 11px;
  border-radius: 999px;
}

/* ---------- coming soon placeholder treatment ---------- */
.frame.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.coming-soon-inner { text-align: center; padding: 20px; }
.vinyl-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,0.22) 0 2px, transparent 2px 7px);
  border: 1.5px solid rgba(255,255,255,0.55);
  position: relative;
  animation: spin 9s linear infinite;
}
.vinyl-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 11px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.vinyl-icon.audio-synced {
  animation-duration: 2.6s;
  animation-play-state: paused;
}
.vinyl-icon.audio-synced.is-playing {
  animation-play-state: running;
}
.vinyl-icon .vinyl-label {
  position: absolute;
  top: 50%; left: 50%;
  width: 62%; height: 62%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  padding: 5px;
  object-fit: contain;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.coming-soon-tag {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}
.coming-soon-title {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--white);
  line-height: 1.35;
}
