/* Veridex Events — veridexevents.com */

:root {
  --navy: #16233a;
  --navy-deep: #101a2c;
  --bronze: #b08d57;
  --bronze-dark: #8f7145;
  --bronze-light: #cfb37f;
  --paper: #faf8f5;
  --paper-alt: #f2eee7;
  --ink: #22262d;
  --ink-soft: #565d68;
  --line: #e2dcd1;
  --white-soft: #f7f4ee;
  --serif: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(176, 141, 87, 0.28); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--white-soft);
  padding: 12px 20px; font-size: 13px; text-decoration: none;
}
.skip-link:focus { left: 12px; }

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

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(16, 26, 44, 0.08); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 32px; }

.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--navy); }
.brand-sub { font-size: 10.5px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bronze-dark); }

.header-side { display: flex; align-items: center; gap: 28px; }

.site-nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--navy); border-bottom-color: var(--bronze); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  background: linear-gradient(160deg, #1d2e4f 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: var(--white-soft);
  padding: 100px 0 76px;
}
.hero h1 { color: #f7f4ee; font-size: clamp(36px, 5vw, 58px); max-width: 800px; margin: 0 0 24px; }
.hero-lead { color: rgba(239, 236, 229, 0.78); font-size: 17px; line-height: 1.7; max-width: 620px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 84px; padding-top: 34px; border-top: 1px solid rgba(226, 220, 209, 0.16);
}
.stat-value { display: block; font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); color: #f7f4ee; line-height: 1.1; margin-bottom: 8px; }
.stat-label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(239, 236, 229, 0.62); }

/* ---------- Shared ---------- */

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze-dark); margin: 0 0 16px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--bronze); margin-right: 12px; vertical-align: 5px; }
.eyebrow-light { color: var(--bronze-light); }
.eyebrow-light::before { background: rgba(207, 179, 127, 0.55); }

.section { padding: 100px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 680px; margin: 0 0 60px; }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-lead { color: var(--ink-soft); font-size: 16.5px; margin: 0; }

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

.btn {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; text-align: center;
  line-height: 1.2; padding: 15px 30px;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
button.btn { cursor: pointer; }
.btn-solid { background: var(--bronze); color: var(--navy-deep); border-color: var(--bronze); }
.btn-solid:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); color: #f6f1e7; }
.btn-outline { background: transparent; color: var(--white-soft); border-color: rgba(239, 236, 229, 0.45); }
.btn-outline:hover { border-color: var(--white-soft); background: rgba(239, 236, 229, 0.07); }

/* ---------- Reveal ---------- */

html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.21, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.21, 1); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- The Firm ---------- */

.firm-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.pull-line {
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5;
  color: var(--navy); border-left: 2px solid var(--bronze); padding-left: 18px;
  margin: 26px 0 30px; max-width: 30ch;
}
.firm-copy p { font-size: 15.5px; line-height: 1.8; margin-bottom: 1.4em; }
.firm-copy > p:first-of-type::first-letter {
  font-family: var(--serif); font-size: 52px; line-height: 0.82;
  float: left; padding: 8px 10px 0 0; color: var(--navy);
}
.fact-list { margin: 34px 0 0; }
.fact {
  display: flex; justify-content: space-between; align-items: baseline; gap: 28px;
  padding: 12px 2px; border-top: 1px solid var(--line);
}
.fact dt { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.fact dd { margin: 0; font-size: 14px; text-align: right; color: var(--ink); }

/* ---------- Practice areas ---------- */

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; }
.service { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.service-number { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--bronze-dark); margin: 0 0 14px; letter-spacing: 0.05em; }
.service h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; letter-spacing: 0; }
.service p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; max-width: 52ch; margin: 0; }

/* ---------- Process ---------- */

.approach-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 36px; }
.phase { border-top: 2px solid var(--navy); padding-top: 22px; }
.phase-label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-dark); margin: 0 0 12px; }
.phase h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: 0; }
.phase p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* ---------- Testimonials ---------- */

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 44px; }
.testimonial { margin: 0; }
.testimonial::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--bronze); margin-bottom: 10px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--serif); font-size: 17px; line-height: 1.72; color: #2e343d; margin: 0; }
.attribution { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.attribution-name { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.attribution-title { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-soft); }

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

.site-footer { background: var(--navy-deep); color: rgba(236, 232, 224, 0.66); padding: 76px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 48px 40px; padding-bottom: 64px; }
.footer-brand p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.75; color: rgba(236, 232, 224, 0.55); max-width: 36ch; }
.brand-light .brand-name { color: #f6f3ec; }
.brand-light .brand-sub { color: var(--bronze-light); }
.footer-col h4 { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(236, 232, 224, 0.85); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 3px 0; font-size: 13.5px; }
.footer-col a { color: rgba(236, 232, 224, 0.66); text-decoration: none; }
.footer-col a:hover { color: #f6f3ec; text-decoration: underline; text-decoration-color: var(--bronze); }
.footer-bottom {
  border-top: 1px solid rgba(226, 220, 209, 0.14); padding: 20px 0 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: rgba(236, 232, 224, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(16, 26, 44, 0.12);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 4px 28px 20px; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .site-nav li:last-child a { border-bottom: 0; }
  .hero { padding: 72px 0 64px; }
  .hero-stats { margin-top: 60px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .firm-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .inquiry-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-panel, .form-success { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .fact, .info-row { flex-direction: column; gap: 4px; }
  .fact dd, .info-row dd { text-align: left; }
  .btn { display: block; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
