/* 6A LLC — shared styles. Plain CSS, no build step. */

:root {
  color-scheme: light dark;

  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f3f4f8;
  --ink: #111827;
  --ink-2: #4b5563;
  --line: #e5e7eb;
  --accent: #4338ca;
  --accent-ink: #ffffff;
  --accent-soft: #eef0ff;
  --accent-soft-ink: #3730a3;

  --radius: 14px;
  --shadow: 0 1px 2px rgb(17 24 39 / .04), 0 8px 24px -12px rgb(17 24 39 / .12);
  --max: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f17;
    --surface: #151826;
    --surface-2: #1b1f30;
    --ink: #eef0f6;
    --ink-2: #a3a9bc;
    --line: #262b3f;
    --accent: #a5b4fc;
    --accent-ink: #0d0f17;
    --accent-soft: #23284a;
    --accent-soft-ink: #c7d2fe;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .5);
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 0.2em; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -3rem;
  padding: .5rem .75rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  z-index: 10;
}
.skip-link:focus { top: .75rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.logo { color: var(--ink); display: inline-flex; }
.logo svg { height: 1.75rem; width: auto; fill: currentColor; }

.site-nav ul {
  display: flex;
  gap: clamp(.25rem, 2vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: .4rem .7rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--accent-soft-ink); background: var(--accent-soft); }

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

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-soft { background: var(--accent-soft); color: var(--accent-soft-ink); }
.btn-soft:hover { background: color-mix(in srgb, var(--accent-soft) 85%, var(--accent)); }

/* ---------- Home hero ---------- */

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
@media (min-width: 60rem) {
  .hero { grid-template-columns: 1.05fr 1fr; }
}

.eyebrow {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero h1 span { color: var(--accent); }
.hero .lede { margin-block: 1.25rem 2rem; max-width: 34rem; }

.lede { color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: var(--shadow);
}

/* ---------- Sections & page headers ---------- */

.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section + .section { padding-top: 0; }

.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head p { color: var(--ink-2); margin-top: .5rem; }
.section-head a { font-weight: 600; }

.page-head {
  padding-block: clamp(3rem, 7vw, 5rem) 2.5rem;
  max-width: 44rem;
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
.page-head .lede { margin-top: 1rem; }

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

.cards {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48rem) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h2, .card h3 { font-size: 1.25rem; }
.card h2 a, .card h3 a { color: inherit; text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--accent); }
.card .role { color: var(--accent); font-weight: 600; margin-top: .25rem; }
.card .body { color: var(--ink-2); }
.card .foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.card-dashed {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}

.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: .4rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.shot {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.shot img { width: 100%; height: 100%; object-fit: contain; }

/* Wide rows: image beside text on larger screens */
@media (min-width: 48rem) {
  .card-row { display: grid; grid-template-columns: 14rem 1fr; gap: 1.75rem; align-items: start; }
  .card-row > .stack { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
}
.stack { display: flex; flex-direction: column; gap: 1rem; }

.avatar {
  width: 100%;
  max-width: 14rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }

.social { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.social a { color: var(--ink-2); display: inline-flex; }
.social a:hover { color: var(--ink); }
.social svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

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

.site-footer {
  margin-top: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 2rem;
}
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
