/* ============================================================
   Dr. Carey Chronis — Connection Rethink homepage mockup
   Based on Vas's Desktop 5.pdf Figma export.
   Concept stage. Static HTML. No POPCMS/WordPress dependencies.
   ============================================================ */

:root {
  --hero-cyan-1: #c0e3ee;
  --hero-cyan-2: #6da7c0;
  --olive: #5e7028;
  --about-teal: #aedbe5;
  --raves-black: #050505;
  --footer-gray: #d9d9d9;
  --accent-yellow: #ffc628;
  --ink: #161616;
  --paper: #ffffff;
  --rule: rgba(0, 0, 0, .85);

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-band: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── HEADER ─────────────────────────────────────────────── */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--hero-cyan-1);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: 0.2px;
}

.primary-nav {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--ink);
}

.primary-nav a {
  display: inline-block;
  padding: 0 4px;
}

.primary-nav a:hover { color: var(--olive); }

.primary-nav .sep {
  color: var(--ink);
  margin: 0 6px;
}

.header-rule {
  height: 1px;
  background: var(--rule);
  margin: 0 32px;
}

/* ─── HERO ──────────────────────────────────────────────── */

.hero {
  background: radial-gradient(ellipse at 38% 40%,
              #d9eef5 0%,
              var(--hero-cyan-1) 35%,
              var(--hero-cyan-2) 100%);
  padding: 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: stretch;
  /* No min-height — let content drive the hero height. Reduces big air pocket between title and book row. */
}

.hero-photo {
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  /* No aspect-ratio — let grid stretch decide the height so photo fills full hero column */
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;  /* drop crop window from top → shows less hair, more torso/hand-on-knee */
  transform: scale(1.18) translateY(100px);
  transform-origin: center 30%;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.15));
}

.hero-content {
  padding-top: 36px;
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 7.3vw, 104px);
  line-height: 1;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,.18);
  /* Mixed-case input ("Connection" / "Rethink") + small-caps gives the
     full-height initial cap and smaller small-caps for the rest — the
     Playfair Display effect from the Figma. */
  font-variant-caps: small-caps;
  font-feature-settings: "smcp" 1;
}

.hero-title > span { display: block; }

.rethink-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.magnet-icon {
  width: clamp(50px, 6vw, 84px);
  height: auto;
  vertical-align: middle;
  transform: translateY(-6px);
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 4px 0 16px;
}

.hero-book-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 8px;        /* sit close to the tagline, no big air pocket */
  padding-bottom: 36px;   /* breathing room before next section */
}

.hero-blurb {
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
}

.hero-blurb p { margin: 0 0 20px; }

.hero-blurb p strong { font-weight: 700; }

/* ─── BOOK COVER IMAGE ─── */

.book-cover-img {
  display: block;
  width: 220px;
  height: auto;
  filter: drop-shadow(-2px 0 0 rgba(0,0,0,.18))
          drop-shadow(0 12px 18px rgba(0,0,0,.25));
}

/* ─── YELLOW PILL BUTTON ─── */

.btn-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent-yellow);
  color: var(--ink);
  padding: 12px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.15;
  text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.1);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(0,0,0,.18), 0 8px 16px rgba(0,0,0,.14);
}

.btn-pill .btn-lead {
  font-size: 13px;
  font-weight: 800;
}

.btn-pill .btn-main {
  font-size: 16px;
  font-weight: 900;
}

.btn-pill-single {
  padding: 14px 36px;
}

.btn-pill-single .btn-main {
  font-size: 17px;
}

.btn-pill-compact {
  flex-direction: row;
  gap: 8px;
  padding: 10px 22px;
  font-size: 13px;
}

.btn-pill-compact .btn-lead { font-size: 12px; }
.btn-pill-compact .btn-main { font-size: 14px; }

/* ─── BANDS (Keynote / About / Raves) ─────────────────── */

.band {
  padding: 64px 0;
}

.band-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.band-label h2 {
  font-family: var(--font-band);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 122px);
  line-height: .92;
  margin: 0;
  color: #ffffff;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.band-label-sub {
  font-family: var(--font-band);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 34px);
  color: #ffffff;
  letter-spacing: 2px;
  margin: -6px 0 0;
  text-align: right;
  padding-right: 4px;
  text-transform: uppercase;
}

.band-body {
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.55;
}

.band-body p { margin: 0 0 18px; }
.band-body p:last-child { margin-bottom: 0; }

.band-body .btn-pill {
  margin-top: 18px;
}

.band-keynote {
  background: var(--olive);
}
.band-keynote .band-body { color: #ffffff; }

.band-about {
  background: var(--about-teal);
}
.band-about .band-label h2,
.band-about .band-label-sub {
  color: #ffffff;
}

.band-raves {
  background: var(--raves-black);
}
.band-raves .band-body { color: #ffffff; }
.band-raves .band-label h2 { color: #ffffff; }

.rave p {
  font-size: 19px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.rave footer {
  font-size: 15px;
  color: #d0d0d0;
}

/* ─── FOOTER ──────────────────────────────────────────── */

.site-footer {
  background: var(--footer-gray);
  color: var(--ink);
  padding: 28px 0 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  margin: 0;
  letter-spacing: 0.3px;
}

.footer-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.6px;
  margin: 2px 0 0;
  text-transform: uppercase;
  color: #333;
}

.footer-cta {
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #2b3d52;
  color: #ffffff;
  border-radius: 4px;
  transition: background .15s ease;
}

.social-icon:hover { background: #18293a; }

.footer-meta {
  margin-top: 18px;
  text-align: right;
  font-size: 11px;
  color: #555;
}

.footer-meta a { text-decoration: underline; }

/* ─── CONTACT PAGE ────────────────────────────────────── */

.page-contact .site-header {
  background: transparent;
}

.contact-hero {
  position: relative;
  min-height: 720px;
  padding: 60px 0 0;       /* no bottom padding — image bleeds to the next section */
  overflow: hidden;
  display: flex;            /* stretch contact-wrap to full hero height */
  align-items: stretch;
  background:
    radial-gradient(ellipse at 78% 45%,
        rgba(255,255,255,.35) 0%,
        rgba(255,255,255,0) 55%),
    url("images/scribble.png") center/cover no-repeat,
    linear-gradient(135deg, #5fb2c8 0%, #408aa0 100%);
  background-blend-mode: screen, normal, normal;
}

.page-contact .site-header,
.contact-hero {
  /* Lift header onto same teal so it reads as one canvas */
}

.contact-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: flex-end;
}

.contact-card {
  background: #9bc439;
  border-radius: 18px;
  padding: 36px 36px 28px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: flex-start;   /* sits at natural height, doesn't stretch */
  margin-top: 0;            /* sticks to top of hero (after padding) */
}

.contact-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 40px);
  color: #0a0a0a;
  text-align: center;
  letter-spacing: 1px;
  margin: 0 0 8px;
}

.contact-card input,
.contact-card textarea {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  outline: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.06) inset;
}

.contact-card textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.4;
  border-radius: 16px;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #b3b3b3;
}

.contact-card input:focus,
.contact-card textarea:focus {
  box-shadow: 0 0 0 2px rgba(0,0,0,.25);
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.btn-submit {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
  background: var(--accent-yellow);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.2px;
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0,0,0,.2), 0 4px 10px rgba(0,0,0,.1);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(0,0,0,.2), 0 8px 16px rgba(0,0,0,.14);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }

  .header-row { padding: 16px 20px; }
  .header-rule { margin: 0 20px; }
  .primary-nav { font-size: 11px; }
  .primary-nav .sep { margin: 0 3px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
  }
  .hero-photo {
    margin-bottom: 0;
    text-align: center;
  }
  .hero-photo img {
    max-width: min(380px, 80%);
    margin: 0 auto;
  }
  .hero-content { padding-top: 8px; }
  .hero-title { text-align: center; }
  .rethink-row { justify-content: center; }
  .hero-tagline { text-align: center; }
  .hero-book-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 22px;
  }
  .hero-blurb { text-align: center; }

  .band { padding: 44px 0; }
  .band-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .band-label-sub { text-align: center; padding-right: 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .footer-social { justify-content: center; }
  .footer-meta { text-align: center; }
}

@media (max-width: 480px) {
  .brand { font-size: 18px; }
  .primary-nav { font-size: 10px; letter-spacing: .6px; }
  .hero-title { letter-spacing: 0; }
}

@media (max-width: 900px) {
  .contact-hero { min-height: 0; padding: 40px 0 60px; }
  .contact-wrap { justify-content: center; padding: 0 20px; }
  .contact-card { max-width: 480px; padding: 28px 24px 24px; }
}

/* contact-page photo on the left — fills the full hero height, no gap below */
.contact-wrap {
  justify-content: space-between !important;
  align-items: stretch !important;
}
.contact-photo {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
}
.contact-photo img {
  display: block;
  width: auto;
  height: 100%;          /* fill the full contact-hero height */
  max-width: none;
  max-height: none;
  align-self: stretch;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
@media (max-width: 900px) {
  .contact-photo { display: none; }
}

/* ─── COMING SOON CARD (placeholder for Keynote/Media/Books/Bio) ─── */

.coming-card {
  background: #1f5f78;
  color: #ffffff;
  border-radius: 18px;
  padding: 40px 38px 32px;
  width: 100%;
  max-width: 460px;
  align-self: flex-start;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.coming-title {
  font-family: var(--font-band);
  font-weight: 700;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: .96;
  letter-spacing: 1px;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
}

.coming-body {
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
  color: #ffffff;
}

.coming-body em { color: #ffe27a; font-style: italic; }

.coming-cta {
  align-self: flex-start;
  margin-top: 4px;
}

.coming-meta {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.8);
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.2);
}
