/* === RESET & VARIABLES === */
:root {
  --wood: #8B5E3C;
  --wood-dark: #5D3A1F;
  --wood-light: #C9A882;
  --charcoal: #1A1A2E;
  --charcoal-mid: #2D2D44;
  --slate: #4A5568;
  --cream: #FAF8F5;
  --cream-dark: #F0EDE8;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --accent: #C53030;
  --accent-light: #E53E3E;
  --green: #276749;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s;
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 0.6rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  margin: -40px 0;
}

.nav-logo .logo-text {
  display: none;
}

/* Brighten logo on dark hero (index page before scroll) */
.nav:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.nav.scrolled .logo-text,
.nav.scrolled .nav-link { color: var(--charcoal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
  border-radius: 8px;
  transition: all 0.2s;
}

.nav.scrolled .nav-link { color: var(--text-muted); }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.12); color: var(--white); }
.nav.scrolled .nav-link:hover, .nav.scrolled .nav-link.active { background: var(--cream-dark); color: var(--charcoal); }

.nav-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 8px;
  margin-left: 0.5rem;
  transition: all 0.2s;
}

.nav-btn:hover { background: var(--accent-light); transform: translateY(-1px); }

.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);
  border-radius: 2px;
  transition: 0.2s;
}

.nav.scrolled .nav-toggle span { background: var(--charcoal); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(197, 48, 48, 0.3);
}

.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(197, 48, 48, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(26, 26, 46, 0.2);
}

.btn-ghost:hover { border-color: var(--charcoal); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.5;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(139, 94, 60, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(197, 48, 48, 0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin-bottom: 1.5rem;
  animation: fadeIn 0.6s ease;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title-accent {
  color: var(--wood-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stat-value {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* === SECTIONS === */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--charcoal);
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-tag-light { color: var(--wood-light); }

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-title span { color: var(--wood); }
.section-title-light { color: var(--white); }
.section-title-light span { color: var(--wood-light); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

/* === CATEGORY GRID === */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s;
}

.cat-card:hover { transform: translateY(-4px); }
.cat-card-large { grid-column: span 1; grid-row: span 2; min-height: 460px; }

.cat-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.4s;
}

.cat-card:hover .cat-card-bg { transform: scale(1.03); }

.cat-card-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  width: 100%;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.6) 100%);
  color: var(--white);
}

.cat-icon {
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.cat-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cat-card p {
  font-size: 0.82rem;
  opacity: 0.75;
  line-height: 1.5;
}

.cat-brands {
  font-size: 0.72rem;
  opacity: 0.5;
  margin-top: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* === WHY GRID === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--charcoal-mid);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s, border-color 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
}

.why-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--wood-light);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* === CTA === */
.cta-section {
  padding: 3rem 0 5rem;
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-content { flex: 1; }

.cta-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 420px;
}

.cta-actions { display: flex; gap: 0.75rem; }

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius);
  min-width: 280px;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text);
}

.cta-info-item svg { color: var(--accent); flex-shrink: 0; }

/* === FOOTER === */
.footer {
  background: var(--charcoal);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-brand .logo-mark { background: var(--wood-dark); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-img { height: 180px; filter: brightness(0) invert(1); margin: -45px 0; }
.footer-brand .nav-logo .logo-text { display: none; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
  line-height: 1.6;
}

.footer-col a:hover { color: var(--wood-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-size: 0.78rem;
}

/* === CONTENT PAGES === */
.page-header {
  background: var(--charcoal);
  padding: 8rem 2rem 3rem;
  text-align: center;
}

.page-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}

.content-section {
  padding: 4rem 0;
}

.product-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--cream-dark);
}

.product-block:last-child { border-bottom: none; }

.product-block h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.product-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 700px;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--cream-dark);
  border-radius: 100px;
  color: var(--text);
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 700px;
}

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group-full { grid-column: span 2; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--wood);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Career cards */
.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.job-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.job-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* === ANIMATIONS === */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card-large { grid-row: span 1; min-height: 220px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { flex-direction: column; }
  .cta-info { min-width: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--charcoal); flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; }
  .nav-links.open { display: flex; z-index: 200; }
  .nav-links .nav-link { color: var(--white); font-size: 1.2rem; }
  .nav-links .nav-btn { margin-left: 0; margin-top: 1rem; }
  .nav-toggle { display: flex; }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 7rem 1.5rem 3rem; }
}
