/* High Proof shared theme — used by highprooftechnology.com, highproofconcepts.com, highproofadvisors.com */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1d1a17;
  --muted: #6b635a;
  --line: #e7dfd3;
  --accent: #a8521c;
  --accent-ink: #ffffff;
  --hero-bg: #0d0c0b;
  --hero-ink: #fbecc6;
  --hero-muted: #b9ab95;
  --gold: #ee9050;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121110;
    --surface: #1b1917;
    --ink: #f1ebe2;
    --muted: #a89e91;
    --line: #2e2a26;
    --accent: #ee9050;
    --accent-ink: #171513;
    --hero-bg: #090808;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--hero-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ffffff14;
}
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 1; min-width: 0; }
.brand img { display: block; height: 46px; width: auto; max-width: 100%; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { color: var(--hero-muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--hero-ink); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  text-decoration: none; background: var(--gold); color: #171513; border: 1.5px solid var(--gold);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #f4a46d; }
.btn.ghost { background: transparent; color: var(--hero-ink); border-color: #ffffff40; }
.btn.ghost:hover { border-color: var(--hero-ink); background: transparent; }
nav .btn { padding: 8px 16px; color: #171513; }
@media (max-width: 760px) { nav a:not(.btn) { display: none; } }
@media (max-width: 480px) { .brand img { height: 34px; } nav .btn { padding: 7px 12px; font-size: .85rem; } }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 55% 70% at 80% 40%, #ee905026, transparent 70%),
    var(--hero-bg);
  color: var(--hero-ink);
  padding: 120px 0 104px;
  border: 0;
}
.notice {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--hero-muted);
  border: 1px solid #ffffff26; border-radius: 999px; padding: 6px 14px; margin-bottom: 28px;
}
.notice b { color: var(--gold); font-weight: 600; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.hero-logo { display: block; width: 100%; max-width: 420px; height: auto; margin-left: auto; filter: drop-shadow(0 24px 48px #00000080); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo { order: -1; max-width: 300px; margin: 0 auto; }
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 900px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--hero-muted); margin: 24px 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 80px; padding-top: 32px; border-top: 1px solid #ffffff1f; max-width: 720px;
}
.stat b { display: block; font: 700 2.4rem Fraunces, Georgia, serif; color: var(--hero-ink); }
.stat span { color: var(--hero-muted); font-size: .92rem; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 16px; } }

/* Cards */
.grid { display: grid; gap: 24px; margin-top: 48px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px;
}
.card .num { font: 700 .85rem Inter, sans-serif; color: var(--accent); letter-spacing: .1em; margin-bottom: 16px; }
.card p { color: var(--muted); }
.card ul { margin: 20px 0 0; padding: 0; list-style: none; }
.card li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.card li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

.why { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.why-list > div { padding: 24px 0; border-top: 1px solid var(--line); }
.why-list > div:first-child { border-top: 0; padding-top: 0; }
.why-list h3 { margin-bottom: .3em; }
.why-list p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; gap: 32px; } }

.step { padding: 28px; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.step b { display: block; font-size: .8rem; letter-spacing: .12em; color: var(--accent); margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; }
.values h3 { font-size: 1.1rem; }
.values p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Clients */
section.clients { padding: 48px 0 52px; background: var(--surface); }
.clients .eyebrow { text-align: center; color: var(--muted); margin-bottom: 28px; }
.marquee { overflow: hidden; }
.track { display: flex; justify-content: center; }
.client-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 0;
  list-style: none; margin: 0; padding: 0;
}
.client-list li { padding: 4px 32px; border-left: 1px solid var(--line); text-align: center; }
.marquee:not(.animate) .client-list li { border-left: 0; }
.client-list a { display: block; text-decoration: none; color: var(--ink); }
.client-list b { display: block; font: 600 1.15rem/1.3 Fraunces, Georgia, serif; white-space: nowrap; transition: color .15s ease; }
.client-list span { display: block; font-size: .78rem; color: var(--muted); white-space: nowrap; margin-top: 2px; }
.client-list a:hover b, .client-list a:focus-visible b { color: var(--accent); }
.marquee.animate {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee.animate .track { justify-content: flex-start; width: max-content; animation: marquee 45s linear infinite; }
.marquee.animate .client-list { flex-wrap: nowrap; }
.marquee.animate:hover .track, .marquee.animate:focus-within .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.founder { background: var(--surface); }
.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.founder-photo { margin: 0; position: sticky; top: 104px; }
.founder-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--accent);
}
.founder-photo figcaption { margin-top: 24px; }
.founder-photo figcaption b { display: block; font: 700 1.25rem Fraunces, Georgia, serif; }
.founder-photo figcaption span { color: var(--muted); font-size: .92rem; }
.letter { max-width: 680px; }
.letter p { font-size: 1.08rem; line-height: 1.75; }
.letter p:first-of-type { font: 500 1.35rem/1.55 Fraunces, Georgia, serif; }
.signoff { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.signoff .sig { font: italic 500 1.7rem Fraunces, Georgia, serif; color: var(--ink); display: block; }
.signoff span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .founder-photo { position: static; display: flex; align-items: center; gap: 20px; }
  .founder-photo img { width: 120px; }
  .founder-photo figcaption { margin-top: 0; }
}

.contact {
  background: var(--hero-bg); color: var(--hero-ink); border: 0;
  text-align: center;
}
.contact .lead { color: var(--hero-muted); margin: 0 auto 32px; }
.contact .actions { justify-content: center; }
.contact .meta { margin-top: 28px; color: var(--hero-muted); font-size: .92rem; }

footer { background: var(--hero-bg); color: var(--hero-muted); font-size: .85rem; border-top: 1px solid #ffffff14; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
footer img { display: block; width: 64px; height: 64px; }
@media (max-width: 560px) { section { padding: 72px 0; } .hero { padding: 88px 0 80px; } .card { padding: 24px; } }

/* Header wordmark (brands without a horizontal logo) */
.brand-lockup { display: flex; align-items: center; gap: 12px; color: var(--hero-ink); }
.brand-lockup img { height: 48px; width: 48px; }
.brand-lockup b { font: 700 1.2rem/1.1 Fraunces, Georgia, serif; letter-spacing: .01em; white-space: nowrap; }
.brand-lockup small { display: block; font: 600 .62rem/1 Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
@media (max-width: 480px) { .brand-lockup img { height: 38px; width: 38px; } .brand-lockup b { font-size: 1.02rem; } }

/* Footer */
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-legal { display: flex; flex-direction: column; gap: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--hero-muted); text-decoration: none; }
footer a:hover { color: var(--hero-ink); }

/* AI seal beside the "Why AI-assisted" copy */
.why-seal { display: block; width: 100%; max-width: 220px; height: auto; margin-top: 32px; }
@media (max-width: 860px) { .why-seal { max-width: 140px; margin-top: 20px; } }

/* Hub (highprooftechnology.com) */
.hub-hero { text-align: center; padding: 96px 0 40px; }
.hub-hero .lead { margin: 20px auto 0; }
.hub-hero h1 { margin-left: auto; margin-right: auto; }
.hub-mark { display: block; width: 88px; height: 88px; margin: 0 auto 28px; }
section.hub-brands { background: var(--hero-bg); padding: 40px 0 112px; border: 0; }
.brand-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 980px; margin: 0 auto; }
.brand-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
  padding: 40px 32px 36px; border-radius: 18px; text-decoration: none;
  background: #ffffff08; border: 1px solid #ffffff1a; color: var(--hero-ink);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.brand-card:hover, .brand-card:focus-visible { transform: translateY(-4px); border-color: var(--gold); background: #ee90500d; }
.brand-card img { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 18px 36px #00000080); }
.brand-card h2 { font-size: 1.6rem; margin: 6px 0 0; }
.brand-card p { color: var(--hero-muted); margin: 0; max-width: 360px; }
.brand-card .go { margin-top: auto; font-weight: 600; color: var(--gold); }
.brand-card:hover .go span { margin-left: 4px; }
.go span { display: inline-block; transition: margin .2s ease; }
@media (max-width: 760px) { .brand-cards { grid-template-columns: 1fr; } .brand-card img { max-width: 240px; } }

/* Small-screen header helpers */
nav .btn { white-space: nowrap; }
.show-sm { display: none; }
@media (max-width: 480px) { .hide-sm { display: none; } .show-sm { display: inline; } }
