/* Usufzy Family Brand — v2 Stylesheet */

/* ── Tokens ── */
:root {
  --gold:    #C9A227;
  --gold-lt: #E8D48A;
  --burg:    #722F37;
  --burg-dk: #3D1A1E;
  --navy:    #1B2A4A;
  --cream:   #FDFBF7;
  --warm-bg: #F5F0E8;
  --border:  #E8DDD4;
  --text:    #2A1F1A;
  --muted:   #8B6B5B;
  --white:   #ffffff;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--burg); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--burg);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none !important; }
.site-logo:hover { text-decoration: none !important; }
.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--burg) 0%, #8B1A1A 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 28px; height: 28px; }
.logo-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  color: var(--burg);
  line-height: 1.2;
  font-weight: 700;
}
.logo-sub {
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}
.site-nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  color: #5A4035;
  font-size: 0.8rem;
  padding: 6px 11px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--burg); background: #F5EDE8; text-decoration: none; }
.site-nav a.active { color: var(--burg); font-weight: 600; }

/* ── Tagline Bar ── */
.tagline-bar {
  background: var(--burg);
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.tagline-bar span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.88);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.tagline-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ── Hero ── */
.hero {
  padding: 90px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero.bg-burgundy {
  background: linear-gradient(135deg, var(--burg) 0%, var(--burg-dk) 100%);
}
.hero.bg-navy { background: linear-gradient(135deg, var(--navy) 0%, #0f1829 100%); }
.hero.bg-dark  { background: linear-gradient(135deg, #2A1F1A 0%, #1A0F0F 100%); }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.6rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.1;
}
.hero h1 .gold { color: var(--gold); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.75;
  font-style: italic;
}
.hero-rule { width: 60px; height: 3px; background: var(--gold); margin: 0 auto 20px; border-radius: 2px; }
.hero-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--gold);
  font-size: 0.7rem;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

/* ── Stats Bar ── */
.stats-bar { background: var(--navy); display: flex; justify-content: center; }
.stat { padding: 26px 48px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat:last-child { border-right: none; }
.stat-n { font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; color: var(--gold); }
.stat-l { font-size: 0.68rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

/* ── Section: Story ── */
.section-story {
  background: var(--white);
  padding: 70px 20px;
  text-align: center;
}
.section-story h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  color: var(--burg);
  margin-bottom: 8px;
}
.section-sub {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.section-rule {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--burg), var(--gold));
  margin: 0 auto 24px;
  border-radius: 2px;
}
.section-story p {
  color: #5A4035;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-story p:last-child { font-style: italic; color: var(--burg); font-size: 1.05rem; }

/* ── Section: Brand Cards ── */
.section-brands {
  background: var(--warm-bg);
  padding: 60px 20px 80px;
}
.section-brands h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.8rem;
  color: var(--burg);
  text-align: center;
  margin-bottom: 6px;
}
.brands-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.brand-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.brand-card a { display: flex; flex-direction: column; text-decoration: none; color: inherit; flex: 1; }

/* Image container with image top-right */
.brand-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
}
.brand-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.brand-card:hover .brand-card-img-wrap img { transform: scale(1.04); }

/* Tag in top-left of image */
.brand-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(27,42,74,0.88);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.brand-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.brand-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.brand-card p { color: #6B5A4E; font-size: 0.84rem; line-height: 1.65; margin-bottom: 16px; flex: 1; }
.brand-card-btn {
  display: inline-block;
  background: var(--burg);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  transition: background 0.2s;
}
.brand-card-btn:hover { background: #8B1A1A; color: #fff; text-decoration: none; }

/* ── Content Block ── */
.content-block { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.content-block h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  color: var(--burg);
  margin: 40px 0 14px;
}
.content-block h2:first-child { margin-top: 0; }
.content-block p { color: #5A4035; font-size: 0.97rem; line-height: 1.85; margin-bottom: 14px; }
.content-rule { width: 50px; height: 3px; background: linear-gradient(90deg, var(--burg), var(--gold)); margin: 20px 0 24px; border-radius: 2px; }

/* ── Quote Block ── */
.quote-block {
  background: var(--white);
  border-left: 4px solid var(--burg);
  padding: 22px 26px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.quote-block p { color: var(--burg-dk); font-style: italic; font-size: 1.05rem; line-height: 1.75; margin: 0; }

/* ── CTA Band ── */
.cta-band {
  background: var(--burg);
  padding: 48px 20px;
  text-align: center;
  border-radius: 14px;
  margin: 40px 0;
}
.cta-band h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 22px; }
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--text);
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 5px;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.btn-gold:hover { background: #e8c84a; color: var(--text); text-decoration: none; }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 5px;
  font-size: 0.88rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.btn-outline:hover { border-color: #fff; color: #fff; text-decoration: none; }

/* ── Books Grid ── */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 20px 0 30px; }
.book-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.book-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 0.95rem; color: var(--text); margin-bottom: 6px; }
.book-card p { font-size: 0.78rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── About Brands List ── */
.brands-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 30px; }
.brand-item { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.brand-item h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; color: var(--burg); margin-bottom: 4px; }
.brand-item p { color: #6B5A4E; font-size: 0.88rem; margin: 0; }

/* ── Contact Form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.contact-info h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; color: var(--burg); margin-bottom: 12px; }
.contact-info p { color: #5A4035; font-size: 0.9rem; line-height: 1.7; margin-bottom: 10px; }
.contact-info a { color: var(--burg); font-weight: 600; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.9rem; font-family: inherit; background: var(--white); color: var(--text); transition: border 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--burg); box-shadow: 0 0 0 3px rgba(114,47,55,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { background: var(--burg); color: #fff; font-weight: 600; padding: 11px 28px; border-radius: 6px; font-size: 0.88rem; border: none; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: #8B1A1A; }

/* ── Legacy Foundation page ── */
.legacy-cta {
  background: var(--warm-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.legacy-cta .icon {
  flex-shrink: 0; width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.legacy-cta h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; color: var(--burg); margin-bottom: 6px; }
.legacy-cta p { color: #5A4035; font-size: 0.88rem; margin: 0 0 12px; line-height: 1.6; }
.legacy-cta .btn-outline { border-color: var(--burg); color: var(--burg); }

/* ── Footer ── */
.site-footer { background: var(--navy); padding: 40px 20px; text-align: center; border-top: 3px solid var(--burg); }
.footer-brand { font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; color: var(--gold); margin-bottom: 6px; }
.footer-tag { color: rgba(255,255,255,0.65); font-size: 0.8rem; margin-top: 6px; font-style: italic; }
.footer-copy { color: rgba(255,255,255,0.35); font-size: 0.72rem; margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 760px) {
  .site-header { padding: 12px 16px; gap: 12px; }
  .site-nav { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .hero-num { font-size: 3rem; }
  .stats-bar { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .contact-grid { grid-template-columns: 1fr; }
  .legacy-cta { flex-direction: column; text-align: center; }
}

/* Mobile nav toggle placeholder */
.nav-mobile-btn { display: none; }

/* ── Hero image variant ── */
.hero.hero-img {
  background-size: cover;
  background-position: center;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero.hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(114,47,55,0.85) 0%, rgba(26,15,15,0.8) 100%);
}
.hero.hero-img .hero-inner { z-index: 1; }

/* ── Misc utilities ── */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.big-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4rem;
  color: var(--burg);
  text-align: center;
  margin: 10px 0;
}
