/* ===========================
   VARIABLES
   =========================== */
:root {
  --cream: #f7f3ec;
  --cream-dark: #ede7d9;
  --navy: #1c2b3a;
  --navy-light: #2a3d52;
  --gold: #b8965a;
  --gold-light: #d4b97a;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #ddd5c5;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
}
a { text-decoration: none; color: inherit; }

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 7rem 2rem 6rem;
  background: var(--cream);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--navy-light);
  line-height: 1.7;
  max-width: 42ch;
  font-weight: 300;
}

/* Hero visual - notebook stack */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notebook-stack {
  position: relative;
  width: 200px;
  height: 280px;
}
.notebook {
  position: absolute;
  width: 200px;
  height: 270px;
  border-radius: 4px;
  display: flex;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.12);
}
.nb-spine {
  width: 24px;
  height: 100%;
  flex-shrink: 0;
  border-radius: 4px 0 0 4px;
}
.nb-pages {
  flex: 1;
  height: 100%;
  border-radius: 0 4px 4px 0;
}
.nb-1 .nb-spine { background: #c4a87a; }
.nb-1 .nb-pages { background: #f0e8d8; }
.nb-1 { transform: rotate(-6deg); top: 0; left: 0; }
.nb-2 .nb-spine { background: var(--navy); }
.nb-2 .nb-pages { background: #f7f0e6; }
.nb-2 { transform: rotate(2deg); top: 5px; left: 20px; }
.nb-3 .nb-spine { background: #9b7d55; }
.nb-3 .nb-pages { background: #faf6ef; }
.nb-3 { transform: rotate(7deg); top: 10px; left: 40px; }

/* Pen illustration */
.pen-illustration {
  position: absolute;
  bottom: 60px;
  right: 20px;
  width: 120px;
  height: 10px;
  background: var(--navy);
  border-radius: 5px;
  transform: rotate(-25deg);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}
.pen-illustration::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 20px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px;
}

/* Wax seal */
.wax-seal {
  position: absolute;
  top: 20px;
  right: 60px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 12px rgba(0,0,0,0.2);
}
.wax-seal::after {
  content: 'W';
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
}

/* ===========================
   PHILOSOPHY
   =========================== */
.philosophy {
  padding: 6rem 2rem;
  background: var(--navy);
  color: var(--cream);
}
.philosophy-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2rem;
}
.philosophy-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--cream);
  font-weight: 400;
}
.philosophy-body {
  font-size: 1rem;
  color: rgba(247,243,236,0.75);
  line-height: 1.8;
  max-width: 55ch;
  margin: 0 auto;
}

/* ===========================
   CATEGORIES
   =========================== */
.categories {
  padding: 7rem 2rem;
  background: var(--cream);
}
.categories-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 4rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 0.75rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.category-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cat-1 { background: #ede9e0; }
.cat-2 { background: #e5e2da; }
.cat-3 { background: #dedad2; }

/* Category icons as CSS shapes */
.cat-visual {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-icon-notebook {
  width: 60px;
  height: 80px;
  background: var(--navy);
  border-radius: 3px;
  position: relative;
}
.cat-icon-notebook::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--gold);
  border-radius: 2px;
}
.cat-icon-planner {
  width: 70px;
  height: 80px;
  background: var(--navy);
  border-radius: 3px;
  position: relative;
}
.cat-icon-planner::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
}
.cat-icon-desk {
  width: 80px;
  height: 40px;
  background: var(--navy);
  border-radius: 3px 3px 0 0;
  position: relative;
  margin-top: 40px;
}
.cat-icon-desk::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
}

.cat-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.cat-info p {
  font-size: 0.9rem;
  color: var(--navy-light);
  line-height: 1.65;
}

/* ===========================
   COLLECTIONS
   =========================== */
.collections {
  padding: 6rem 2rem;
  background: var(--cream-dark);
}
.collections-inner {
  max-width: 900px;
  margin: 0 auto;
}
.collection-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.collection-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.collection-item:last-child { border-bottom: none; }
.col-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 400;
}
.col-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.col-info p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===========================
   CRAFTSMANSHIP
   =========================== */
.craftsmanship {
  padding: 7rem 2rem;
  background: var(--cream);
}
.craft-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.craft-title {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  color: var(--navy);
  margin-top: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
}
.craft-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.craft-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.point-icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.craft-point h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.craft-point p {
  font-size: 0.9rem;
  color: var(--navy-light);
  line-height: 1.65;
}

/* ===========================
   PRE-ORDER CTA
   =========================== */
.preorder-section {
  padding: 7rem 2rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.preorder-inner {
  max-width: 700px;
  margin: 0 auto;
}
.preorder-header {
  text-align: center;
  margin-bottom: 3rem;
}
.preorder-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}
.preorder-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  font-weight: 500;
  margin-top: 0.75rem;
  line-height: 1.2;
}
.preorder-sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.social-proof {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--navy-light);
}
.social-proof strong {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.preorder-form {
  background: var(--navy);
  padding: 3rem;
  border-radius: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.6);
  font-weight: 500;
}
.form-input,
.form-select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.form-input::placeholder {
  color: rgba(247,243,236,0.3);
}
.form-select option {
  background: var(--navy);
  color: var(--cream);
}
.deposit-hint {
  font-size: 0.8rem;
  color: rgba(247,243,236,0.45);
  margin-top: 0.25rem;
}
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 3px;
  padding: 1rem 2rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.form-submit:active {
  transform: translateY(0);
}
.form-success {
  text-align: center;
  padding: 2rem;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(184,150,90,0.2);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--gold);
}
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: rgba(247,243,236,0.6);
  font-size: 0.9rem;
}

/* ===========================
   CLOSING
   =========================== */
.closing {
  padding: 5rem 2rem;
  background: var(--navy);
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.closing-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
}
.closing-statement {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--cream);
  text-align: center;
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  padding: 2.5rem 2rem;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 700;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    height: 280px;
    order: -1;
  }
  .notebook-stack {
    width: 160px;
    height: 230px;
  }
  .notebook { width: 160px; height: 220px; }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .craft-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .collection-item {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .preorder-form {
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .categories, .craftsmanship { padding: 5rem 1.5rem; }
  .philosophy { padding: 5rem 1.5rem; }
  .section-label { font-size: 0.65rem; }
}