:root {
  /* Tokens — spacing scale (4/8/16/24/32/48/64) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;

  /* Color — tinted grays, not #000; 5-9 shades per hue */
  --ink: #0f172a;        /* slate-900 */
  --ink-soft: #475569;   /* slate-600 */
  --muted: #94a3b8;      /* slate-400 */
  --bg: #f8fafc;         /* slate-50 */
  --card: #ffffff;
  --border: #e2e8f0;     /* slate-200 */
  --border-soft: #f1f5f9; /* slate-100 */

  --navy: #0f172a;
  --navy-soft: #1e293b;
  --accent: #d97706;     /* amber-600 */
  --accent-light: #fcd34d; /* amber-300 */
  --accent-dark: #b45309;  /* amber-700 */
  --gold: #f59e0b;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Modular type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease both; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 var(--space-4); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.brand span { color: var(--accent); }

.tabs { display: flex; gap: var(--space-1); flex-wrap: wrap; }

.tab {
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tab:hover { color: var(--ink); background: var(--border-soft); border-color: var(--border); }

.tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.tab-badge {
  font-size: var(--text-xs);
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
}

/* ============ SECTIONS / TABS ============ */
.tab-panel { display: none; }

.tab-panel.active { display: block; }

/* ============ HERO (Overview) ============ */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 40px var(--space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.10) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
}

.hero .eyebrow {
  max-width: 76ch;
  margin: 0 auto 16px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.hero .subheadline {
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  color: #fff;
  margin: 0 auto 24px;
  max-width: 60ch;
  text-wrap: balance;
}

.hero-body {
  max-width: 78ch;
  margin: 0 auto;
  text-align: left;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-body p + p { margin-top: 12px; }

.hero .closing-statement {
  max-width: 78ch;
  margin: 20px auto;
  color: #f1f5f9;
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero .credibility-line {
  margin: 20px auto;
  max-width: 76ch;
  color: var(--accent-light);
  font-size: 0.875rem;
  line-height: 1.7;
}

.hero .btn-primary { background: var(--accent-dark); }
.hero .btn-primary:hover { background: #92400e; }
.hero .btn { min-height: 48px; line-height: 1.4; }
.hero .btn:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 5px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: var(--space-3);
  display: block;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  max-width: 860px;
  margin: 0 auto var(--space-4);
  letter-spacing: -0.03em;
}

.lede {
  font-size: var(--text-lg);
  color: #cbd5e1;
  max-width: 64ch;
  margin: 0 auto var(--space-6);
  font-weight: 400;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: -0.01em;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgb(217, 119, 6, 0.35);
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgb(217, 119, 6, 0.45); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; }

.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}

.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* ============ GENERAL SECTIONS ============ */
.section { padding: var(--space-7) var(--space-4); }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  text-align: center;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-7);
  align-items: start;
}

.about-photo { display: flex; justify-content: center; }

.vinnie-photo {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--card);
  background: var(--navy);
}

.about-body h3 { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.15; margin-bottom: var(--space-3); letter-spacing: -0.02em; }
.about-body p { color: var(--ink-soft); margin-bottom: var(--space-4); font-size: var(--text-base); line-height: 1.7; max-width: 60ch; }

/* ============ TESTIMONIALS ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.quote { font-size: var(--text-5xl); line-height: 1; color: var(--accent-light); margin-bottom: var(--space-3); font-family: var(--font-display); }
.testimonial-text { font-size: var(--text-base); color: var(--ink-soft); margin-bottom: var(--space-4); font-style: italic; line-height: 1.7; }
.testimonial-author { font-weight: 600; color: var(--ink); font-size: var(--text-sm); margin-top: auto; }

/* ============ BOOK ============ */
.book-section { text-align: center; }
.book-section .lede { color: var(--ink-soft); }
.booking-calendar { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.booking-calendar iframe { display: block; width: 100%; height: 850px; border: 0; }
.booking-fallback { margin-top: 24px; color: var(--ink-soft); font-size: 0.875rem; }
.booking-fallback a { color: #92400e; text-decoration: underline; text-underline-offset: 3px; }
.booking-fallback a:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
@media (max-width: 560px) {
  .booking-calendar iframe { height: 1050px; }
}
.book-section .lede { margin-bottom: var(--space-6); max-width: 64ch; margin-left: auto; margin-right: auto; }

.booking-placeholder {
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
  box-shadow: var(--shadow-sm);
}

.booking-placeholder p { color: var(--muted); margin-bottom: var(--space-2); font-size: var(--text-base); }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: #94a3b8;
  text-align: center;
  padding: var(--space-7) var(--space-4);
  border-top: 1px solid #1e293b;
}

.footer p { margin-bottom: var(--space-2); font-size: var(--text-sm); }
.footer-note { color: var(--gold); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; }

/* ============ RESPONSIVE ============ */
.handshake-hero {
  /* Fit the full photo height so neither Vinny's head nor the handshake is cropped. */
  background: #11253e url("public/assets/vinny-handshake.png") right top / auto 100% no-repeat;
  padding: 80px max(32px, calc((100vw - 1280px) / 2)) 48px;
  text-align: left;
}

.handshake-hero::before { display: none; }
.handshake-hero .hero-content { max-width: 570px; }
.handshake-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
}
.handshake-hero .eyebrow { margin: 0 0 16px; }
.handshake-hero .subheadline {
  margin: 0 0 24px;
  color: var(--accent-light);
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
}
.handshake-hero .hero-body { margin: 0; }
.handshake-hero .closing-statement { margin: 20px 0 36px; font-weight: 600; }
.handshake-hero .cta-row { justify-content: flex-start; gap: 12px; }
.handshake-hero .btn-primary { background: #e77d00; color: #fff; }
.handshake-hero .btn-primary:hover { background: #ba6100; }
.handshake-hero .btn-outline-light { background: transparent; border-color: #cbd5e1; }
.handshake-hero .btn-outline-light:hover { background: rgb(255 255 255 / 0.12); }
.handshake-hero .credibility-line { margin: 32px 0 0; color: #cbd5e1; font-size: 0.8125rem; }

/* Keep the complete photo separate from copy when horizontal space is limited. */
@media (max-width: 1100px) {
  #overview .handshake-hero {
    background-image: none;
    padding: 0 0 36px;
  }
  .handshake-hero::before {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    border-radius: 0;
    background: url("public/assets/vinny-handshake.png") center / cover no-repeat;
  }
  .handshake-hero .hero-content { max-width: 640px; margin: 0 auto; padding: 32px 24px 0; }
}

@media (max-width: 560px) {
  .handshake-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .handshake-hero .hero-content { padding: 24px 20px 0; }
  .handshake-hero .cta-row { flex-direction: column; max-width: none; margin: 0; }
  .handshake-hero .btn { width: 100%; }
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .vinnie-photo { width: 280px; height: 340px; }
  .hero { padding: 36px var(--space-4); }
  .section { padding: var(--space-6) var(--space-4); }
}

@media (max-width: 560px) {
  .nav-inner { justify-content: center; }
  .hero { padding: 32px var(--space-3); }
  .hero .eyebrow { font-size: 0.7rem; letter-spacing: 0.08em; }
  .hero .cta-row { align-items: stretch; max-width: 360px; margin: 0 auto; }
  .section { padding: var(--space-5) var(--space-3); }
  .tabs { gap: var(--space-1); }
  .tab { padding: var(--space-1) var(--space-3); font-size: var(--text-xs); }
  .cta-row { flex-direction: column; align-items: center; }
  .vinnie-photo { width: 240px; height: 300px; }
}
