:root {
  --bg: #0f0f0e;
  --paper: #f4f0da;
  --ink: #e8e2cc;
  --muted: #afac9a;
  --gold: #d7a92c;
  --clay: #a05646;
  --line: rgba(244, 240, 218, 0.12);
  --serif: "Instrument Serif", "Noto Serif SC", serif;
  --sans: "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.05;
  z-index: 8;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6vw;
  background: rgba(15, 15, 14, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.nav nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav nav a:hover { color: var(--paper); }

.hero {
  padding: 14vh 6vw 10vh;
  max-width: 1100px;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 24px;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.08;
  font-weight: 400;
}

h1 em {
  font-style: italic;
  color: var(--paper);
}

.lead {
  margin-top: 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid var(--line);
  transition: 0.2s ease;
}

.btn.primary { background: var(--paper); color: var(--bg); border-color: var(--paper); }
.btn.primary:hover { background: #fff6d8; }
.btn.ghost:hover { border-color: var(--paper); }
.btn.large { padding: 16px 28px; font-size: 16px; margin-top: 28px; }

.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 13px;
}

.section { padding: 8vh 6vw; }
.section-head { margin-bottom: 36px; max-width: 560px; }
.section-head h2, .contact h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
}
.section-head p, .contact p { color: var(--muted); margin-top: 10px; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  background: #161614;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  min-height: 100%;
}

.span-8 { grid-column: span 8; }
.span-4 { grid-column: span 4; }

.visual {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.v1 { background: linear-gradient(160deg, #1c1914, #2a2216); }
.v2 { background: linear-gradient(160deg, #1a1412, #3a241e); }
.v3 { background: linear-gradient(160deg, #141412, #2c2a22); }
.v4 { background: linear-gradient(160deg, #12161a, #1c2830); }

.window {
  width: 78%;
  height: 170px;
  margin: 48px auto 0;
  border-radius: 12px 12px 0 0;
  background: #0c0c0b;
  border: 1px solid rgba(215, 169, 44, 0.28);
  padding: 10px 12px;
}

.window span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #544b39;
  margin-right: 5px;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  margin-top: 18px;
}

.chart i {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--gold), #7a5a14);
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
}

.phone {
  width: 130px;
  height: 210px;
  margin: 36px auto 0;
  border: 1px solid rgba(160, 86, 70, 0.5);
  border-radius: 22px;
  padding: 18px 14px;
  background: #120e0d;
}

.notch {
  width: 42px;
  height: 6px;
  border-radius: 6px;
  background: #3a241e;
  margin: 0 auto 18px;
}

.line { height: 8px; border-radius: 8px; background: #3f2a24; margin-bottom: 8px; }
.w80 { width: 80%; }
.w50 { width: 50%; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.tiles b { display: block; height: 42px; border-radius: 8px; background: #2a1b17; }

.type-sample {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 240px;
  text-align: center;
  color: var(--paper);
  opacity: 0.85;
}

.map-grid {
  position: absolute;
  inset: 20px;
  background-image:
    linear-gradient(rgba(232,226,204,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,226,204,.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(215, 169, 44, 0.18);
}
.p1 { top: 28%; left: 32%; }
.p2 { top: 52%; left: 61%; background: var(--clay); box-shadow: 0 0 0 8px rgba(160, 86, 70, 0.2); }
.p3 { top: 70%; left: 44%; }

.card-body { padding: 22px 24px 26px; }
.tag { color: var(--gold); font-size: 12px; letter-spacing: 0.08em; margin-bottom: 8px; }
.card-body h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.card-body p:last-child { color: var(--muted); font-size: 15px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.bio p + p { margin-top: 16px; color: var(--muted); }

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.facts li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  color: var(--muted);
}

.facts strong { display: block; color: var(--paper); font-size: 22px; font-family: var(--serif); font-weight: 400; }

.skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.skills span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--muted);
}

.contact { text-align: center; padding-bottom: 12vh; }
.contact p { max-width: 480px; margin: 12px auto 0; }

.social { display: flex; justify-content: center; gap: 28px; margin-top: 36px; color: var(--muted); font-size: 14px; }
.social a:hover { color: var(--paper); }

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 6vw 40px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .span-8, .span-4 { grid-column: span 12; }
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 10vh; }
  .nav nav { gap: 16px; }
}
