/* ============================================
   NORD STRATEGIES — Website Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy: #154B7C;
  --navy-dark: #0E3558;
  --navy-light: #1E6BA8;
  --cream: #F6F4F0;
  --white: #FFFFFF;
  --text: #1A1D25;
  --text-secondary: #4A5060;
  --text-light: #7A8090;
  --border: #E2E0DC;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1100px;
  --header-height: 72px;
  --section-padding: 100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.header--scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.header__star {
  width: 24px;
  height: 24px;
}

.header__wordmark {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.header__nav a:hover {
  color: var(--navy);
}

.header__linkedin {
  display: flex;
  align-items: center;
}

.header__linkedin svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}

.header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.header__toggle.active span:nth-child(2) {
  transform: rotate(-45deg) translate(0px, 0px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--white);
}

.hero__content {
  max-width: 680px;
  padding: 80px 0;
}

.hero__star-icon {
  width: 36px;
  height: 36px;
  color: var(--navy);
  margin-bottom: 40px;
  opacity: 0.7;
}

.hero__star-icon svg {
  width: 100%;
  height: 100%;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.hero__role {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 32px;
}

.hero__subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background-color: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn svg {
  width: 14px;
  height: 14px;
}

/* --- Sections --- */
.section {
  padding: var(--section-padding) 0;
}

.section--cream {
  background-color: var(--cream);
}

.section--navy {
  background-color: var(--navy);
}

.section__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
}

.section__label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  position: sticky;
  top: calc(var(--header-height) + 40px);
  align-self: start;
}

.section__label--light {
  color: rgba(255, 255, 255, 0.5);
}

/* --- About --- */
.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 400;
}

.about__text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- Focus Areas --- */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.focus-card {
  padding-bottom: 32px;
}

.focus-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.focus-card__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- Timeline / Experience --- */
.timeline {
  display: flex;
  flex-direction: column;
}

.timeline__item {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.timeline__item:first-child {
  padding-top: 0;
  border-top: none;
}

.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
  gap: 16px;
}

.timeline__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
}

.timeline__date {
  font-size: 0.8125rem;
  color: var(--text-light);
  white-space: nowrap;
  font-weight: 500;
}

.timeline__role {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.timeline__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.timeline__highlights {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--navy);
}

.timeline__highlights p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.timeline__highlights p:last-child {
  margin-bottom: 0;
}

/* --- Clients --- */
.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.client {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.client:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.client:nth-child(even) {
  padding-left: 32px;
}

.client:nth-last-child(-n+2) {
  border-bottom: none;
}

/* --- Education & Leadership --- */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.edu-block__heading {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.edu-item {
  margin-bottom: 20px;
}

.edu-item:last-child {
  margin-bottom: 0;
}

.edu-item__degree {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.edu-item__school {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Contact --- */
.contact__lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 32px;
  font-weight: 400;
}

.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 16px 20px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.contact__item:hover:not(.contact__item--static) {
  border-color: var(--navy);
  color: var(--navy);
}

.contact__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--navy);
}

.contact__item--static {
  cursor: default;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}

.footer__star {
  width: 20px;
  height: 20px;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  :root {
    --section-padding: 72px;
  }

  .section__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section__label {
    position: static;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .edu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .client {
    padding: 16px 0 !important;
    border-right: none !important;
    padding-left: 0 !important;
  }

  .client:last-child {
    border-bottom: none;
  }

  .contact__details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
    --header-height: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .header__inner {
    padding: 0 20px;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }

  .header__nav.open {
    display: flex;
  }

  .header__nav a {
    font-size: 1.25rem;
    color: var(--text);
  }

  .header__toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
  }

  .hero__content {
    padding: 40px 0;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .timeline__header {
    flex-direction: column;
    gap: 2px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
