:root {
  --ink: #121110;
  --paper: #EDE9E2;
  --accent: #C1401F;
  --muted: #8A8478;
  --line: #33312D;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.topbar-cta {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.topbar-cta:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 96px 0 64px;
}
.hero-inner {
  display: block;
}
.hero-type {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 32px -0.02em;
  max-width: 14ch;
}
.hero-type span { display: block; }
.hero-type .accent { color: var(--accent); font-style: italic; }

.reveal {
  opacity: 0;
  transform: translateY(0.4em);
  animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--d) * 0.09s);
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
}

.hero-sub {
  max-width: 46ch;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

/* Categories strip */
.categories {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cat-strip {
  display: flex;
  gap: 0;
  white-space: nowrap;
}
.cat {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  padding: 22px 32px;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.cat:first-child { padding-left: 0; }

/* Split section */
.split {
  padding: 96px 0;
  background: var(--paper);
  color: var(--ink);
}
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.split-note p {
  font-size: 0.95rem;
  color: #4a463f;
  margin: 0 0 16px;
}
.text-link {
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.split-main {
  min-width: 0;
}
.split-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 18ch;
}
.split-body {
  font-size: 1.05rem;
  max-width: 52ch;
  color: #4a463f;
  margin: 0;
}

@media (max-width: 760px) {
  .split-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Contact */
.contact {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-label {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0 0 14px;
}
.contact-block p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}
.contact-block a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.contact-block a:hover { border-color: var(--paper); }

@media (max-width: 600px) {
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--muted);
}
