:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #fafafa;
  --text: #171717;
  --muted: #61656b;
  --line: rgba(23, 23, 23, 0.08);
  --purple: #44307f;
  --yellow: #eadf1b;
  --radius-xl: 32px;
  --max-width: 1180px;
  --nav-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 800;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--purple));
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.94);
}

.eyebrow-light::before {
  background: linear-gradient(90deg, var(--yellow), rgba(255, 255, 255, 0.9));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 1);
  border-color: var(--line);
}

.nav-wrap {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.nav-links a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(68, 48, 127, 0.08);
  color: var(--purple);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

/* Two lines */
.menu-button::before,
.menu-button::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 0.3s ease, top 0.3s ease;
}

/* Top line */
.menu-button::before {
  top: calc(50% - 3px);
}

/* Bottom line */
.menu-button::after {
  top: calc(50% + 3px);
}

/* Open state → turns into X */
.menu-button.open::before {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button.open::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

main {
  overflow: clip;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1,
.overview-highlight h2,
.who-card h2,
.contact-intro h2 {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.hero-copy h1 {
  margin: 1rem 0 1.15rem;
  font-size: clamp(2.4rem, 4.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero-copy p {
  margin: 0 0 1.5rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--purple);
  color: #ffffff;
}

.button-primary:hover {
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover {
  color: var(--text);
}

.hero-visual {
  height: 100%;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  max-height: 680px;
  border-radius: 36px;
  overflow: hidden;
  background: #f0f0f0;
}

.who-photo {
  position: relative;
  min-height: 620px;
  border-radius: 36px;
  overflow: hidden;
  background: #f0f0f0;
}

.hero-photo-wrap img {
  object-position: center 45%;
}

.who-photo img {
  object-position: center center;
}

.hero-visual {
  height: 100%;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  max-height: 680px;
  border-radius: 36px;
  overflow: hidden;
  background: #f0f0f0;
}

.who-photo {
  position: relative;
  min-height: 620px;
  border-radius: 36px;
  overflow: hidden;
  background: #f0f0f0;
}

.image-stage {
  isolation: isolate;
}

.stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  filter: blur(0px);
  transition:
    opacity 1.8s ease,
    transform 2.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.8s ease;
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
  pointer-events: none;
}

.stage-image.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.stage-image.is-entering {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
  z-index: 3;
}

.stage-image.is-exiting {
  opacity: 0;
  transform: scale(1.03);
  filter: blur(1.5px);
  z-index: 2;
}

.hero-photo-wrap .stage-image {
  object-position: center 45%;
}

.who-photo .stage-image {
  object-position: center center;
}

.section {
  padding: 3rem 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.overview-highlight,
.overview-copy {
  padding: clamp(1.8rem, 3vw, 3rem);
}

.overview-highlight {
  background: linear-gradient(180deg, rgba(68, 48, 127, 1), rgba(51, 38, 102, 0.98));
  color: #ffffff;
}

.overview-highlight h2 {
  margin: 0.9rem 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.overview-copy {
  background: var(--surface);
  color: #31353b;
  display: grid;
  gap: 1rem;
}

.overview-copy p {
  margin: 0;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.who-card {
  padding: clamp(1.8rem, 3vw, 3rem);
}

.who-card h2,
.contact-intro h2 {
  margin: 0.9rem 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.who-card p,
.contact-intro p,
.contact-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-shell {
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
}

.contact-intro {
  max-width: none;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-muted);
}

.contact-card strong {
  display: block;
  margin-bottom: 0.65rem;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
}

.contact-card > a {
  display: block;
  color: var(--purple);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(68, 48, 127, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-card > a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}

.contact-text {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.contact-card p a {
  display: inline;
  color: var(--purple);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(68, 48, 127, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-card p a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}

.address-card {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, rgba(234, 223, 27, 0.18), rgba(234, 223, 27, 0.08));
  border-color: rgba(234, 223, 27, 0.45);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-meta p,
.footer-meta a {
  margin: 0;
  color: var(--muted);
}

.footer-meta a:hover {
  color: var(--purple);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 821px) {
  .contact-intro h2,
  .contact-intro p {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .overview-grid,
  .who-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap,
  .who-photo {
    aspect-ratio: 16 / 10;
    min-height: 420px;
  }

  .contact-intro h2,
  .contact-intro p {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 76px;
  }

  .brand-logo {
    height: 46px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.7rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    padding-top: 4.5rem;
  }

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

  .address-card {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero-photo-wrap,
  .who-photo,
  .panel {
    border-radius: 24px;
  }

  .hero-photo-wrap,
  .who-photo {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}