/* ── TUNNELL VISION CONSULTING — Global Styles ── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Nunito:wght@800;900&family=Caveat:wght@400;600&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E2C07A;
  --black: #0C0C0C;
  --deep: #111111;
  --surface: #171717;
  --text: #F0EDE8;
  --muted: #8A8580;
  --border: rgba(201,168,76,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(12,12,12,0.95), transparent);
  backdrop-filter: blur(2px);
  transition: background 0.3s, border-bottom 0.3s;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav-logo .wordmark { display: flex; align-items: baseline; gap: 5px; }
.nav-logo .bold-part { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--text); }
.nav-logo .script-part { font-family: 'Caveat', cursive; font-size: 1.15rem; color: var(--gold); font-weight: 600; }
.nav-logo .sub { font-size: 0.55rem; letter-spacing: 0.35em; color: var(--muted); text-transform: uppercase; margin-top: 3px; padding-left: 2px; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; font-weight: 400; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--text); }

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }

/* ── FOOTER ── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-wordmark { display: flex; align-items: baseline; gap: 5px; }
.footer-wordmark .bold-part { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 0.9rem; color: var(--text); }
.footer-wordmark .script-part { font-family: 'Caveat', cursive; font-size: 1rem; color: var(--gold); }
.footer-tag { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.05em; }

/* ── SHARED SECTION STYLES ── */
section { padding: 7rem 4rem; }

.section-label {
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--gold); flex-shrink: 0; }
.section-label.centered { justify-content: center; }
.section-label.centered::before { display: none; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300; line-height: 1.15;
  color: var(--text); margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; padding: 0.85rem 2.2rem;
  background: var(--gold); color: var(--black);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; border-radius: 2px; transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.25); }

.btn-outline {
  display: inline-block; padding: 0.85rem 2.2rem;
  border: 1px solid var(--border); color: var(--text);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 400; text-decoration: none; border-radius: 2px; transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.gold-rule { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 2rem auto; }

/* ── PAGE HERO BANNER (interior pages) ── */
.page-hero {
  padding: 12rem 4rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.page-hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.05; }
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-sub { font-size: 1rem; color: var(--muted); max-width: 540px; margin: 1.5rem auto 0; line-height: 1.8; font-weight: 300; }

/* ── HERO (home) ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; overflow: hidden; padding: 6rem 2rem 4rem;
}
.hero::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.tunnel-bg { position: absolute; inset: 0; pointer-events: none; }
.tunnel-bg svg { width: 100%; height: 100%; object-fit: cover; }

.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; animation: fadeUp 1.2s ease both; }

.hero-logo {
  width: 160px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeIn 1s ease 0.3s both;
  filter: drop-shadow(0 2px 20px rgba(201,168,76,0.15));
}
.hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem; opacity: 0; animation: fadeUp 0.8s ease 0.5s both; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; color: var(--text); max-width: 780px; opacity: 0; animation: fadeUp 0.8s ease 0.7s both; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 1.05rem; font-weight: 300; color: var(--muted); max-width: 540px; line-height: 1.75; opacity: 0; animation: fadeUp 0.8s ease 1.1s both; }
.hero-actions { display: flex; gap: 1.2rem; margin-top: 2.8rem; opacity: 0; animation: fadeUp 0.8s ease 1.3s both; }

.scroll-hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0; animation: fadeIn 1s ease 2s both; z-index: 2; }
.scroll-hint span { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }

/* ── SERVICES ── */
.services { background: var(--deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 5rem; }
.services-desc { font-size: 1rem; line-height: 1.8; color: var(--muted); font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service-card { background: var(--deep); padding: 2.8rem 2.2rem; position: relative; overflow: hidden; transition: background 0.4s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--surface); }
.service-number { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: rgba(201,168,76,0.12); line-height: 1; margin-bottom: 1.5rem; transition: color 0.4s; }
.service-card:hover .service-number { color: rgba(201,168,76,0.25); }
.service-title-card { font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.service-body { font-size: 0.9rem; line-height: 1.75; color: var(--muted); font-weight: 300; }

/* ── ABOUT ── */
.about { background: var(--black); }
.about-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: 6rem; align-items: center; }
.about-visual { position: relative; }
.tunnel-frame { width: 100%; aspect-ratio: 4/5; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.tunnel-frame svg { width: 75%; opacity: 0.9; filter: drop-shadow(0 0 40px rgba(201,168,76,0.15)); }
.tunnel-frame::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 40%, rgba(12,12,12,0.6)); }
.accent-box { position: absolute; bottom: -1.5rem; right: -1.5rem; width: 60%; padding: 1.8rem; background: var(--gold); color: var(--black); }
.accent-box .stat { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; line-height: 1; }
.accent-box .stat-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.3rem; font-weight: 500; }
.about-body { font-size: 1.05rem; line-height: 1.85; color: var(--muted); font-weight: 300; margin-bottom: 1.5rem; }
.about-body strong { color: var(--text); font-weight: 500; }
.values-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.values-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--muted); }
.values-list li::before { content: ''; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* ── APPROACH ── */
.approach { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.approach-inner { max-width: 1200px; margin: 0 auto; }
.approach-header { text-align: center; max-width: 600px; margin: 0 auto 5rem; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.steps::before { content: ''; position: absolute; top: 2rem; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), var(--border), var(--border), transparent); }
.step { text-align: center; padding: 0 2rem; }
.step-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--gold); background: var(--surface); margin: 0 auto 2.5rem; position: relative; z-index: 1; transition: all 0.3s; }
.step:hover .step-dot { background: var(--gold); box-shadow: 0 0 20px rgba(201,168,76,0.4); }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 0.8rem; }
.step-title { font-family: 'DM Sans', sans-serif; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.step-body { font-size: 0.85rem; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── BLOG ── */
.blog { background: var(--black); border-top: 1px solid var(--border); }
.blog-inner { max-width: 1200px; margin: 0 auto; }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
.blog-all-link { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 0.2rem; transition: all 0.3s; white-space: nowrap; margin-bottom: 0.4rem; }
.blog-all-link:hover { border-color: var(--gold); color: var(--gold-light); }
.blog-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.blog-card { background: var(--deep); padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; position: relative; overflow: hidden; transition: background 0.35s; cursor: pointer; text-decoration: none; }
.blog-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.blog-card:hover::after { transform: scaleX(1); }
.blog-card:hover { background: var(--surface); }
.blog-card.featured { padding: 3rem; justify-content: flex-end; min-height: 420px; background: var(--surface); }
.blog-card.featured::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,12,12,0.95) 40%, rgba(12,12,12,0.3)); z-index: 0; }
.blog-card.featured > * { position: relative; z-index: 1; }
.blog-tag { display: inline-block; font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border); padding: 0.3rem 0.7rem; border-radius: 1px; width: fit-content; }
.blog-card.featured .blog-tag { background: var(--gold); color: var(--black); border-color: var(--gold); }
.blog-date { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-weight: 400; color: var(--text); line-height: 1.25; }
.blog-card.featured .blog-title { font-size: 1.9rem; }
.blog-card:not(.featured) .blog-title { font-size: 1.25rem; }
.blog-excerpt { font-size: 0.88rem; line-height: 1.75; color: var(--muted); font-weight: 300; }
.blog-card:not(.featured) .blog-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-read-more { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: auto; display: flex; align-items: center; gap: 0.5rem; transition: gap 0.3s; }
.blog-card:hover .blog-read-more { gap: 0.9rem; }
.blog-read-more::after { content: '→'; font-size: 0.85rem; }
.featured-art { position: absolute; top: 0; right: 0; width: 55%; height: 100%; overflow: hidden; z-index: 0; }
.featured-art svg { width: 100%; height: 100%; }

/* ── CTA ── */
.cta-strip { background: var(--black); padding: 7rem 4rem; }
.cta-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.cta-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; line-height: 1.1; margin-bottom: 1.5rem; }
.cta-title em { font-style: italic; color: var(--gold-light); }
.cta-sub { color: var(--muted); font-size: 1rem; line-height: 1.75; font-weight: 300; margin-bottom: 2.5rem; }
.cta-email { display: inline-block; font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 0.25rem; transition: all 0.3s; margin-top: 1rem; }
.cta-email:hover { color: var(--gold-light); border-color: var(--gold); }

/* ── CONTACT FORM ── */
.contact-section { background: var(--black); }
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: 0.85rem 1rem; font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif; font-weight: 300;
  border-radius: 2px; outline: none; transition: border-color 0.3s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--surface); }
.form-submit { align-self: flex-start; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; font-weight: 300; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6) translateY(10px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  section { padding: 5rem 2rem; }
  .services-header { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .accent-box { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .steps::before { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { min-height: 300px; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 2rem; text-align: center; }
  .page-hero { padding: 10rem 2rem 4rem; }
}

/* ── EXPERIENCE GRID ── */
.experience {
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.experience-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.experience-header {
  max-width: 700px;
  margin-bottom: 4rem;
}
.experience-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  margin-top: 0.5rem;
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.exp-card {
  background: var(--deep);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 0.35s;
  overflow: hidden;
}
.exp-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s;
}
.exp-card:hover::after { transform: scaleY(1); }
.exp-card:hover { background: var(--surface); }
.exp-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.exp-card:hover .exp-icon { opacity: 1; }
.exp-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}
.exp-body {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

@media (max-width: 900px) {
  .exp-grid { grid-template-columns: 1fr; }
  .experience-header { max-width: 100%; }
}
