/* ============================================
   HOUDINI PORTRAITS — Brand Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Brand Tokens --- */
:root {
  --cream:       #F5F2EC;
  --cream-dark:  #EAE6DC;
  --black:       #1A1815;
  --charcoal:    #2C2A27;
  --red:         #8B1A1A;
  --red-light:   #A52020;
  --gold:        #C9A96E;
  --gold-light:  #DFC08A;
  --white:       #FFFFFF;
  --gray-mid:    #888580;
  --gray-light:  #D4D1CB;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --nav-h:       72px;
  --max-w:       1400px;
  --radius:      4px;
  --radius-lg:   12px;
  --transition:  0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(245,242,236,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-light) !important; transform: translateY(-1px); color: var(--white) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    padding: 24px 40px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
}

/* Page offset */
.page-wrap { padding-top: var(--nav-h); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* --- Section Utilities --- */
.section { padding: 96px 40px; max-width: var(--max-w); margin: 0 auto; }
.section-full { padding: 96px 40px; }
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 24px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray-mid);
  max-width: 560px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* --- Footer --- */
.footer {
  background: var(--black);
  color: var(--gray-light);
  padding: 64px 40px 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-mid);
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--gray-light);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--gray-mid);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-item {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact-item span { color: var(--gold); font-size: 16px; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray-mid);
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--gold);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 64px 24px; }
  .section-full { padding: 64px 24px; }
  .nav { padding: 0 24px; }
  .footer { padding: 48px 24px 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Veteran Badge --- */
.vet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,26,26,0.08);
  border: 1px solid rgba(139,26,26,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

/* --- Photo Grid --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.photo-grid img:hover { transform: scale(1.02); filter: brightness(1.05); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* --- Divider --- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin: 20px 0;
}
.divider-center { margin: 20px auto; }

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
