/* === BRAND TOKENS === */
:root {
  --steel:        #254857;
  --steel-dark:   #1a3340;
  --slate:        #5790A1;
  --slate-light:  #B6C9D2;
  --moss:         #738754;
  --olive:        #575124;
  --ochre:        #EBAA20;
  --ochre-light:  #F7D8A2;
  --clay:         #C94B38;
  --clay-light:   #E6AF9A;
  --steel-grey:   #949CA6;
  --off-white:    #f5f4f0;
  --white:        #ffffff;

  --font-heading: 'Josefin Sans', sans-serif;
  --font-body:    'Lato', sans-serif;
  --font-accent:  'Belanosima', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--steel);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: var(--steel);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-initials {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--steel);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.logo-initials.small {
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
}

.nav {
  display: flex;
  gap: 2.25rem;
}

.nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
  transition: color 0.2s;
}

.nav a:hover { color: var(--ochre); }

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  min-height: 92vh;
  background: var(--steel);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 4rem;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--ochre);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  align-self: flex-start;
  padding: 0.875rem 2rem;
  background: var(--ochre);
  color: var(--steel);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--ochre-light);
  color: var(--steel-dark);
}

.hero-image {
  background: var(--steel);
  padding: 2.5rem 3rem 2.5rem 0;
  display: flex;
  align-items: stretch;
}

.hero-photo {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  border-radius: 8px;
}

/* === SHARED SECTION STYLES === */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5.5rem 2.5rem;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}

.section-label.light { color: var(--slate-light); }

section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

/* === ABOUT === */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: sticky;
  top: 5.5rem;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-text h2 { color: var(--steel); }

.about-text p {
  font-size: 1.05rem;
  color: #3a3a3a;
  margin-bottom: 1.25rem;
  max-width: 540px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 3px solid var(--ochre);
  padding-left: 2rem;
  margin-top: 1rem;
}

.stat {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(37,72,87,0.12);
}

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

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--steel);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-grey);
}

.stat--home-course .stat-number {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.stat-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-decoration: none;
}

.stat-link:hover .stat-number { color: var(--moss); }
.stat-link:hover .stat-label  { color: var(--moss); }

/* === EXPERIENCE === */
.experience {
  background: var(--steel);
}

.experience h2 {
  color: var(--white);
  margin-bottom: 2.5rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.exp-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(183,195,210,0.15);
  border-radius: 4px;
  padding: 2rem;
  transition: background 0.2s;
}

.exp-card:hover { background: rgba(255,255,255,0.1); }

.exp-icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1rem;
  color: var(--ochre);
}

.exp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.exp-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.75rem;
}

.exp-card p {
  font-size: 0.95rem;
  color: var(--slate-light);
  line-height: 1.7;
}

.courses h3 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}

.course-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 2px solid var(--slate);
  padding-left: 1.5rem;
}

.course-list li {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white);
}

.course-note {
  font-size: 0.8rem;
  color: var(--steel-grey);
  font-style: italic;
}

.course-list a {
  color: var(--ochre);
  transition: color 0.2s;
}

.course-list a:hover { color: var(--ochre-light); }

/* === CONTACT === */
.contact {
  background: var(--steel-dark);
}

.contact h2 { color: var(--white); }

.contact-intro {
  font-size: 1.05rem;
  color: var(--slate-light);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.contact-divider {
  width: 1px;
  height: 3rem;
  background: rgba(183,195,210,0.25);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-type {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-grey);
}

.contact-value {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ochre);
  transition: color 0.2s;
}

.contact-value:hover { color: var(--ochre-light); }

/* === FOOTER === */
.site-footer {
  background: var(--steel);
  border-top: 1px solid rgba(183,195,210,0.12);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--steel-grey);
}

/* === HAMBURGER TOGGLE (hidden on desktop) === */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-light);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === TABLET: 768px – 1024px === */
@media (max-width: 1024px) {
  .hero-content { padding: 4rem 2.5rem 4rem 3rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo {
    position: static;
    aspect-ratio: 16 / 9;
  }

  .about-stats {
    flex-direction: row;
    border-left: none;
    border-top: 3px solid var(--ochre);
    padding-left: 0;
    padding-top: 2rem;
  }

  .stat {
    flex: 1;
    padding: 0 1.5rem 0 0;
    border-bottom: none;
    border-right: 1px solid rgba(37,72,87,0.12);
  }

  .stat:last-child { border-right: none; }
}

/* === TABLET PORTRAIT / LARGE MOBILE: ≤ 900px === */
@media (max-width: 900px) {
  .site-header { padding: 1rem 1.5rem; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 80vw);
    background: var(--steel-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 4rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
    z-index: 150;
  }

  .nav.open { transform: translateX(0); }

  .nav a {
    font-size: 1.1rem;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(183,195,210,0.1);
    color: var(--white);
  }

  .nav a:last-child { border-bottom: none; }

  /* Hero stacks vertically */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 3.5rem 2rem;
    text-align: center;
    align-items: center;
  }

  .btn { align-self: center; }

  .hero-image {
    min-height: 340px;
    padding: 1.5rem;
  }

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

  .contact-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .contact-divider { display: none; }
}

/* === MOBILE: ≤ 600px === */
@media (max-width: 600px) {
  .section-inner { padding: 3.5rem 1.25rem; }

  section h2 { margin-bottom: 1.5rem; }

  /* About photo landscape on mobile */
  .about-photo { aspect-ratio: 4 / 3; }

  /* About stats go single column */
  .about-stats {
    flex-direction: column;
    border-top: none;
    border-left: 3px solid var(--ochre);
    padding-left: 1.5rem;
    padding-top: 0;
  }

  .stat {
    flex: none;
    padding: 1.25rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(37,72,87,0.12);
  }

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

  /* Hero adjustments */
  .hero-content { padding: 3rem 1.25rem 2.5rem; }

  .hero-image {
    min-height: 280px;
    padding: 1rem 1.25rem;
  }

  /* Experience cards full-width padding */
  .exp-card { padding: 1.5rem; }

  /* Contact value smaller on tiny screens */
  .contact-value { font-size: 1.15rem; }

  .site-footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem;
  }
}

/* === SMALL MOBILE: ≤ 380px === */
@media (max-width: 380px) {
  .hero-name { font-size: 3rem; }
  .hero-title { font-size: 1.4rem; }
  .nav-toggle { padding: 0.25rem; }
}
