/* Hickman Sales Professionals — "The Firm" design (navy & brass) */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-italic-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy-950: #0f2230;
  --navy-900: #142b3a;
  --navy-800: #1b3446;
  --navy-700: #2c4658;
  --navy-600: #4a6578;
  --brand: #203e52;
  --brass: #c9a66b;
  --brass-hover: #d8b985;
  --brass-ink: #7a5f32;
  --paper: #f6f4ef;
  --paper-deep: #ebe6db;
  --white: #ffffff;
  --ink: #1b2a35;
  --muted: #4a5964;
  --on-navy: #f6f4ef;
  --on-navy-muted: #c3cfd8;
  --line: #e1dacb;
  --line-strong: #b9ad95;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-synthesis: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
section[id] { scroll-margin-top: 16px; }

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

.skip {
  position: fixed; top: 10px; left: 12px; z-index: 10;
  background: var(--white); color: var(--ink); padding: 12px 16px;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
.visually-hidden, .honeypot {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border: 1px solid transparent; border-radius: 0;
  font: 600 16px/1.2 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-small { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-brass { background: var(--brass); color: var(--navy-900); }
.btn-brass:hover { background: var(--brass-hover); color: var(--navy-900); }
.btn-outline { border-color: var(--on-navy-muted); color: var(--on-navy); }
.btn-outline:hover { border-color: var(--on-navy); color: var(--white); background: rgba(255,255,255,.06); }
.btn-navy { background: var(--brand); color: var(--white); }
.btn-navy:hover { background: var(--navy-950); color: var(--white); }
.btn:disabled, fieldset:disabled .btn { opacity: .55; cursor: not-allowed; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Header */
.site-header { background: var(--navy-900); border-bottom: 1px solid var(--navy-700); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: inline-block; line-height: 0; }
.logo { display: block; width: 250px; height: auto; overflow: hidden; }
.logo path { fill: var(--white); stroke: var(--brass); stroke-width: 0; stroke-linejoin: round; }

/* Logo: "Assemble" plays once on page load */
.logo.is-assembling .logo-bar-l { animation: logo-drop .6s cubic-bezier(.2,.8,.2,1) both; }
.logo.is-assembling .logo-bar-r { animation: logo-lift .6s .1s cubic-bezier(.2,.8,.2,1) both; }
.logo.is-assembling .logo-bolt { transform-box: fill-box; transform-origin: center; animation: logo-pop .45s .55s cubic-bezier(.3,1.5,.5,1) both; }
.logo.is-assembling .logo-word path { animation: logo-letter .5s cubic-bezier(.2,.8,.2,1) both; }
.logo.is-assembling .logo-word path:nth-child(1) { animation-delay: .75s; }
.logo.is-assembling .logo-word path:nth-child(2) { animation-delay: .8s; }
.logo.is-assembling .logo-word path:nth-child(3) { animation-delay: .85s; }
.logo.is-assembling .logo-word path:nth-child(4) { animation-delay: .9s; }
.logo.is-assembling .logo-word path:nth-child(5) { animation-delay: .95s; }
.logo.is-assembling .logo-word path:nth-child(6) { animation-delay: 1s; }
.logo.is-assembling .logo-word path:nth-child(7) { animation-delay: 1.05s; }
.logo.is-assembling .logo-tag path { animation: logo-fade .5s 1.2s ease-out both; }
@keyframes logo-drop { from { transform: translateY(-190px); } to { transform: none; } }
@keyframes logo-lift { from { transform: translateY(190px); } to { transform: none; } }
@keyframes logo-pop { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
@keyframes logo-letter { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes logo-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Logo: "Brass trace" on hover, keyboard focus or click */
.logo.is-tracing path { stroke-width: 5; stroke-dasharray: 1; animation: logo-trace 1.4s ease-in-out both; }
.logo.is-tracing .logo-word path { animation-delay: .08s; }
.logo.is-tracing .logo-tag path { stroke-width: 2.5; animation-delay: .16s; }
@keyframes logo-trace {
  0% { stroke-dashoffset: 1; stroke-opacity: 1; fill-opacity: 1; }
  15% { fill-opacity: .12; }
  60% { stroke-dashoffset: 0; fill-opacity: .12; }
  85% { stroke-opacity: 1; fill-opacity: 1; }
  100% { stroke-dashoffset: 0; stroke-opacity: 0; fill-opacity: 1; }
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Hero */
.hero { background: var(--navy-900); color: var(--on-navy); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(72px, 10vw, 128px); }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.eyebrow { margin: 0 0 24px; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.hero h1 {
  margin: 0 0 28px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(46px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.01em;
}
.hero h1 em { color: var(--brass); }
.lede { margin: 0 0 40px; max-width: 540px; font-size: 19px; color: var(--on-navy-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-panel {
  flex: 1 1 380px; min-width: 0; position: relative; overflow: hidden;
  background: var(--navy-800); border: 1px solid var(--navy-700);
  padding: clamp(32px, 4vw, 48px); min-height: 440px;
  display: flex; flex-direction: column; gap: 48px;
}
.hero-mark { width: 88px; height: 88px; margin-bottom: auto; fill: none; stroke: var(--brass); stroke-width: 4; }
.glance { position: relative; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.glance div { border-top: 1px solid var(--navy-600); padding-top: 16px; }
.glance dt { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.glance dd { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--on-navy); }

/* Manufacturer logos */
.lines { background: var(--white); border-bottom: 1px solid var(--line); }
.lines .wrap { padding-top: 56px; padding-bottom: 64px; }
.kicker { margin: 0 0 32px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-ink); }
.logo-grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 40px; align-items: center;
}
.logo-grid li { flex: 0 0 176px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.logo-grid img { width: 100%; max-width: 168px; height: 72px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-grid li:hover img { filter: none; opacity: 1; }

/* Section headings */
.display { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; color: var(--navy-900); }

/* Services */
.services .wrap { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 48px; }
.section-head .display { flex: 1 1 420px; }
.section-head p { flex: 1 1 320px; max-width: 460px; margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 40px 36px; }
.card-num { margin: 0 0 18px; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--brass-ink); }
.card h3 { margin: 0 0 12px; font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--navy-900); }
.card p:last-child { margin: 0; color: var(--muted); }

/* Who we serve */
.audience { background: var(--paper-deep); }
.audience-inner { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.audience-inner .display { flex: 1 1 100%; }
.audience-list { flex: 1 1 100%; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; }
.audience-list div { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.audience-list h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: var(--navy-900); }
.audience-list p { margin: 0; color: var(--muted); }

/* Team */
.team .wrap { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); }
.team .display { margin-bottom: 48px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 28px; }
.person { display: flex; flex-wrap: wrap; gap: 28px; background: var(--white); border: 1px solid var(--line); padding: 32px; }
.portrait { width: 168px; height: 196px; object-fit: cover; object-position: center top; background: var(--paper-deep); flex: 0 0 auto; }
.person-body { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; }
.person h3 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.1; color: var(--navy-900); }
.roles { margin: 8px 0 16px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--brass-ink); }
.roles span { display: block; }
.person-body > p:not(.roles) { margin: 0 0 24px; color: var(--muted); }
.person-links { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.link-icon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--brand); }
.link-icon:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Contact */
.contact { background: var(--navy-900); color: var(--on-navy); }
.contact-inner { display: flex; flex-wrap: wrap; gap: 56px; padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); }
.contact-intro { flex: 1 1 360px; min-width: 0; }
.contact .display { color: var(--on-navy); font-size: clamp(40px, 5vw, 58px); margin-bottom: 20px; }
.contact-lede { margin: 0 0 40px; color: var(--on-navy-muted); max-width: 440px; }
.direct { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.direct-person { border-top: 1px solid var(--navy-600); padding-top: 16px; }
.direct-person p { margin: 0; }
.direct-name { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px !important; }
.direct a { display: inline-block; padding: 4px 0; color: var(--on-navy); text-decoration: none; font-size: 18px; overflow-wrap: anywhere; }
.direct a:hover { color: var(--brass-hover); text-decoration: underline; text-underline-offset: 4px; }

.contact-form { flex: 1 1 520px; min-width: 0; background: var(--navy-800); border: 1px solid var(--navy-700); padding: clamp(24px, 3.5vw, 40px); }
.contact-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--on-navy-muted); min-width: 0; }
.full-width { grid-column: 1 / -1; }
.optional { color: #9fb0bd; }
.form-grid input, .form-grid textarea {
  width: 100%; border: 1px solid var(--navy-600); border-radius: 0;
  background: var(--navy-900); color: var(--on-navy);
  font: 16px/1.5 var(--sans); padding: 12px 14px;
}
.form-grid input { height: 50px; }
.form-grid textarea { resize: vertical; min-height: 140px; }
.form-grid input:focus-visible, .form-grid textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
#contact-verification:not(:empty) { margin-top: 20px; }
.form-note a { color: inherit; text-underline-offset: 3px; }
.form-note { margin: 18px 0; font-size: 13px; color: #9fb0bd; }
.form-status { margin: 16px 0 0; font-size: 14px; color: var(--on-navy); }
.form-status:empty { display: none; }
.form-status.success { color: #9fd8b5; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9fb0bd; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 28px; padding-bottom: 28px; }

/* Small screens */
@media (max-width: 700px) {
  .logo { width: 180px; }
  .header-inner { flex-wrap: wrap; }
  .nav { width: 100%; gap: 12px; }
  .nav .btn-small { flex: 1 1 0; padding: 10px 12px; font-size: 14px; white-space: nowrap; }
  .hero-inner { gap: 40px; }
  .hero-panel { min-height: 0; gap: 32px; }
  .hero-mark { width: 64px; height: 64px; }
  .actions .btn { flex: 1 1 200px; }
  .person { padding: 24px; gap: 20px; }
  .portrait { width: 120px; height: 140px; }
  .person h3 { font-size: 28px; }
  .contact-form .btn { width: 100%; }
}
@media (max-width: 420px) {
  .logo-grid li { flex-basis: 140px; }
  .logo-grid { column-gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo path { animation: none !important; }
  * { transition: none !important; }
}

/* Public service pages: reuse the established navy/brass design and fonts. */
.footer-pages { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-bottom: 28px; }
.footer-pages a { color: var(--on-navy-muted); padding: 8px 0; }
.page-hero .wrap { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero .lede { max-width: 780px; }
.page-section { padding: clamp(44px, 6vw, 72px) 0; }
.page-section-shade { background: var(--paper-deep); }
.prose { max-width: 940px; }
.prose h2 { margin: 0 0 24px; font: 500 clamp(32px, 4vw, 46px)/1.15 var(--serif); color: var(--navy-900); }
.prose h3 { margin: 28px 0 8px; font-size: 21px; color: var(--navy-900); }
.prose p { margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
