/* =========================================================
   BRAND VILLAGE — GLOBAL STYLESHEET
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --dark:        #111111;
  --dark2:       #1a1a1a;
  --gold:        #c9a96e;
  --gold-light:  #e8d5b0;
  --cream:       #faf7f2;
  --white:       #ffffff;
  --text:        #2e2e2e;
  --text-light:  #666666;
  --border:      #e4ddd3;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Lato', 'Helvetica Neue', sans-serif;
  --max:         1200px;
  --t:           all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; transition: var(--t); }
ul { list-style: none; }

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 90px 0; }
.section--dark { background: var(--dark2); color: var(--white); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--gold-bg { background: #f5ede0; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; line-height: 1.8; color: var(--text-light); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 12px; display: block; }

/* ── Divider ── */
.gold-rule { width: 56px; height: 2px; background: var(--gold); margin: 18px 0 32px; }
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 14px 38px; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: var(--t); border-radius: 1px; }
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: transparent; color: var(--gold); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--dark); }
.btn--dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn--dark:hover { background: transparent; color: var(--dark); }
.btn--sm { padding: 10px 24px; font-size: 0.78rem; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--dark); border-bottom: 1px solid #2a2a2a; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.logo span { color: var(--gold); }
.logo--light { color: var(--white); }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #cccccc; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--white); border-bottom-color: var(--gold); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--t); }

/* ── Hero ── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 680px; }
.hero__eyebrow { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 20px; display: block; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 36px; line-height: 1.8; }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Page hero (smaller) ── */
.page-hero { background: var(--dark2); padding: 80px 0; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: #aaaaaa; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.78rem; color: #888; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.1em; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── Category bar ── */
.category-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0; }
.category-bar__inner { display: flex; justify-content: center; gap: 0; }
.category-bar a { display: block; padding: 22px 32px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--text-light); border-bottom: 3px solid transparent; transition: var(--t); }
.category-bar a:hover { color: var(--dark); border-bottom-color: var(--gold); }

/* ── Product grid ── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.product-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: var(--t); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.product-card__img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__body { padding: 24px 22px 26px; }
.product-card__cat { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.product-card__title { font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; margin-bottom: 12px; color: var(--dark); }
.product-card__desc { font-size: 0.88rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.6; }
.product-card__link { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--dark); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.product-card__link:hover { color: var(--gold); }

/* ── Product detail ── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.product-detail__img { aspect-ratio: 4/5; overflow: hidden; }
.product-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__info { padding-top: 10px; }
.product-detail__info h1 { margin-bottom: 10px; }
.product-detail__desc { color: var(--text-light); margin: 24px 0; line-height: 1.85; }
.product-detail__features { margin: 28px 0; }
.product-detail__features h3 { font-size: 1rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--sans); }
.product-detail__features ul { list-style: disc; padding-left: 18px; }
.product-detail__features li { font-size: 0.9rem; color: var(--text-light); margin-bottom: 6px; line-height: 1.6; }

/* ── Outgoing links section ── */
.outlinks-section { background: #f0ebe3; padding: 64px 0; }
.outlinks-section .container { max-width: 780px; text-align: center; }
.outlinks-heading { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 20px; }
.outlinks-section p { color: var(--text-light); line-height: 1.9; font-size: 1.02rem; }
.outlinks-section a { color: var(--gold); border-bottom: 1px solid var(--gold-light); font-weight: 700; }
.outlinks-section a:hover { color: var(--dark); border-bottom-color: var(--dark); }

/* ── Feature strips ── */
.features-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.features-strip__item { background: var(--white); padding: 36px 24px; text-align: center; }
.features-strip__icon { font-size: 1.8rem; margin-bottom: 12px; }
.features-strip__title { font-family: var(--serif); font-size: 1rem; margin-bottom: 6px; }
.features-strip__text { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ── CTA banner ── */
.cta-banner { background: var(--dark2); padding: 96px 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: #aaaaaa; margin-bottom: 36px; font-size: 1.05rem; }

/* ── Blog grid ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px; }
.blog-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: var(--t); }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.09); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 24px 22px 28px; }
.blog-card__date { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.blog-card__title { font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; margin-bottom: 12px; }
.blog-card__excerpt { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; margin-bottom: 18px; }
.blog-card__link { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--dark); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.blog-card__link:hover { color: var(--gold); }

/* ── Blog post ── */
.blog-post { max-width: 780px; margin: 0 auto; padding: 72px 28px 90px; }
.blog-post__meta { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.blog-post__title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; margin-bottom: 24px; }
.blog-post__hero { margin: 36px 0 48px; border-radius: 2px; overflow: hidden; aspect-ratio: 16/9; }
.blog-post__hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-post__content h2 { font-size: 1.55rem; margin: 46px 0 16px; color: var(--dark); }
.blog-post__content h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.blog-post__content p { margin-bottom: 1.25em; color: var(--text); }
.blog-post__content ul, .blog-post__content ol { margin: 1em 0 1.5em 22px; }
.blog-post__content li { margin-bottom: 8px; color: var(--text); line-height: 1.7; }
.blog-post__content ul { list-style: disc; }
.blog-post__content ol { list-style: decimal; }
.blog-post__content a { color: var(--gold); font-weight: 700; border-bottom: 1px solid var(--gold-light); }
.blog-post__content a:hover { color: var(--dark); }
.blog-post__content strong { color: var(--dark); font-weight: 700; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.value-item { padding: 28px; border: 1px solid var(--border); background: var(--white); }
.value-item h4 { font-family: var(--serif); margin-bottom: 10px; color: var(--dark); }
.value-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; margin: 0; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h3 { margin-bottom: 14px; }
.contact-info p { color: var(--text-light); line-height: 1.8; }
.contact-info strong { color: var(--dark); }
.contact-links a { color: var(--gold); font-weight: 700; display: block; margin-bottom: 10px; font-size: 0.9rem; letter-spacing: 0.06em; }
.contact-links a:hover { color: var(--dark); }

/* ── Footer ── */
.site-footer { background: var(--dark); color: #aaaaaa; padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid #2a2a2a; }
.footer-brand p { font-size: 0.88rem; margin-top: 16px; line-height: 1.7; max-width: 280px; color: #888; }
.footer-links h4 { font-family: var(--serif); color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.85rem; color: #888; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding: 22px 0; font-size: 0.8rem; color: #555; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .product-detail { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hero { min-height: 75vh; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .category-bar__inner { flex-wrap: wrap; justify-content: flex-start; }
  .category-bar a { padding: 16px 20px; }
  .about-values { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--dark2); border-top: 1px solid #2a2a2a; padding: 20px 28px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid #2a2a2a; }
  .main-nav a { display: block; padding: 14px 0; }
}

@media (max-width: 540px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero__buttons { flex-direction: column; align-items: flex-start; }
  .features-strip { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
