:root {
  --paper: #f3ead8;
  --paper-2: #efe4cc;
  --ink: #1c1612;
  --ink-soft: #5c5046;
  --line: #d9cbb3;
  --yellow: #e6b422;
  --red: #c4452d;
  --matcha: #3f6b4f;
  --navy: #243f66;
  --white: #fffaf3;
  --shadow: 0 18px 50px rgba(28, 22, 18, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(230, 180, 34, 0.16), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(196, 69, 45, 0.08), transparent 45%),
    var(--paper);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
  gap: 16px;
}
.mark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mark span { color: var(--red); }
.nav-links { display: flex; gap: 22px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.ribbon {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.ribbon::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0 72px;
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 10px 0 18px;
  font-weight: 650;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 38ch; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.meta li {
  border: 1px solid var(--ink);
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 999px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 12px 18px;
  border-radius: 999px;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn:hover { transform: translateY(-1px); }

.book-frame {
  position: relative;
  justify-self: center;
}
.book-shot {
  position: relative;
  width: min(420px, 100%);
  transform: rotate(-2.4deg);
  filter: drop-shadow(12px 18px 28px rgba(28, 22, 18, 0.22));
}
.book-shot img {
  width: 100%;
  border-radius: 6px;
  background: var(--white);
}
.cover-title {
  position: absolute;
  top: 5.2%;
  left: 13%;
  right: 10%;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.04em;
  text-align: center;
  line-height: 1;
  pointer-events: none;
}
.stamp {
  position: absolute;
  right: -8px;
  bottom: 18px;
  width: 86px;
  height: 86px;
  border: 3px solid var(--red);
  color: var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(243, 234, 216, 0.92);
  transform: rotate(12deg);
}

.section { padding: 20px 0 80px; }
.section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.kicker { color: var(--ink-soft); margin: 0 0 28px; }

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 18px;
}
.mika { width: min(280px, 100%); margin: 0 auto; }
.names { font-family: "Fraunces", Georgia, serif; font-size: 1.4rem; margin: 0 0 8px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.city {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  min-height: 170px;
}
.city strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; margin-bottom: 8px; }
.city p { margin: 0; color: var(--ink-soft); }
.city.soon { opacity: 0.72; }
.soon-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.product {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  padding: 22px;
  border-radius: 18px;
}
.product img { width: 160px; border-radius: 4px; }
.product h3 { font-family: "Fraunces", Georgia, serif; margin: 0 0 6px; font-size: 1.7rem; }
.product p { margin: 0; color: #e8dcc6; }
.price { font-family: "Fraunces", Georgia, serif; font-size: 1.8rem; }
.product .btn-primary { background: var(--yellow); color: var(--ink); }

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Colour studio */
.studio-body { background: #efe6d3; }
.studio {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 220px;
  gap: 16px;
  padding: 12px 0 40px;
  min-height: calc(100vh - 90px);
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.panel h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; }
.thumbs { display: grid; gap: 8px; }
.thumb {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: var(--paper-2);
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: white; }
.thumb small { display: block; color: var(--ink-soft); font-size: 0.75rem; }
.thumb.active { border-color: var(--ink); background: var(--white); }
.stage {
  display: grid;
  place-items: center;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  min-height: 70vh;
}
#page {
  width: min(720px, 100%);
  height: auto;
  background: white;
  border-radius: 4px;
  box-shadow: var(--shadow);
  cursor: crosshair;
  touch-action: none;
}
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.08);
}
.swatch.selected { border-color: var(--ink); transform: scale(1.06); }
.tools { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.tool, .ghost {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px;
  font: inherit;
  cursor: pointer;
}
.tool.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hint { font-size: 0.82rem; color: var(--ink-soft); margin: 10px 0 0; }

@media (max-width: 900px) {
  .hero, .split, .grid-3, .product, .studio { grid-template-columns: 1fr; }
  .product { justify-items: start; }
  .nav-links { gap: 12px; font-size: 0.85rem; }
  .studio { min-height: auto; }
  .stage { min-height: 50vh; }
}
