/* ============================================================
   Mastery School of Music — Growth Proposal
   Visual system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette */
  --ivory: #F6F1E7;
  --ivory-soft: #FAF6EE;
  --ivory-deep: #ECE4D2;
  --paper: #FFFDF8;

  --ink: #1B1A17;            /* soft black */
  --ink-2: #2A2825;
  --charcoal: #4A4641;
  --warm-gray: #8A847B;
  --warm-gray-2: #B5AEA2;
  --hairline: #D8D0BF;

  --gold: #B08A3E;           /* muted gold */
  --gold-soft: #C9A55F;
  --gold-deep: #8E6E2A;

  --burgundy: #6E1F2A;       /* deep burgundy */
  --burgundy-soft: #8C2E3B;

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

deck-stage > section {
  width: 1920px;
  height: 1080px;
  background: var(--ivory);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  font-family: var(--sans);
}

/* ============================================================
   Slide chrome — common header/footer
   ============================================================ */

.slide-pad {
  padding: 96px 120px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 22px;
  margin-bottom: 56px;
}

.slide-eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}

.slide-meta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 500;
  display: flex;
  gap: 28px;
  align-items: center;
}

.slide-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--warm-gray-2);
}

.slide-footer {
  position: absolute;
  left: 120px;
  right: 120px;
  bottom: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.slide-footer .brand-mark {
  display: flex; align-items: center; gap: 14px;
}

.brand-glyph {
  width: 22px; height: 22px;
  border: 1.5px solid var(--gold);
  position: relative;
  display: inline-block;
}
.brand-glyph::before {
  content: ''; position: absolute; inset: 4px;
  background: var(--gold);
}

/* ============================================================
   Type scale
   ============================================================ */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 120px;
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 84px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.15;
  color: var(--ink);
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.35;
  color: var(--ink-2);
  font-style: italic;
}

.body-lg {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink-2);
}

.body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
}

.body-sm {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
}

.caption {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.gold { color: var(--gold-deep); }
.burgundy { color: var(--burgundy); }
.italic { font-style: italic; }

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* ============================================================
   Atoms
   ============================================================ */

.rule {
  height: 1px;
  background: var(--hairline);
  width: 100%;
}

.rule-gold {
  height: 1px;
  background: var(--gold);
  width: 64px;
}

.numlabel {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
}

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
}
.tag.gold { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.tag.burgundy { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }

.disclaimer {
  font-family: var(--sans);
  font-size: 14px;
  font-style: italic;
  color: var(--warm-gray);
  letter-spacing: 0.01em;
}

/* ============================================================
   Photo placeholders — abstract, refined
   ============================================================ */

.photo {
  position: relative;
  background: var(--ivory-deep);
  overflow: hidden;
}
.photo .photo-label {
  position: absolute;
  left: 20px; bottom: 18px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  z-index: 5;
}
.photo .photo-frame {
  position: absolute;
  inset: 0;
}

/* Piano keys placeholder */
.photo-piano {
  background:
    linear-gradient(180deg, #1a1815 0%, #2a2520 100%);
}
.photo-piano::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 58%;
  background:
    repeating-linear-gradient(
      90deg,
      #f4ecdb 0px,
      #f4ecdb 56px,
      #d8cfb8 56px,
      #d8cfb8 58px
    );
}
.photo-piano::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 25%;
  height: 33%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 22px,
      #1a1612 22px,
      #1a1612 56px,
      transparent 56px,
      transparent 116px
    );
  /* black keys spaced like real piano */
  background:
    repeating-linear-gradient(
      90deg,
      #161310 0px,
      #161310 36px,
      transparent 36px,
      transparent 56px,
      #161310 56px,
      #161310 92px,
      transparent 92px,
      transparent 168px,
      #161310 168px,
      #161310 204px,
      transparent 204px,
      transparent 224px,
      #161310 224px,
      #161310 260px,
      transparent 260px,
      transparent 280px,
      #161310 280px,
      #161310 316px,
      transparent 316px,
      transparent 392px
    );
}
.photo-piano-glow::after {
  background-image:
    radial-gradient(ellipse at 30% 0%, rgba(176,138,62,0.22), transparent 60%),
    repeating-linear-gradient(
      90deg,
      #161310 0px,
      #161310 36px,
      transparent 36px,
      transparent 56px,
      #161310 56px,
      #161310 92px,
      transparent 92px,
      transparent 168px,
      #161310 168px,
      #161310 204px,
      transparent 204px,
      transparent 224px,
      #161310 224px,
      #161310 260px,
      transparent 260px,
      transparent 280px,
      #161310 280px,
      #161310 316px,
      transparent 316px,
      transparent 392px
    );
}

/* Sheet music placeholder */
.photo-sheet {
  background: linear-gradient(180deg, #f7f1e2 0%, #ece3cd 100%);
}
.photo-sheet::before {
  content: '';
  position: absolute;
  inset: 12% 8%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 28px,
      #2a2520 28px,
      #2a2520 29px,
      transparent 29px,
      transparent 38px,
      #2a2520 38px,
      #2a2520 39px,
      transparent 39px,
      transparent 48px,
      #2a2520 48px,
      #2a2520 49px,
      transparent 49px,
      transparent 58px,
      #2a2520 58px,
      #2a2520 59px,
      transparent 59px,
      transparent 130px
    );
  opacity: 0.55;
}

/* Burgundy curtain / classroom ambient */
.photo-burgundy {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(176,138,62,0.18), transparent 60%),
    linear-gradient(135deg, #4d141c 0%, #6E1F2A 50%, #2a0a10 100%);
}

/* Charcoal */
.photo-charcoal {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(176,138,62,0.15), transparent 55%),
    linear-gradient(135deg, #2a2825 0%, #1B1A17 100%);
}

/* Ivory soft */
.photo-ivory {
  background:
    radial-gradient(ellipse at 40% 30%, #fbf6e7 0%, #ece3cd 60%, #d8cfb8 100%);
}

/* ============================================================
   Page-number & deck-stage overrides
   ============================================================ */

deck-stage::part(slide-counter) {
  font-family: var(--sans);
  letter-spacing: 0.18em;
}
