:root {
  --bg: #0c0b09;
  --bg-soft: #15130f;
  --panel: rgba(255, 250, 238, 0.055);
  --panel-strong: rgba(255, 250, 238, 0.095);
  --text: #f4efe5;
  --muted: #b9afa0;
  --muted-2: #7e766c;
  --line: rgba(255, 238, 210, 0.12);
  --gold: #d7a84d;
  --gold-soft: #f4c66d;
  --shadow: rgba(0, 0, 0, 0.35);
  --max: 1160px;
}

* { 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;
  background:
    radial-gradient(circle at 76% 12%, rgba(215, 168, 77, 0.18), transparent 26rem),
    radial-gradient(circle at 16% 30%, rgba(255, 255, 255, 0.06), transparent 22rem),
    linear-gradient(180deg, #0d0c0a 0%, #090806 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 70%);
  z-index: -1;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-mark path, .brand-mark circle {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-mark path:first-child { stroke: var(--text); }

.nav { display: flex; gap: 24px; color: var(--muted); font-size: 0.94rem; }
.nav a { transition: color 180ms ease; }
.nav a:hover { color: var(--text); }

.section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 60px;
  padding-top: 74px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 8.2vw, 7.6rem);
  line-height: 0.91;
  letter-spacing: -0.075em;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
h3 { font-size: 1.24rem; letter-spacing: -0.025em; }

.hero-lede { max-width: 680px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(244, 198, 109, 0.6); }
.button.primary { background: linear-gradient(135deg, #f0c06b, #a97824); color: #100d08; box-shadow: 0 18px 50px rgba(215, 168, 77, 0.16); }
.button.ghost { color: var(--text); background: rgba(255,255,255,0.025); }

.hero-visual {
  min-height: 520px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 52% 54%, rgba(244, 198, 109, 0.15), transparent 13rem),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.014));
  overflow: hidden;
  box-shadow: 0 30px 80px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(244, 198, 109, 0.11) 50%, transparent 51%),
    linear-gradient(transparent 0 49%, rgba(255,255,255,0.05) 50%, transparent 51%);
  background-size: 86px 86px;
  opacity: 0.38;
}

.core { position: absolute; inset: 46px; transform: rotateX(56deg) rotateZ(-38deg); transform-style: preserve-3d; }
.core-box {
  position: absolute;
  left: 30%;
  top: 32%;
  width: 42%;
  height: 42%;
  border: 1px solid rgba(255, 238, 210, 0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, #1b1915, #060504);
  box-shadow: 0 0 0 1px rgba(244, 198, 109, 0.08), 0 30px 80px rgba(0,0,0,0.55), inset 0 0 30px rgba(244, 198, 109, 0.06);
}
.core-glow {
  position: absolute;
  left: 42%;
  top: 43%;
  width: 18%;
  height: 18%;
  border-radius: 50%;
  background: var(--gold-soft);
  filter: blur(28px);
  opacity: 0.75;
}
.arc { position: absolute; border: 2px solid transparent; border-top-color: var(--gold-soft); border-radius: 50%; filter: drop-shadow(0 0 14px rgba(244, 198, 109, 0.45)); }
.arc-one { left: 5%; top: 18%; width: 92%; height: 66%; transform: rotate(18deg); }
.arc-two { left: 18%; top: 30%; width: 62%; height: 42%; border-top-color: rgba(255,255,255,0.35); transform: rotate(-16deg); }
.node { position: absolute; width: 8px; height: 8px; border-radius: 999px; background: var(--gold-soft); box-shadow: 0 0 18px rgba(244, 198, 109, 0.9); }
.node-a { left: 19%; top: 25%; }
.node-b { right: 15%; top: 47%; }
.node-c { left: 50%; bottom: 14%; }
.line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(244,198,109,0.8), transparent); }
.line-a { width: 72%; left: 10%; top: 46%; }
.line-b { width: 58%; left: 24%; top: 68%; }
.line-c { width: 44%; left: 34%; top: 28%; }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.card, .work-card, .contact-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.card { min-height: 220px; padding: 28px; border-radius: 26px; }
.card-kicker, .built { color: var(--gold-soft); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.card p, .work-copy p, .about-copy p, .principles p, .contact-panel p { color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: 36px; }
.work-grid { display: grid; gap: 18px; }
.work-card { display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: stretch; min-height: 260px; border-radius: 30px; overflow: hidden; }
.work-visual { position: relative; min-height: 260px; background: linear-gradient(145deg, #181612, #070604); overflow: hidden; }
.work-visual::before, .work-visual::after { content: ""; position: absolute; border-radius: 999px; }
.visual-transit::before { width: 80%; height: 2px; left: 10%; top: 52%; background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); box-shadow: 0 0 20px rgba(244,198,109,0.3); }
.visual-transit::after { width: 48px; height: 48px; right: 18%; top: 41%; border: 1px solid rgba(244,198,109,0.34); }
.visual-receipt::before { inset: 44px 80px; border: 1px solid rgba(244,198,109,0.28); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent); transform: rotate(-7deg); }
.visual-receipt::after { width: 60%; height: 2px; left: 20%; top: 52%; background: rgba(244,198,109,0.55); box-shadow: 0 0 24px rgba(244,198,109,0.45); }
.visual-data::before { width: 160px; height: 160px; left: calc(50% - 80px); top: calc(50% - 80px); border: 1px solid rgba(255,255,255,0.14); border-radius: 24px; transform: rotate(45deg); }
.visual-data::after { width: 90px; height: 90px; left: calc(50% - 45px); top: calc(50% - 45px); background: rgba(244,198,109,0.18); filter: blur(18px); }
.work-visual span { position: absolute; width: 6px; height: 6px; background: var(--gold-soft); border-radius: 999px; box-shadow: 0 0 16px rgba(244,198,109,0.6); }
.work-visual span:nth-child(1) { left: 24%; top: 28%; }
.work-visual span:nth-child(2) { right: 22%; top: 32%; }
.work-visual span:nth-child(3) { left: 50%; bottom: 26%; }
.work-copy { padding: 34px; align-self: center; }

.philosophy { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.about-copy { font-size: 1.08rem; }

.contact { padding-bottom: 70px; }
.contact-panel {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 34px;
  background: radial-gradient(circle at 82% 16%, rgba(244,198,109,0.18), transparent 18rem), linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}
.contact-panel h2 { max-width: 820px; margin-bottom: 24px; }
.contact-panel p { max-width: 600px; margin-bottom: 32px; font-size: 1.1rem; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header { width: min(var(--max), calc(100% - 28px)); }
  .nav { display: none; }
  .section { width: min(var(--max), calc(100% - 28px)); padding: 74px 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-top: 50px; }
  .hero-visual { min-height: 360px; }
  .split, .about, .work-card { grid-template-columns: 1fr; }
  .service-grid, .principles { grid-template-columns: 1fr; }
  .work-copy { padding: 28px; }
  .footer { flex-direction: column; width: min(var(--max), calc(100% - 28px)); }
}
