:root {
  --black: #050409;
  --ink: #0b0810;
  --panel: rgba(10, 8, 16, .88);
  --purple: #7b39d2;
  --purple-light: #a35af6;
  --gold: #f2cc36;
  --white: #ffffff;
  --muted: #d6d2dc;
  --line: rgba(255,255,255,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px clamp(22px, 4.5vw, 70px);
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 20;
}
.hero-header {
  position: absolute;
  inset: 0 0 auto 0;
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0));
  border-bottom: 0;
}
.brand { display: grid; line-height: 1; text-transform: uppercase; letter-spacing: .08em; }
.monogram { font-family: Georgia, serif; font-size: 4.2rem; line-height: .7; color: var(--purple-light); text-transform: none; letter-spacing: -.15em; margin-bottom: 18px; }
.brand strong { font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 900; letter-spacing: .08em; }
.brand em { color: var(--gold); font-style: normal; font-weight: 800; letter-spacing: .35em; margin-top: 8px; font-size: .95rem; }
nav { display: flex; align-items: center; gap: clamp(18px, 4vw, 58px); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
nav a { position: relative; padding-bottom: 10px; }
nav a.active::after, nav a:hover::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: 0; background: var(--gold); }

.hero-graphic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 190px clamp(24px, 4.5vw, 72px) 180px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 34%, rgba(0,0,0,.20) 66%, rgba(0,0,0,.10) 100%),
    linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 45%, rgba(0,0,0,.70)),
    url("../assets/sophia-hero-banner.png") center right / cover no-repeat;
}
.hero-copy { max-width: 760px; position: relative; z-index: 2; }
h1 { margin: 0; text-transform: uppercase; font-size: clamp(4rem, 9vw, 8.8rem); line-height: .88; letter-spacing: -.035em; font-weight: 950; }
h1 span { display: block; text-shadow: 0 8px 28px rgba(0,0,0,.55); }
h1 span:last-child { color: var(--purple-light); }
.script-line { margin: 10px 0 24px; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .9; color: var(--gold); }
.lead { font-size: clamp(1.15rem, 2vw, 1.55rem); color: var(--white); margin: 0 0 16px; }
.accent-line, .eyebrow { color: var(--purple-light); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.button { display: inline-flex; align-items: center; gap: 24px; margin-top: 12px; padding: 18px 28px; font-weight: 950; text-transform: uppercase; letter-spacing: .03em; border: 2px solid var(--gold); background: rgba(0,0,0,.35); }
.button span { color: var(--gold); font-size: 1.6rem; line-height: 1; }
.value-strip { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(0,0,0,.72); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.08); }
.value-strip article { text-align: center; padding: 26px 22px 30px; min-height: 135px; border-right: 1px solid var(--line); }
.value-strip article:last-child { border-right: 0; }
.value-strip .icon { color: var(--purple-light); font-size: 2.5rem; line-height: 1; margin-bottom: 8px; }
.value-strip h3 { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; }
.value-strip p { margin: 8px auto 0; max-width: 260px; color: var(--muted); line-height: 1.35; }

.section, .page { padding: clamp(52px, 7vw, 96px) clamp(22px, 5vw, 76px); }
.two-column { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.dark-section { background: #0b0810; border-top: 1px solid rgba(255,255,255,.08); }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.04em; }
.two-column p:last-child { font-size: 1.15rem; color: var(--muted); margin: 0; }
.cards, .service-grid, .timeline, .contact-layout { display: grid; gap: 22px; padding: 0 clamp(22px, 5vw, 76px) clamp(64px, 7vw, 96px); }
.cards { grid-template-columns: repeat(3, 1fr); background: #0b0810; }
.cards article, .service-card, .timeline-item, .contact-card, .contact-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 28px; box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.cards h3, .service-card h3, .timeline-item h3 { margin: 0 0 8px; color: var(--gold); }
.cards p, .service-card p, .timeline-item p, .contact-card p { color: var(--muted); margin-bottom: 0; }
.page-hero { max-width: 900px; margin-bottom: 42px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.service-grid { grid-template-columns: repeat(3, 1fr); padding-left: 0; padding-right: 0; }
.timeline { padding-left: 0; padding-right: 0; }
.contact-layout { grid-template-columns: 1.25fr .75fr; padding-left: 0; padding-right: 0; align-items: start; }
label { display: block; font-weight: 850; margin-bottom: 16px; }
input, textarea { width: 100%; margin-top: 6px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 13px 14px; font: inherit; color: white; background: rgba(255,255,255,.08); }
textarea { resize: vertical; }
footer { text-align: center; padding: 28px; color: var(--muted); border-top: 1px solid rgba(255,255,255,.08); background: #07050a; }

@media (max-width: 920px) {
  .site-header, .hero-header { position: relative; flex-direction: column; align-items: flex-start; background: var(--ink); }
  nav { flex-wrap: wrap; gap: 16px; }
  .hero-graphic { min-height: auto; padding-top: 70px; padding-bottom: 380px; background-position: 64% center; }
  .value-strip { grid-template-columns: 1fr 1fr; }
  .two-column, .cards, .service-grid, .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand strong { font-size: 1.4rem; }
  .brand em { letter-spacing: .18em; }
  h1 { font-size: 3.4rem; }
  .script-line { font-size: 2.3rem; }
  .hero-graphic { padding-bottom: 520px; }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
}
