:root {
  --paper: #f7f3ee;
  --paper-2: #efe8df;
  --card: #fffdfa;
  --ink: #1d1a17;
  --ink-2: #5b524a;
  --line: #ddd3c7;
  --accent: #b4532a;
  --accent-soft: #f4e2d6;
  --wa: #1f9d55;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --edge: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

/* Nav: a floating pill, same family as antwi.site */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 12px var(--edge) 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1040px;
  height: 52px;
  margin: 0 auto;
  padding: 0 6px 0 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(30, 20, 10, 0.35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
}
.brand-name { font-family: var(--serif); font-size: 19px; }
.nav-links { display: none; gap: 4px; }
.nav-links a { padding: 7px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); }
.btn-line { border: 1.5px solid var(--ink); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); }

/* Hero */
.hero {
  max-width: 1040px;
  margin: 0 auto;
  padding: 120px var(--edge) 56px;
}
.eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  max-width: 15em;
  font-family: var(--serif);
  font-size: clamp(38px, 7.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.hero h1 em { color: var(--accent); }
.lede {
  max-width: 34em;
  margin-top: 24px;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.jump a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
}
.jump a:hover { border-color: var(--accent); color: var(--accent); }

/* Gallery */
.sites { max-width: 1040px; margin: 0 auto; padding: 0 var(--edge); }
.group { padding: 56px 0; border-top: 1px solid var(--line); }
.group-head { max-width: 36em; margin-bottom: 36px; }
.group-head h2 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; }
.group-head p { margin-top: 10px; color: var(--ink-2); }
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: start; }
.phone {
  position: relative;
  display: block;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border: 5px solid var(--ink);
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 18px 36px -20px rgba(30, 20, 10, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone-screen { display: block; height: 100%; }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 16px; background: var(--ink); }
.play {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 10px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(20, 16, 12, 0.82);
  color: #fff;
  font: 600 13px var(--sans);
  cursor: pointer;
}
.play:hover { background: var(--accent); }
.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 1;
  width: 34%;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
}
.phone-blank {
  display: grid;
  place-items: center;
  height: 100%;
  border-radius: 16px;
  background: var(--paper-2);
  font-family: var(--serif);
  font-size: 22px;
}
.card:hover .phone { transform: translateY(-4px) rotate(-1deg); }
.card-kind { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.card-kind span { color: var(--ink-2); font-weight: 500; letter-spacing: 0.02em; text-transform: none; }
.card-title { margin-top: 4px; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.card-meaning { margin-top: 4px; font-style: italic; font-family: var(--serif); font-size: 18px; color: var(--ink-2); }
.card-try { margin-top: 12px; font-size: 15.5px; }
.card-try strong { font-weight: 700; }
.card-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}
.card-open:hover { background: var(--accent); color: #fff; }

/* What's included */
.included, .how, .cta { max-width: 1040px; margin: 0 auto; padding: 72px var(--edge); }
.included { border-top: 1px solid var(--line); }
.included h2, .how h2, .cta h2 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; }
.included-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.included-list li { padding: 22px 24px; background: var(--card); color: var(--ink-2); }
.included-list strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 18px; }

/* Steps */
.how { background: var(--ink); color: var(--paper); max-width: none; }
.how > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; padding: 0; list-style: none; }
.steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.steps h3 { font-family: var(--serif); font-size: 26px; }
.steps p { margin-top: 6px; color: #cbbfb2; }

/* Final call */
.cta { text-align: center; }
.cta p { margin: 12px auto 28px; max-width: 28em; color: var(--ink-2); }

.footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px var(--edge) 48px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; }
.footer-links a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.footer-links a:hover { color: var(--accent); border-color: var(--accent); }
.footer-note { margin-top: 18px; font-size: 13.5px; }

.notfound { max-width: 640px; margin: 0 auto; padding: 160px var(--edge); text-align: center; }
.notfound h1 { font-family: var(--serif); font-size: 44px; margin-bottom: 24px; }

@media (min-width: 760px) {
  :root { --edge: 40px; }
  .nav-links { display: flex; }
  .hero { padding-top: 170px; padding-bottom: 80px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { grid-template-columns: 170px 1fr; gap: 24px; }
  .included-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .group { padding: 80px 0; }
}
