:root {
  --wood: #5c3a21;
  --wood-light: #8b5a2b;
  --leather: #3d2314;
  --brass: #c9a227;
  --cream: #f3e6c8;
  --ink: #1e140c;
}

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

body {
  font-family: "Source Sans 3", sans-serif;
  min-height: 100vh;
  color: var(--cream);
  background:
    repeating-linear-gradient(
      90deg,
      #4a2f1a 0px,
      #6b4226 8px,
      #5a351c 16px,
      #7a4a28 24px,
      #4a2f1a 32px
    );
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav a {
  color: var(--brass);
  text-decoration: none;
  font-weight: 600;
}

main {
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 820px;
  margin: 0 auto;
}

.desk {
  margin-bottom: 2.5rem;
  animation: settle 0.9s ease both;
}

.brand {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.8rem, 12vw, 6rem);
  line-height: 0.9;
  color: var(--brass);
  text-shadow:
    0 2px 0 #7a6110,
    0 4px 8px rgba(0, 0, 0, 0.45);
  margin-bottom: 1rem;
}

.desk h1 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.3;
  max-width: 16ch;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sub {
  max-width: 34ch;
  line-height: 1.55;
  opacity: 0.9;
  margin-bottom: 1.75rem;
}

.leather-btn {
  display: inline-block;
  text-decoration: none;
  color: var(--cream);
  font-weight: 600;
  padding: 0.95rem 1.4rem;
  border-radius: 10px;
  background:
    linear-gradient(180deg, #6b3f28 0%, #3d2314 55%, #2a170d 100%);
  border: 2px solid #1a0f08;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 180, 0.25),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 6px 0 #1a0f08,
    0 10px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.leather-btn:hover {
  transform: translateY(3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 180, 0.2),
    inset 0 -2px 4px rgba(0, 0, 0, 0.45),
    0 3px 0 #1a0f08,
    0 6px 12px rgba(0, 0, 0, 0.3);
}

.notebook {
  animation: settle 0.9s 0.15s ease both;
}

.leather-cover {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 200, 140, 0.08), transparent 50%),
    linear-gradient(145deg, #5a3420 0%, #3d2314 40%, #2c180e 100%);
  border-radius: 18px 22px 20px 16px;
  padding: 2.25rem 2rem;
  border: 3px solid #1a0f08;
  box-shadow:
    inset 0 2px 0 rgba(255, 210, 160, 0.15),
    inset 0 -8px 24px rgba(0, 0, 0, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.45);
}

.stitch {
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(201, 162, 39, 0.35);
  border-radius: 12px;
  pointer-events: none;
}

.leather-cover h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.75rem;
  color: var(--brass);
  margin-bottom: 0.35rem;
}

.leather-cover > p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.leather-cover ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.leather-cover li {
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f7ecd2, #e8d5b0);
  color: var(--ink);
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 #fff8e8,
    0 2px 4px rgba(0, 0, 0, 0.25);
  font-family: "Libre Baskerville", serif;
  font-size: 0.95rem;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
