:root {
  --bg: #f7f4ee;
  --paper: #fffdf8;
  --ink: #0d1724;
  --muted: #637083;
  --line: rgba(13, 23, 36, 0.12);
  --navy: #101827;
  --navy-2: #16243a;
  --gold: #c8a45d;
  --gold-dark: #9d7b33;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(13, 23, 36, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; }
.brand-img { height: 44px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
.nav-cta { color: var(--ink) !important; border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px; background: var(--paper); }
.menu-button { display: none; border: 0; background: var(--ink); color: white; padding: 10px 14px; border-radius: 999px; font-weight: 700; }

.section-pad { padding: clamp(24px, 3vw, 40px) clamp(20px, 5vw, 64px); }
.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  background:
    radial-gradient(circle at 78% 26%, rgba(200, 164, 93, 0.22), transparent 30%),
    linear-gradient(180deg, #fbf8f1 0%, var(--bg) 75%);
}
.hero-content { max-width: 840px; }
.hero-content h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.065em;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.hero-side blockquote {
  border-left: 0;
  border-radius: 16px;
  padding: 0;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.25;
  background: none;
  letter-spacing: -0.02em;
}

.hero-side .quote-author {
  margin-top: 14px;
  font-size: 13px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  max-width: 940px;
}
h2 {
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin-bottom: 0;
}
h3 { font-size: 20px; letter-spacing: -0.025em; margin-bottom: 10px; }
.lead {
  max-width: 680px;
  color: #344052;
  font-size: clamp(18px, 2vw, 23px);
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.primary { background: var(--ink); color: white; box-shadow: 0 12px 30px rgba(13, 23, 36, 0.22); }
.secondary { background: var(--paper); border: 1px solid var(--line); }

.hero-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: white;
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -80px;
  border-radius: 50%;
  background: rgba(200, 164, 93, 0.18);
}
.card-label { color: var(--gold); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 14px; }
.stack-list { display: grid; gap: 8px; position: relative; z-index: 1; }
.stack-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 30px 10px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  position: relative;
  min-height: 42px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.stack-item::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255,255,255,0.55);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.stack-item.expanded {
  background: rgba(255,255,255,0.12);
  border-color: rgba(200,164,93,0.5);
}
.stack-item.expanded::before {
  opacity: 0;
}
.stack-item.expanded::after {
  max-height: 200px;
  opacity: 1;
}

@media (hover: hover) {
  .stack-item:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(200,164,93,0.5);
  }
  .stack-item:hover::before {
    opacity: 0;
  }
  .stack-item:hover::after {
    max-height: 200px;
    opacity: 1;
  }
}
.stack-item::after {
  content: attr(data-def);
  display: block;
  flex-basis: 100%;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.8);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.trust-strip {
  margin: 0 clamp(20px, 5vw, 64px);
  transform: translateY(-34px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
  box-shadow: 0 16px 45px rgba(13, 23, 36, 0.08);
}
.trust-strip div { background: var(--paper); padding: 22px; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { color: var(--muted); font-size: 14px; margin-top: 4px; }


.opportunity-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.opportunity-text p {
  font-size: clamp(17px, 2vw, 22px);
  color: #344052;
  line-height: 1.6;
  margin-bottom: 16px;
}

.opportunity-layers .hero-card { min-height: auto; }

.split-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 7vw, 96px); align-items: start; }
.copy-block { color: #344052; font-size: clamp(17px, 2vw, 22px); max-width: 760px; }
.copy-block p { margin-bottom: 20px; }

.dark-panel {
  margin: clamp(20px, 3vw, 36px) clamp(20px, 5vw, 64px) 0;
  border-radius: 34px;
  background: var(--navy);
  color: white;
}
.dark-panel .eyebrow { color: var(--gold); }
.section-heading { max-width: 940px; margin-bottom: 44px; }
.section-heading.narrow { max-width: 780px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid article {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
}
.feature-grid p { color: rgba(255,255,255,0.72); margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px; min-height: 260px; }
.step span { display: inline-block; margin-bottom: 20px; color: var(--gold-dark); font-weight: 900; }
.step p { color: var(--muted); margin-bottom: 0; }

.quote-section { padding-bottom: clamp(36px, 5vw, 64px); }

blockquote {
  margin: 0;
  padding: clamp(20px, 3vw, 40px);
  border-left: 4px solid var(--gold);
  background: var(--paper);
  border-radius: 0 28px 28px 0;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.quote-author {
  display: block;
  margin-top: 24px; /* Creates nice separation from the large quote */
  
  /* Scaled down to be much smaller (ranging from 14px to 18px) */
  font-size: clamp(14px, 1.5vw, 18px); 
  
  font-style: normal; /* Keeps the name upright (reversing the parent italic) */
  font-weight: 600;
  letter-spacing: 0; /* Resets the negative letter-spacing from the blockquote */
  color: var(--gold); /* Or any dark accent color like #555 if gold is too bright */
}

.author-title {
  font-weight: 400;
  opacity: 0.8; /* Makes the "CEO" title slightly softer */
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.quote-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

.quote-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-play-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  position: relative;
  transition: transform 0.2s ease;
}

.video-play-btn:hover .video-play-icon {
  transform: scale(1.08);
}

.video-play-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--ink);
}

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; align-items: start; }
.team-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.team-card::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #8a95a3;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.team-card:hover,
.team-card.expanded {
  box-shadow: 0 12px 40px rgba(13, 23, 36, 0.12);
  transform: translateY(-2px);
}
.team-card:hover::after,
.team-card.expanded::after {
  opacity: 0;
}
.team-info { flex: 1; min-width: 0; }
.team-info strong { display: block; }
.team-info span { margin-top: 4px; color: var(--muted); font-size: 14px; display: block; }
.team-bio {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}
.team-card:hover .team-bio,
.team-card.expanded .team-bio {
  max-height: 2000px;
  opacity: 1;
  margin: 12px 0 28px;
}
.team-headshot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
}
.linkedin-link {
  position: absolute;
  bottom: 10px;
  right: 14px;
  display: inline-flex;
  align-items: center;
}
.linkedin-link img { width: 18px; height: 18px; display: block; }

.contact-section { }
.contact-card {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, var(--navy), #101f34);
  color: white;
  border-radius: 34px;
  padding: clamp(34px, 7vw, 78px);
  box-shadow: var(--shadow);
}
.contact-card .eyebrow { color: var(--gold); }
.contact-card p:not(.eyebrow) { max-width: 640px; margin: 18px auto 28px; color: rgba(255,255,255,0.75); }
.contact-card .primary { background: white; color: var(--ink); }

.structure-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.structure-text p {
  font-size: clamp(17px, 2vw, 22px);
  color: #344052;
  line-height: 1.6;
  margin-bottom: 20px;
}
.structure-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-left: 1px solid var(--line);
  padding-left: 48px;
}
.structure-meta-item strong { display: block; font-size: 20px; color: var(--ink); }
.structure-meta-item span { display: block; font-size: 16px; color: var(--muted); margin-top: 4px; }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.insight-card:hover {
  box-shadow: 0 12px 40px rgba(13, 23, 36, 0.12);
  transform: translateY(-2px);
}
.insight-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.insight-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.insight-card-body h3 {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.insight-card-date {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.insight-card-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 14px;
}
.insight-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.insight-card-link:hover { color: var(--ink); }

.footer {
  padding: 34px clamp(20px, 5vw, 64px) 44px;
  display: grid;
  grid-template-columns: 0.65fr 0.35fr 1fr;
  gap: 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer strong { color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
.footer p { margin: 4px 0 0; line-height: 1.55; }
.footer-socials { display: grid; gap: 6px; }
.footer-socials a { color: var(--muted); transition: color 0.15s ease; }
.footer-socials a:hover { color: var(--ink); }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 23, 36, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  position: relative;
  width: min(480px, 90vw);
  background: var(--paper);
  border-radius: 28px;
  padding: 36px 32px 32px;
  box-shadow: 0 40px 100px rgba(13, 23, 36, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: 0;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--ink); }
.modal-title {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.email-form { display: grid; gap: 16px; }
.email-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.email-form input,
.email-form textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
.email-form input:focus,
.email-form textarea:focus {
  border-color: var(--gold-dark);
}
.email-form textarea { resize: vertical; }
.email-form .button { width: 100%; }
.form-message {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  display: none;
}
.form-message.success { display: block; color: #2d7a3a; }
.form-message.error { display: block; color: #c0392b; }
.form-success {
  display: none;
  text-align: center;
  padding: 12px 0;
}
.form-success.open { display: block; }
.form-success p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-child.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero, .split-section, .opportunity-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { min-height: auto; }
  .feature-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .structure-card, .opportunity-card { grid-template-columns: 1fr; }
  .structure-meta { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding: 14px 18px; }
  .nav {
    position: fixed;
    top: 67px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav-cta { text-align: center; }
  .menu-button { display: inline-flex; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(42px, 14vw, 62px); }
  h2 { font-size: clamp(31px, 10vw, 44px); }
  .hero-actions, .button { width: 100%; }
  .trust-strip { grid-template-columns: 1fr; transform: none; margin-top: 0; }
  .dark-panel { margin: 0; border-radius: 0; }
  .feature-grid, .steps, .team-grid, .footer { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .step span { margin-bottom: 16px; }
  blockquote { border-radius: 0 22px 22px 0; }
  .video-play-btn { display: none; }
}
