/* ============================================================
   UNRAVEL YOUR BRAND — stylesheet
   unravelyourbrand.com
   Font: Inter (Google Fonts)
   Colors: #00A4D6 blue | #F4F8FA light grey | #FFFFFF white
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --blue:          #00A4D6;
  --blue-dark:     #0082AA;
  --blue-darker:   #005F7D;
  --blue-light:    #E6F6FB;
  --white:         #FFFFFF;
  --grey-light:    #F4F8FA;
  --grey-border:   #E5E7EB;
  --grey-text:     #6B7280;
  --text:          #111827;
  --text-mid:      #374151;
  --dark:          #0F172A;
  --dark-mid:      #1E293B;

  --font:          'Inter', system-ui, sans-serif;
  --container:     1200px;
  --gutter:        24px;
  --section:       96px;
  --section-sm:    60px;
  --radius:        8px;
  --radius-lg:     16px;
  --radius-full:   999px;

  --shadow-sm:     0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
  --transition:    180ms ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section) 0; }
.section--grey { background: var(--grey-light); }
.section--dark { background: var(--dark); }
.section--blue { background: var(--blue); }
.section--sm { padding: var(--section-sm) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Typography ─────────────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-mid); line-height: 1.7; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--text-mid); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header p { margin-top: 12px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,164,214,.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--grey-border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-mid);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .875rem; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-color: var(--grey-border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue);
  background: var(--blue-light);
}
.nav-links .btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .btn-nav:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body { padding-top: 68px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 96px;
  background: var(--white);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.hero-content .label { font-size: .8rem; }
.hero-content h1 { margin: 8px 0 20px; }
.hero-content .lead { margin-bottom: 36px; max-width: 520px; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
}

/* ── Dark mid section ────────────────────────────────────────── */
.section--dark-mid { background: var(--dark-mid); }
.section--dark-mid .label         { color: rgba(255,255,255,.6); }
.section--dark-mid .section-header h2 { color: var(--white); }
.section--dark-mid .section-header p  { color: rgba(255,255,255,.65); }

/* ── Problem cards ───────────────────────────────────────────── */
.problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--blue);
}
.problem-card--dark {
  background: rgba(255,255,255,.06);
  border-top-color: var(--blue);
  box-shadow: none;
}
.problem-card--dark h3 { color: var(--white); }
.problem-card--dark p  { color: rgba(255,255,255,.65); }
.problem-card .icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}
.problem-card--dark .icon {
  background: rgba(0,164,214,.2);
  color: var(--blue);
}
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { font-size: .9375rem; }

/* ── Book section ────────────────────────────────────────────── */
.book-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.book-cover img {
  max-width: 340px;
  width: 100%;
}
.book-rules { margin: 24px 0 32px; }
.book-rules li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-border);
  font-size: .9375rem;
  color: var(--text-mid);
}
.book-rules li:last-child { border-bottom: none; }
.rule-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ── Service cards ───────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-border);
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-price {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .9rem; }

/* ── About strip ─────────────────────────────────────────────── */
.about-photo {
  position: relative;
}
.about-photo img {
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.about-quote {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: .9375rem;
  font-style: italic;
  color: var(--text-mid);
}

/* ── Article cards ───────────────────────────────────────────── */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.article-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grey-light);
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.article-card:hover .article-card-img img {
  transform: scale(1.03);
}
.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-meta {
  font-size: .8125rem;
  color: var(--grey-text);
  margin-bottom: 10px;
}
.article-card h3 { margin-bottom: 10px; font-size: 1rem; }
.article-card p { font-size: .9rem; flex: 1; }
.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 16px;
}
.article-loading, .article-error {
  text-align: center;
  color: var(--grey-text);
  padding: 32px;
  grid-column: 1/-1;
}

/* ── Newsletter band ─────────────────────────────────────────── */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 28px auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border-radius: var(--radius-full);
  border: none;
  font-size: .9375rem;
  outline: none;
  color: var(--text);
}
.newsletter-form input::placeholder { color: var(--grey-text); }

/* Newsletter form, three-field variant (names row + email/button row) */
.newsletter-form-full {
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}
.newsletter-names,
.newsletter-emailrow {
  display: flex;
  gap: 12px;
}
.newsletter-names input,
.newsletter-emailrow input {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius);
}
/* Full-width form: first + last on one row, email full width, button full width beneath */
.newsletter-form-full .newsletter-emailrow {
  flex-direction: column;
}
.newsletter-form-full .newsletter-emailrow input,
.newsletter-form-full .newsletter-emailrow .btn {
  flex: none;
  width: 100%;
}
.newsletter-form-full .newsletter-emailrow .btn {
  justify-content: center;
}
@media (max-width: 560px) {
  .newsletter-names,
  .newsletter-emailrow { flex-direction: column; }
}

/* ── Stats bar ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--dark-mid);
  padding: 40px 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

/* ── Page hero (inner pages) ─────────────────────────────────── */
.page-hero {
  padding: 72px 0 64px;
  background: var(--grey-light);
  border-bottom: 1px solid var(--grey-border);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { margin: 8px 0 16px; }
.page-hero .lead { max-width: 580px; }

/* ── Talk cards (speaking page) ─────────────────────────────── */
.talk-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  transition: all var(--transition);
}
.talk-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.talk-number {
  width: 48px; height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  flex-shrink: 0;
}
.talk-format {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin: 10px 0;
}
.talk-card p { font-size: .9375rem; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,164,214,.12);
}
textarea { resize: vertical; min-height: 140px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-notice { font-size: .85rem; color: var(--grey-text); margin-top: 8px; }
.form-success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  display: none;
}
.form-error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  display: none;
}

/* ── Info box ─────────────────────────────────────────────────── */
.info-box {
  background: var(--blue-light);
  border: 1px solid rgba(0,164,214,.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.info-box h3 { color: var(--blue-darker); margin-bottom: 8px; }
.info-box p { color: var(--text-mid); font-size: .9375rem; }
.info-box a { color: var(--blue); font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 64px 0 32px;
  color: rgba(255,255,255,.85);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--white); font-size: 1.1rem; }
.footer-brand p { font-size: .9rem; margin-top: 12px; line-height: 1.65; color: rgba(255,255,255,.80); }
.footer-col h4 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,.80);
}.footer p { color: rgba(255,255,255,.80); }
.footer-bottom p { color: rgba(255,255,255,.80); }
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  font-size: .85rem;
  color: var(--grey-text);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--blue); }

/* ── CTA Band ────────────────────────────────────────────────── */
.cta-band {
  background: var(--dark);
  padding: var(--section-sm) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto 32px; }

/* ── Divider ─────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--grey-border); margin: 48px 0; }
.tag {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--blue-light);
  color: var(--blue);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 360px; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section: 64px; --section-sm: 48px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-border);
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  
  .nav-links .btn-nav { margin-left: 0; margin-top: 8px; text-align: center; border-radius: var(--radius-full); }

  .hero { padding: 48px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 280px; margin: 0 auto; }
  .hero-image::before { display: none; }

  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .talk-card { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }

  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .book-cover img { max-width: 260px; margin: 0 auto; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-inner { gap: 24px; }

  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
}

/* ── Pull quote band ─────────────────────────────────────────── */
.quote-band {
  background: var(--dark);
  padding: var(--section-sm) 0;
}
.quote-band blockquote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-band blockquote::before {
  content: '\201C';
  display: block;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 16px;
}
.quote-band p {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255,255,255,.88);
  font-style: italic;
}
.quote-band cite {
  display: block;
  margin-top: 28px;
  font-size: .8125rem;
  font-weight: 700;
  font-style: normal;
  color: var(--blue);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Visually hidden label, used by injected newsletter includes */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
