/* One Afternoon Crafts — shared creator-deck styles (landscape slides, print-to-PDF ready) */
:root {
  --cream: #FAF5EB;
  --cream-deep: #F2EADB;
  --cream-warm: #EDE0CA;
  --ink: #1F1A14;
  --ink-soft: #4F4639;
  --ink-mute: #756A58;
  --rule: #DDD0B6;
  --terracotta: #B85A3E;
  --terracotta-deep: #964428;
  --cyan-deep: #1E3F7A;
  --plum: #6B3850;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream-deep);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: 'Fraunces', Georgia, serif; }
.hand { font-family: 'Caveat', cursive; }

/* SLIDE FRAME */
.slide {
  width: 1100px;
  max-width: calc(100vw - 32px);
  aspect-ratio: 11 / 8.5;
  margin: 32px auto;
  background: var(--cream);
  padding: 60px 72px 72px;
  box-shadow: 0 30px 80px -30px rgba(31, 26, 20, 0.25);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slide-marker {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--terracotta-deep);
  line-height: 1;
}
.slide-marker span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 8px;
}

.slide-foot {
  position: absolute;
  bottom: 24px;
  left: 72px;
  right: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.slide-foot-brand {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

/* COVER SLIDE */
.slide.cover {
  background: linear-gradient(155deg, var(--cream-warm) 0%, var(--cream) 60%);
}
.cover-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  height: 100%;
}
.cover-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  color: var(--terracotta-deep);
  margin-bottom: 14px;
  line-height: 1;
}
.cover h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--ink);
}
.cover h1 em {
  font-style: italic;
  color: var(--terracotta-deep);
}
.cover-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 21px;
  color: var(--ink-soft);
  max-width: 30ch;
  line-height: 1.35;
}
.cover-portrait {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4/5;
  max-height: 460px;
  align-self: center;
  justify-self: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(155deg, #C89472 0%, #B85A3E 40%, #6B3850 100%);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 30px 60px -20px rgba(31, 26, 20, 0.3);
}
.cover-portrait-tag {
  position: absolute;
  bottom: -28px;
  right: -12px;
  background: var(--cream);
  padding: 12px 18px;
  transform: rotate(3deg);
  border-radius: 3px;
  box-shadow: 0 10px 30px -10px rgba(31,26,20,0.15);
  z-index: 2;
}
.cover-portrait-tag-name {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  color: var(--ink);
  line-height: 1;
}
.cover-portrait-tag-role {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* REAL PHOTOS fill the placeholder frames */
.cover-portrait img,
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* GENERIC SLIDE */
.slide-tag {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: var(--terracotta-deep);
  margin-bottom: 14px;
  line-height: 1;
}
.slide-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 28px;
  max-width: 24ch;
}
.slide-title em {
  font-style: italic;
  color: var(--terracotta-deep);
}
.slide-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}
.slide-body p {
  margin-bottom: 16px;
  max-width: 64ch;
}
.slide-body p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  line-height: 0.8;
  float: left;
  margin: 6px 12px -6px 0;
  color: var(--terracotta-deep);
  font-weight: 500;
}
.slide-body.no-cap p:first-of-type::first-letter {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  float: none;
  margin: 0;
  color: inherit;
  font-weight: inherit;
}

/* DEAL SLIDE */
.deal-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin: 24px 0 32px;
}
.deal-num {
  background: var(--cream-deep);
  padding: 28px 24px;
  border-radius: 4px;
  border-left: 3px solid var(--terracotta);
}
.deal-num-big {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.deal-num-lbl {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.deal-pts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.deal-pt {
  font-size: 15px;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
  color: var(--ink);
}
.deal-pt::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 600;
}

/* TEAM SLIDE */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
}
.team-card {
  background: var(--cream-deep);
  padding: 24px 20px;
  border-radius: 4px;
}
.team-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--plum) 100%);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.team-photo.vince {
  background: linear-gradient(135deg, var(--cyan-deep) 0%, #4A4040 100%);
}
.team-photo.kory {
  background: linear-gradient(135deg, #5C6B4A 0%, var(--terracotta-deep) 100%);
}
.team-photo::after {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 42px;
}
.team-photo:has(img)::after { content: none; }
.team-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.team-role {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 14px;
  font-style: italic;
}
.team-bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.team-bio strong { color: var(--ink); font-weight: 600; }

/* SPLIT SLIDE */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.split-col {
  padding: 28px;
  border-radius: 4px;
}
.split-col.you { background: var(--cream-deep); }
.split-col.we { background: var(--ink); color: var(--cream); }
.split-col-label {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  margin-bottom: 8px;
  line-height: 1;
}
.split-col.you .split-col-label { color: var(--terracotta-deep); }
.split-col.we .split-col-label { color: #F4D4B8; }
.split-col h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.split-col ul { list-style: none; }
.split-col li {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.split-col li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 16px;
}
.split-col.we li::before { color: #F4D4B8; }

/* STEPS SLIDE */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
}
.step-card {
  background: var(--cream-deep);
  padding: 24px 22px;
  border-radius: 4px;
}
.step-num {
  font-family: 'Caveat', cursive;
  font-size: 36px;
  color: var(--terracotta-deep);
  margin-bottom: 12px;
  line-height: 1;
}
.step-card h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.2;
}
.step-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* LOOKING-FOR SLIDE */
.looking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 20px;
}
.looking-section h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--ink);
}
.looking-section ul { list-style: none; }
.looking-section li {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.looking-section li:last-child { border-bottom: 0; }
.looking-section.yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}
.looking-section.no li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ink-mute);
  font-weight: 600;
}
.looking-section.no li {
  color: var(--ink-mute);
  font-style: italic;
}

/* CLOSING SLIDE */
.slide.closing {
  background: var(--ink);
  color: var(--cream);
}
.slide.closing .slide-tag { color: #F4D4B8; }
.slide.closing .slide-title { color: var(--cream); }
.slide.closing .slide-title em { color: #F4D4B8; }
.slide.closing .slide-foot,
.slide.closing .slide-foot-brand { color: rgba(250,245,235,0.55); }
.slide.closing .slide-marker { color: #F4D4B8; }
.slide.closing .slide-foot-brand { color: var(--cream); }
.closing-letter {
  font-size: 19px;
  line-height: 1.7;
  color: var(--cream);
  max-width: 60ch;
  margin-bottom: 28px;
}
.closing-cta {
  margin-top: 8px;
  padding: 24px 28px;
  background: rgba(250,245,235,0.08);
  border-left: 3px solid var(--terracotta);
  border-radius: 3px;
  display: inline-block;
  max-width: 60ch;
}
.closing-cta-label {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: #F4D4B8;
  line-height: 1;
  margin-bottom: 8px;
}
.closing-cta-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
}
.closing-cta-text strong { color: #F4D4B8; }
.closing-sig {
  font-family: 'Caveat', cursive;
  font-size: 44px;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 6px;
}
.closing-sig-role {
  font-size: 13px;
  color: rgba(250,245,235,0.6);
  font-style: italic;
}

/* NAVIGATION (screen only) */
.nav-rail {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}
.nav-rail a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(31, 26, 20, 0.15);
  cursor: pointer;
  transition: background 0.2s;
  display: block;
}
.nav-rail a:hover { background: var(--terracotta); }

/* PRINT — exact landscape pages, one slide each */
@media print {
  @page { size: 1100px 850px; margin: 0; }
  html, body {
    background: white;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .slide {
    box-shadow: none;
    page-break-before: always;
    break-before: page;
    page-break-inside: avoid;
    break-inside: avoid;
    margin: 0;
    width: 1100px;
    height: 850px;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0;
    overflow: hidden;
  }
  .slide:first-of-type { page-break-before: avoid; break-before: avoid; }
  .nav-rail { display: none; }
}

/* RESPONSIVE (screen only — must not affect print, or grids collapse in the PDF) */
@media screen and (max-width: 880px) {
  .slide { padding: 36px 28px 56px; aspect-ratio: auto; min-height: 70vh; }
  .slide-foot { left: 28px; right: 28px; }
  .cover-grid { grid-template-columns: 1fr; gap: 32px; }
  .cover h1 { font-size: 38px; }
  .deal-numbers { grid-template-columns: 1fr; gap: 12px; }
  .deal-pts { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .looking-grid { grid-template-columns: 1fr; gap: 28px; }
  .slide-title { font-size: 32px; }
  .nav-rail { display: none; }
}
