/* ============================================================
   thirty advisory — Design System v2
   More visual punch. Less corporate bland.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #2C3E50;
  --teal: #16A085;
  --teal-light: rgba(22, 160, 133, 0.08);
  --amber: #F39C12;
  --charcoal: #34495E;
  --pearl: #ECF0F1;
  --silver: #95A5A6;
  --white: #FFFFFF;
  --font-serif: 'Sanchez', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1140px;
  --nav-height: 72px;
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); font-weight: 300; color: var(--navy); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--navy); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }


/* ============================================================
   NAV — Minimal, logo-image based
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 24px rgba(44,62,80,0.06); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo-img { height: 40px; width: auto; }
.logo-img-small { height: 32px; width: auto; }
.logo-img-hero { height: auto; width: clamp(180px, 25vw, 260px); margin-bottom: 1.5rem; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 400; color: var(--charcoal);
  letter-spacing: 0.5px; text-transform: lowercase;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

.nav-cta {
  display: inline-block; padding: 10px 24px;
  background: var(--teal); color: var(--white) !important;
  font-size: 13px; font-weight: 500; letter-spacing: 0.3px;
  border-radius: 6px; transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--navy); color: var(--white) !important; transform: translateY(-1px); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: all 0.3s ease; }


/* ============================================================
   HERO — Full-bleed, dramatic, angled bottom
   ============================================================ */
.hero {
  padding: calc(var(--nav-height) + 3rem) 0 5rem;
  background: var(--navy);
  position: relative; overflow: hidden;
  min-height: auto; display: flex; align-items: center;
}

/* Angled bottom edge */
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 50px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Teal glow accent */
.hero-glow {
  position: absolute; top: 10%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(22,160,133,0.15) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.15); }
}

/* Decorative line */
.hero-line {
  position: absolute; top: 20%; right: 10%;
  width: 1px; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  opacity: 0.3;
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 680px; }

.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 2rem;
}
.hero-label::before {
  content: ''; width: 32px; height: 1px; background: var(--teal);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 400; color: var(--white);
  line-height: 1.15; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--teal); }

.hero p {
  font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.65);
  line-height: 1.8; max-width: 560px; margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; padding: 14px 32px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.5px; border-radius: 6px;
  border: none; cursor: pointer; transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: #1abc9c; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,160,133,0.25); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid rgba(44,62,80,0.2); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }


/* ============================================================
   SECTIONS — General
   ============================================================ */
section { padding: 5rem 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--teal); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 16px; font-weight: 300; color: var(--charcoal);
  max-width: 540px; line-height: 1.7;
}


/* ============================================================
   STATEMENT — Big bold pull-quote style
   ============================================================ */
.statement {
  padding: 5rem 0;
  background: var(--pearl);
  position: relative;
}

.statement-text {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400; color: var(--navy);
  line-height: 1.4; max-width: 800px;
  text-align: center; margin: 0 auto;
}

.statement-text em { font-style: normal; color: var(--teal); }

.statement-attribution {
  font-family: var(--font-sans); font-size: 13px; font-weight: 400;
  color: var(--silver); text-align: center; margin-top: 1.5rem;
  letter-spacing: 0.5px;
}


/* ============================================================
   CAPABILITIES — Asymmetric grid with accent borders
   ============================================================ */
.capabilities { background: var(--white); }

.cap-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 3rem;
}

.cap-card {
  padding: 2rem 2rem 2rem 2.5rem;
  background: var(--white);
  border-left: 3px solid var(--pearl);
  transition: all 0.3s ease;
  position: relative;
}
.cap-card:hover { border-left-color: var(--teal); background: rgba(22,160,133,0.02); }

.cap-card h3 {
  font-family: var(--font-sans); font-size: 17px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px;
}
.cap-card p {
  font-size: 14px; font-weight: 300; color: var(--charcoal); line-height: 1.7;
}


/* ============================================================
   APPROACH — Split layout with teal accent panel
   ============================================================ */
.approach { background: var(--white); padding: 6rem 0; }

.approach-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-top: 3rem;
}

.approach-text p {
  font-size: 16px; font-weight: 300; color: var(--charcoal);
  line-height: 1.8; margin-bottom: 1rem;
}

.approach-panel {
  background: var(--navy); border-radius: 16px;
  padding: 3rem; position: relative; overflow: hidden;
}
.approach-panel::before {
  content: ''; position: absolute; top: -20%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(22,160,133,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.approach-list { list-style: none; position: relative; z-index: 1; }
.approach-list li {
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: flex-start; gap: 14px;
}
.approach-list li:last-child { border-bottom: none; }

.approach-marker {
  width: 6px; height: 6px; background: var(--teal);
  border-radius: 50%; flex-shrink: 0; margin-top: 8px;
}
.approach-list h4 { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 3px; }
.approach-list p { font-size: 13px; color: var(--silver); margin-bottom: 0; }


/* ============================================================
   EXPERIENCE — Subtle credibility without namedropping
   ============================================================ */
.experience {
  background: var(--navy); padding: 5rem 0;
  position: relative;
}
.experience::before {
  content: ''; position: absolute; top: -2px; left: 0; right: 0;
  height: 80px; background: var(--white);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.experience .section-title { color: var(--white); }
.experience .section-subtitle { color: var(--silver); }

.exp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}

.exp-stat { text-align: center; }
.exp-number {
  font-family: var(--font-serif); font-size: 48px;
  font-weight: 400; color: var(--teal); line-height: 1;
}
.exp-label {
  font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.6);
  margin-top: 8px; max-width: 200px; margin-left: auto; margin-right: auto;
}


/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  background: var(--pearl); text-align: center; padding: 5rem 0;
}
.cta-section .section-title { max-width: 560px; margin: 0 auto 1rem; }
.cta-section .section-subtitle { max-width: 480px; margin: 0 auto 2rem; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: calc(var(--nav-height) + 5rem) 0 6rem;
  background: var(--navy); position: relative;
}
.about-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px; background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.about-hero .hero-content { max-width: 640px; }

.bio-section { background: var(--white); padding: 4rem 0 5rem; }

.bio-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 4rem; align-items: start;
}

.bio-sidebar { position: sticky; top: calc(var(--nav-height) + 2rem); }

.bio-photo-placeholder {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--pearl) 0%, rgba(22,160,133,0.06) 100%);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--silver); font-size: 13px; margin-bottom: 1.5rem;
}

.bio-credentials { list-style: none; }
.bio-credentials li {
  padding: 10px 0; border-bottom: 1px solid var(--pearl);
  font-size: 13px; color: var(--charcoal);
}
.bio-credentials li strong {
  display: block; font-weight: 500; color: var(--navy);
  font-size: 12px; letter-spacing: 0.3px; margin-bottom: 2px;
}

.bio-body h2 {
  font-family: var(--font-serif); font-size: 26px; font-weight: 400;
  color: var(--navy); margin-bottom: 1rem; margin-top: 3rem;
}
.bio-body h2:first-child { margin-top: 0; }
.bio-body p {
  font-size: 15px; font-weight: 300; color: var(--charcoal);
  line-height: 1.8; margin-bottom: 1rem;
}

.highlight-box {
  background: var(--pearl); border-radius: 12px; padding: 2rem;
  margin: 2rem 0; border-left: 3px solid var(--teal);
}
.highlight-box h3 {
  font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem;
}
.highlight-box p { font-size: 14px; margin-bottom: 0; }


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: calc(var(--nav-height) + 5rem) 0 6rem;
  background: var(--navy); position: relative;
}
.contact-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px; background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.contact-section { background: var(--white); padding: 3rem 0 5rem; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem; margin-top: 2rem;
}

.contact-info h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.contact-info p { font-size: 15px; font-weight: 300; color: var(--charcoal); line-height: 1.8; margin-bottom: 1.5rem; }

.contact-detail {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; font-size: 14px; color: var(--charcoal);
}
.contact-detail-icon {
  width: 40px; height: 40px; background: var(--teal-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--teal); flex-shrink: 0;
}

.contact-form {
  background: var(--pearl); border-radius: 16px; padding: 2.5rem;
}
.contact-form h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 12px; font-weight: 500; color: var(--navy);
  margin-bottom: 6px; letter-spacing: 0.3px; text-transform: uppercase;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 300;
  color: var(--navy); background: var(--white);
  border: 1px solid rgba(149,165,166,0.25); border-radius: 8px;
  transition: border-color 0.2s ease; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy); padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.4);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p {
  font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7;
  margin-top: 1rem; max-width: 280px;
}
.footer-nav { display: flex; gap: 4rem; }
.footer-nav h4 {
  font-size: 11px; font-weight: 600; color: var(--white);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links a:hover { color: var(--teal); }

.footer-bottom {
  padding-top: 2rem; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 12px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .cap-grid { grid-template-columns: 1fr; }
  .approach-split { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 2rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--white); padding: 2rem;
    border-bottom: 1px solid var(--pearl);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .hero { min-height: auto; padding-bottom: 4rem; }
  .hero h1 { font-size: 32px; }
  .exp-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .footer-nav { flex-direction: column; gap: 2rem; }
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-in {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   BIO PHOTO — Replaces placeholder
   ============================================================ */
.bio-photo {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; object-position: center top;
  border-radius: 16px; margin-bottom: 1.5rem;
}


/* ============================================================
   INSIGHTS PAGE
   ============================================================ */
.insights-hero {
  padding: calc(var(--nav-height) + 5rem) 0 6rem;
  background: var(--navy); position: relative;
}
.insights-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px; background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.insights-section { padding: 4rem 0 5rem; }

/* Featured Article */
.article-featured {
  padding: 3rem;
  background: var(--pearl); border-radius: 16px;
  margin-bottom: 3rem;
  border-left: 4px solid var(--teal);
}
.article-featured h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400; color: var(--navy);
  line-height: 1.3; margin-bottom: 1.5rem;
}
.article-featured p {
  font-size: 15px; font-weight: 300; color: var(--charcoal);
  line-height: 1.8; margin-bottom: 1rem;
}

/* Article Meta */
.article-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1rem;
}
.article-tag {
  display: inline-block; padding: 4px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--teal);
  background: rgba(22,160,133,0.08); border-radius: 4px;
}
.article-meta time {
  font-size: 12px; color: var(--silver); font-weight: 400;
}

.article-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--teal);
  margin-top: 0.5rem;
}
.article-read-more:hover { color: var(--navy); }
.article-read-more::after {
  content: '\2192'; transition: transform 0.2s ease;
}
.article-read-more:hover::after { transform: translateX(4px); }

/* Article Grid */
.article-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.article-card {
  padding: 2rem;
  background: var(--white); border: 1px solid var(--pearl);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.article-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(22,160,133,0.08);
}
.article-card h3 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 400; color: var(--navy);
  line-height: 1.3; margin-bottom: 1rem;
}
.article-card p {
  font-size: 14px; font-weight: 300; color: var(--charcoal);
  line-height: 1.7; margin-bottom: 0.75rem;
}


/* ============================================================
   LATEST INSIGHTS (Home page preview)
   ============================================================ */
.latest-insights { background: var(--pearl); padding: 5rem 0; }

.insights-preview-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 3rem;
}

.insight-preview-card {
  display: block; padding: 2rem;
  background: var(--white); border-radius: 12px;
  transition: all 0.3s ease; text-decoration: none;
  border: 1px solid transparent;
}
.insight-preview-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(22,160,133,0.08);
  transform: translateY(-2px);
}
.insight-preview-card h3 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 400; color: var(--navy);
  line-height: 1.3; margin: 0.75rem 0;
}
.insight-preview-card p {
  font-size: 14px; font-weight: 300; color: var(--charcoal);
  line-height: 1.7; margin-bottom: 0.75rem;
}


/* ============================================================
   CLIENT AREA
   ============================================================ */
.client-hero {
  padding: calc(var(--nav-height) + 5rem) 0 6rem;
  background: var(--navy); position: relative;
  min-height: 70vh; display: flex; align-items: center;
}
.client-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px; background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.client-content { padding: 3rem 0 5rem; }

.client-welcome {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--pearl);
}
.client-welcome h2 {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 400; color: var(--navy);
  margin-bottom: 0.5rem;
}
.client-welcome p {
  font-size: 15px; font-weight: 300; color: var(--charcoal);
}

.client-doc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.client-doc-category {
  background: var(--pearl); border-radius: 12px;
  padding: 2rem;
}
.client-doc-category h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(149,165,166,0.2);
}

.client-doc-list { min-height: 60px; }

.client-doc-empty {
  font-size: 13px; color: var(--silver); font-style: italic;
}

.client-doc-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(149,165,166,0.15);
}
.client-doc-item:last-child { border-bottom: none; }
.client-doc-item a {
  font-size: 14px; font-weight: 400; color: var(--navy);
}
.client-doc-item a:hover { color: var(--teal); }
.client-doc-item .doc-date {
  font-size: 12px; color: var(--silver);
}

.client-support {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--pearl);
  text-align: center;
}
.client-support p {
  font-size: 14px; color: var(--charcoal);
}


/* ============================================================
   RESPONSIVE — Extended
   ============================================================ */
@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; }
  .insights-preview-grid { grid-template-columns: 1fr; }
  .client-doc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .article-featured { padding: 2rem; }
}
