/*
Theme Name: Sean M Lee Signature Theme
Theme URI: https://seanmlee.org/
Author: OpenAI for Sean M Lee
Version: 2.0.0
Description: Custom WordPress theme for Sean M Lee with responsive homepage, books, consulting, media, biography, and contact pages.
Text Domain: seanmlee-signature
*/

:root {
  --navy: #0d2b46;
  --navy-deep: #08243b;
  --gold: #d2a34f;
  --gold-soft: #e6c17a;
  --cream: #f4efe7;
  --sand: #ede7dd;
  --ink: #22344d;
  --muted: #5b6677;
  --white: #ffffff;
  --line: rgba(13, 43, 70, .08);
  --shadow: 0 12px 30px rgba(8, 36, 59, .08);
  --radius: 28px;
  --max: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8f8f6;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
main { display: block; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  color: #2a3652;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: #4f5968;
  font-size: 15px;
  font-weight: 600;
}
.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--navy);
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  min-height: 64px;
  min-width: 152px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(13,43,70,.16);
}
.site-main { padding: 24px 0 56px; }
.section-card,
.panel,
.contact-section,
.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stack-32 > * + * { margin-top: 32px; }
.button,
button,
input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.button.navy,
input[type='submit'] {
  background: var(--navy);
  color: #fff;
}
.button.ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,.8);
  color: #fff;
}
.eyebrow {
  color: #596372;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 10px;
}
.section-title {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  color: #2a3652;
  line-height: 1.05;
  font-size: clamp(34px, 4vw, 52px);
}
.lead, .copy p, .panel p, .rich-copy p {
  color: #42536a;
  font-size: 18px;
  margin: 0 0 16px;
}
.hero-panel {
  overflow: hidden;
  padding: 0;
}
.hero-image-wrap {
  position: relative;
}
.hero-image {
  width: 100%;
  height: auto;
}
.hero-hotspot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(8,36,59,.16);
}
.hero-hotspot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.hero-hotspot.invite {
  left: 5.0%;
  top: 73.2%;
  background: var(--gold);
  color: var(--navy-deep);
}
.hero-hotspot.books {
  left: 23.2%;
  top: 73.2%;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.8);
}

.grid-2 {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 36px;
  align-items: center;
  padding: 30px;
}
.grid-2.reverse { grid-template-columns: 1fr 300px; }

.meet-visual {
  position: relative;
  min-height: 320px;
}
.meet-visual .foreground {
  position: relative;
  z-index: 2;
  width: min(100%, 280px);
  border-radius: 22px;
  box-shadow: 0 20px 36px rgba(8,36,59,.14);
}
.meet-visual .background-ghost {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 82%;
  opacity: .14;
  filter: saturate(.85);
  border-radius: 18px;
  z-index: 1;
}
.book-release {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 42%, rgba(255,255,255,.91) 56%, rgba(255,255,255,.88) 100%);
}
.book-grid {
  display: grid;
  grid-template-columns: 170px minmax(0,1fr) 330px;
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
}
.book-cover-stand {
  max-width: 170px;
  justify-self: start;
}
.book-promo {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 22px 42px rgba(8,36,59,.12);
}
.book-copy h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  color: #2a3652;
  line-height: 1;
  font-size: clamp(42px, 5vw, 64px);
}
.book-copy p {
  color: #42536a;
  margin: 0 0 18px;
  font-size: 18px;
}
.book-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.book-badge {
  color: #586374;
  font-size: 15px;
  margin-bottom: 12px;
}
.bullet-grid {
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 10px 18px;
}
.bullet-grid li {
  position: relative;
  padding-left: 18px;
  color: #42536a;
}
.bullet-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.panel {
  overflow: hidden;
}
.panel-copy {
  padding: 36px;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  align-items: stretch;
}
.panel-grid .visual-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-section {
  padding: 30px;
}
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.contact-list {
  margin: 0;
  padding-left: 18px;
  color: #42536a;
}
.notice {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 700;
}
.notice.success { background: #eef8f0; color: #255f2b; }
.notice.error { background: #fff1f1; color: #8b2a2a; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #405169;
  margin-bottom: 8px;
}
input[type='text'],
input[type='email'],
input[type='tel'],
select,
textarea {
  width: 100%;
  border: 1px solid rgba(13,43,70,.14);
  border-radius: 14px;
  background: #fff;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink);
}
textarea { min-height: 160px; resize: vertical; }
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2b46 0%, #143a5d 60%, #1f4d75 100%);
  color: #fff;
  padding: 64px 0;
  border-radius: var(--radius);
}
.page-hero.with-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,36,59,.9) 0%, rgba(8,36,59,.72) 45%, rgba(8,36,59,.35) 100%);
}
.page-hero.with-image .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.page-hero h1 {
  margin: 0 0 14px;
  line-height: .95;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 76px);
}
.page-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 20px;
  color: rgba(255,255,255,.88);
}
.page-wrap { width: min(var(--max), calc(100% - 40px)); margin: 28px auto 60px; }
.content-block + .content-block { margin-top: 28px; }
.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.content-pad { padding: 32px; }
.bio-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
}
.bio-layout .bio-card {
  background: linear-gradient(180deg, #f7f4ef 0%, #ffffff 100%);
}
.bio-layout .bio-card img {
  width: 100%;
  height: auto;
}
.bio-layout .bio-text {
  padding: 34px;
}
.bio-text p { color: #42536a; font-size: 18px; margin: 0 0 18px; }
.book-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 28px;
}
.book-card {
  background: linear-gradient(180deg, #fff 0%, #faf7f2 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.book-card .inner { padding: 28px; }
.book-card .cover {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #f7f4ee;
  padding: 24px;
}
.book-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  color: #2a3652;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.service-card {
  background: linear-gradient(180deg, #0d2b46 0%, #143a5d 100%);
  color: #fff;
  border-radius: 22px;
  padding: 24px;
  min-height: 210px;
}
.service-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.05;
}
.service-card p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 16px;
}
.image-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.image-grid-3 img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card {
  border-radius: 22px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--shadow);
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.logo-strip img {
  max-height: 120px;
  width: auto;
}
.cta-band {
  background: linear-gradient(135deg, #0d2b46 0%, #183e60 100%);
  color: #fff;
  border-radius: 24px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band p { margin: 0; color: rgba(255,255,255,.84); font-size: 18px; }
.site-footer {
  margin-top: 40px;
  background: var(--navy);
  color: #fff;
}
.footer-row {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 40px; height: 40px; border-radius: 4px;
}
.footer-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}
.footer-sub {
  color: rgba(255,255,255,.78);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,.78);
}
.mobile-menu-backdrop {
  display: none;
}
@media (max-width: 1100px) {
  .primary-nav ul { gap: 16px; font-size: 14px; }
  .book-grid { grid-template-columns: 160px minmax(0,1fr) 280px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 90vw);
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 34px rgba(8,36,59,.14);
    padding: 100px 24px 30px;
    transition: right .25s ease;
    z-index: 2000;
  }
  .primary-nav.open { right: 0; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .primary-nav a {
    display: block;
    padding: 14px 16px;
    background: #f8f8f7;
    border-radius: 14px;
    font-size: 16px;
  }
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8,36,59,.42);
    z-index: 1500;
  }
  .mobile-menu-backdrop.show { display: block; }
  .grid-2,
  .book-grid,
  .contact-grid,
  .panel-grid,
  .bio-layout,
  .book-list,
  .split-grid,
  .service-grid,
  .image-grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2.reverse { grid-template-columns: 1fr; }
  .book-cover-stand { max-width: 180px; }
  .book-promo { max-width: 420px; }
  .meet-visual { min-height: 0; }
  .meet-visual .background-ghost { width: 74%; }
  .bullet-grid { grid-template-columns: 1fr; }
  .footer-row, .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .wrap, .page-wrap, .page-hero .hero-inner { width: calc(100% - 24px); }
  .header-row { min-height: 86px; }
  .brand-title { font-size: 21px; }
  .menu-toggle {
    min-width: 132px;
    min-height: 58px;
    border-radius: 18px;
    font-size: 18px;
  }
  .site-main { padding-top: 18px; }
  .hero-panel { border-radius: 24px; }
  .hero-image-wrap { background: #fff; }
  .hero-image {
    width: 100%;
    height: auto;
  }
  .hero-hotspot {
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }
  .hero-hotspot.invite { left: 5.0%; top: 78.2%; }
  .hero-hotspot.books { left: 24.5%; top: 78.2%; }
  .grid-2,
  .contact-section,
  .content-pad,
  .panel-copy {
    padding: 22px;
  }
  .book-grid { padding: 22px; gap: 18px; }
  .book-copy h2 { font-size: clamp(36px, 8vw, 52px); }
  .section-title { font-size: clamp(30px, 9vw, 44px); }
  .lead, .copy p, .panel p, .rich-copy p, .bio-text p { font-size: 17px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand img { width: 34px; height: 34px; }
  .brand-title { font-size: 18px; }
  .menu-toggle {
    min-width: 124px;
    min-height: 56px;
    font-size: 17px;
    padding: 0 18px;
  }
  .hero-panel { border-radius: 18px; }
  .hero-hotspot {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }
  .hero-hotspot.invite { left: 5.2%; top: 79.4%; }
  .hero-hotspot.books { left: 25.8%; top: 79.4%; }
  .section-card,
  .panel,
  .contact-section,
  .content-block,
  .hero-panel,
  .page-hero { border-radius: 22px; }
  .page-hero { padding: 44px 0; }
  .page-hero p { font-size: 18px; }
  .cta-band { padding: 24px; }
}


.media-logo {
  width: min(100%, 340px);
  margin: 0 0 18px;
  border-radius: 12px;
}


/* FINAL MOBILE FIX - HERO BUTTONS */
@media (max-width: 768px) {
  .hero-hotspot {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 10px 0 !important;
    text-align: center !important;
  }

  .hero-image-wrap {
    display: flex;
    flex-direction: column;
  }
}

