/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
  --blue: #1362ff;
  --blue-dark: #0a4fd4;
  --orange: #ff7828;
  --orange-light: #ff9352;
  --pink: #ffd7dc;
  --yellow: #f8e365;
  --yellow-muted: #ecd448;

  --white: #ffffff;
  --off-white: #faf9f7;
  --cream: #f5f3ef;
  --gray-100: #f0eee9;
  --gray-200: #e0ddd6;
  --gray-400: #a09b90;
  --gray-600: #6b665c;
  --gray-800: #3a3732;
  --black: #1a1815;

  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --container: 1140px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--off-white);
}

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

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

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 600;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 100px 0;
}

.center {
  text-align: center;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.nav-cta.active::after {
  display: none;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 98, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--gray-800);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 18px;
  padding: 18px 40px;
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 140px 0 80px;
  background: var(--off-white);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

.hero-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}


.hero-sub {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.headshot-frame {
  position: relative;
}

.headshot-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: 12px;
  left: 12px;
  background: var(--yellow);
  border-radius: var(--radius);
  z-index: 0;
}

.headshot-frame::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: -12px;
  left: -12px;
  background: var(--pink);
  border-radius: var(--radius);
  z-index: 0;
}

.headshot-placeholder,
.headshot-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 15px;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--black);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-col p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.about-col strong {
  color: var(--gray-800);
}

/* ===========================
   PHILOSOPHY
   =========================== */
.philosophy {
  background: var(--off-white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.philosophy-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.philosophy-number {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.philosophy-card h3 {
  font-size: 20px;
  color: var(--black);
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

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

.experience-timeline {
  max-width: 640px;
  margin-top: 48px;
  border-left: 3px solid var(--gray-200);
  padding-left: 32px;
}

.timeline-group {
  margin-bottom: 36px;
  position: relative;
}

.timeline-group:last-child {
  margin-bottom: 0;
}

.timeline-group::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--off-white);
}

.timeline-company-header {
  font-size: 20px;
  color: var(--black);
  margin-bottom: 12px;
}

.timeline-roles {
  list-style: none;
}

.timeline-roles li {
  font-size: 15px;
  color: var(--gray-800);
  padding: 8px 0;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 16px;
}

.role-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  min-width: 40px;
}

/* ===========================
   EDUCATION
   =========================== */
.education {
  background: var(--cream);
}

.education-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: 24px;
}

.education-name {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.education-honors {
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
}

.education-details p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  background: var(--black);
  color: var(--white);
}

.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  font-family: var(--font-serif);
  font-size: 44px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact p {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact .btn-primary {
  margin-bottom: 32px;
}

.mobile-copyright {
  display: none;
}

.social-links {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.social-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--white);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 28px 0;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer p {
  font-size: 14px;
  color: var(--gray-600);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-600);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gray-400);
}

/* ===========================
   SERVICES PAGE
   =========================== */
.page-header {
  padding: 140px 0 60px;
  background: var(--off-white);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

/* Services Chart */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 44px 32px;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.service-card:nth-child(1)::before { background: var(--yellow); }
.service-card:nth-child(2)::before { background: var(--orange); }
.service-card:nth-child(3)::before { background: var(--blue); }
.service-card:nth-child(4)::before { background: var(--pink); }
.service-card:nth-child(5)::before { background: var(--yellow-muted); }
.service-card:nth-child(6)::before { background: var(--orange-light); }

.service-card:hover {
  border-color: var(--gray-200);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
  font-size: 22px;
  color: var(--black);
  margin-bottom: 12px;
}

.service-card .service-desc {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-includes {
  list-style: none;
}

.service-includes li {
  font-size: 14px;
  color: var(--gray-800);
  padding: 8px 0;
  border-top: 1px solid var(--gray-200);
  padding-left: 24px;
  position: relative;
}

.service-includes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 600;
}

/* ===========================
   PACKAGES
   =========================== */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.package-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 44px 36px;
  border: 2px solid var(--gray-100);
  transition: all var(--transition);
}

.package-card.student {
  border-color: var(--pink);
}

.package-card.featured {
  border-color: var(--orange);
  position: relative;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.package-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.package-header h3 {
  font-size: 22px;
  color: var(--black);
}

.package-price {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

.package-note {
  font-size: 14px;
  font-style: italic;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.package-includes {
  list-style: none;
}

.package-includes li {
  font-size: 15px;
  color: var(--gray-800);
  padding: 10px 0;
  border-top: 1px solid var(--gray-200);
  padding-left: 24px;
  position: relative;
}

.package-includes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 600;
}

/* ===========================
   PRICING TABLE
   =========================== */
.alacarte {
  background: var(--off-white);
}

.extras {
  background: var(--white);
}

.pricing-table {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 240px 1fr auto;
}

.pricing-row {
  display: contents;
}

.pricing-header-row .pricing-cell {
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-cell {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-price-cell {
  font-weight: 700;
  color: var(--blue);
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}

.pricing-row:last-child .pricing-cell {
  border-bottom: none;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--gray-400);
  margin-top: 24px;
}

/* Services CTA */
.services-cta {
  background: var(--off-white);
  text-align: center;
}

.services-cta p {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.services-cta .section-heading {
  margin-bottom: 16px;
}

/* ===========================
   PORTFOLIO PAGE
   =========================== */
.portfolio-section {
  background: var(--white);
  overflow: hidden;
}

.portfolio-swiper {
  margin-top: 48px;
  position: relative;
}

.portfolio-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 20px 0 40px;
}

.portfolio-track::-webkit-scrollbar {
  display: none;
}

.portfolio-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: grab;
}

.portfolio-card:active {
  cursor: grabbing;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.portfolio-card-image {
  width: 100%;
  aspect-ratio: 2/3;
  background: var(--gray-200);
  position: relative;
  overflow: hidden;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.03);
}

.portfolio-card-body {
  padding: 24px;
}

.portfolio-card-body h3 {
  font-size: 20px;
  color: var(--black);
  margin-bottom: 6px;
}

.portfolio-card-year {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 8px;
}

.portfolio-card-role {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Swiper Controls */
.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.portfolio-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 18px;
  color: var(--gray-600);
}

.portfolio-btn:hover {
  border-color: var(--black);
  color: var(--black);
}

.portfolio-dots {
  display: flex;
  gap: 8px;
}

.portfolio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.portfolio-dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

/* Press section on portfolio page */
.press-section {
  background: var(--off-white);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.press-item {
  background: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.press-item:hover {
  border-color: var(--gray-200);
  transform: translateY(-2px);
}

.press-item h3 {
  font-size: 17px;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.4;
}

.press-pub {
  font-size: 14px;
  color: var(--orange);
  font-weight: 500;
}

/* Accolades */
.accolades-section {
  background: var(--white);
}

.accolades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.accolade-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.accolade-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow-muted);
  white-space: nowrap;
  padding-top: 2px;
}

.accolade-item h3 {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 4px;
}

.accolade-item p {
  font-size: 14px;
  color: var(--gray-600);
}


/* ===========================
   ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 300px;
    gap: 48px;
  }

  .hero h1 {
    font-size: 44px;
  }

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

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

@media (max-width: 768px) {
  .nav {
    position: relative;
    background: var(--off-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 72px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 24px;
    gap: 16px;
    text-align: center;
    border-top: 1px solid var(--gray-200);
    background: var(--off-white);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 48px;
  }

  .page-header {
    padding-top: 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 38px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .experience-timeline {
    max-width: 100%;
  }

  .education-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

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

  .pricing-table {
    grid-template-columns: 1fr 1.5fr auto;
  }

  .pricing-cell {
    padding: 12px 16px;
    font-size: 14px;
  }

  .pricing-header-row .pricing-cell {
    font-size: 12px;
    padding: 10px 16px;
  }

  .pricing-price-cell {
    font-size: 14px;
    min-width: 70px;
  }

  .contact h2 {
    font-size: 26px;
  }

  .contact p {
    font-size: 15px;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .portfolio-card {
    flex: 0 0 280px;
  }

  .mobile-copyright {
    display: block;
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 24px;
  }

  .footer {
    background: var(--off-white);
    border-top: 1px solid var(--gray-200);
    padding: 32px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer p {
    color: var(--gray-600);
  }

  .footer-links a {
    color: var(--gray-600);
  }

  .section {
    padding: 72px 0;
  }

  .section.contact {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .section-heading {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .package-header {
    flex-direction: column;
  }
}
