:root {
  --parchment: #F4EFEA;
  --white: #FFFFFF;
  --pine: #2A1E3F;        /* deep plum */
  --brass: #C6603C;       /* terracotta accent */
  --brass-dark: #A94E2F;
  --slate: #6B6470;
  --frost: #E7E1EC;
  --metallic: #C6603C;
  --gold: #D9A441;
  --mist: #EFE8F2;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--parchment);
  color: var(--pine);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pine);
}

a { color: var(--pine); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brass); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: var(--white);
  padding: 12px 20px;
  z-index: 2000;
}
.skip-link:focus { left: 0; color: var(--white); }

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, var(--pine), #3A2C55);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--frost);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(42,30,63,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--pine);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo svg { width: 28px; height: 28px; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 500;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.25s;
}
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-cart {
  background: var(--brass);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-cart:hover { color: var(--white); background: var(--brass-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--frost);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pine);
  margin: 4px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary { background: var(--brass); color: var(--white); }
.btn-primary:hover { background: var(--brass-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--pine); border: 1px solid var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--white); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
  background: linear-gradient(135deg, var(--white), var(--mist));
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-content h1 { font-size: 54px; margin-bottom: 20px; }
.hero-content p { color: var(--slate); font-size: 18px; margin-bottom: 32px; max-width: 460px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { background-size: cover; background-position: center; min-height: 400px; }

/* Section headings */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--brass);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 40px; }
.section-head p { color: var(--slate); max-width: 620px; margin: 16px auto 0; }

/* Categories Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(42,30,63,0.14); }
.category-card img { height: 200px; object-fit: cover; width: 100%; }
.category-card .card-body { padding: 20px; }
.category-card h3 { font-size: 20px; margin-bottom: 6px; }
.category-card p { font-size: 14px; color: var(--slate); }

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(42,30,63,0.14); }
.product-card .product-img-wrap { position: relative; }
.product-card img { height: 260px; object-fit: cover; width: 100%; }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--pine);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 700;
}
.product-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-info h3 { font-size: 19px; margin-bottom: 6px; }
.product-cat { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--slate); margin-bottom: 10px; }
.product-price { font-size: 20px; font-weight: 700; color: var(--brass); margin-bottom: 8px; }
.stock-status { font-size: 13px; margin-bottom: 14px; }
.in-stock { color: #2f7a4d; }
.low-stock { color: #b7791f; }
.out-stock { color: #b03a3a; }
.product-info .btn { margin-top: auto; }

/* Journal */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.journal-card {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.journal-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(42,30,63,0.14); }
.journal-card img { height: 220px; object-fit: cover; width: 100%; }
.journal-card .card-body { padding: 24px; }
.journal-meta { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--brass); margin-bottom: 10px; font-weight: 600; }
.journal-card h3 { font-size: 22px; margin-bottom: 10px; }
.journal-card p { color: var(--slate); font-size: 15px; margin-bottom: 14px; }
.read-link { color: var(--brass); font-weight: 600; font-size: 14px; }

/* Craftsmanship story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: 16px;
  overflow: hidden;
}
.story-img { height: 100%; min-height: 420px; object-fit: cover; }
.story-text { padding: 56px 56px 56px 0; }
.story-text .eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--brass); font-weight: 700; }
.story-text h2 { font-size: 38px; margin: 14px 0 20px; }
.story-text p { color: var(--slate); margin-bottom: 16px; }

/* Reviews */
.reviews { background: var(--pine); color: var(--white); }
.reviews .section-head h2, .reviews .section-head .eyebrow { color: var(--white); }
.reviews .section-head .eyebrow { color: var(--gold); }
.review-carousel { position: relative; max-width: 780px; margin: 0 auto; }
.review-slide { display: none; text-align: center; padding: 0 20px; }
.review-slide.active { display: block; }
.review-stars { color: var(--gold); font-size: 20px; margin-bottom: 18px; letter-spacing: 3px; }
.review-quote { font-family: 'Playfair Display', serif; font-size: 24px; line-height: 1.5; margin-bottom: 22px; font-style: italic; }
.review-author { font-weight: 600; }
.review-role { color: var(--frost); font-size: 14px; }
.carousel-controls { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }
.carousel-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}
.carousel-btn:hover { background: var(--gold); color: var(--pine); }

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--brass), var(--brass-dark));
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.newsletter h2 { color: var(--white); font-size: 36px; margin-bottom: 14px; }
.newsletter p { max-width: 520px; margin: 0 auto 28px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border: none;
  border-radius: 30px;
  font-size: 15px;
}
.newsletter-form button {
  background: var(--pine);
  color: var(--white);
  border: none;
  padding: 14px 26px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #1c1330; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--frost); border-radius: 12px; margin-bottom: 14px; background: var(--white); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: var(--pine);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question .icon { font-size: 22px; color: var(--brass); transition: transform 0.2s; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; color: var(--slate); }

/* Footer */
.site-footer { background: var(--pine); color: var(--frost); padding: 60px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 { color: var(--white); font-size: 22px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--frost); max-width: 300px; }
.footer-brand address { font-style: normal; font-size: 14px; margin-top: 16px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--frost); font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--frost);
}
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--brass);
  padding: 20px 24px;
  z-index: 1500;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; font-size: 14px; color: var(--slate); }
.cookie-text strong { color: var(--pine); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button {
  padding: 11px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--pine);
}
.btn-accept { background: var(--brass); color: var(--white); border-color: var(--brass); }
.btn-necessary { background: transparent; color: var(--pine); }
.btn-prefs { background: var(--pine); color: var(--white); }

/* Page hero (subpages) */
.page-hero {
  background: linear-gradient(135deg, var(--pine), #3A2C55);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 46px; margin-bottom: 12px; }
.page-hero p { color: var(--frost); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: var(--frost); margin-bottom: 16px; }
.breadcrumb a { color: var(--gold); }

/* Shop layout */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.filter-bar {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: 14px;
  padding: 24px;
  align-self: start;
}
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 15px; margin-bottom: 12px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); margin-bottom: 8px; cursor: pointer; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.shop-toolbar select { padding: 10px 14px; border: 1px solid var(--frost); border-radius: 8px; font-size: 14px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.gallery-main { border: 1px solid var(--frost); border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.gallery-main img { width: 100%; height: 480px; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumbs img { height: 90px; object-fit: cover; border: 1px solid var(--frost); border-radius: 8px; cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--brass); border-width: 2px; }
.pd-info h1 { font-size: 40px; margin-bottom: 12px; }
.pd-price { font-size: 30px; color: var(--brass); font-weight: 700; margin: 16px 0; }
.pd-desc { color: var(--slate); margin-bottom: 24px; }
.pd-actions { display: flex; gap: 14px; margin: 24px 0; flex-wrap: wrap; }
.qty-input { width: 70px; padding: 12px; border: 1px solid var(--frost); border-radius: 8px; text-align: center; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--frost); font-size: 14px; }
.spec-table th { width: 40%; color: var(--pine); font-weight: 600; }
.spec-table td { color: var(--slate); }
.pd-section { margin-top: 40px; }
.pd-section h3 { font-size: 24px; margin-bottom: 14px; }
.pd-section ul { padding-left: 20px; color: var(--slate); }
.pd-section li { margin-bottom: 8px; }

/* Content pages */
.content-page { max-width: 820px; margin: 0 auto; }
.content-page h2 { font-size: 30px; margin: 36px 0 14px; }
.content-page h3 { font-size: 22px; margin: 24px 0 10px; }
.content-page p { color: var(--slate); margin-bottom: 16px; }
.content-page ul, .content-page ol { margin: 0 0 16px 22px; color: var(--slate); }
.content-page li { margin-bottom: 8px; }
.content-page address { font-style: normal; color: var(--slate); line-height: 1.9; margin-bottom: 16px; }
.last-updated { color: var(--brass); font-weight: 600; font-size: 14px; margin-top: 32px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--frost);
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 18px;
  font-family: inherit;
}
.contact-info { background: var(--white); border: 1px solid var(--frost); border-radius: 14px; padding: 32px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info address { font-style: normal; line-height: 2; color: var(--slate); }

/* About */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.value-card { background: var(--white); border: 1px solid var(--frost); border-radius: 14px; padding: 32px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(42,30,63,0.12); }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { color: var(--slate); font-size: 14px; }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sitemap-col h3 { font-size: 20px; margin-bottom: 14px; border-bottom: 2px solid var(--brass); padding-bottom: 8px; }
.sitemap-col ul { list-style: none; }
.sitemap-col li { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 1200px) {
  .hero-content h1 { font-size: 44px; }
}
@media (max-width: 992px) {
  .category-grid, .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-grid, .value-grid, .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--frost);
    padding: 20px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hamburger { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 48px 24px; }
  .hero-content h1 { font-size: 40px; }
  .story { grid-template-columns: 1fr; }
  .story-img { min-height: 300px; }
  .story-text { padding: 32px; }
  .product-detail, .contact-layout, .shop-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head h2 { font-size: 32px; }
}
@media (max-width: 480px) {
  .category-grid, .product-grid, .shop-grid, .journal-grid, .value-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 34px; }
  .page-hero h1 { font-size: 34px; }
  .header-actions .btn-cart { display: none; }
  .footer-bottom { flex-direction: column; }
}