/* ============================================
   N.D. ZERMAN — deepstory.ai
   Palette: White · Grey · Gold-Yellow
   Aesthetic: Refined Editorial Luxury
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:wght@400;500&display=swap');

:root {
  --white:        #FFFFFF;
  --off-white:    #F8F6F1;
  --warm-white:   #F2EFE8;
  --gold:         #C8A800;
  --gold-light:   #DFC93A;
  --gold-pale:    #FAF5D5;
  --gold-dark:    #8A7000;
  --grey-1:       #1A1A18;
  --grey-2:       #3D3D3A;
  --grey-3:       #6B6B67;
  --grey-4:       #9E9E9A;
  --grey-5:       #D4D2CB;
  --grey-6:       #ECEAE4;
  --border:       #E4E1D8;
  --border-soft:  #EEECE6;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:    1100px;
}

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

body {
  background: var(--white);
  color: var(--grey-2);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--grey-1);
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 3.5vw, 3rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--grey-3); line-height: 1.85; }
a  { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ---- SECTION LABEL ---- */
.sec-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.sec-label::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--gold);
  display: block;
  flex-shrink: 0;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.83rem; font-weight: 500;
  letter-spacing: 0.05em; text-decoration: none;
  background: var(--gold); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 100px;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.83rem; font-weight: 400;
  letter-spacing: 0.05em; text-decoration: none;
  background: transparent; color: var(--grey-1);
  padding: 0.85rem 2rem; border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--grey-4); background: var(--off-white); }

.btn-text {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.83rem; font-weight: 500;
  color: var(--gold-dark); text-decoration: none;
}
.btn-text::after { content: '→'; transition: transform 0.2s; }
.btn-text:hover::after { transform: translateX(4px); }

/* ============ NAVIGATION ============ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 1.75rem 0;
  transition: all 0.3s var(--ease);
}
nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem;
}
.nav-logo {
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 500;
  color: var(--grey-1); text-decoration: none; letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-logo em { font-style: normal; font-weight: 500; color: var(--grey-1); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.05em;
  color: var(--grey-3); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--grey-1); }
.nav-cta {
  background: var(--gold) !important; color: var(--white) !important;
  padding: 0.58rem 1.4rem !important; border-radius: 100px !important;
  font-weight: 500 !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--grey-1); display: block; transition: 0.3s; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  padding-top: 5rem;
  gap: 5rem;
}

.hero-content { padding: 4rem 0; }

.hero-eyebrow {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 1.75rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { display: none; }

.hero h1 {
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--grey-1);
}

.hero-name-sub {
  font-family: var(--font-body); font-style: normal;
  font-size: clamp(0.85rem, 1.4vw, 1rem); font-weight: 300;
  color: var(--grey-3); margin-top: -0.5rem; margin-bottom: 1.75rem;
  line-height: 1.75;
}
.hero-name-sub em { font-style: normal; color: var(--grey-3); }

.hero-desc {
  font-size: 1.05rem; color: var(--grey-3);
  max-width: 480px; margin-bottom: 2.75rem; line-height: 1.85;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-divider { width: 100%; height: 1px; background: var(--border); margin-bottom: 2rem; }

.hero-as-seen { }
.hero-as-seen-label {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-3); margin-bottom: 1rem; font-weight: 500;
}
.hero-outlets {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; align-items: center;
}
.hero-outlets span {
  font-family: var(--font-body); font-style: normal;
  font-size: 1rem; font-weight: 500; color: var(--grey-2);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.hero-outlets span:hover { color: var(--grey-1); }

/* Hero photo panel */
.hero-photo-panel {
  position: relative;
  height: 100%;
  min-height: 580px;
  align-self: stretch;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  background: var(--gold-pale);
  border-radius: 0 0 0 120px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

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

/* Placeholder until real photo added */
.hero-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: linear-gradient(160deg, var(--gold-pale) 0%, #EDD98A 100%);
}
.hero-photo-placeholder .ph-initials {
  width: 110px; height: 110px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: 2px solid rgba(160,120,48,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.5rem;
  color: var(--gold-dark); font-weight: 400;
}
.hero-photo-placeholder p {
  font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-dark); opacity: 0.6;
}

.hero-caption-pill {
  position: absolute;
  bottom: 2.5rem; left: -2rem;
  background: var(--white);
  border-radius: 8px;
  padding: 1.1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-left: 3px solid var(--gold);
  min-width: 220px;
}
.hero-caption-name {
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 500; color: var(--grey-1); margin-bottom: 0.2rem;
}
.hero-caption-role {
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--grey-4);
}

/* ============ ABOUT ============ */
.about {
  padding: 8rem 0;
  border-top: 1px solid var(--border-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem; align-items: start;
}

.about-text h2 { margin-bottom: 2rem; }
.about-text p  { margin-bottom: 1.25rem; }

.about-pull {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  border-radius: 0 8px 8px 0;
}
.about-pull p {
  font-family: var(--font-body); font-style: normal;
  font-size: 1.15rem; line-height: 1.6;
  color: var(--grey-1); margin: 0;
}
.about-pull cite {
  display: block; font-family: var(--font-body); font-style: normal;
  font-size: 0.72rem; letter-spacing: 0.1em; color: var(--grey-4);
  margin-top: 0.75rem;
}

.stats-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; margin-top: 3rem;
}
.stat { background: var(--white); padding: 1.75rem; }
.stat-num {
  font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 400; color: var(--gold-dark);
  line-height: 1; margin-bottom: 0.4rem;
}
.stat-lbl { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--grey-4); line-height: 1.4; }

.about-side p { margin-bottom: 1.25rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.05em;
  padding: 0.45rem 1rem; border-radius: 100px;
  border: 1px solid var(--border); color: var(--grey-3);
  background: var(--off-white); transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--gold-light); color: var(--gold-dark); }

/* ============ BOOK ============ */
.book {
  padding: 8rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.book-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 6rem; align-items: center;
}

.book-cover-wrap { position: relative; }

.book-cover-card {
  width: 100%; aspect-ratio: 2/3;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);
  background: var(--warm-white);
}
.book-cover-card img { width: 100%; height: 100%; object-fit: cover; }

.book-cover-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(150deg, var(--gold-pale) 0%, #E8D080 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.5rem; text-align: center; gap: 0.6rem;
}
.bcp-rule { width: 32px; height: 1.5px; background: var(--gold-dark); }
.bcp-title {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 500; color: var(--grey-1); line-height: 1.3;
}
.bcp-author { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); }

.book-decor {
  position: absolute; bottom: -10px; right: -10px;
  width: 100%; height: 100%;
  border: 1.5px solid var(--gold-light); border-radius: 8px; z-index: -1;
}

.book-content h2 { margin-bottom: 0.75rem; }
.book-tagline {
  font-family: var(--font-body); font-style: normal;
  font-size: 1.1rem; color: var(--gold-dark); margin-bottom: 1.75rem;
}
.book-content p { margin-bottom: 1.25rem; }

.book-details {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem;
  padding: 1.5rem 0; margin: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.book-detail-label { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-4); margin-bottom: 0.2rem; }
.book-detail-value { font-size: 0.88rem; color: var(--grey-2); }

.book-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============ SPEAKING ============ */
.speaking { padding: 8rem 0; }

.speaking-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: end; margin-bottom: 4rem;
}

.topics-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; margin-bottom: 3.5rem;
}
.topic-card {
  background: var(--white); padding: 2.25rem; transition: background 0.2s;
}
.topic-card:hover { background: var(--off-white); }
.topic-num {
  font-family: var(--font-body); font-style: normal;
  font-size: 2rem; color: var(--gold-light); line-height: 1; margin-bottom: 1rem;
}
.topic-title {
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 500; color: var(--grey-1); margin-bottom: 0.75rem; line-height: 1.3;
}
.topic-desc { font-size: 0.88rem; color: var(--grey-3); line-height: 1.75; }

.speaking-bottom {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}

.speaking-bottom-label {
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--grey-4); margin-bottom: 1rem;
}
.event-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.event-tag {
  font-size: 0.72rem; letter-spacing: 0.05em;
  padding: 0.45rem 1rem; border-radius: 100px;
  border: 1px solid var(--border); color: var(--grey-3); background: var(--off-white);
}

.speaking-cta-card {
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: 12px; padding: 2.5rem;
}
.speaking-cta-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.speaking-cta-card p  { font-size: 0.9rem; margin-bottom: 1.75rem; }

/* ============ PRESS ============ */
.press {
  padding: 8rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.press-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; margin-top: 3.5rem;
}
.press-card { background: var(--white); padding: 2rem; transition: background 0.2s; }
.press-card:hover { background: var(--warm-white); }
.press-outlet {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-dark);
  font-weight: 500; margin-bottom: 0.9rem;
}
.press-quote {
  font-family: var(--font-body); font-style: normal;
  font-size: 1rem; color: var(--grey-2); line-height: 1.65;
}

/* ============ CONTACT ============ */
.contact { padding: 8rem 0; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7rem; align-items: start;
}
.contact-left h2 { margin-bottom: 1.25rem; }
.contact-left p  { margin-bottom: 2rem; }

.contact-options {
  display: flex; flex-direction: column;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.contact-opt { background: var(--white); padding: 1.25rem 1.5rem; transition: background 0.2s; }
.contact-opt:hover { background: var(--off-white); }
.contact-opt-type {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 500; margin-bottom: 0.3rem;
}
.contact-opt-desc { font-size: 0.85rem; color: var(--grey-3); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey-4); font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 0.85rem 1.1rem;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 300;
  color: var(--grey-1); outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--grey-5); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; padding: 1rem; }

/* ============ FOOTER ============ */
footer { background: var(--grey-1); padding: 4rem 0 2.5rem; }
.footer-top {
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--white); margin-bottom: 0.6rem;
}
.footer-brand em { font-style: normal; color: var(--gold-light); }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 280px; }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.77rem; letter-spacing: 0.07em;
  color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.73rem; color: rgba(255,255,255,0.22); }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
  font-size: 0.71rem; letter-spacing: 0.09em;
  color: rgba(255,255,255,0.32); text-decoration: none; transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold-light); }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; }
.animate.in { animation: fadeUp 0.7s var(--ease) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 0; }
  .hero-photo-panel { min-height: 360px; border-radius: 0; }
  .hero-photo-bg { border-radius: 0; }
  .hero-caption-pill { left: 1.5rem; bottom: 1.5rem; }
  .hero-content { padding: 6rem 0 3rem; }
  .about-grid, .book-grid, .speaking-header,
  .speaking-bottom, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .book-cover-wrap { max-width: 240px; margin: 0 auto; }
  .press-grid { grid-template-columns: 1fr 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: rgba(255,255,255,0.98);
    align-items: center; justify-content: center;
    gap: 2.5rem; z-index: 99;
  }
  .nav-links.open a { font-size: 1.3rem; }
}
@media (max-width: 620px) {
  .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
  .press-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
