:root {
  --ink: #25352c;
  --ink-soft: #516d57;
  --muted: #6c7d84;
  --paper: #ffffff;
  --paper-soft: #f6f9fa;
  --mist: #cce2f0;
  --stone: #b9cad4;
  --sage: #9fb59e;
  --forest: #516d57;
  --mint: #cce2f0;
  --mint-deep: #516d57;
  --gold: #9fb59e;
  --line: #d8e2e5;
  --shadow: 0 22px 64px rgba(81, 109, 87, 0.09);
  --radius: 20px;
  --shell: min(1180px, calc(100% - 48px));
  --sans: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body, button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

::selection { background: var(--mint); color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.on-page {
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(13, 26, 19, 0.05);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  width: 162px;
  height: 62px;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 720;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--mint-deep);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .nav-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

.primary-nav .nav-contact::after { display: none; }

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-content: center;
  gap: 7px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.menu-toggle i {
  width: 18px;
  height: 1px;
  display: block;
  background: var(--ink);
}

/* Cinematic homepage */
.splash-page { overflow: hidden; }
.splash-main { min-height: 100svh; background: var(--paper); }
.splash-hero { transition: opacity 620ms ease, transform 720ms cubic-bezier(.22,.61,.36,1), filter 620ms ease; }
.splash-page.is-leaving .splash-hero { opacity: 0; transform: scale(1.018); filter: blur(8px); }

.splash-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  isolation: isolate;
  overflow: hidden;
}

.splash-portrait {
  position: absolute;
  z-index: -2;
  inset: 74px 0 0;
  width: 100%;
  height: calc(100% - 74px);
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.05);
}

.splash-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(255,255,255,.98), rgba(255,255,255,0));
  content: "";
  pointer-events: none;
}

.splash-lockup {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  pointer-events: none;
}

.splash-brand-lockup {
  position: absolute;
  left: clamp(21px, 3.4vw, 55px);
  bottom: clamp(21px, 3.4vw, 55px);
  width: clamp(233px, 34vw, 610px);
  height: auto;
  object-fit: contain;
  filter: invert(1) grayscale(1) contrast(1.65);
  mix-blend-mode: multiply;
}

/* Interior pages */
.page-main { padding-top: 82px; }

.page-hero {
  padding: clamp(80px, 10vw, 146px) 0 clamp(72px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, #fff 18%, rgba(204, 226, 240, .38) 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint-deep);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero h1,
.section-head h2,
.contact-copy h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 7rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.page-hero h1 em,
.section-head h2 em,
.contact-copy h1 em {
  color: var(--mint-deep);
  font-family: Georgia, serif;
  font-weight: 500;
}

.page-hero > .shell > p:last-child,
.section-head > p:last-child,
.contact-copy > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.home-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.home-actions .button { margin-top: 0; }
.text-button { color: var(--ink); font-weight: 760; text-underline-offset: 6px; }

.home-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.home-route-grid a { min-height: 320px; display: flex; flex-direction: column; padding: 34px 30px; border-right: 1px solid var(--line); text-decoration: none; transition: background 180ms ease, transform 180ms ease; }
.home-route-grid a:last-child { border-right: 0; }
.home-route-grid a:hover { background: rgba(204,226,240,.28); transform: translateY(-4px); }
.home-route-grid span { color: var(--mint-deep); font-family: var(--mono); font-size: .72rem; letter-spacing: .15em; }
.home-route-grid h3 { margin: auto 0 8px; font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.home-route-grid p { margin: 0; color: var(--muted); }

.home-close { padding: clamp(70px, 8vw, 120px) 0; background: var(--forest); color: var(--paper); }
.home-close .shell { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.home-close p { max-width: 750px; margin: 0; font-size: clamp(1.8rem, 4vw, 4rem); font-weight: 760; letter-spacing: -.05em; line-height: 1.05; }
.home-close .button { flex: 0 0 auto; margin: 0; border-color: var(--mint); background: var(--mint); color: var(--ink); }

.content-section { padding: clamp(76px, 9vw, 132px) 0; }
.content-section.soft { background: var(--paper-soft); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2 { font-size: clamp(2.35rem, 5vw, 5rem); }

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stage-card,
.service-card,
.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.stage-card {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  transition: background 180ms ease, transform 180ms ease;
}

.stage-card.featured {
  border-color: var(--sage);
  background: rgba(159, 181, 158, .12);
}

.stage-card:hover {
  background: rgba(204, 226, 240, .22);
  transform: translateY(-4px);
}

.stage-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mint-deep);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .16em;
}

.stage-card h2 { margin: 34px 0 4px; font-size: 2rem; letter-spacing: -.04em; }
.stage-card > p { margin: 0; color: var(--muted); }
.stage-card ul { display: grid; gap: 14px; margin: 30px 0 34px; padding: 0; list-style: none; }
.stage-card li { display: flex; gap: 12px; color: var(--ink-soft); }
.stage-card li::before { color: var(--mint-deep); content: "•"; font-weight: 900; }

.card-link,
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: auto;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.card-link:hover,
.button:hover { transform: translateY(-2px); background: var(--mint-deep); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card { min-height: 270px; padding: 30px; }
.service-card h3 { margin: 22px 0 8px; font-size: 1.25rem; letter-spacing: -.02em; }
.service-card p { margin: 0; color: var(--muted); }

.egypt-badge {
  position: relative;
  width: 72px;
  height: 72px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(81, 109, 87, .24);
  border-radius: 18px;
  background: var(--mist);
}

.egypt-badge img {
  position: absolute;
  width: 400%;
  max-width: none;
  height: 400%;
  filter: grayscale(1) contrast(1.35) sepia(.22) hue-rotate(82deg) saturate(.62);
}

.symbol-mask img { left: 0; top: 0; }
.symbol-pyramid img { left: -100%; top: 0; }
.symbol-papyrus img { left: -200%; top: 0; }
.symbol-temple img { left: -300%; top: 0; }
.symbol-sphinx img { left: -200%; top: -100%; }
.symbol-scarab img { left: -100%; top: -200%; }

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

.about-card { min-height: 260px; padding: 34px; }
.about-card small { color: var(--mint-deep); font-family: var(--mono); letter-spacing: .14em; }
.about-card h2, .about-card h3 { margin: 22px 0 10px; font-size: clamp(1.65rem, 3vw, 2.6rem); letter-spacing: -.04em; }
.about-card p { margin: 0; color: var(--muted); }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 8vw, 92px);
  align-items: start;
  padding: clamp(120px, 13vw, 180px) 0 clamp(80px, 10vw, 140px);
}

.contact-copy { position: sticky; top: 120px; }
.contact-copy h1 { font-size: clamp(2.7rem, 5.7vw, 5.6rem); }

.contact-details { display: grid; gap: 8px; margin-top: 34px; }
.contact-details a { color: var(--ink); font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.lead-form {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.form-progress { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.form-progress span { padding-bottom: 12px; border-bottom: 2px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .69rem; letter-spacing: .12em; }
.form-progress span.active { border-color: var(--mint-deep); color: var(--mint-deep); }
.form-step { display: grid; gap: 18px; }
.choice-label { margin: 4px 0 0; color: var(--ink-soft); font-size: .76rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-grid.stage-options { grid-template-columns: 1fr 1fr; }
.choice-grid:not(.stage-options) .choice-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.choice-option { position: relative; min-height: 154px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.choice-option:hover { border-color: var(--stone); background: rgba(204,226,240,.2); transform: translateY(-2px); }
.choice-option input { position: absolute; top: 18px; right: 18px; width: 18px; min-height: 18px; margin: 0; accent-color: var(--forest); }
.choice-option strong { display: block; color: var(--ink); font-size: 1rem; }
.choice-option small { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }
.choice-option:has(input:checked) { border-color: var(--forest); background: rgba(159,181,158,.18); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-wide { grid-column: 1 / -1; }
.lead-form label > span { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: .82rem; font-weight: 720; }

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid var(--stone);
  border-radius: 14px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
}

.lead-form .choice-option input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.lead-form input:focus,
.lead-form select:focus { border-color: var(--mint-deep); box-shadow: 0 0 0 3px rgba(81,109,87,.12); }
.lead-form [aria-invalid="true"] { border-color: #b33d3d; }
.consent-row { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; }
.consent-row input { width: 18px; min-height: 18px; margin-top: 3px; }
.consent-row span { font-weight: 500 !important; color: var(--muted) !important; }
.form-guidance, .form-legal, .form-error { margin: 0; color: var(--muted); font-size: .78rem; }
.form-error { color: #9d2626; font-weight: 720; }
.form-actions { display: flex; gap: 12px; }
.form-button { min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 760; }
.form-button.secondary { background: transparent; color: var(--ink); }
.form-button.primary { flex: 1; }
.form-success { padding: 22px; border-radius: 18px; background: rgba(159,181,158,.22); }
.honeypot { position: absolute; left: -9999px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-main {
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: .84rem;
}

.footer-main nav { display: flex; gap: 22px; }
.footer-main a { text-decoration: none; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 1180px); }
  .menu-toggle { display: grid; }
  .primary-nav {
    position: fixed;
    inset: 82px 18px auto;
    display: none;
    align-items: stretch;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: grid; }
  .primary-nav a { padding: 11px 4px; font-size: 1rem; }
  .primary-nav .nav-contact { justify-content: center; }
  .section-head,
  .contact-layout { grid-template-columns: 1fr; }
  .stage-grid,
  .service-grid,
  .home-route-grid { grid-template-columns: 1fr; }
  .home-route-grid a { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-close .shell { align-items: flex-start; flex-direction: column; }
  .stage-card.featured { transform: none; }
  .contact-copy { position: static; }
  .splash-brand-lockup { width: clamp(233px, 55vw, 377px); }
}

@media (max-width: 620px) {
  .brand-logo { width: 132px; height: 52px; }
  .nav-shell { min-height: 72px; }
  .primary-nav { inset-block-start: 72px; }
  .splash-portrait { inset-block-start: 66px; height: calc(100% - 66px); object-fit: cover; object-position: 51% bottom; }
  .splash-brand-lockup {
    left: 13px;
    bottom: 21px;
    width: clamp(233px, 61.8vw, 377px);
  }
  .page-main { padding-top: 72px; }
  .page-hero { padding-top: 74px; }
  .page-hero h1, .contact-copy h1 { font-size: clamp(2.65rem, 14vw, 4.5rem); }
  .section-head { gap: 20px; margin-bottom: 36px; }
  .field-grid { grid-template-columns: 1fr; }
  .choice-grid,
  .choice-grid.stage-options { grid-template-columns: 1fr; }
  .home-actions { align-items: stretch; flex-direction: column; }
  .field-wide { grid-column: auto; }
  .form-actions { flex-direction: column; }
  .footer-main { align-items: flex-start; flex-direction: column; padding: 34px 0; }
  .footer-main nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
