/* ===== Variables ===== */
:root {
  --ink: #15130f;
  --ink-dark: #0a0908;
  --slate: #3d4451;
  --bronze: #b8863d;
  --bronze-light: #e0b169;
  --bronze-dark: #8f6428;
  --terracotta: #9c4f3a;
  --text: #2a2723;
  --gray-600: #6b6560;
  --gray-400: #a39c92;
  --gray-200: #e9e3d8;
  --gray-100: #f2ede4;
  --cream: #faf7f1;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(21, 19, 15, 0.10);
  --shadow-lg: 0 30px 70px rgba(10, 9, 8, 0.20);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.015em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--bronze-dark);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--bronze); flex-shrink: 0; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 1em 2em;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn::after { content: "\2192"; transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover::after { transform: translateX(5px); }
.btn-accent { background: linear-gradient(135deg, var(--bronze-light), var(--bronze)); color: var(--ink-dark); box-shadow: 0 14px 30px rgba(184, 134, 61, 0.4); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(184, 134, 61, 0.5); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 0 14px 30px rgba(21, 19, 15, 0.3); }
.btn-ink:hover { background: var(--ink-dark); transform: translateY(-2px); box-shadow: 0 18px 38px rgba(21, 19, 15, 0.38); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 247, 241, 0.88); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.site-header.scrolled { box-shadow: 0 10px 34px rgba(21,19,15,0.08); border-color: var(--gray-200); background: rgba(250, 247, 241, 0.97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 18px 0; }
.wordmark { font-family: var(--font-heading); font-weight: 700; font-size: 1.28rem; color: var(--ink); white-space: nowrap; letter-spacing: -0.01em; }
.wordmark span { color: var(--bronze); }
.main-nav { display: flex; gap: 22px; flex: 1; justify-content: center; flex-wrap: wrap; min-width: 0; }
.main-nav a { position: relative; font-weight: 600; font-size: 0.83rem; letter-spacing: 0.01em; color: var(--text); padding: 8px 1px; white-space: nowrap; transition: color 0.2s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1.5px; background: var(--bronze); transition: right 0.3s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .btn { padding: 0.75em 1.5em; font-size: 0.85rem; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scroll cue on main hero */
.scroll-cue { position: absolute; left: 50%; bottom: 40px; z-index: 2; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.55); border-radius: 14px; }
.scroll-cue::before { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--bronze-light); border-radius: 2px; animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; top: 8px; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
  animation: heroZoomIn 2s ease-out both;
  isolation: isolate;
}
.hero img.hero-bg,
.hero { filter: saturate(1.02); }
@keyframes heroZoomIn { from { background-size: 114% auto; } to { background-size: 100% auto; } }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(55% 45% at 12% 100%, rgba(184,134,61,0.3) 0%, rgba(184,134,61,0) 62%),
    linear-gradient(0deg, rgba(10,9,8,0.95) 4%, rgba(10,9,8,0.72) 42%, rgba(10,9,8,0.32) 75%, rgba(10,9,8,0.1) 100%);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 1;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
}
.hero-sm::after { height: 56px; clip-path: polygon(0 100%, 100% 55%, 100% 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 130px; max-width: 760px; }
.hero-inner .eyebrow { color: var(--bronze-light); }
.hero-inner .eyebrow::before { background: var(--bronze-light); }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.6vw, 4.1rem); letter-spacing: -0.02em; text-shadow: 0 4px 32px rgba(0,0,0,0.4); animation: fadeUp 1s var(--ease) both 0.08s; }
.hero p.lead { font-size: 1.2rem; line-height: 1.6; color: rgba(255,255,255,0.9); max-width: 620px; animation: fadeUp 1s var(--ease) both 0.24s; }
.hero .btn { animation: fadeUp 1s var(--ease) both 0.4s; }
.hero .eyebrow { animation: fadeUp 1s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero-sm { min-height: 62vh; }
.hero-sm .hero-inner { padding-top: 56px; padding-bottom: 96px; }

/* Floating credential chip on hero */
.hero-chip {
  position: absolute; z-index: 2; right: 28px; bottom: 96px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(21,19,15,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 1s var(--ease) both 0.55s;
}
.hero-chip img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.hero-chip .num { font-family: var(--font-heading); font-size: 1.5rem; color: var(--bronze-light); font-weight: 700; line-height: 1; }
.hero-chip .lbl { font-size: 0.72rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ===== Sections ===== */
section { padding: 110px 0; position: relative; }
.section-alt { background: var(--gray-100); }
.section-head { position: relative; max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head::before {
  content: ""; position: absolute; top: -60px; left: 50%; width: 420px; height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(184,134,61,0.1) 0%, rgba(184,134,61,0) 70%);
  z-index: -1; pointer-events: none;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left::before { left: 0; transform: none; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-head p { color: var(--gray-600); font-size: 1.08rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col .photo-frame { border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); position: relative; }
.two-col .photo-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); pointer-events: none; }
.two-col .photo-frame:hover { transform: translateY(-4px); box-shadow: 0 36px 80px rgba(10,9,8,0.24); }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-lg); transition: transform 0.7s var(--ease); filter: saturate(1.05) contrast(1.02); }
.two-col .photo-frame img { border-radius: 0; box-shadow: none; }
.two-col .photo-frame:hover img { transform: scale(1.045); }
.two-col img:not(.photo-frame img):hover { transform: scale(1.02) translateY(-3px); }

.checklist li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 15px; }
.checklist li svg { flex-shrink: 0; margin-top: 2px; color: var(--bronze-dark); background: rgba(184,134,61,0.14); border-radius: 50%; padding: 4px; width: 24px; height: 24px; box-sizing: border-box; }

/* ===== Feature cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 0 auto; }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid rgba(21,19,15,0.06);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 2px 10px rgba(21,19,15,0.04);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-7px); border-color: rgba(184,134,61,0.3); }
.card img { border-radius: var(--radius-sm); filter: saturate(1.05) contrast(1.02); }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(184,134,61,0.16), rgba(184,134,61,0.06));
  color: var(--bronze-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s var(--ease);
}
.card:hover .card-icon { background: linear-gradient(135deg, var(--bronze-light), var(--bronze)); color: var(--ink-dark); transform: scale(1.1) rotate(-6deg); }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--gray-600); margin-bottom: 0; font-size: 0.96rem; }
.card-dark { background: var(--ink); border-color: var(--ink); }
.card-dark h3, .card-dark p { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.72); }
.card-dark .card-icon { background: rgba(184,134,61,0.22); color: var(--bronze-light); }
.card-dark:hover { border-color: var(--bronze); }

/* ===== Gallery / press-style grid ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gallery-card {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(21,19,15,0.05);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.gallery-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.gallery-card .img-wrap { position: relative; overflow: hidden; height: 250px; }
.gallery-card img { height: 250px; object-fit: cover; object-position: center 15%; width: 100%; transition: transform 0.7s var(--ease); filter: saturate(1.08) contrast(1.03); }
.gallery-card .img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,19,15,0) 55%, rgba(21,19,15,0.5) 100%); pointer-events: none; }
.gallery-card:hover img { transform: scale(1.1); }
.gallery-body { padding: 24px 26px 28px; }
.gallery-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-block; background: rgba(21,19,15,0.6); backdrop-filter: blur(6px);
  color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 5px 13px; border-radius: 999px;
}
.gallery-card h3 { font-size: 1.12rem; margin-bottom: 7px; }
.gallery-card p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 0; }

/* ===== Quote band ===== */
.quote-band { position: relative; background: var(--ink); color: var(--white); text-align: center; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 90% at 50% 0%, rgba(184,134,61,0.2) 0%, rgba(184,134,61,0) 70%); }
.quote-band::after {
  content: "\201C"; position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-heading); font-size: 14rem; color: rgba(184,134,61,0.08); line-height: 1; pointer-events: none;
}
.quote-band .container { position: relative; max-width: 840px; }
.quote-band blockquote { margin: 0; font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.5; color: var(--white); }

/* ===== Stats band ===== */
.stats-band { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 75%);
}
.stats-band .container { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-tile { position: relative; }
.stat-tile + .stat-tile::before { content: ""; position: absolute; left: -16px; top: 12%; bottom: 12%; width: 1px; background: rgba(255,255,255,0.12); }
.stat-num { font-family: var(--font-heading); font-size: clamp(2.2rem, 4.6vw, 3rem); color: var(--bronze-light); font-weight: 700; line-height: 1; }
.stat-label { margin-top: 10px; color: rgba(255,255,255,0.75); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em; }

/* ===== CTA band ===== */
.cta-band { position: relative; background: linear-gradient(135deg, var(--terracotta) 0%, #5f2e21 100%); color: var(--white); text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 85% 10%, rgba(184,134,61,0.4) 0%, rgba(184,134,61,0) 60%); }
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }

/* ===== Forms ===== */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 44px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 19px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.89rem; }
.form-field label .req { color: var(--terracotta); }
.form-field input, .form-field select, .form-field textarea { padding: 13px 15px; border: 1.5px solid var(--gray-200); border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; background: var(--cream); transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--bronze); background: var(--white); box-shadow: 0 0 0 4px rgba(184,134,61,0.14); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-alert { padding: 15px 20px; border-radius: 10px; margin-bottom: 26px; font-weight: 600; }
.form-alert.success { background: #e5f5ea; color: #1e7a3c; }
.form-alert.error { background: #fbe9e5; color: var(--terracotta); }

/* ===== Footer ===== */
.site-footer { background: var(--ink-dark); color: rgba(255,255,255,0.75); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--bronze), transparent); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; padding-top: 76px; padding-bottom: 48px; }
.footer-brand .wordmark { color: var(--white); font-size: 1.4rem; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; margin-top: 16px; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; font-weight: 700; }
.footer-col > a, .footer-col > span { display: block; margin-bottom: 12px; font-size: 0.92rem; color: rgba(255,255,255,0.6); transition: color 0.2s ease; }
.footer-col > a:hover { color: var(--bronze-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; font-size: 0.8rem; text-align: center; color: rgba(255,255,255,0.42); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 18px 28px 26px; box-shadow: var(--shadow); gap: 6px; animation: fadeUp 0.25s var(--ease) both; }
  .main-nav a::after { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .cards-grid, .cards-grid.cols-2, .cards-grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .stat-tile + .stat-tile::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { min-height: 78vh; animation: none; background-size: cover; }
  .hero-inner { padding-bottom: 90px; }
  .hero-chip { right: 20px; bottom: 76px; padding: 12px 16px; gap: 10px; }
  .hero-chip img { width: 36px; height: 36px; }
  .hero-chip .num { font-size: 1.2rem; }
}
