:root {
  --bg: #f5efe2;
  --bg-2: #ebe2cf;
  --paper: #fbf6e9;
  --ink: #1c1c1a;
  --ink-2: #3a3a32;
  --ink-soft: #6c6a5e;
  --accent: #8c3a1f;
  --accent-soft: #d8a06a;
  --olive: #3d4a32;
  --line: #d8cdb6;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; letter-spacing: -0.005em; margin: 0; }
h1 { font-weight: 400; }
h1 em { font-style: italic; color: var(--accent); font-weight: 400; }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; transition: transform .15s, background .2s;
}
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }

/* nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 40px; max-width: 1200px; margin: 0 auto;
  position: relative;
}
.menu-toggle { display: none; }
.menu-button { display: none; cursor: pointer; width: 28px; height: 22px; flex-direction: column; justify-content: space-between; }
.menu-button span { display: block; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .25s ease, opacity .25s ease; transform-origin: center; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; }
.logo .dot { color: var(--accent); }
.nav nav a { margin-left: 28px; font-size: 15px; color: var(--ink-soft); }
.nav nav a:hover { color: var(--ink); }
.nav nav a.cta {
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 999px; transition: background .2s;
}
.nav nav a.cta:hover { background: var(--accent); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px;
  max-width: 1200px; margin: 0 auto; padding: 80px 40px 100px;
  align-items: center;
}
.kicker { text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; color: var(--ink-soft); margin: 0 0 18px; }
.hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  line-height: 1; margin: 0 0 28px; font-weight: 400;
  letter-spacing: -0.02em;
}
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 540px; margin: 0 0 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 460px;
  width: 100%;
  margin: 0 0 0 auto;
  background: var(--bg-2);
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.dog-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: multiply;
  filter: contrast(1.05) sepia(0.12);
}

/* categories */
.categories { max-width: 1200px; margin: 0 auto; padding: 80px 40px; }
.eyebrow { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 30px; }
.categories h2 { font-size: 28px; margin: 0 0 30px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { background: var(--bg-2); padding: 30px; border-radius: 14px; transition: transform .15s ease; }
.cat:hover { transform: translateY(-2px); }
.cat .ico { width: 36px; height: 36px; color: var(--ink-2); display: block; margin-bottom: 16px; }
.cat h3 { font-size: 22px; margin: 0 0 6px; }
.cat p { color: var(--ink-soft); margin: 0; font-size: 15px; line-height: 1.5; }
.not { margin-top: 28px; color: var(--ink-soft); font-size: 14px; font-style: italic; max-width: 700px; }

/* method */
.how { background: var(--ink); color: var(--bg); padding: 100px 40px; }
.how > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.how h2 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 60px; font-weight: 400; color: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 56px; color: var(--accent-soft); margin-bottom: 12px; line-height: 1; font-weight: 300; }
.step h3 { font-size: 24px; margin: 0 0 12px; color: var(--paper); }
.step p { color: var(--bg-2); margin: 0; opacity: 0.85; line-height: 1.55; }

/* sources */
.sources { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.sources h2 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 50px; font-weight: 400; }
.src-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.src-list li { display: flex; justify-content: space-between; padding: 22px 4px; border-bottom: 1px solid var(--line); align-items: baseline; gap: 16px; }
.src-list strong { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 19px; }
.src-list span { color: var(--ink-soft); font-size: 15px; text-align: right; }

/* paper preview */
.paper-preview { background: var(--bg-2); padding: 100px 40px; }
.paper-preview > h2 { max-width: 1200px; margin: 0 auto 50px; font-size: clamp(36px, 5vw, 56px); font-weight: 400; }
.mock { max-width: 760px; margin: 0 auto; background: var(--paper); border-radius: 4px; padding: 40px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.18); border: 1px solid var(--line); }
.mock-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.2em; }
.mock-head .dot { color: var(--accent); }
.mock-title { font-size: 28px; margin: 22px 0 4px; font-weight: 400; }
.mock-byline { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--ink-soft); font-size: 14px; margin: 0 0 24px; }
.mock-row { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.mock-row:first-of-type { border-top: 1px solid var(--ink); }
.mock-img {
  width: 110px; height: 110px; border-radius: 4px; flex-shrink: 0;
}
.mock-img.mock-1 { background: linear-gradient(135deg, #c79c6f 0%, #a87142 60%, #6e4623 100%); }
.mock-img.mock-2 { background: radial-gradient(circle at 30% 30%, #f0e6c8 0%, #d8b46a 40%, #6f4f1e 100%); }
.mock-img.mock-3 { background: linear-gradient(160deg, #e2d4b6 0%, #b08a52 50%, #4a3017 100%); }
.mock-meta { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft); margin-bottom: 4px; }
.mock-h { font-family: 'Cormorant Garamond', serif; font-size: 19px; margin: 4px 0; line-height: 1.3; }
.mock-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.mock-reason { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* invite */
.invite { padding: 120px 40px; text-align: center; }
.invite-inner { max-width: 600px; margin: 0 auto; }
.invite h2 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 16px; font-weight: 400; line-height: 1.1; }
.invite p { color: var(--ink-soft); font-size: 17px; margin: 0; }
.invite a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.invite a:hover { color: var(--ink); border-color: var(--ink); }

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 40px; max-width: 1200px; margin: 0 auto;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 14px; color: var(--ink-soft);
}
.footer-inner .logo { font-size: 18px; color: var(--ink); }
.dog-mark {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: 2px;
  mix-blend-mode: multiply;
  filter: contrast(1.05) sepia(0.12);
  opacity: 0.8;
}

/* responsive */
@media (max-width: 820px) {
  .nav { padding: 16px 20px; }
  .menu-button { display: flex; }
  .nav nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 24px;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
  }
  .menu-toggle:checked ~ nav { display: flex; }
  .menu-toggle:checked ~ .menu-button span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .menu-toggle:checked ~ .menu-button span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .menu-button span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .nav nav a {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft, var(--line));
    font-size: 16px;
  }
  .nav nav a:last-child { border-bottom: none; }

  .hero { grid-template-columns: 1fr; padding: 40px 20px 60px; gap: 32px; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); }
  .hero-art { margin: 0 auto; max-width: 100%; aspect-ratio: 4/5; }
  .lead { font-size: 17px; }
  .hero-cta { gap: 10px; }
  .btn { padding: 12px 20px; font-size: 14px; }

  .categories, .sources, .invite { padding: 60px 20px; }
  .how, .paper-preview { padding: 70px 20px; }

  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat { padding: 24px; }
  .cat h3 { font-size: 20px; }

  .how h2, .sources h2, .paper-preview > h2 { font-size: clamp(30px, 7vw, 42px); margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-num { font-size: 44px; }
  .src-list { grid-template-columns: 1fr; }
  .src-list li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 4px; }
  .src-list span { text-align: left; }
  .mock { padding: 24px; }
  .mock-head { font-size: 10px; flex-wrap: wrap; gap: 4px; }
  .mock-title { font-size: 24px; }
  .mock-row { flex-direction: column; gap: 14px; }
  .mock-img { width: 100%; height: 160px; }
  .invite h2 { font-size: clamp(28px, 7vw, 40px); }
  .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .dog-mark { width: 60px; height: 44px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 44px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; }
}
