:root {
  --bone: #f4efe6;
  --sand: #e8dfd0;
  --ink: #1a1a17;
  --jade: #1f3d34;
  --jade-deep: #142823;
  --copper: #b87a48;
  --copper-soft: #d4a373;
  --rule: rgba(244, 239, 230, 0.18);
}

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

html, body { min-height: 100%; }

body {
  background: var(--jade-deep);
  color: var(--bone);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Atmospheric background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(184, 122, 72, 0.18), transparent 50%),
    radial-gradient(ellipse at 85% 85%, rgba(31, 61, 52, 0.6), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(212, 163, 115, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  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='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.display {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}

/* ============ LAYOUT ============ */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 32px 48px;
}

/* ============ HEADER ============ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 22px; height: 22px;
  border: 1.5px solid var(--bone);
  border-radius: 50%;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--copper);
}

.header-meta {
  color: rgba(244, 239, 230, 0.55);
  text-align: right;
  line-height: 1.6;
}

/* ============ MAIN ============ */
main {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
  position: relative;
}

.content { max-width: 640px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--copper-soft);
  margin-bottom: 36px;
  animation: fade 1s ease-out;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--copper-soft);
}

.pulse {
  width: 7px; height: 7px;
  background: var(--copper);
  border-radius: 50%;
  margin-left: 4px;
  box-shadow: 0 0 0 0 rgba(184, 122, 72, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 122, 72, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(184, 122, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 122, 72, 0); }
}

h1 {
  font-size: clamp(56px, 9vw, 144px);
  margin-bottom: 0;
  animation: rise 1.2s ease-out 0.1s both;
}

h1 .accent {
  font-style: italic;
  color: var(--copper-soft);
  font-weight: 400;
}

.tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(244, 239, 230, 0.85);
  margin: 32px 0 24px;
  max-width: 520px;
  animation: rise 1.2s ease-out 0.25s both;
}

.tagline em { color: var(--copper-soft); font-style: italic; }

.body-copy {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.7);
  max-width: 480px;
  margin-bottom: 48px;
  animation: rise 1.2s ease-out 0.4s both;
}

/* ============ ORNAMENT ============ */
.ornament-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-left: auto;
  width: 100%;
  animation: fade 1.6s ease-out 0.4s both;
}

.ornament {
  width: 100%;
  height: 100%;
  animation: rotate 80s linear infinite;
}

.ornament-inner {
  position: absolute;
  inset: 22%;
  animation: rotate 60s linear infinite reverse;
}

.ornament-inner svg {
  width: 100%;
  height: 100%;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============ FOOTER ============ */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  color: rgba(244, 239, 230, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ ANIMATIONS ============ */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .page { padding: 24px; }
  main {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 40px 0;
  }
  .ornament-wrap {
    max-width: 280px;
    margin: 0 auto;
    order: -1;
  }
  .header-meta { font-size: 9px; }
  footer {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .page { padding: 20px; }
  h1 { font-size: 56px; }
  .tagline { font-size: 18px; }
  .body-copy { font-size: 15px; margin-bottom: 36px; }
}
