/* ============================================
   CENTURION STRATEGIES — Global Styles
   Palette: Obsidian black / Bone white / Deep crimson
   Type: Playfair Display (display) / Inter (body) / EB Garamond (quotes)
============================================ */

:root {
  --black:        #0A0A0A;
  --black-soft:   #111111;
  --black-card:   #161616;
  --crimson:      #8B1A1A;
  --crimson-light:#A82020;
  --crimson-muted:#6B1414;
  --crimson-dim:  #3D0C0C;
  --white:        #F5F3EE;
  --white-dim:    #C8C4BB;
  --white-muted:  #7A766E;
  --rule:         rgba(139,26,26,0.22);
  --rule-light:   rgba(139,26,26,0.12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-quote:   'EB Garamond', Georgia, serif;

  --max-w: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson-light);
  margin-bottom: 1rem;
}
.section-eyebrow--center  { text-align: center; }
.section-eyebrow--crimson { color: var(--crimson-light); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black-soft);
  margin-bottom: 1.5rem;
}
.section-heading--light  { color: var(--white); }
.section-heading--center { text-align: center; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn-primary:hover {
  background: var(--crimson-light);
  border-color: var(--crimson-light);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(245,243,238,0.4);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(245,243,238,0.06);
}
.btn-full { width: 100%; text-align: center; }

/* ============================================
   NAV
============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,10,0.97);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-mark {
  width: 34px; height: 34px;
  border: 1px solid var(--crimson);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--crimson);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--crimson) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  font-size: 0.65rem !important;
}
.nav-cta:hover { background: var(--crimson-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--white);
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(10,10,10,0.98);
  border-top: 1px solid var(--rule);
  padding: 1.5rem var(--gutter);
  gap: 1.5rem;
}
.nav-mobile a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.nav-mobile.open { display: flex; }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-img.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.91) 0%,
    rgba(10,10,10,0.72) 50%,
    rgba(10,10,10,0.42) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px var(--gutter) 80px;
  width: 100%;
  align-self: center;
  text-align: left;
}
.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson-light);
  margin-bottom: 1.2rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--crimson-light);
}
.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-scroll span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-muted);
}
.scroll-line {
  width: 48px; height: 1px;
  background: var(--crimson-muted);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--crimson-light);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

/* ============================================
   STATEMENT
============================================ */
.statement {
  background: var(--black-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 5rem 0;
}
.statement-quote {
  font-family: var(--font-quote);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white-dim);
  text-align: center;
  line-height: 1.6;
  border: none;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   ABOUT
============================================ */
.about {
  padding: 8rem 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 6rem;
  align-items: start;
}
.about-image-col {
  position: sticky;
  top: 100px;
}
.about-img-frame {
  position: relative;
  margin-bottom: 2rem;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-img-border {
  position: absolute;
  top: 16px; left: 16px;
  right: -16px; bottom: -16px;
  border: 1px solid var(--crimson);
  z-index: -1;
  pointer-events: none;
}
.about-credential-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(10,10,10,0.12);
}
.credential {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(10,10,10,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cred-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
}
.cred-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #666;
  text-transform: uppercase;
}
.about-content-col { padding-top: 0.5rem; }
.about-content-col .section-eyebrow { color: var(--crimson-muted); }
.about-content-col .section-heading  { color: var(--black); }
.about-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson-muted);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(10,10,10,0.12);
  padding-bottom: 1.5rem;
}
.about-body p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.3rem;
  line-height: 1.85;
}
.about-content-col .btn-primary {
  margin-top: 1rem;
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.about-content-col .btn-primary:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}

/* ============================================
   SERVICES
============================================ */
.services {
  padding: 8rem 0;
  background: var(--black);
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 5rem;
}
.section-subhead {
  font-size: 1rem;
  color: var(--white-muted);
  margin-top: -0.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
}
.service-card {
  background: var(--black-card);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { background: #1A1010; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 36px; height: 36px;
  color: var(--crimson-light);
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--white-muted);
  line-height: 1.8;
}

/* ============================================
   TRACK RECORD
============================================ */
.track-record {
  background: var(--black-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 7rem 0;
}
.track-record .section-heading { color: var(--white); margin-bottom: 3.5rem; }
.record-list {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  margin: 0 auto;
}
.record-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem 0;
  gap: 2rem;
}
.record-divider { height: 1px; background: var(--rule); }
.record-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.record-race {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white-muted);
  text-align: right;
}

/* ============================================
   PHILOSOPHY
============================================ */
.philosophy {
  background: var(--white);
  padding: 8rem 0;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.philosophy-content .section-heading { color: var(--black); }
.philosophy-content .section-eyebrow { color: var(--crimson-muted); }
.philosophy-content p {
  font-size: 1rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 1.3rem;
}
.philosophy-content .btn-primary {
  margin-top: 0.5rem;
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.philosophy-content .btn-primary:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}
.philosophy-pillars {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  border-top: 1px solid rgba(10,10,10,0.12);
}
.pillar {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(10,10,10,0.12);
  align-items: flex-start;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--crimson);
  flex-shrink: 0;
  width: 24px;
  margin-top: 2px;
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.pillar p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   CONTACT
============================================ */
.contact {
  position: relative;
  padding: 9rem 0;
  overflow: hidden;
}
.contact-bg { z-index: 0; }
.contact-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.93) 0%,
    rgba(10,10,10,0.90) 100%
  ) !important;
}
.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner .section-heading { margin-bottom: 1rem; }
.contact-subhead {
  font-size: 0.95rem;
  color: var(--white-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}
.contact-form { text-align: left; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,243,238,0.12);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245,243,238,0.22); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--crimson); }
.form-group textarea { resize: vertical; }
.contact-form .btn-primary { margin-top: 1rem; }
.form-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--white-muted);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}
.contact-success {
  text-align: center;
  padding: 3rem 0;
}
.contact-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-success p { color: var(--white-dim); font-size: 1rem; }

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--rule);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.footer-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson-muted);
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--white-muted);
}

/* ============================================
   SCROLL ANIMATIONS
============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-col { position: static; }
  .about-img { aspect-ratio: 3/4; object-position: center top; }
  .about-img-border { display: none; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .record-item { flex-direction: column; gap: 0.25rem; }
  .record-race { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-img { transform: none !important; }
}

/* ============================================
   ABOUT PAGE
============================================ */
.nav-active {
  color: var(--white) !important;
  border-bottom: 1px solid var(--crimson);
  padding-bottom: 2px;
}

.page-header {
  background: var(--black);
  padding: 10rem 0 5rem;
  border-bottom: 1px solid var(--rule);
}
.page-header-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-header-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson-light);
}

.about-page {
  background: var(--white);
  padding: 7rem 0 8rem;
}
.about-page-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 6rem;
  align-items: start;
}
.about-page-image-col {
  position: sticky;
  top: 100px;
}
.about-page-cta-block {
  margin-top: 2rem;
}
.about-page-cta-block .btn-primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.about-page-cta-block .btn-primary:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}
.about-page-content {
  padding-top: 0.5rem;
}
.about-lead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--black) !important;
  line-height: 1.6;
  margin-bottom: 2rem !important;
}
.about-page-record {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(10,10,10,0.12);
}
.record-list--light { max-width: 100%; margin: 0; }
.record-item--light {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 0;
  gap: 2rem;
}
.record-name--dark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}
.record-item--light .record-race { color: #888; text-align: right; }
.record-divider--light { height: 1px; background: rgba(10,10,10,0.1); }

@media (max-width: 1024px) {
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-page-image-col { position: static; }
  .about-page-image-col .about-img {
    aspect-ratio: 3/4;
    object-position: center top;
  }
  .about-img-border { display: none; }
}
@media (max-width: 768px) {
  .record-item--light { flex-direction: column; gap: 0.2rem; }
  .record-item--light .record-race { text-align: left; }
}

/* ============================================
   PRIVACY PAGE
============================================ */
.privacy-page {
  background: var(--white);
  padding: 6rem 0 8rem;
}
.privacy-body {
  max-width: 740px;
  margin: 0 auto;
}
.privacy-intro {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.85;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(10,10,10,0.1);
}
.privacy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(10,10,10,0.08);
}
.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.privacy-section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
}
.privacy-section p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0 1rem;
}
.privacy-section ul li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}
.privacy-section a {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-section a:hover { color: var(--crimson-light); }
