/* ============================================================
   YAOSUE — Stationer Desk and Notebook Works
   Light theme: notebook-page + vermilion-stamp + ruling-blue
   ============================================================ */

:root {
  --notebook-page: #FBF9F2;
  --vermillion: #C63D2F;
  --ruling-blue: #3E5F8A;
  --cardboard-tan: #C9A97A;
  --margin-cream: #FFFDF6;
  --ink-stone: #2E2C22;
  --ink-soft: #55503F;
  --hairline: #E8E2D2;
  --body-bg: #FBF9F2;
  --body-text: #2E2C22;
}

/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
}

.home-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.home-page {
  background-color: #FBF9F2;
  color: #2E2C22;
  overflow-x: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.65;
}

.home-page a {
  text-decoration: none;
  color: inherit;
}

.home-page img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   SCROLL REVEAL (fade-up) — safe without JS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   SPIRAL-BIND NAV (.spiral-nav)
   ============================================================ */
.spiral-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFDF6;
  box-shadow: 0 1px 0 #E8E2D2;
}

.nav-coil {
  height: 14px;
  background-image: repeating-linear-gradient(90deg,
    #3E5F8A 0 4px, #3E5F8A 4px 5px,
    #FBF9F2 5px 12px, #3E5F8A 12px 13px, #3E5F8A 13px 16px);
  background-size: 20px 14px;
  background-position: 0 0;
  opacity: 1;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pen-nib-glyph {
  width: 14px;
  height: 22px;
  background-color: #2E2C22;
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  position: relative;
}

.pen-nib-glyph::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 6px;
  width: 2px;
  height: 2px;
  background-color: #3E5F8A;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C63D2F;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2E2C22;
  padding-bottom: 6px;
  border-bottom: 1px solid #3E5F8A;
  transition: border-color 0.25s ease;
}

.nav-links a:hover {
  border-color: #C63D2F;
  border-bottom-width: 3px;
  padding-bottom: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #C63D2F;
  color: #C63D2F;
  font-size: 22px;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
}

/* ============================================================
   WIDTH WRAPPER
   ============================================================ */
.site-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   DESK-TOP HERO (.desk-hero)
   ============================================================ */
.desk-hero {
  padding: 84px 24px 96px;
  position: relative;
}

.hero-shell {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-text {
  flex: 0 0 55%;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #C63D2F;
  color: #FBF9F2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 26px;
}

.hero-text h1 {
  font-size: 50px;
  line-height: 1.12;
  color: #2E2C22;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-text h1 .accent-word {
  color: #C63D2F;
}

.hero-subcopy {
  font-size: 18px;
  color: #55503F;
  max-width: 560px;
  margin-bottom: 34px;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background-color: #C63D2F;
  color: #FBF9F2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: background-color 0.25s ease;
}

.btn-primary:hover {
  background-color: #a63126;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #2E2C22;
  color: #2E2C22;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 28px;
  transition: background-color 0.25s ease;
}

.btn-outline:hover {
  background-color: #FFFDF6;
}

.hero-still {
  flex: 0 0 45%;
  position: relative;
  min-height: 420px;
}

.desk-mat {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  right: 0;
  background-color: #FFFDF6;
  border: 1px solid #E8E2D2;
  border-radius: 8px;
}

.ruled-strip {
  position: absolute;
  bottom: 46px;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(180deg,
    #3E5F8A 0 1px, transparent 1px 12px);
  filter: saturate(0.5);
}

/* hardcover notebook */
.hard-cover {
  position: absolute;
  top: 96px;
  left: 44px;
  width: 230px;
  height: 300px;
  background-color: #C9A97A;
  border: 2px solid #E8E2D2;
  border-radius: 10px;
  box-shadow: 8px 10px 0 rgba(0,0,0,0.06);
}

.hard-cover::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -2px;
  bottom: -2px;
  width: 10px;
  background-color: #C63D2F;
  border-radius: 2px;
}

.hard-cover::after {
  content: "";
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #2E2C22;
  filter: saturate(0.6);
}

.elastic-band {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 3px;
  background-color: #2E2C22;
}

/* fountain pen */
.fountain-pen {
  position: absolute;
  top: 250px;
  right: 36px;
  width: 170px;
  height: 14px;
  background-color: #2E2C22;
  transform: rotate(-28deg);
  border-radius: 7px;
}

.fountain-pen::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 6px;
  width: 60px;
  height: 3px;
  background-color: #3E5F8A;
}

.fountain-pen::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 4px;
  width: 10px;
  height: 6px;
  background-color: #C9A97A;
  transform: skewY(-28deg);
}

/* ink bottle */
.ink-bottle {
  position: absolute;
  bottom: 84px;
  left: 30px;
  width: 78px;
  height: 96px;
  background-color: #3E5F8A;
  border-radius: 6px 6px 18px 18px;
}

.ink-bottle::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 24px;
  width: 30px;
  height: 14px;
  background-color: #2E2C22;
  border-radius: 3px 3px 0 0;
}

.ink-label {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  height: 54px;
  background-color: #FBF9F2;
  border: 1px solid #E8E2D2;
}

/* paper stack with deckle edges */
.paper-stack {
  position: absolute;
  top: 118px;
  right: -4px;
  width: 118px;
  height: 132px;
}

.paper-sheet {
  position: absolute;
  left: 0;
  right: 0;
  height: 128px;
  background-color: #FFFDF6;
  border: 1px solid #E8E2D2;
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

.paper-sheet.s1 { top: 0; }
.paper-sheet.s2 { top: 5px; }
.paper-sheet.s3 { top: 10px; background-color: #F7F3E8; }

/* date stamp */
.date-stamp {
  position: absolute;
  top: 60px;
  right: 96px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #C9A97A;
  border: 3px solid #2E2C22;
}

.date-stamp::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 14px;
  width: 14px;
  height: 10px;
  background-color: #C63D2F;
}

/* ============================================================
   CATALOG-CARD ROWS (.catalog-rows)
   ============================================================ */
.catalog-section {
  padding: 96px 0;
}

.catalog-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.catalog-heading {
  font-size: 36px;
  color: #C63D2F;
  margin-bottom: 12px;
}

.catalog-lead {
  color: #55503F;
  max-width: 640px;
  margin-bottom: 48px;
}

.catalog-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-row {
  display: flex;
  align-items: center;
  gap: 26px;
  background-color: #FFFDF6;
  border: 1px solid #E8E2D2;
  border-radius: 8px;
  padding: 24px 30px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(46,44,34,0.08);
}

.index-hole {
  position: absolute;
  left: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #FBF9F2;
  border: 2px solid #3E5F8A;
}

.index-hole.top { top: 14px; }
.index-hole.mid { top: 50%; margin-top: -6px; }
.index-hole.bottom { bottom: 14px; }

.sku-glyph {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background-color: #C9A97A;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* notebook icon */
.sku-glyph .ic-notebook {
  width: 22px;
  height: 30px;
  background-color: #2E2C22;
  border-radius: 3px;
  position: relative;
}
.sku-glyph .ic-notebook::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 6px;
  height: 1px;
  background-color: #C9A97A;
}
.sku-glyph .ic-notebook::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 11px;
  height: 1px;
  background-color: #C9A97A;
}

/* pen icon */
.sku-glyph .ic-pen {
  width: 4px;
  height: 30px;
  background-color: #2E2C22;
  transform: rotate(-38deg);
  border-radius: 3px;
  position: relative;
}
.sku-glyph .ic-pen::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -4px;
  width: 4px;
  height: 8px;
  background-color: #C63D2F;
  transform: rotate(38deg);
}

/* calculator icon */
.sku-glyph .ic-calc {
  width: 24px;
  height: 30px;
  background-color: #2E2C22;
  border-radius: 2px;
  position: relative;
}
.sku-glyph .ic-calc::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  right: 4px;
  height: 2px;
  background-color: #C9A97A;
}
.sku-glyph .ic-calc::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 4px;
  width: 4px;
  height: 4px;
  background-color: #C63D2F;
}

/* glue stick icon */
.sku-glyph .ic-glue {
  width: 16px;
  height: 28px;
  background-color: #2E2C22;
  border-radius: 3px;
  position: relative;
}
.sku-glyph .ic-glue::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  height: 6px;
  background-color: #C63D2F;
  border-radius: 2px;
}

/* box icon */
.sku-glyph .ic-box {
  width: 26px;
  height: 24px;
  border: 3px solid #2E2C22;
  border-radius: 2px;
  position: relative;
}
.sku-glyph .ic-box::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 2px;
  width: 5px;
  height: 3px;
  background-color: #C63D2F;
}

.row-body {
  flex: 1;
  font-size: 16px;
}

.row-body h3 {
  font-size: 20px;
  color: #2E2C22;
  margin-bottom: 8px;
}

.row-body p {
  color: #55503F;
  max-width: 640px;
}

.price-tag {
  flex: 0 0 auto;
  background-color: #C9A97A;
  border: 2px solid #2E2C22;
  border-radius: 4px;
  padding: 12px 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  color: #2E2C22;
  position: relative;
  text-align: center;
}

.price-tag::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  margin-left: -3px;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 4px solid #2E2C22;
}

/* ============================================================
   STOCKTAKE METRIC BAND
   ============================================================ */
.metric-band {
  background-color: #2E2C22;
  padding: 90px 24px;
}

.metric-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.metric-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 2px solid #C63D2F;
}

.metric-item:last-child {
  border-right: none;
}

.metric-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 700;
  color: #C63D2F;
  line-height: 1;
  margin-bottom: 12px;
}

.metric-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FBF9F2;
}

/* ============================================================
   STATEMENT BAND
   ============================================================ */
.statement-band {
  background-color: #FFFDF6;
  padding: 96px 24px;
  border-top: 1px solid #E8E2D2;
  border-bottom: 1px solid #E8E2D2;
}

.statement-wrap {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding-left: 28px;
}

.statement-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background-color: #3E5F8A;
}

.statement-wrap p {
  font-size: 28px;
  line-height: 1.5;
  color: #2E2C22;
  margin-bottom: 18px;
}

.statement-wrap .attribution {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #C63D2F;
}

.process-heading {
  font-size: 26px;
  color: #C63D2F;
  margin-bottom: 16px;
}

.process-text {
  font-size: 18px !important;
  margin-bottom: 0;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 96px 24px;
}

.cta-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background-color: #FFFDF6;
  border: 1px solid #E8E2D2;
  border-radius: 12px;
  padding: 56px 48px;
}

.cta-wrap h2 {
  font-size: 34px;
  color: #C63D2F;
  margin-bottom: 18px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero .hero-still {
  justify-content: center;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero .hero-shell .hero-text {
  flex-basis: 100%;
  text-align: left;
}

.contact-form {
  max-width: 640px;
  background-color: #FFFDF6;
  border: 1px solid #E8E2D2;
  border-radius: 12px;
  padding: 32px 36px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2E2C22;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #E8E2D2;
  background-color: #FBF9F2;
  padding: 12px 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: #2E2C22;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #3E5F8A;
}

.form-submit {
  border: none;
  cursor: pointer;
}

.contact-details .catalog-heading {
  margin-top: 48px;
}

.faq-heading {
  margin-top: 40px;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border: 1px solid #E8E2D2;
  background-color: #FFFDF6;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  color: #2E2C22;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 22px;
  color: #C63D2F;
  font-size: 22px;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 22px 18px;
  color: #55503F;
}

.cta-wrap p {
  color: #55503F;
  margin-bottom: 30px;
}

/* ============================================================
   DOG-EAR FOOTER (.dogear-footer)
   ============================================================ */
.dogear-footer {
  background-color: #2E2C22;
  padding-top: 0;
}

.spiral-edge {
  height: 14px;
  background-image: repeating-linear-gradient(90deg,
    #3E5F8A 0 4px, #3E5F8A 4px 5px,
    #2E2C22 5px 12px, #3E5F8A 12px 13px, #3E5F8A 13px 16px);
  background-size: 20px 14px;
}

.footer-stack {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-brand .pen-nib-glyph {
  background-color: #FBF9F2;
}

.footer-brand .brand-name {
  color: #FBF9F2;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-bottom: 40px;
}

.footer-links a {
  color: #C9A97A;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #3E5F8A;
  padding-bottom: 4px;
}

.footer-links a:hover {
  color: #FBF9F2;
  border-color: #C63D2F;
}

.dog-ear-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.dog-ear-divider::before,
.dog-ear-divider::after {
  content: "";
  width: 70px;
  height: 1px;
  background-color: #3E5F8A;
}

.dog-ear-fold {
  width: 18px;
  height: 18px;
  background-color: #C63D2F;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.legal-line {
  color: #C9A97A;
  font-size: 13px;
  margin-bottom: 8px;
}

.legal-line a {
  color: #C9A97A;
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-shell {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-subcopy {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-row {
    justify-content: center;
  }

  .hero-still {
    width: 100%;
  }

  .metric-wrap {
    flex-direction: column;
    gap: 36px;
  }

  .metric-item {
    border-right: none;
    border-bottom: 2px solid #C63D2F;
    padding-bottom: 28px;
  }

  .metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .catalog-row {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 44px;
  }

  .price-tag {
    align-self: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    padding: 12px 0 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid #E8E2D2;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: none;
  }
}
