/* ============================================================
   KOTTLER ADVISORY GROUP — Shared Stylesheet
   Colors: #702082 (Brand Purple) + #AC9653 (Warm Gold)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --purple:        #702082;
  --purple-deep:   #3D0F4A;
  --purple-mid:    #8A35A4;
  --purple-light:  #E8D0F0;
  --purple-pale:   #F5EDF9;

  --gold:          #AC9653;
  --gold-warm:     #C4A85A;
  --gold-light:    #F5EDDA;
  --gold-pale:     #FBF7EE;

  --green:         #59743E;
  --green-light:   #EBF0E4;
  --sage:          #BCBC8F;
  --sage-light:    #F4F4E8;

  --text-heading:  #1E0A2B;
  --text-dark:     #54506B;
  --text-body:     #3D3950;
  --text-muted:    #7A758E;
  --white:         #FFFFFF;
  --off-white:     #FAF8F5;
  --gray-light:    #F3F1F7;
  --border:        #E5DFF0;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-pad:  100px;
  --container:    1200px;
  --radius:       8px;
  --radius-lg:    16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
strong { font-weight: 600; color: var(--text-heading); }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--off-white); }
.section--pale { background: var(--purple-pale); }
.section--dark { background: var(--purple-deep); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.text-center { text-align: center; }
.text-purple { color: var(--purple); }
.text-gold { color: var(--gold); }

/* --- Gold Rule --- */
.gold-rule {
  display: block; width: 60px; height: 3px;
  background: var(--gold); margin-bottom: 28px;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* --- Eyebrow — increased from 0.75rem to 0.9rem --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;           /* was 0.75rem */
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 14px 32px; border-radius: 4px;
  transition: all 0.2s ease; cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn--primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(112,32,130,0.3); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: #9A8040; border-color: #9A8040; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(172,150,83,0.35); }
.btn--outline-purple { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn--outline-purple:hover { background: var(--purple); color: var(--white); }

/* --- Navigation --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(71,10,104,0.06);
}
.nav__inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 76px; gap: 32px;
}
.nav__logo { flex-shrink: 0; display: flex; align-items: center; }
.nav__logo img { height: 44px; width: auto; }
.nav__links {
  display: flex; align-items: center;
  list-style: none; gap: 8px;
}
.nav__links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-dark);
  padding: 6px 14px; border-radius: 4px; transition: color 0.15s;
}
.nav__links a:hover, .nav__links a.active { color: var(--purple); }
.nav__links .nav__cta a {
  background: var(--purple); color: var(--white);
  padding: 8px 20px; border-radius: 4px; font-weight: 600;
}
.nav__links .nav__cta a:hover { background: var(--purple-deep); color: var(--white); }
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--purple); transition: all 0.2s; }

/* --- Hero --- */
.hero {
  background: var(--purple-deep); color: var(--white);
  padding: 110px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(172,150,83,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(71,10,104,0.6) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }
.hero__tagline {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8); max-width: 640px;
  margin-bottom: 40px; line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Section Headers --- */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .gold-rule { margin: 0 auto 28px; }
.section-header h2 { margin-bottom: 20px; }
.section-header .lead {
  font-size: 1.1rem; color: var(--text-dark);
  max-width: 660px; line-height: 1.75;
}
.section-header--center .lead { margin: 0 auto; }

/* --- Card Grid --- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(71,10,104,0.1); transform: translateY(-2px); }
.card__icon {
  width: 48px; height: 48px; background: var(--purple-pale);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; font-size: 1.4rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }

/* Card quote — increased from 0.95rem to 1.1rem */
.card .card__quote {
  font-style: italic; color: var(--gold);
  font-size: 1.1rem;          /* was 0.95rem */
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.card p { font-size: 0.95rem; color: var(--text-dark); }

/* --- Progression (alignment stepper) --- */
.progression { }

.progression__circles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  margin-bottom: 36px;
}
.progression__circles::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: var(--gold);
  z-index: 0;
  transform: translateY(-50%);
}
.progression__circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 1.35rem; font-weight: 700;
  margin: 0 auto;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 7px #FAF8F5;
}
.progression__circle--purple { background: var(--purple); color: white; }
.progression__circle--gold   { background: var(--gold); color: var(--text-heading); }

.progression__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.progression__col { padding: 0 8px; }
.progression__col h3 {
  font-size: 1.15rem; font-family: var(--font-body); font-weight: 700;
  color: var(--text-heading); margin-bottom: 4px;
}
.progression__question {
  font-size: 1.05rem; font-weight: 600; font-style: italic;
  color: var(--purple); margin: 0 0 28px; line-height: 1.4;
}
.progression__col .card__quote {
  font-style: italic; color: var(--gold);
  font-size: 1.05rem; margin-bottom: 14px;
  font-family: var(--font-display);
}
.progression__col p:last-child { font-size: 0.95rem; color: var(--text-dark); margin: 0; }

/* --- Two-column layout --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* --- Pull Quote --- */
.pull-quote {
  border-left: 4px solid var(--gold); padding: 20px 28px;
  margin: 32px 0; background: var(--gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p {
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--text-heading); font-style: italic;
  margin: 0; line-height: 1.5;
}

/* --- Stat Block --- */
.stat-block { text-align: center; padding: 32px 24px; }
.stat-block__number { font-family: var(--font-display); font-size: 3.5rem; color: var(--purple); line-height: 1; margin-bottom: 12px; }
.stat-block__label { font-size: 0.95rem; color: var(--text-dark); max-width: 200px; margin: 0 auto; line-height: 1.5; }
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 48px 0; margin: 56px 0;
}

/* --- CTA Band --- */
.cta-band { background: var(--purple); color: var(--white); padding: 80px 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 20px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 540px; margin: 0 auto 36px; }

/* --- Photo Section --- */
.photo-section { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.photo-section img { width: 100%; height: 420px; object-fit: cover; object-position: center 60%; }
.photo-section__overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px;
  background: linear-gradient(to top, rgba(45,6,66,0.95) 0%, transparent 100%);
  color: var(--white);
}
.photo-section__overlay p {
  font-family: var(--font-display); font-size: 1.15rem;
  font-style: italic; margin: 0; color: rgba(255,255,255,0.9);
}
.photo-caption {
  font-size: 0.78rem; color: var(--text-muted);
  font-style: italic; text-align: center;
  margin-top: 10px; letter-spacing: 0.01em;
}

/* --- Origin Story layout (Option B) --- */
.story-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 52px;
}
.story-intro { display: flex; flex-direction: column; justify-content: center; }
.story-caption-display {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-style: italic;
  color: var(--text-heading);
  line-height: 1.55;
  margin: 0;
}
.story-body { max-width: 720px; margin: 0 auto; }
.story-body p { font-size: 1rem; color: var(--text-body); margin-bottom: 18px; }
.story-body p:last-child { margin-bottom: 0; }

/* --- Translation Table --- */
.translation-table-wrapper {
  overflow-x: auto; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(71,10,104,0.06);
}
.translation-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.translation-table thead { background: var(--purple-deep); color: var(--white); }
.translation-table thead th {
  padding: 16px 20px; text-align: left; font-family: var(--font-body);
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-light);
}
.translation-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
.translation-table tbody tr:last-child { border-bottom: none; }
.translation-table tbody tr:hover { background: var(--purple-pale); }
.translation-table tbody td { padding: 18px 20px; vertical-align: top; color: var(--text-body); line-height: 1.6; }
.translation-table tbody td:first-child { font-style: italic; font-weight: 500; color: var(--text-heading); border-right: 1px solid var(--border); }
.translation-table tbody td:nth-child(2) { border-right: 1px solid var(--border); color: var(--text-dark); font-style: italic; }

/* --- Audience Cards --- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.audience-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 30px; background: var(--white);
  transition: all 0.2s; position: relative; overflow: hidden;
}
.audience-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gold); transform: scaleX(0);
  transition: transform 0.25s ease; transform-origin: left;
}
.audience-card:hover::before { transform: scaleX(1); }
.audience-card:hover { box-shadow: 0 8px 32px rgba(71,10,104,0.1); transform: translateY(-2px); }
.audience-card h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; color: var(--text-heading); margin-bottom: 14px; }
.audience-card p { font-size: 0.95rem; color: var(--text-dark); }

/* --- Challenge Sections (Why page) --- */
.challenge-section { margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--border); }
.challenge-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.challenge-section h3 { color: var(--purple); margin-bottom: 16px; }
.challenge-section .challenge-stat { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 8px; }

/* --- Page Hero (inner pages) --- */
.page-hero { background: var(--purple-deep); color: var(--white); padding: 80px 0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 90% 50%, rgba(172,150,83,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .page-hero__sub { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 600px; line-height: 1.7; }

/* --- Contact Page --- */
.contact-layout {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 64px;
}
.contact-block h2 { font-size: 1.6rem; margin-bottom: 14px; }
.contact-block p  { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 28px; line-height: 1.75; }

.contact-divider {
  display: flex; align-items: center; gap: 16px;
  color: var(--text-muted); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.contact-divider::before,
.contact-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-heading); letter-spacing: 0.02em;
}
.form-optional { font-weight: 400; color: var(--text-muted); }
.form-field input,
.form-field textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text-dark);
  background: var(--white); transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(112,32,130,0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { align-self: flex-start; margin-top: 8px; }

/* --- Footer --- */
.footer { background: var(--purple-deep); color: rgba(255,255,255,0.75); padding: 64px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand h3 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer__brand p { font-size: 0.9rem; line-height: 1.7; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color 0.15s; }
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 32px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  .container { padding: 0 24px; }

  /* Nav: keep sticky but show mobile toggle */
  .nav__links { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); padding: 16px 24px 24px; border-bottom: 1px solid var(--border); gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 200; }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }

  /* Hero */
  .hero { padding: 72px 0 64px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }

  /* Grids → single column */
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .audience-grid { grid-template-columns: 1fr; }

  /* Progression stepper */
  .progression__circles { display: none; }
  .progression__cols { grid-template-columns: 1fr; gap: 28px; }
  .progression__col { padding: 0; border-left: 3px solid var(--gold); padding-left: 20px; }

  /* Two-column sections → stack */
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse { direction: ltr; }

  /* Origin Story layout → stack */
  .story-top { grid-template-columns: 1fr; gap: 32px; }

  /* Stats grid */
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* CTA band — tighten padding on mobile */
  .cta-band { padding: 60px 0; }
  .cta-band br { display: none; }

  /* Pattern exchange boxes (How We Work inline) → stack */
  .pattern-exchange { grid-template-columns: 1fr !important; }
  .pattern-exchange__side:first-child { border-right: none !important; border-bottom: 1px solid var(--gold); }

  /* Pattern section padding (How We Work) */
  .pattern-section { padding: 36px 24px !important; }

  /* How We Work audience client cards → stack icon above text */
  .client-card-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .client-card { padding: 28px 24px !important; }

  /* Translation table: allow horizontal scroll */
  .translation-table { font-size: 0.82rem; }
  .translation-table thead th { padding: 12px 14px; font-size: 0.72rem; }
  .translation-table tbody td { padding: 14px; }

  /* Photo section height */
  .photo-section img { height: 280px; }

  /* Pull quote tighter */
  .pull-quote { padding: 16px 20px; margin: 24px 0; }

  /* Why This Work Matters — destination tiles 4-col → 2-col */
  .destination-tiles { grid-template-columns: repeat(2, 1fr) !important; }

  /* Hide cosmetic <br> in paragraphs and section headers on mobile */
  .lead br, .pattern-section p br, .section-header h2 br { display: none; }

  /* Hide <br> in headings on mobile via utility class */
  .hide-mobile-br br { display: none; }
}

/* Small phones */
@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  .container { padding: 0 18px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding: 56px 0 48px; }
  .page-hero { padding: 56px 0; }

  .stat-grid { grid-template-columns: 1fr; }
  .stat-block__number { font-size: 2.8rem; }

  .btn { padding: 12px 24px; font-size: 0.9rem; }

  .nav__logo img { height: 36px; }

  /* Destination tiles → single column on small phones */
  .destination-tiles { grid-template-columns: 1fr !important; }
}
