:root {
  --bg: #f5f1ea;
  --surface: #fffdf9;
  --surface-2: #ece6dc;
  --line: #ddd5c8;
  --text: #1d1b18;
  --muted: #6b655c;
  --ai: #5b3fd9;
  --mobil: #0d8a5f;
  --delphi: #b5650a;
  --display: "Fraunces", Georgia, serif;
  color-scheme: light;
}

body { font-size: 17.5px; }
h1, h2, h3, h4 { letter-spacing: -0.01em; font-weight: 600; }

.topbar { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.brand { font-family: var(--display); font-weight: 600; font-size: 20px; }
.topbar nav .nav-cta { color: var(--bg); background: var(--text); }
.topbar nav .nav-cta:hover { color: #fff; background: #000; }

.eyebrow { color: var(--ai); }

.hero { grid-template-columns: 1.5fr 1fr; padding: 88px 0 72px; }
.hero h1 { font-weight: 600; font-size: clamp(42px, 5.6vw, 78px); line-height: 1.04; }
.hero h1 em { font-style: italic; }
.hero .lead { color: var(--muted); }
.hero-photo img {
  aspect-ratio: 3 / 4; border-radius: 240px 240px 24px 24px;
  filter: none; box-shadow: 0 30px 60px -30px rgba(60, 40, 10, .35);
}
.hero-photo::after { display: none; }

.btn { background: var(--text); color: var(--bg); }
.btn:hover { background: #000; color: #fff; }
.btn.ghost { color: var(--text); border-color: var(--text); }
.btn.ghost:hover { background: var(--text); color: var(--bg); }

.doors { gap: 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: 96px; }
.door {
  background: transparent; border: 0; border-radius: 0; min-height: 0;
  padding: 32px 28px 36px; border-right: 1px solid var(--line);
}
.door:last-child { border-right: 0; }
.door::before { background: color-mix(in srgb, var(--accent) 7%, transparent); opacity: 0; }
.door:hover { transform: none; }
.door:hover::before { opacity: 1; }
.door-num { font: 600 15px var(--display); }
.door h2 { font-size: 32px; }

.terminal { box-shadow: 0 40px 80px -40px rgba(7, 26, 54, .55); }
.terminal { color: #f3f6fb; }
.terminal h2 { font-weight: 600; color: #fff; }

.area-head { border-bottom-color: var(--text); }
.area-num { font: 600 72px/0.8 var(--display); font-style: italic; }
.area-head h2 { font-weight: 600; }
.area-intro { color: var(--text); font-size: 20px; }

.offer article, .cases article, .project, .repo, .quote-grid figure, .contact {
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 12px 30px -22px rgba(60, 40, 10, .35);
}
.repo:hover { background: var(--surface); }
.offer article { border-top-width: 0; border-left: 3px solid var(--accent); }
.project-shots { background: radial-gradient(100% 90% at 50% 0%, color-mix(in srgb, var(--tint, var(--accent)) 30%, #f1ebe1), #efe9df); }
.project-shots img { border-color: #1d1b18; }
.tags span, .case-points li { background: color-mix(in srgb, var(--accent) 12%, transparent); }

.code { background: #1d1b18; border-color: #1d1b18; box-shadow: 0 30px 60px -30px rgba(60, 40, 10, .45); }
.case-ai { background: linear-gradient(140deg, color-mix(in srgb, var(--ai) 9%, var(--surface)), var(--surface)) !important; }

.quotes h2, .why h2 { font-weight: 600; }
.quote-grid blockquote { color: var(--text); font: italic 400 19px/1.5 var(--display); }
.quote-grid blockquote::before { font-family: var(--display); font-style: normal; font-size: 56px; }

.why { border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); padding: 72px 0; margin-bottom: 96px; }
.contact { background: var(--text); color: var(--bg); border: 0; }
.contact h2 { font-weight: 600; }
.contact > p { color: #c9c1b4; }
.contact .btn { background: var(--bg); color: var(--text); }
.contact .btn.ghost { background: transparent; color: var(--bg); border-color: #6b655c; }
.contact .btn.ghost:hover { background: var(--bg); color: var(--text); }
.contact .fine { color: #8d867b; }

body.focused .area:not(.is-focus) .area-head { background: var(--surface); }

@media (max-width: 960px) {
  .door { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-photo img { border-radius: 200px 200px 20px 20px; }
}
