/* ─── POLYMATH DEMO FONT FACES ─── */

/* Display — for large headings */
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Thin.otf'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-ThinIt.otf'); font-weight: 100; font-style: italic; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-XLight.otf'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-XLightIt.otf'); font-weight: 200; font-style: italic; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Light.otf'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-LightIt.otf'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Regular.otf'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Italic.otf'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Medium.otf'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-MediumIt.otf'); font-weight: 500; font-style: italic; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Semibold.otf'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-SemiboldIt.otf'); font-weight: 600; font-style: italic; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Bold.otf'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-BoldIt.otf'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Black.otf'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-BlackIt.otf'); font-weight: 900; font-style: italic; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-Super.otf'); font-weight: 950; font-style: normal; }
@font-face { font-family: 'Polymath Display'; src: url('assets/fonts/PolymathDispDemo-SuperIt.otf'); font-weight: 950; font-style: italic; }

/* Text — for body copy */
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Thin.otf'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-ThinIt.otf'); font-weight: 100; font-style: italic; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-XLight.otf'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-XLightIt.otf'); font-weight: 200; font-style: italic; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Light.otf'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-LightIt.otf'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Regular.otf'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Italic.otf'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Medium.otf'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-MediumIt.otf'); font-weight: 500; font-style: italic; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Semibold.otf'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-SemiboldIt.otf'); font-weight: 600; font-style: italic; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Bold.otf'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-BoldIt.otf'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Black.otf'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-BlackIt.otf'); font-weight: 900; font-style: italic; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-Super.otf'); font-weight: 950; font-style: normal; }
@font-face { font-family: 'Polymath Text'; src: url('assets/fonts/PolymathTextDemo-SuperIt.otf'); font-weight: 950; font-style: italic; }

/* Polymath — UI elements, nav, labels */
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Thin.otf'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-ThinIt.otf'); font-weight: 100; font-style: italic; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-XLight.otf'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-XLightIt.otf'); font-weight: 200; font-style: italic; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Light.otf'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-LightIt.otf'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Regular.otf'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Italic.otf'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Medium.otf'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-MediumIt.otf'); font-weight: 500; font-style: italic; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Semibold.otf'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-SemiboldIt.otf'); font-weight: 600; font-style: italic; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Bold.otf'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-BoldIt.otf'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Black.otf'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-BlackIt.otf'); font-weight: 900; font-style: italic; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-Super.otf'); font-weight: 950; font-style: normal; }
@font-face { font-family: 'Polymath'; src: url('assets/fonts/PolymathDemo-SuperIt.otf'); font-weight: 950; font-style: italic; }

:root {
  --blue: #1803DB;
  --black: #111111;
  --white: #FFFFFF;
  --off-white: #F5F5F4;
  --light-grey: #E8E8E8;
  --text-secondary: #555555;
  --font-display: 'Polymath Display', sans-serif;
  --font-text: 'Polymath', sans-serif;
  --font-ui: 'Polymath', sans-serif;
  --nav-h: 72px;
  --max-w: 1280px;
  --pad: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1;
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
}

.nav-brand a { text-decoration: none; color: var(--black); }
.nav-name { display: block; font-family: var(--font-ui); font-size: 14px; font-weight: 700; line-height: 1.3; }
.nav-role { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 500; color: var(--blue); }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--font-ui);
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }

/* ─── PAGE BASE ─── */
.page { padding-top: var(--nav-h); }

/* ─── HOME HERO ─── */
.hero {
  background: var(--blue);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 80px var(--pad);
  gap: 20px;
}

.hero-content { flex: 0 0 480px; color: var(--white); }
.hero-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 36px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 28px;
}
.hero-body { font-size: 16px; line-height: 1.5; opacity: 0.88; }
.hero-body p + p { margin-top: 14px; }

.hero-image { flex: 1; display: flex; justify-content: flex-end; }
.hero-photo {
  width: min(560px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ─── WHAT I BRING ─── */
.section {
  padding: 100px var(--pad);
  max-width: calc(var(--max-w) + var(--pad) * 2);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 72px;
}

.brings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.bring-card { display: flex; flex-direction: column; }
.bring-illustration {
  height: 200px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 32px;
}
.bring-illustration img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
}
.bring-card--centered .bring-illustration {
  justify-content: center;
}
.bring-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}
.bring-text { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }

/* ─── CAREER SNAPSHOT ─── */
.snapshot {
  background: var(--off-white);
  padding: 100px var(--pad);
}
.snapshot-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-intro {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 56px;
}
.career-item {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
}
.career-company { font-family: var(--font-ui); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.career-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

.cta-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.cta-link:hover { opacity: 0.7; }

/* ─── WORK PAGE ─── */
.page-hero {
  padding: 80px var(--pad) 0;
  max-width: calc(var(--max-w) + var(--pad) * 2);
  margin: 0 auto;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 20px;
}
.page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}

.case-studies {
  padding: 64px var(--pad) 120px;
  max-width: calc(var(--max-w) + var(--pad) * 2);
  margin: 0 auto;
}

.case-study {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  padding: 72px 0;
  border-top: 1px solid var(--light-grey);
}

.cs-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: var(--light-grey);
  line-height: 1;
  margin-bottom: 20px;
}
.cs-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.cs-company {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-tag {
  background: var(--off-white);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.cs-body { display: flex; flex-direction: column; gap: 40px; }
.cs-section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cs-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.cs-text { font-size: 16px; line-height: 1.5; color: #333; }
.cs-text p + p { margin-top: 14px; }

.cs-outcome {
  background: var(--off-white);
  border-radius: 16px;
  padding: 28px 32px;
  border-left: 3px solid var(--blue);
}
.cs-outcome-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cs-outcome-text { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.55; }

/* ─── TESTIMONIALS ─── */
.testimonials-section {
  background: var(--off-white);
  padding: 100px var(--pad);
}
.testimonials-inner { max-width: var(--max-w); margin: 0 auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
}
.testimonial-quote { font-size: 16px; line-height: 1.5; margin-bottom: 20px; color: #333; }
.testimonial-author { font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--blue); }

/* ─── SIDE HUSTLES ─── */
.hustles {
  padding: 64px var(--pad) 120px;
  max-width: calc(var(--max-w) + var(--pad) * 2);
  margin: 0 auto;
}
.hustle-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 72px 0;
  border-top: 1px solid var(--light-grey);
  align-items: start;
}
.hustle-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hustle-title { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hustle-text { font-size: 16px; line-height: 1.5; color: #444; }
.hustle-text p + p { margin-top: 14px; }
.hustle-visual {
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--off-white);
}
.hustle-visual img { width: 100%; height: 100%; object-fit: cover; }

.hustle-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hustle-visual-placeholder svg { opacity: 0.2; }

/* ─── ABOUT PAGE ─── */
.about-hero {
  background: var(--blue);
  color: var(--white);
  padding: 80px var(--pad) 100px;
}
.about-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 700;
  line-height: 1.05;
}
.about-intro { font-size: 18px; line-height: 1.5; opacity: 0.9; }
.about-intro p + p { margin-top: 18px; }

.about-body {
  padding: 100px var(--pad) 120px;
  max-width: calc(var(--max-w) + var(--pad) * 2);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-contact h2,
.about-skills h2 { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin-bottom: 28px; }

.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list a {
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s;
}
.contact-list a:hover { opacity: 0.65; }

.skills-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill {
  background: var(--off-white);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--light-grey);
  padding: 36px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-name { font-family: var(--font-ui); font-size: 14px; font-weight: 700; }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a {
  font-size: 13px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }
.footer-copy { font-size: 13px; color: var(--text-secondary); }

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── SIDE DRAWER ─── */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--white);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 28px 32px 48px;
}
.drawer.is-open { transform: translateX(0); }

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 40px;
}
.drawer-brand .name {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  display: block;
  line-height: 1.3;
  color: var(--black);
}
.drawer-brand .role {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  display: block;
}
.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-links a {
  font-family: var(--font-ui);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  letter-spacing: 0.02em;
  display: block;
  padding: 8px 0;
  line-height: 1.1;
  transition: color 0.2s;
}
.drawer-links a:hover,
.drawer-links a.active { color: var(--blue); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  :root { --pad: 40px; }
  .brings-grid { grid-template-columns: repeat(2, 1fr); }
  .career-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-body { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 768px) {
  :root { --pad: 24px; }
  .hero { flex-direction: column; align-items: flex-start; min-height: auto; padding: 60px var(--pad); }
  .hero-content { flex: none; }
  .hero-image { width: 100%; }
  .brings-grid { grid-template-columns: 1fr; }
  .career-grid { grid-template-columns: 1fr; }
  .hustle-item { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
