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

::selection { background: rgba(200,184,154,0.15); color: var(--fg); }

:root {
  --bg: #0c0c0b;
  --fg: #d4d0c8;
  --fg-dim: #4a4744;
  --fg-mid: #7a7670;
  --accent: #c8b89a;
  --accent2: #7a9e8a;
  --rule: rgba(212,208,200,0.07);
  --mono: 'IBM Plex Mono', monospace;
  --serif: 'Spectral', Georgia, serif;
  --nav-h: 56px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  z-index: 100;
  opacity: 0;
  animation: fadein 0.8s ease 0.1s forwards;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: 0.04em;
}

.logo-text span { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

nav ul li a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 300;
  color: var(--fg-dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.22s ease;
}

nav ul li a:hover { color: var(--fg); }
nav ul li a:hover::after { width: 100%; }

/* ── MAIN ── */
main {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 48px;
  padding-right: 48px;
  max-width: 800px;
  opacity: 0;
  animation: fadein 1s ease 0.3s forwards;
}

/* ── HEADLINE ── */
.headline {
  margin-bottom: 52px;
}

h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.18;
  color: var(--fg);
  letter-spacing: -0.015em;
}

h1 em {
  font-style: normal;
  color: var(--fg-mid);
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 0.7em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}

/* ── COMING SOON ── */
.soon {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.soon-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.soon-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--fg-dim);
  opacity: 0.45;
}

.soon-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.soon-desc {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.95;
  max-width: 360px;
}

.soon-desc strong {
  color: var(--accent2);
  font-weight: 400;
}

.soon-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
  margin-top: 4px;
}

.soon-contact::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.22s ease;
  flex-shrink: 0;
}

.soon-contact:hover { color: var(--accent); }
.soon-contact:hover::before { width: 30px; }

/* ── BOTTOM MARK ── */
.bottom-mark {
  position: fixed;
  bottom: 32px;
  left: 48px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadein 1.4s ease 0.9s forwards;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  header { padding: 0 24px; }

  nav ul { gap: 20px; }

  main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .bottom-mark { left: 24px; }
}

/* ── KEYFRAMES ── */
@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
