/* ============================================
   PACK CONSULTING & ADVISORY — Main Stylesheet
   ============================================ */

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

/* --- Variables --- */
:root {
  --navy:         #0C1C3A;
  --navy-mid:     #1A3260;
  --gold:         #C9A84C;
  --gold-dark:    #A07D2E;
  --off-white:    #F8F7F3;
  --white:        #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted:   #7A7A7A;
  --border:       #E0DDD6;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', -apple-system, sans-serif;
  --transition:   all 0.3s ease;
}

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

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-secondary); font-size: 1rem; line-height: 1.85; }

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.gold-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.gold-divider.centered { margin: 1.25rem auto; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.07);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; transition: var(--transition); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-pack {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  transition: var(--transition);
}
.logo-sub {
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.site-header.scrolled .logo-pack { color: var(--navy); }
.site-header.scrolled .logo-sub  { color: var(--text-muted); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.site-header.scrolled .nav-links a { color: var(--navy); }
.site-header.scrolled .nav-links a:hover { color: var(--gold-dark); }

/* CTA */
.nav-cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.site-header.scrolled .nav-cta { border-color: var(--gold); color: var(--gold); }
.site-header.scrolled .nav-cta:hover { background: var(--gold); color: var(--white); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* ============================================
   HERO — HOMEPAGE
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.1;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(12,28,58,0.95) 0%, rgba(26,50,96,0.85) 60%, rgba(12,28,58,0.9) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 780px;
  padding: 120px 0 80px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-content p {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; top: -15%; left: 0; right: 0; height: 130%;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.07;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,0.72); max-width: 560px; font-size: 1.1rem; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar { background: #080F1E; padding: 48px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   SECTIONS
   ============================================ */
.section         { padding: 100px 0; }
.section-alt     { background: var(--off-white); }
.section-dark    { background: var(--navy); }
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p  { color: rgba(255,255,255,0.72); }
.section-dark .section-label { color: rgba(201,168,76,0.9); }

.section-header          { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header p        { margin-top: 1rem; max-width: 560px; }
.section-header.centered p { margin: 1rem auto 0; }

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.service-card {
  background: var(--white);
  padding: 48px 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { box-shadow: 0 8px 48px rgba(12,28,58,0.12); z-index: 1; }

.service-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-number { color: rgba(201,168,76,0.25); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--navy); }
.service-card p  { font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.5rem; }
.service-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.service-link:hover { gap: 14px; }

/* ============================================
   INSIGHT CARDS
   ============================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  box-shadow: 0 12px 48px rgba(12,28,58,0.12);
  transform: translateY(-4px);
}
.insight-card-img {
  height: 260px;
  overflow: hidden;
  background: var(--navy-mid);
}
.insight-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.insight-card:hover .insight-card-img img { transform: scale(1.05); }
.insight-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.insight-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.insight-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
}
.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.insight-author { font-size: 0.78rem; color: var(--text-muted); }
.read-more {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}
.read-more:hover { color: var(--gold-dark); }

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--border);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
  transition: var(--transition);
}
.team-card:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.04);
}
.team-card h4 { color: var(--navy); margin-bottom: 4px; font-size: 1rem; }
.team-title {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
}

/* About page full-width team */
.team-grid-about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 60px;
}
.team-card-about {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
}
.team-card-about .team-photo {
  width: 160px;
  height: 160px;
  aspect-ratio: unset;
  flex-shrink: 0;
}
.team-card-about .team-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card-about .team-bio { margin-top: 10px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--navy);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p {
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #060D1C;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-pack { font-size: 1.3rem; color: var(--white); }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.35); }
.footer-desc {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 240px;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-intro-text h2 { margin-bottom: 1.5rem; }
.about-intro-text p  { margin-bottom: 1.1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.value-card {
  background: var(--white);
  padding: 36px 32px;
  border-top: 3px solid var(--gold);
}
.value-card h4 { color: var(--navy); margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.88rem; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-detail:last-child { border-bottom: none; }
.service-detail-label h3 { margin-bottom: 0.5rem; }
.service-detail-label .section-label { margin-bottom: 0.5rem; }
.service-detail-body p { margin-bottom: 1rem; }
.service-detail-body ul {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.service-detail-body ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.service-detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 2px;
  background: var(--gold);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-form-group { margin-bottom: 20px; }
.contact-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  appearance: none;
}
.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.contact-form-group textarea { min-height: 140px; resize: vertical; }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.1rem;
}
.contact-info-text h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info-text p { font-size: 0.9rem; color: var(--text-secondary); }
.contact-info-text a { color: var(--gold); transition: var(--transition); }
.contact-info-text a:hover { color: var(--gold-dark); }

/* ============================================
   ARTICLE PAGES
   ============================================ */
.article-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.article-hero-bg {
  position: absolute; top: -15%; left: 0; right: 0; height: 130%;
  background-size: cover;
  background-position: center;
  opacity: 0.09;
}
.article-hero .container { position: relative; }
.article-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}
.article-hero h1 { color: var(--white); max-width: 800px; margin-bottom: 1rem; }
.article-meta {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}
.article-meta span { margin-right: 24px; }

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px;
}
.article-body h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.article-body p  { margin-bottom: 1.5rem; font-size: 1.02rem; line-height: 1.9; }
.article-body ul,
.article-body ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}
.article-body li { margin-bottom: 0.5rem; font-size: 1rem; line-height: 1.75; }

.pullquote {
  border-left: 4px solid var(--gold);
  padding: 20px 32px;
  margin: 2.5rem 0;
  background: var(--off-white);
}
.pullquote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  margin: 0;
}

.article-footer-nav {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.article-footer-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}
.article-footer-nav a:hover { color: var(--gold-dark); }

/* ============================================
   INSIGHTS PAGE — FULL GRID
   ============================================ */
.insights-page .insights-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: 1fr 1fr; }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .service-detail      { grid-template-columns: 1fr; gap: 24px; }
  .team-grid-about     { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section   { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px 24px 32px;
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hero-content { padding: 100px 0 60px; }
  .about-intro,
  .contact-grid        { grid-template-columns: 1fr; gap: 48px; }
  .team-card-about     { grid-template-columns: 120px 1fr; gap: 20px; }
  .team-card-about .team-photo { width: 120px; height: 120px; }
  .values-grid         { grid-template-columns: 1fr; }
  .hero-actions        { flex-direction: column; }
  .footer-bottom       { flex-direction: column; gap: 12px; text-align: center; }
  .article-body        { padding: 60px 24px; }
  .article-footer-nav  { padding: 40px 24px 0; flex-direction: column; gap: 16px; }
  .service-detail-body ul { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .insights-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition-property: width, height, opacity, background;
  transition-duration: 0.25s;
  transition-timing-function: ease;
}
.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  opacity: 0;
  will-change: left, top;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(201,168,76,0.55);
  background: transparent;
  opacity: 0;
  will-change: left, top;
}
.cursor-dot.visible  { opacity: 1; }
.cursor-ring.visible { opacity: 1; }
.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: rgba(201,168,76,0.85);
  background: rgba(201,168,76,0.06);
}
.cursor-dot.hovering { background: var(--gold-dark); }
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================
   HERO SCROLL STAGE
   ============================================ */
.hero-scroll-stage {
  position: relative;
  height: 150vh;
}
.hero-scroll-stage .hero {
  position: sticky;
  top: 0;
  height: 100vh;
}
@media (max-width: 768px) {
  .hero-scroll-stage       { height: auto; }
  .hero-scroll-stage .hero { position: relative; height: auto; }
}

/* ============================================
   HERO ENTRANCE ANIMATION (label + h1 only)
   ============================================ */
.hero-content > .section-label,
.hero-content > h1 {
  opacity: 0;
  transform: translateY(32px);
}
.hero-content.revealed > .section-label {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-content.revealed > h1 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease 0.18s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

/* Scroll-driven elements — opacity controlled by JS */
.hero-actions {
  opacity: 0;
  transform: translateY(22px);
}
.hero-scroll-para {
  opacity: 0;
}
.hero-word {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hero-word.visible {
  opacity: 1;
}

/* Extend hero-bg for parallax headroom */
.hero-bg {
  top: -15% !important;
  bottom: -15% !important;
  left: 0 !important;
  right: 0 !important;
  height: 130% !important;
  inset: unset !important;
}

/* ============================================
   STAGGER SIBLINGS
   ============================================ */
.stagger-child {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   VISUAL SERVICE CARDS — image-based (homepage)
   ============================================ */
.services-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #000;
}
.service-card-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 36px;
  text-decoration: none;
  cursor: pointer;
}
.svc-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.service-card-visual:hover .svc-bg { transform: scale(1.06); }
.svc-overlay {
  position: absolute; inset: 0;
  transition: var(--transition);
}
.svc-content { position: relative; z-index: 1; }
.svc-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(201,168,76,0.35);
  line-height: 1;
  margin-bottom: 14px;
}
.service-card-visual h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.75rem; }
.service-card-visual p  { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.svc-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.service-card-visual:hover .svc-link { gap: 14px; }

/* ============================================
   COLORED SERVICE OVERVIEW CARDS (services page)
   ============================================ */
.service-overview-card.sov-navy {
  background: var(--navy);
}
.service-overview-card.sov-navy h4 { color: var(--white) !important; }
.service-overview-card.sov-navy p  { color: rgba(255,255,255,0.68) !important; }
.service-overview-card.sov-navy a  { color: var(--gold) !important; }

.service-overview-card.sov-gold {
  background: var(--gold);
}
.service-overview-card.sov-gold h4 { color: var(--navy) !important; }
.service-overview-card.sov-gold p  { color: rgba(12,28,58,0.78) !important; }
.service-overview-card.sov-gold a  { color: var(--navy) !important; font-weight: 700; }

.service-overview-card.sov-dark {
  background: #080F1E;
}
.service-overview-card.sov-dark h4 { color: var(--white) !important; }
.service-overview-card.sov-dark p  { color: rgba(255,255,255,0.6) !important; }
.service-overview-card.sov-dark a  { color: var(--gold) !important; }

/* ============================================
   INSIGHT TAG COLORS — per category
   ============================================ */
.tag-ai       { color: #4A9ECC !important; }
.tag-dt       { color: #7CC4A0 !important; }
.tag-ma       { color: #D4956A !important; }
.tag-bc       { color: #9B82D4 !important; }
.tag-fx       { color: #C9A84C !important; }
.tag-gtm      { color: #E07E9A !important; }
.tag-ft       { color: #5BC4C4 !important; }
.tag-mob      { color: #A0C45A !important; }

/* ============================================
   SERVICE DETAIL — sidebar image
   ============================================ */
.service-detail-sidebar-img {
  width: 100%;
  height: 210px;
  overflow: hidden;
  margin-bottom: 20px;
  display: block;
}
.service-detail-sidebar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(12%);
  transition: transform 0.55s ease, filter 0.35s ease;
}
.service-detail-section:hover .service-detail-sidebar-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* ============================================
   RESPONSIVE — visual grid
   ============================================ */
@media (max-width: 1024px) {
  .services-visual-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-visual  { min-height: 360px; }
}
@media (max-width: 680px) {
  .services-visual-grid { grid-template-columns: 1fr; }
  .service-card-visual  { min-height: 300px; }
}
