/* ==========================================================================
   VIP Communication PR — shared stylesheet
   Editorial / premium PR-agency aesthetic: charcoal + warm paper + brass gold.
   ========================================================================== */

:root {
  --ink: #16140f;
  --ink-soft: #241f18;
  --paper: #f6f1e6;
  --paper-dim: #ece4d3;
  --gold: #c19a4d;
  --gold-deep: #93732f;
  --gold-pale: #e8d6a8;
  --muted: #7a7263;
  --line: rgba(22, 20, 15, 0.12);
  --line-on-ink: rgba(246, 241, 230, 0.16);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; color: var(--ink-soft); }
.on-ink p, .on-ink { color: var(--paper-dim); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.on-ink .eyebrow { color: var(--gold-pale); }
.on-ink .eyebrow::before { background: var(--gold-pale); }

/* ---- Buttons ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.on-ink .btn-outline { border-color: var(--line-on-ink); color: var(--paper); }
.on-ink .btn-outline:hover { border-color: var(--gold-pale); color: var(--gold-pale); }

/* ---- Header ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo {
  width: auto;
  height: 62px;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.04); }
@media (max-width: 480px) { .brand-logo { height: 52px; } }

.main-nav { display: flex; align-items: center; gap: 2.1rem; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.4em 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--gold); color: var(--gold-deep); }
.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--line);
  padding: 0.5em 0.7em;
  cursor: pointer;
}
@media (min-width: 860px) { .nav-toggle { display: none; } }
.nav-links-wrap {
  display: none;
}
@media (min-width: 860px) {
  .nav-links-wrap { display: flex; align-items: center; gap: 2.4rem; }
}
.nav-links-wrap.is-open {
  display: flex;
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  background: var(--paper);
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.2rem;
}
.nav-links-wrap.is-open .main-nav {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}
.nav-links-wrap.is-open .main-nav a { padding: 0.85em 0; width: 100%; border-bottom: 1px solid var(--line); }
.nav-links-wrap.is-open .nav-cta { display: inline-flex; margin-top: 1em; }

/* ---- Hero ------------------------------------------------------------ */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(193, 154, 77, 0.28), transparent 68%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
}
.hero h1 { color: var(--paper); max-width: 14ch; }
.hero-lede { font-size: 1.15rem; color: var(--paper-dim); max-width: 46ch; }
.hero-lead { max-width: 62ch; }
.hero-lead h1 { max-width: 20ch; }
.hero-lead .hero-lede { max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.hero-meta {
  border-left: 1px solid var(--line-on-ink);
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--paper-dim);
}

.breadcrumb {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--gold-pale); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-color: var(--gold-pale); }

/* ---- Sections --------------------------------------------------------- */

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .section-split { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}

.bg-ink { background: var(--ink); color: var(--paper); }
.bg-dim { background: var(--paper-dim); }

/* ---- Cards / grids ------------------------------------------------------ */

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.2rem 1.9rem;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 24px 48px -28px rgba(22, 20, 15, 0.35);
}
.card .card-index { color: var(--gold); font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 0.6rem; display: block; }
.card h3 { margin-bottom: 0.5rem; }
.card a.card-link { display: inline-block; margin-top: 0.9rem; font-weight: 700; font-size: 0.86rem; color: var(--gold-deep); }
.card a.card-link::after { content: " →"; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--line-on-ink); padding-top: 1rem; }
.bg-ink .stat, .hero .stat { border-top-color: var(--line-on-ink); }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); display: block; }
.stat .label { font-size: 0.84rem; color: var(--paper-dim); letter-spacing: 0.02em; }

/* ---- Trust band (counters) ------------------------------------------ */

.trust-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line-on-ink);
  position: relative;
  overflow: hidden;
}
.trust-band::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -12%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(193, 154, 77, 0.16), transparent 70%);
  pointer-events: none;
}
.trust-band .container { position: relative; }
.trust-band .section-head { margin-bottom: 2.6rem; }
.trust-band .stat { border-top-color: var(--gold-deep); padding-top: 1.2rem; }
.trust-band .stat .num {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.trust-band .stat .label { display: block; max-width: 18ch; line-height: 1.45; }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card figure { margin: 0 0 1.1rem; overflow: hidden; aspect-ratio: 4/5; background: var(--paper-dim); }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.team-card:hover img { transform: scale(1.05); }
.team-card .role { color: var(--gold-deep); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; }

.value-list { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 700px) { .value-list { grid-template-columns: repeat(2, 1fr); } }
.value-item { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.value-item .idx { font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; }

/* ---- CTA band ---------------------------------------------------------- */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: left;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band h2 { margin-bottom: 0.3em; max-width: 16ch; }

/* ---- Forms -------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
@media (min-width: 700px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field-full { grid-column: 1 / -1; }
.field textarea { resize: vertical; min-height: 140px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; }
.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.ok { color: #4c7a52; }
.form-status.err { color: #a4453a; }

/* ---- Contact info blocks ------------------------------------------------- */

.contact-info { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 640px) { .contact-info { grid-template-columns: repeat(3, 1fr); } }
.contact-info .item { border-top: 1px solid var(--line-on-ink); padding-top: 1rem; }
.contact-info .item .k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-pale); margin-bottom: 0.4rem; }

/* ---- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper-dim);
  padding: 4rem 0 2.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--line-on-ink);
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo {
  width: auto;
  height: 96px;
  margin-bottom: 1.1rem;
}
.footer-grid h4 { color: var(--paper); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.footer-grid a { display: block; padding: 0.3em 0; font-size: 0.92rem; color: var(--paper-dim); }
.footer-grid a:hover { color: var(--gold-pale); }
.footer-bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---- Reveal-on-scroll motion --------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.35s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .card, .team-card img { transition: none !important; transform: none !important; opacity: 1 !important; }
}
