/* =========
   Base styles
   ========= */

:root {
  --bg: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.96);
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #111827;
  --brand-color: #0f7ea8; /* logo blue */
  --radius-lg: 28px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.08);
  --body-font: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --heading-font: "Montserrat", system-ui, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--body-font);
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg);
}

/* =========
   Page-level background
   ========= */

.home-page,
.about-page,
.services-page,
.contact-page {
  background-color: #ffffff;
}

/* =========
   Page shell & layout
   ========= */

.page-shell {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========
   Header & navigation
   ========= */

.site-header {
  padding-bottom: 0.75rem;
}

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

/* Brand (logo + text) */

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--brand-color);
}

.brand-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation */

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--text-main);
  border-bottom-color: rgba(15, 23, 42, 0.18);
}

.nav-link.active {
  color: var(--text-main);
  border-bottom-color: var(--brand-color);
}

/* =========
   Main layout & hero (all pages)
   ========= */

.site-main {
  flex: 1;
  display: block;
}

.hero {
  width: 100%;
  padding: 9rem 0 5.5rem; /* consistent vertical position across pages */
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 3.5rem;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  letter-spacing: 0;
  color: var(--text-main);
}

.hero-title {
  font-size: clamp(2.4rem, 2.6vw + 1.6rem, 3.2rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

/* =========
   Body / subtext typography
   ========= */

.hero-lede,
.about-page .page-body p,
.services-page .service-text,
.contact-page p {
  font-size: 1.3rem;
  color: var(--text-muted);
}

.page-body {
  max-width: 38rem;
  margin-top: 1.25rem;
}

.page-body p {
  margin: 0.35rem 0;
}

/* =========
   Hero artwork (oval blob)
   ========= */

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-blob {
  width: 442px;
  height: 561px;
  border-radius: 60% 40% 60% 40% / 55% 65% 45% 60%;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.22);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Page-specific images inside the oval */

.home-page .hero-blob {
  background-image: url("background1.jpg");
}

.about-page .hero-blob {
  background-image: url("about-blob.jpg");
}

.services-page .hero-blob {
  background-image: url("services-blob.jpg");
}

.contact-page .hero-blob {
  background-image: url("contact-blob.jpg");
}

/* =========
   WHO WE ARE section (About page)
   ========= */

.who-section {
  background-color: #f7f9fc;
  border-radius: 40px;
  padding: 4rem 0;
  margin-top: 11rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.who-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.who-photo-wrap {
  display: flex;
  justify-content: center;
}

.who-photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background-image: url("sahar-headshot.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

/* =========
   Services blocks
   ========= */

.service-block {
  margin-top: 1.5rem;
}

.service-title {
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.2rem;
  color: var(--text-main);
}

.service-text {
  margin: 0;
}

/* =========
   Contact styles
   ========= */

.contact-intro {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin-top: 1rem;
}

/* Pill-style contact links (icon + text) */

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1rem;
}

.contact-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #111827; /* dark gray / near-black */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.6rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.contact-link-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.contact-link-text {
  white-space: nowrap;
}

.contact-link:hover .contact-link-icon {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.45);
}

/* =========
   Buttons
   ========= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  background: #020617;
}

/* =========
   Footer
   ========= */

.site-footer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  text-align: right;
}

/* =========
   Responsive tweaks
   ========= */

@media (max-width: 900px) {
  .page-shell {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

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

  .hero-art {
    order: -1; /* blob above text on mobile */
  }

  .brand-tagline {
    white-space: normal;
  }

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

  .who-section {
    margin-top: 7.5rem;
  }

  .who-photo-wrap {
    margin-top: 1.5rem;
  }
}

@media (max-width: 600px) {
  .site-nav {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-blob {
    width: 367px;
    height: 466px;
  }

  .contact-links {
    align-items: flex-start;
  }
}
