/* ==========================================================================
   site.css — shared base styles for mykecooper.com
   Includes: reset, design tokens, body, cursor, nav, mobile menu, fade-up,
   typographic helpers, buttons, hero/truth/panel/pull-quote/final-cta sections,
   cards, footer, skip-to-content, and mobile/touch responsive rules.
   ========================================================================== */

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

:root {
  --bg: #0a0a0a;
  --panel: #1C1C1E;
  --surface: #2E2C28;
  --warm-white: #F5F0EB;
  --amber: #C9954C;
  --amber-light: #E8C898;
  --amber-dark: #8F6428;
  --mid-gray: #8A8580;
  --light-gray: #D5CFC7;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--warm-white);
  background-image:
    linear-gradient(rgba(245,240,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,235,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  cursor: none;
}

/* CUSTOM CURSOR */
#cur-dot, #cur-ring { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
#cur-dot { width: 6px; height: 6px; background: var(--amber); top: -200px; left: -200px; }
#cur-ring { width: 32px; height: 32px; border: 1px solid rgba(201,149,76,.5); top: -200px; left: -200px; transition: width .3s, height .3s, border-color .3s; }
#cur-ring.hov { width: 52px; height: 52px; border-color: var(--amber); }
#cur-ring.off, #cur-dot.off { opacity: 0; }

/* SKIP TO CONTENT (a11y) */
.skip-to-content { position: absolute; top: -100%; left: 0; padding: 12px 24px; background: var(--amber); color: var(--bg); font-family: var(--sans); font-size: .85rem; font-weight: 500; z-index: 10000; transition: top .2s; text-decoration: none; }
.skip-to-content:focus { top: 0; }

/* SITE NAV */
#site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; transition: background .4s; }
#site-nav.scrolled { background: rgba(10,10,10,.97); }
.nav__logo { display: flex; align-items: center; flex-shrink: 0; margin-top: 20px; opacity: .93; transition: opacity .3s; }
.nav__logo:hover { opacity: 1; }
.nav__logo img { height: 130px; width: auto; display: block; }
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--warm-white); text-decoration: none; opacity: .75; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--amber); }
.nav__cta { background: var(--amber-light) !important; color: var(--bg) !important; padding: 10px 24px; opacity: 1 !important; transition: background .2s !important; }
.nav__cta:hover { background: var(--amber) !important; }

/* MOBILE MENU TOGGLE */
.nav__toggle { display: none; background: none; border: none; padding: 12px; cursor: pointer; z-index: 600; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--warm-white); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* FADE-UP ANIMATION */
.fade-up { opacity: 1; transform: none; }
.js-ready .fade-up { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js-ready .fade-up.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .25s; }
.d3 { transition-delay: .38s; }
.d4 { transition-delay: .52s; }

/* TYPOGRAPHIC HELPERS */
.label { font-size: .57rem; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 16px; }
.amber-rule { width: 48px; height: 1px; background: var(--amber); display: block; margin-bottom: 28px; }

/* BUTTONS */
.btn-primary { display: inline-block; padding: 16px 44px; background: var(--amber-light); color: var(--bg); font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.btn-primary:hover { background: var(--amber); }
.btn-amber { display: inline-block; padding: 14px 40px; background: var(--amber-light); color: var(--bg); font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.btn-amber:hover { background: var(--amber); }

/* HERO SECTION */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 160px 80px 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; z-index: 0; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(201,149,76,.06) 0%, transparent 70%); top: 10%; left: -100px; animation: pulse 12s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; z-index: 0; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(201,149,76,.04) 0%, transparent 70%); bottom: 5%; right: 5%; animation: pulse 16s ease-in-out infinite alternate-reverse; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.15); opacity: 1; } }
.hero__content { position: relative; z-index: 1; max-width: 1000px; }
.hero__eyebrow { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; }
.hero__eyebrow .label { margin: 0; }
.hero__eyebrow-line { width: 60px; height: 1px; background: rgba(201,149,76,.4); }
.hero__headline { font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 300; line-height: 1.0; color: var(--warm-white); margin-bottom: 48px; }
.hero__headline em { font-style: italic; color: var(--amber); }
.hero__body { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 880px; }
.hero__body p { font-size: 1.05rem; color: rgba(245,240,235,.7); line-height: 1.8; }
.hero__body p strong { color: var(--warm-white); font-weight: 400; }
.hero__cta-row { margin-top: 64px; display: flex; align-items: center; gap: 40px; }
.hero__scroll-hint { font-size: .68rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--mid-gray); display: flex; align-items: center; gap: 12px; }
.hero__scroll-hint::before { content: ''; width: 32px; height: 1px; background: var(--mid-gray); }

/* TRUTH SECTION */
.truth { max-width: 1400px; margin: 0 auto; padding: 120px 80px; }
.truth__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.truth__left h2 { font-family: var(--serif); font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 300; line-height: 1.15; margin-bottom: 36px; }
.truth__left h2 em { font-style: italic; color: var(--amber); }
.truth__left p { font-size: 1rem; color: rgba(245,240,235,.7); line-height: 1.85; margin-bottom: 20px; }
.truth-list { display: flex; flex-direction: column; }
.truth-item { padding: 28px 0; border-bottom: 1px solid rgba(245,240,235,.07); display: flex; gap: 20px; align-items: flex-start; }
.truth-item:first-child { border-top: 1px solid rgba(245,240,235,.07); }
.truth-item__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex-shrink: 0; margin-top: 8px; }
.truth-item p { font-size: .98rem; color: rgba(245,240,235,.72); line-height: 1.75; }
.truth-item p strong { color: var(--warm-white); font-weight: 400; }

/* PANEL SECTION */
.panel-section { background: var(--panel); padding: 120px 80px; }
.panel-section__inner { max-width: 1400px; margin: 0 auto; }
.panel-section__header { margin-bottom: 72px; }
.panel-section__header h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.15; max-width: 700px; }
.panel-section__header h2 em { font-style: italic; color: var(--amber); }
.panel-section__header p { margin-top: 24px; font-size: 1rem; color: rgba(245,240,235,.65); line-height: 1.8; max-width: 560px; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(245,240,235,.05); }
.card { background: var(--panel); padding: 48px 40px; transition: background .3s; }
.card:hover { background: var(--surface); }
.card__bar { width: 28px; height: 1px; background: var(--amber); margin-bottom: 24px; display: block; transition: width .3s; }
.card:hover .card__bar { width: 48px; }
.card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 12px; }
.card p { font-size: .92rem; color: var(--mid-gray); line-height: 1.75; }

/* PULL QUOTE */
.pull-quote { padding: 100px 80px; text-align: center; }
.pull-quote__inner { max-width: 800px; margin: 0 auto; }
.pull-quote blockquote { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 300; line-height: 1.4; color: var(--warm-white); }
.pull-quote blockquote em { font-style: italic; color: var(--amber); }
.pull-quote cite { display: block; margin-top: 32px; font-size: .68rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--mid-gray); font-style: normal; }

/* FINAL CTA */
.final-cta { background: var(--panel); padding: 140px 80px; text-align: center; }
.final-cta__inner { max-width: 760px; margin: 0 auto; }
.final-cta h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 300; line-height: 1.2; margin-bottom: 28px; }
.final-cta h2 em { font-style: italic; color: var(--amber); }
.final-cta p { font-size: 1.05rem; color: rgba(245,240,235,.65); max-width: 540px; margin: 0 auto 48px; line-height: 1.75; }
.final-cta__meta { margin-top: 32px; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mid-gray); }
.final-cta__meta span { color: rgba(201,149,76,.6); margin: 0 12px; }

/* FOOTER */
footer { background: var(--panel); padding: 80px; border-top: 1px solid rgba(245,240,235,.07); }
.footer__inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer__logo img { width: 480px; max-width: 100%; margin-bottom: 20px; }
.footer__tagline { font-size: .9rem; color: var(--mid-gray) !important; line-height: 1.7; }
.footer__location { font-size: .82rem; color: var(--mid-gray) !important; margin-top: 8px; }
.footer__col h4 { font-size: .57rem; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.footer__col a { display: block; font-size: .9rem; color: var(--mid-gray) !important; text-decoration: none !important; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--warm-white) !important; }
.footer__bottom { max-width: 1400px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(245,240,235,.06); display: flex; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: .8rem; color: var(--mid-gray); }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a { font-size: .8rem; color: var(--mid-gray) !important; text-decoration: none !important; letter-spacing: .12em; transition: color .2s; }
.footer__legal a:hover { color: var(--amber) !important; }
.footer__sitemap { font-size: .8rem; color: var(--mid-gray); text-decoration: none; letter-spacing: .12em; transition: color .2s; }
.footer__sitemap:hover { color: var(--amber); }
.footer__contact a, .footer__contact span { color: var(--mid-gray) !important; text-decoration: none !important; }
.footer__contact a:hover { color: var(--amber) !important; }

/* RESPONSIVE — TABLET / MOBILE */
@media (max-width: 960px) {
  .hero, .truth, .panel-section, .pull-quote, .final-cta, footer { padding-left: 32px; padding-right: 32px; }
  .hero__body, .truth__inner { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  .nav__toggle { display: block; }
  #site-nav { padding: 0 24px; }
  .nav__links, nav .nav__links, #site-nav .nav__links {
    display: none !important;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2rem !important;
    z-index: 550;
    padding-top: 88px;
  }
  .nav__links.mobile-open, nav .nav__links.mobile-open, #site-nav .nav__links.mobile-open {
    display: flex !important;
  }
  .nav__links a, nav .nav__links a, #site-nav .nav__links a {
    font-size: 1rem !important;
    letter-spacing: .18em !important;
    padding: 12px 24px !important;
    opacity: 1 !important;
    color: var(--warm-white) !important;
  }
  .nav__links a:hover, .nav__links a:focus { color: var(--amber) !important; }
  .nav__cta, .nav__links .nav__cta {
    margin-top: 1rem;
    padding: 16px 36px !important;
    font-size: .85rem !important;
  }
  .footer__bottom { flex-direction: column !important; gap: 12px !important; align-items: flex-start !important; }
}

@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr !important; }
  .btn, .btn-primary, .btn-amber, .btn--amber, .btn--outline, .cform__submit, [class*="btn"] {
    min-height: 44px;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
  .hero { padding-left: 24px !important; padding-right: 24px !important; }
  .services { padding-left: 24px !important; padding-right: 24px !important; }
  .services__grid { grid-template-columns: 1fr !important; }
  .contact-grid { padding-left: 24px !important; padding-right: 24px !important; gap: 48px !important; }
  footer { padding: 48px 24px !important; }
  .footer__newsletter form { flex-direction: column; }
  .footer__newsletter form button { width: 100%; }
}

@media (hover: none), (pointer: coarse) {
  body, body.cur-active { cursor: auto !important; }
  #cur-dot, #cur-ring, .cursor, .cursor-follower { display: none !important; }
  * { cursor: auto !important; }
}
