/* Shared by every page: tokens, base, nav, buttons, section marker, headings, footer.
   Page-specific styles stay inline in each page. */
/* ── TOKENS ─────────────────────────────────────── */
:root {
  --cobalt:     #0C2BC6;
  --burgundy:   #660431;
  --blood:      #EA3B2D;
  --amethyst:   #C7A7F9;
  --chartreuse: #d1cc47;
  --ink:        #000000;
  --white:      #FFFFFF;

  --f-display: 'Boldonse', Impact, sans-serif;
  --f-body:    'Inclusive Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --lh-display: 1.3;

  /* Layout: one content column + fluid side gutters, shared by every section */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 5rem);

  /* Type hierarchy (brand guide p.5) */
  --fs-h2:    clamp(2.25rem, 3.8vw, 3.5rem); /* Headline: Boldonse */
  --fs-lead:  clamp(1.15rem, 1.5vw, 1.35rem); /* Large paragraph: Medium */
  --fs-h3:    1.25rem;                        /* Small header: Bold */
  --fs-body:  1rem;                           /* Body: Regular */
  --fs-small: 0.8rem;                         /* Labels & footnotes */

  /* Safe area */
  padding-top:    env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--chartreuse); outline-offset: 3px; }

/* Screen-reader-only text */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Skip link: off-screen until keyboard focus */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  background: var(--chartreuse);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1rem;
}
.skip-link:focus { top: 0.5rem; }

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

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  padding: 0 var(--gutter);
  height: 56px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;  /* revealed once past the hero (see NAV_COLORS) */
  transition: border-color 600ms ease;
}

.nav-inner {                                /* same container + edges as the sections */
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 28px;
}
.nav-brand svg {
  height: 28px;
  width: auto;
  fill: var(--white);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 280ms var(--ease);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--white); }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.4rem;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-outline {                              /* quieter nav version of the chartreuse CTA */
  background: transparent;
  color: var(--chartreuse);
  border: 1px solid var(--chartreuse);
  transition: background 280ms var(--ease), color 280ms var(--ease), transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.btn-outline:hover { background: var(--chartreuse); color: var(--ink); }
.btn-cta    { background: var(--chartreuse); color: var(--ink); font-size: 0.95rem; padding: 0.8rem 1.9rem; }

/* Section marker: signature star + bold caps header (brand guide p.5, p.7) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 0.95em;
  height: 1.4em;
  background: var(--star) center / contain no-repeat;
}

section:not(.hero) h2 {
  font-family: var(--f-display);
  font-weight: 400; /* Boldonse ships one weight; prevent faux bold */
  font-size: var(--fs-h2);
  line-height: var(--lh-display);
  color: var(--white);
  margin: 0 0 1.5rem;
  text-wrap: balance;
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.45;
  color: var(--white);
}

.link-cta {
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--chartreuse);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 280ms var(--ease), color 280ms var(--ease);
}
.link-cta:hover { gap: 0.65rem; color: var(--white); }
.link-cta .arrow { display: inline-block; transition: transform 280ms var(--ease); }
.link-cta:hover .arrow { transform: translateX(3px); }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--chartreuse);
  padding: 1.75rem max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.footer-brand {
  display: flex;
  align-items: center;
  height: 36px;
}
.footer-brand img { height: 36px; width: auto; display: block; }

.footer-meta {                              /* LinkedIn + © grouped on the right */
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.8);             /* ~13:1 on black */
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 280ms var(--ease);
}
.footer-links a:hover { color: var(--chartreuse); }

.footer-copy {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

@media (max-width: 760px) {
  .nav { padding: 0 1.25rem; }
  .nav-links li:not(:last-child) { display: none; }
  .site-footer { padding: 1.5rem 1.25rem; }
  .footer-meta { gap: 1.25rem; }
}
