@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

:root {
  --blue: #2979ff;
  --orange: #f5a623;
  --dark: #2c2c2c;
  --gray: #666;
  --light-gray: #f7f7f7;
  --border: #e5e5e5;
  --white: #fff;
  --max-width: 980px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── HEADER ─────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to right, #ffffff max(calc(50% + 460px), calc(100% - 105px)), transparent max(calc(50% + 460px), calc(100% - 105px)));
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 54px;
  width: auto;
  display: block;
}

/* Desktop nav */
.desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--gray);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--orange);
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

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

.mobile-nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mobile-nav a.active {
  color: var(--orange);
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 30px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  font-weight: 300;
}

/* ─── RIGHT SIDEBAR ──────────────────────────────────────── */

.sidebar {
  position: fixed;
  left: max(calc(50% + 460px), calc(100% - 105px));
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sidebar img {
  width: 42px;
  height: auto;
  display: block;
}

.sidebar .icon-email svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gray);
  stroke-width: 1.5;
  transition: stroke 0.2s;
}

.sidebar .icon-email:hover svg {
  stroke: var(--blue);
}

/* ─── VERTICAL RULE ──────────────────────────────────────── */

body::after {
  content: '';
  position: fixed;
  left: max(calc(50% + 460px), calc(100% - 105px));
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(190, 215, 245, 0.13);
  z-index: 80;
  pointer-events: none;
}

@media (max-width: 768px) {
  body::after {
    display: none;
  }
}

/* ─── HOME PAGE ──────────────────────────────────────────── */

.home-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14vh 60px 80px 28px;
}

.home-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 22px;
  max-width: 860px;
}

.home-hero h1 .highlight {
  color: var(--blue);
  font-style: italic;
}

.home-hero p {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 645px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.arrow-link svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.arrow-link:hover svg {
  transform: translateX(4px);
}

/* ─── SERVICES PAGE ──────────────────────────────────────── */

.services-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 28px 80px;
  padding-right: 60px;
}

.services-wrap h1 {
  text-align: left;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 58px;
}

.service-section {
  margin-bottom: 52px;
}

.service-section:last-child {
  margin-bottom: 0;
}

.service-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.service-col h3 {
  display: none;
}

.service-col ul {
  list-style: disc;
  padding-left: 17px;
}

.service-col ul li {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 10px;
}

.service-col ul li:last-child {
  margin-bottom: 0;
}

/* ─── EXPERIENCE PAGE ────────────────────────────────────── */

.experience-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 28px 80px;
  padding-right: 60px;
}

.experience-wrap > h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 36px;
}

.team-intro {
  margin-bottom: 68px;
}

.team-intro > p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 18px;
}

.team-intro ul {
  list-style: disc;
  padding-left: 20px;
}

.team-intro ul li {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 14px;
}

.founder-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: stretch;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 2px;
}

.founder-info {
  display: flex;
  flex-direction: column;
}

.founder-info h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 4px;
}

.founder-title {
  font-size: 20px;
  font-weight: 300;
  color: var(--orange);
  margin-bottom: 26px;
}

.founder-bio {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.85;
  margin-bottom: 26px;
}

.linkedin-link {
  color: var(--blue);
  text-decoration: underline;
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}

.linkedin-link:hover {
  color: #1a5ed8;
}

/* ─── CONTACT PAGE ───────────────────────────────────────── */

.contact-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14vh 28px 80px;
  padding-right: 60px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-wrap h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 28px;
}

.contact-wrap p {
  font-size: 19px;
  color: var(--dark);
  line-height: 1.75;
  padding-left: 80px;
}

.contact-wrap a {
  color: var(--blue);
  text-decoration: underline;
  font-style: italic;
  font-weight: 700;
}

.contact-wrap a:hover {
  color: #1a5ed8;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .sidebar {
    display: none;
  }

  /* Home */
  .home-hero {
    padding: 60px 24px 80px 24px;
  }

  .home-hero h1 {
    font-size: 28px;
  }

  .home-hero p {
    max-width: 100%;
  }

  /* Services */
  .services-wrap {
    padding: 48px 24px 60px;
  }

  .services-wrap h1 {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .service-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-col + .service-col {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-top: 20px;
  }

  /* Experience */
  .experience-wrap {
    padding: 48px 24px 60px;
  }

  .experience-wrap > h1 {
    font-size: 34px;
  }

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

  .founder-photo {
    max-width: 200px;
  }

  /* Contact */
  .contact-wrap {
    padding: 60px 24px 80px;
    justify-content: flex-start;
    padding-top: 80px;
  }

  .contact-wrap h1 {
    font-size: 36px;
  }

  .contact-wrap p {
    padding-left: 0;
  }

  /* Footer */
  footer {
    text-align: center;
  }
}

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

  .contact-wrap h1 {
    font-size: 30px;
  }
}
