/*
Theme Name: Mckean Nowlin Consulting
Theme URI: https://mckeannowlin.com
Author: Mckean Nowlin
Author URI: https://mckeannowlin.com
Description: Custom single-page theme for Mckean Nowlin Consulting — strategic advisory at the intersection of behavioral economics, data strategy, and early-stage startup execution.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mckean-nowlin
Tags: one-page, custom-colors, full-width-template
*/

/* ===== RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:18px}
body{
  font-family:'Raleway','Segoe UI',sans-serif;
  background:#0a1628;
  color:#dfe6ed;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif}
img{max-width:100%;height:auto;display:block}
a{color:#3ec6e0;text-decoration:none;transition:color .3s}
a:hover,a:focus{color:#6dd5ed;text-decoration:underline}
a:focus-visible{outline:3px solid #3ec6e0;outline-offset:3px}
.container{max-width:1140px;margin:0 auto;padding:0 28px}

/* ===== SKIP LINK (ADA) ===== */
.skip-link{
  position:absolute;top:-100px;left:16px;
  background:#3ec6e0;color:#0a1628;
  padding:12px 24px;z-index:99999;
  font-weight:600;border-radius:0 0 8px 8px;
  transition:top .3s;
}
.skip-link:focus{top:0}

/* ===== STICKY TOP BAR ===== */
.top-bar{
  position:fixed;top:0;left:0;right:0;z-index:9999;
  background:rgba(10,22,40,.92);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(62,198,224,.1);
  padding:10px 32px;
  display:flex;align-items:center;justify-content:space-between;
}
.top-bar-logo{display:flex;align-items:center}
.top-bar-logo img.logo-full{height:44px;width:auto}
.top-bar-logo img.logo-icon{height:44px;width:auto;display:none}
.top-bar-cta{
  display:inline-flex;align-items:center;gap:6px;
  background:linear-gradient(135deg,#1a8cd8,#3ec6e0);
  color:#fff!important;
  font-family:'Raleway',sans-serif;font-weight:600;font-size:.9rem;
  padding:11px 26px;border-radius:8px;
  text-decoration:none!important;letter-spacing:.02em;
  transition:all .3s;white-space:nowrap;
}
.top-bar-cta:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(62,198,224,.3)}

/* ===== GRADIENT TEXT ===== */
.accent{
  background:linear-gradient(135deg,#1a8cd8,#3ec6e0,#6dd5ed);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

/* ===== SECTIONS ===== */
section{position:relative;padding:80px 0}
.section-label{
  display:inline-block;font-size:.8rem;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;
  color:#3ec6e0;margin-bottom:18px;
}
h2{font-size:clamp(2.2rem,4.5vw,3rem);font-weight:500;line-height:1.2;color:#f0f4f8;margin-bottom:22px}
.section-intro{font-size:1.15rem;color:#c8d6e5;max-width:660px;line-height:1.85}
.divider{width:60px;height:2px;background:linear-gradient(90deg,#1a8cd8,#3ec6e0);border:none;margin:18px 0 28px}

/* ===== BUTTONS ===== */
.btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  background:linear-gradient(135deg,#1a8cd8,#3ec6e0);
  color:#fff!important;font-family:'Raleway',sans-serif;
  font-weight:600;font-size:1rem;padding:17px 38px;
  border-radius:10px;text-decoration:none!important;
  letter-spacing:.02em;transition:all .3s;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(62,198,224,.3)}
.btn-secondary{
  display:inline-flex;align-items:center;gap:8px;
  background:transparent;color:#3ec6e0;
  font-family:'Raleway',sans-serif;font-weight:600;font-size:1rem;
  padding:17px 38px;border-radius:10px;
  border:1px solid rgba(62,198,224,.4);
  text-decoration:none!important;letter-spacing:.02em;transition:all .3s;
}
.btn-secondary:hover{background:rgba(62,198,224,.08);border-color:#3ec6e0;color:#6dd5ed}

/* ===== SECTION BREAKS ===== */
.section-break{text-align:center;padding:8px 0}
.break-line{display:inline-block;width:1px;height:40px;background:linear-gradient(180deg,transparent,rgba(62,198,224,.3),transparent)}
.diamond{display:inline-block;width:9px;height:9px;background:#3ec6e0;transform:rotate(45deg);opacity:.35;margin-top:4px}

/* ===== HERO ===== */
.hero{min-height:auto;display:flex;align-items:center;padding:60px 0 30px}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.hero-logo{margin-bottom:32px;max-width:300px}
.hero-logo img{width:100%;border-radius:8px}
h1{font-size:clamp(2.6rem,5.5vw,4rem);font-weight:500;line-height:1.15;color:#f0f4f8;margin-bottom:26px}
.hero-text{font-size:1.2rem;color:#c8d6e5;max-width:540px;margin-bottom:40px;line-height:1.85}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.headshot-wrap{text-align:center}
.headshot-wrap img{
  width:360px;height:360px;object-fit:cover;
  border-radius:50%;border:5px solid #0a1628;
  box-shadow:0 0 0 3px rgba(62,198,224,.3);
  margin:0 auto;
}

/* ===== ABOUT ===== */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.about-text p{margin-bottom:20px;font-size:1.05rem;line-height:1.85;color:#dfe6ed}
.chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.chip{
  display:inline-block;padding:9px 20px;font-size:.85rem;
  font-weight:500;letter-spacing:.03em;
  border:1px solid rgba(62,198,224,.25);border-radius:40px;
  color:#3ec6e0;background:rgba(62,198,224,.04);
}
.highlight-card{
  background:rgba(19,45,84,.28);border:1px solid rgba(62,198,224,.08);
  border-radius:16px;padding:30px;margin-bottom:22px;transition:all .3s;
}
.highlight-card:hover{border-color:rgba(62,198,224,.2);transform:translateX(3px)}
.highlight-card h3{font-size:1.4rem;font-weight:600;color:#f0f4f8;margin-bottom:10px}
.highlight-card p{font-size:1rem;color:#8395a7;line-height:1.75}

/* ===== SERVICES ===== */
.services-header{text-align:center;margin-bottom:56px}
.services-header .section-intro{margin:0 auto}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.service-card{
  background:rgba(10,22,40,.45);border:1px solid rgba(62,198,224,.06);
  border-radius:20px;padding:44px 30px;text-align:center;transition:all .4s;
}
.service-card:hover{border-color:rgba(62,198,224,.2);transform:translateY(-4px);box-shadow:0 20px 50px rgba(0,0,0,.2)}
.service-icon{
  width:64px;height:64px;margin:0 auto 22px;border-radius:14px;
  background:linear-gradient(135deg,rgba(26,140,216,.12),rgba(62,198,224,.05));
  display:flex;align-items:center;justify-content:center;font-size:1.6rem;
}
.service-number{font-size:.95rem;font-weight:600;color:rgba(62,198,224,.22);letter-spacing:.1em;margin-bottom:14px}
.service-card h3{font-size:1.45rem;font-weight:600;color:#f0f4f8;margin-bottom:14px}
.service-card p{font-size:1rem;color:#8395a7;line-height:1.75}

/* ===== TIMELINE ===== */
.experience-header{text-align:center;margin-bottom:56px}
.experience-header .section-intro{margin:0 auto}
.timeline{position:relative;padding-left:40px;max-width:740px;margin:0 auto}
.timeline::before{content:'';position:absolute;left:8px;top:0;bottom:0;width:1px;background:linear-gradient(180deg,#3ec6e0,rgba(26,140,216,.2),transparent)}
.timeline-item{position:relative;margin-bottom:44px;padding-left:24px}
.timeline-item::before{content:'';position:absolute;left:-36px;top:10px;width:11px;height:11px;background:#3ec6e0;border-radius:50%;box-shadow:0 0 12px rgba(62,198,224,.3)}
.timeline-date{font-size:.82rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#3ec6e0;margin-bottom:5px}
.timeline-item h3{font-size:1.3rem;font-weight:600;color:#f0f4f8;margin-bottom:3px}
.timeline-org{font-size:.92rem;color:#8395a7;font-style:italic;margin-bottom:8px}
.timeline-item p{font-size:1rem;color:#c8d6e5;line-height:1.75}

/* ===== TESTIMONIALS ===== */
.testimonials-header{text-align:center;margin-bottom:56px}
.testimonials-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.testimonial-card{
  background:rgba(19,45,84,.28);border:1px solid rgba(62,198,224,.06);
  border-radius:20px;padding:48px 42px;position:relative;transition:all .3s;
}
.testimonial-card:hover{border-color:rgba(62,198,224,.18);transform:translateY(-3px)}
.quote-mark{
  font-family:'Cormorant Garamond',Georgia,serif;font-size:5rem;line-height:1;
  background:linear-gradient(135deg,#1a8cd8,#3ec6e0);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  opacity:.2;position:absolute;top:18px;left:32px;
}
.testimonial-card blockquote{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:1.25rem;font-style:italic;color:#c8d6e5;
  line-height:1.9;margin-bottom:28px;border:none;padding:0;
}
.author-bar{width:30px;height:2px;background:linear-gradient(90deg,#1a8cd8,#3ec6e0);display:inline-block;vertical-align:middle;margin-right:12px}
.author-name{font-size:1.05rem;font-weight:600;color:#f0f4f8}
.author-company{font-size:.92rem;color:#8395a7;margin-left:42px}

/* ===== CTA ===== */
.cta-section{padding:80px 0;text-align:center}
.cta-card{
  background:linear-gradient(135deg,rgba(19,45,84,.45),rgba(10,22,40,.7));
  border:1px solid rgba(62,198,224,.1);border-radius:24px;
  padding:70px 48px;max-width:820px;margin:0 auto;text-align:center;
}
.cta-card .section-intro{margin:0 auto 36px}
.cta-card h2{margin-bottom:16px}

/* ===== FOOTER ===== */
footer{border-top:1px solid rgba(62,198,224,.08);padding:40px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px}
.footer-logo img{height:38px;width:auto}
.footer-links{display:flex;gap:28px}
.footer-links a{font-size:.92rem;color:#8395a7}
.footer-links a:hover{color:#3ec6e0}
.footer-copy{font-size:.85rem;color:#8395a7}

/* ===== RESPONSIVE — TABLET ===== */
@media(max-width:960px){
  html{font-size:17px}
  .top-bar-logo img.logo-full{display:none}
  .top-bar-logo img.logo-icon{display:block}
  .hero-grid{grid-template-columns:1fr;gap:44px;text-align:center}
  .hero-grid>div:first-child{order:2}
  .hero-grid>div:last-child{order:1}
  .hero-logo{margin:0 auto 28px}
  .hero-text{margin:0 auto 36px}
  .hero-actions{justify-content:center}
  .headshot-wrap img{width:300px;height:300px}
  .about-grid{grid-template-columns:1fr;gap:44px}
  .services-grid{grid-template-columns:1fr;max-width:500px;margin:0 auto}
  .testimonials-grid{grid-template-columns:1fr}
  .testimonial-card{padding:40px 36px}
}

/* ===== RESPONSIVE — MOBILE ===== */
@media(max-width:640px){
  html{font-size:16px}
  section{padding:64px 0}
  .hero{padding:48px 0 24px}
  .top-bar{padding:8px 16px}
  .top-bar-logo img.logo-icon{height:36px}
  .top-bar-cta{font-size:.82rem;padding:9px 18px}
  .headshot-wrap img{width:240px;height:240px}
  .hero-logo{max-width:220px}
  .testimonial-card{padding:36px 28px}
  .testimonial-card blockquote{font-size:1.15rem}
  .cta-card{padding:48px 24px;border-radius:18px}
  .service-card{padding:36px 24px}
  .timeline{padding-left:32px}
  .timeline-item{padding-left:16px}
  .highlight-card{padding:26px 22px}
  .footer-inner{flex-direction:column;text-align:center}
  .footer-links{flex-direction:column;gap:14px}
}

/* ===== RESPONSIVE — SMALL PHONE ===== */
@media(max-width:400px){
  .headshot-wrap img{width:200px;height:200px}
  .hero-logo{max-width:180px}
  .testimonial-card blockquote{font-size:1.05rem;line-height:1.8}
  .btn-primary,.btn-secondary{padding:15px 26px;font-size:.92rem}
  .cta-card{padding:40px 20px}
}

/* ===== ADA ===== */
@media(prefers-reduced-motion:reduce){*{transition-duration:.01ms!important}html{scroll-behavior:auto}}
@media(forced-colors:active){
  .btn-primary,.btn-secondary,.top-bar-cta{border:2px solid currentColor}
  .highlight-card,.service-card,.testimonial-card,.cta-card{border:1px solid currentColor}
}
