/* Dan Kimpel — 2026 Redesign */

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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:    #c0387f;
  --pink-dk: #97215e;
  --pink-lt: #f9eef4;
  --dark:    #1a1a1a;
  --mid:     #444;
  --light:   #f5f5f5;
  --white:   #ffffff;
  --max:     1100px;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--pink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pink-dk); text-decoration: underline; }

/* ── Nav ── */
.site-nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.03em;
  padding: 1rem 0;
  white-space: nowrap;
}

.nav-logo:hover { color: var(--pink); text-decoration: none; }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  color: #ccc;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.15rem 0.9rem;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--pink);
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  max-height: 620px;
  overflow: hidden;
  background: var(--dark);
}

.hero.hero-tall {
  height: 88vh;
  min-height: 620px;
  max-height: 820px;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.82;
}

.hero img.pos-center { object-position: center center; }
.hero img.pos-top    { object-position: center top; }
.hero img.pos-30     { object-position: center 30%; }

.hero-caption {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max);
  padding: 0 1.5rem;
}

.hero-caption h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

.hero-caption p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-top: 0.6rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  letter-spacing: 0.04em;
}

/* ── Page wrapper ── */
.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

/* ── Section heading ── */
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pink);
  display: inline-block;
}

/* ── Two-column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.two-col.reverse {
  grid-template-columns: 300px 1fr;
}

@media (max-width: 768px) {
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
  }
}

/* ── Text blocks ── */
.prose p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: var(--mid);
}

.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }
.prose strong { font-weight: 600; color: var(--dark); }

/* ── Sidebar ── */
.sidebar {
  background: var(--light);
  border-top: 3px solid var(--pink);
  padding: 1.5rem;
}

.sidebar h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.sidebar ul { list-style: none; padding: 0; }

.sidebar ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
  color: var(--mid);
}

.sidebar ul li:last-child { border-bottom: none; }
.sidebar ul li a { color: var(--pink); font-weight: 500; }

/* ── Photo caption ── */
.photo-block { text-align: center; }

.photo-block img {
  width: 100%;
  border: 4px solid var(--light);
}

.photo-block figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
}

/* ── Celeb photo strip ── */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.photo-strip figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
}

.photo-strip figure figcaption {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
  margin-top: 0.4rem;
  text-align: center;
}

@media (max-width: 600px) {
  .photo-strip { grid-template-columns: 1fr; }
}

/* ── Books grid ── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.books-grid .quotes-block {
  margin: 0;
}

.book-card {
  border: 1px solid #e0e0e0;
  padding: 1.2rem;
  transition: box-shadow 0.2s;
}

.book-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.book-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1rem;
  display: block;
}

.book-card h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.book-card p {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.book-card .buy-link {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  text-transform: uppercase;
  transition: background 0.2s;
}
.book-card .buy-link:hover {
  background: var(--pink-dk);
  text-decoration: none;
}

/* ── Quotes block ── */
.quotes-block {
  background: var(--pink-lt);
  border-left: 4px solid var(--pink);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}

.page-wrap > .quotes-block:last-child,
.page-wrap .quotes-block:last-of-type {
  margin-bottom: 0;
}

.quotes-block blockquote {
  font-style: italic;
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 0.5rem;
}

.quotes-block cite {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  font-style: normal;
}

/* ── Bio writing tips ── */
.tips-list {
  counter-reset: tips;
  list-style: none;
  padding: 0;
}

.tips-list {
  counter-reset: tips;
  list-style: none;
  padding: 0;
}

.tips-list li {
  counter-increment: tips;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #eee;
}

.tips-list li::before {
  content: counter(tips);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1.2;
  grid-row: 1 / 3;
  padding-top: 0.1rem;
}

.tips-list li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.tips-list li span {
  display: block;
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ── Example boxes ── */
.example-box {
  background: var(--light);
  border-left: 3px solid var(--pink);
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--mid);
  font-style: italic;
}

/* ── Seminars venue list ── */
.venues {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0;
}

.venues li {
  font-size: 0.9rem;
  color: var(--mid);
  padding: 0.25rem 0;
  break-inside: avoid;
}

.venues li::before {
  content: "→ ";
  color: var(--pink);
  font-weight: 600;
}

@media (max-width: 600px) { .venues { columns: 1; } }

/* ── Services list ── */
.services-section { margin-bottom: 2rem; }

.services-section h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.75rem;
}

.services-list { list-style: none; padding: 0; }

.services-list li {
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 2px solid #e0e0e0;
  font-size: 0.95rem;
  color: var(--mid);
  margin-bottom: 0.3rem;
}

/* ── Contact ── */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

@media (max-width: 600px) { .contact-block { grid-template-columns: 1fr; } }

.contact-info p { font-size: 1rem; color: var(--mid); margin-bottom: 0.6rem; }
.contact-info a { color: var(--pink); font-weight: 500; }

/* ── Video embed ── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 2rem 0;
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── CTA button ── */
a.cta-btn,
a.cta-btn:visited {
  color: var(--white);
}

.cta-btn {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: var(--pink-dk);
  color: var(--white);
  text-decoration: none;
}

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: #aaa;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  margin-top: 2rem;
}

.site-footer a { color: var(--pink); }

/* ── Responsive nav ── */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.9rem 1.5rem; border-top: 1px solid #333; }
  .site-nav { position: sticky; top: 0; }
}

/* ── Utility ── */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.text-pink { color: var(--pink); }
