/* FOUNDATION FOLD
   Folded from the Design System (tokens.json version 1, synced 2026-11-16) on 2026-11-19.
   Pattern: DocSet (a document site). No Bootstrap underneath: this file carries the
   system's tokens and the few rules a prose site needs.
   This file changes only by a deliberate fold. Site-only rules live in site.css. */

:root {
  /* color */
  --ft-background: #f8fafc;
  --ft-surface: #ffffff;
  --ft-dark: #1e293b;
  --ft-muted: #64748b;
  --ft-primary: #2563eb;
  --on-fill: #ffffff;
  --card-edge: #cbd5e1;
  --column-rule: #e2e8f0;
  --bs-border: #dee2e6;
  --tint-primary: rgba(13,110,253,0.06);
  --tint-secondary: rgba(108,117,125,0.06);
  /* type */
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  /* spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 3rem;
  /* shape */
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.08);
  /* DocSet measures */
  --doc-measure: 44rem;
  --doc-nav-width: 15rem;
  --touch-min: 44px;
}

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

html {
  color-scheme: light;
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.5;
  color: var(--ft-dark);
  background: var(--ft-background);
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; }

img { max-width: 100%; height: auto; }

a { color: var(--ft-primary); text-underline-offset: 0.15em; }

/* Keyboard focus: the system's visible outline. */
:focus-visible { outline: 2px solid var(--ft-primary); outline-offset: 2px; }

h1, h2, h3, h4 { line-height: 1.2; margin: var(--space-4) 0 var(--space-2); }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p, ul, ol, pre, table, blockquote { margin: 0 0 var(--space-3); }

/* A card: one radius, one edge, one shadow. */
.ds-card {
  background: var(--ft-surface);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Prose: a readable measure, a little more leading than interface text. */
.ds-prose { line-height: 1.6; }
.ds-prose > :is(p, ul, ol, blockquote, h1, h2, h3, h4) { max-width: var(--doc-measure); }
.ds-prose li + li { margin-top: var(--space-1); }

code, pre, kbd { font-family: var(--mono); font-size: 0.875em; }
:not(pre) > code { background: var(--tint-secondary); border-radius: var(--radius-md); padding: 0.1em 0.3em; }
pre {
  overflow-x: auto;
  padding: var(--space-3);
  background: var(--tint-secondary);
  border: 1px solid var(--column-rule);
  border-radius: var(--radius-md);
}

/* A wide table scrolls inside its own box; the page never scrolls sideways. */
table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
th, td { padding: var(--space-1) var(--space-2); border: 1px solid var(--column-rule); text-align: left; vertical-align: top; }
th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; color: var(--ft-muted); }

/* An action. */
.ds-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--ft-primary);
  border-radius: var(--radius-md);
  background: var(--ft-primary);
  color: var(--on-fill);
  font-weight: 600;
  text-decoration: none;
}
.ds-button.is-quiet { background: var(--ft-surface); color: var(--ft-primary); }

.ds-muted { color: var(--ft-muted); }
/* austinvoicedata.com: site-only rules, on top of foundation.css (the Design System fold).
   Layout of the DocSet pattern as this site uses it. No JavaScript, light only. */

/* Header: logo and the main menu. */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-2) var(--space-3);
  background: var(--ft-surface);
  border-bottom: 1px solid var(--card-edge);
}
.site-header .logo { display: inline-flex; align-items: center; min-height: var(--touch-min); }
.site-header ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-1); list-style: none; margin: 0; padding: 0; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  padding: 0 var(--space-2);
  border-radius: var(--radius-md);
  color: var(--ft-dark);
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav a:hover { background: var(--tint-secondary); }
.site-header nav a[aria-current] { background: var(--tint-primary); font-weight: 600; }

/* The page sheet. */
main { max-width: 64rem; margin: 0 auto; padding: var(--space-3); }
main > :first-child { margin-top: 0; }

.site-footer { padding: var(--space-4) var(--space-3); text-align: center; color: var(--ft-muted); font-size: 0.875rem; }
.site-footer p { margin: 0; }

/* A document: the sheet a page is read on. */
.doc { padding: var(--space-4); }
/* A long word or address wraps; the page never scrolls sideways. */
.doc { overflow-wrap: anywhere; }
.doc > :first-child { margin-top: 0; }
.doc > :last-child { margin-bottom: 0; }

/* An image set beside the text it belongs to. */
.float-end { float: right; margin: 0 0 var(--space-3) var(--space-3); }
.doc img { border-radius: var(--radius-md); }

/* Home. */
.hero { padding: var(--space-5) 0 var(--space-4); text-align: center; }
.hero h1 { margin: var(--space-2) 0; font-size: 2.2rem; }
.lead { font-size: 1.25rem; color: var(--ft-muted); }
.announcement { color: var(--ft-muted); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }

.grid, .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--space-3); list-style: none; padding: 0; }
.grid > li, .cards > li {
  margin: 0;
  padding: var(--space-3);
  background: var(--ft-surface);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.grid > li > :first-child, .cards > li > :first-child { margin-top: 0; }
.grid > li > :last-child, .cards > li > :last-child { margin-bottom: 0; }

.cta, .stats {
  margin: var(--space-4) 0;
  padding: var(--space-3);
  background: var(--tint-primary);
  border-radius: var(--radius-lg);
  text-align: center;
}
.stats strong { font-size: 1.5rem; line-height: 1.15; }
.plain { list-style: none; padding: 0; }

/* The resume page. */
.banner { width: 100%; max-height: 14rem; object-fit: cover; border-radius: var(--radius-lg); }
.avatar { border-radius: 50%; float: left; margin: 0 var(--space-3) var(--space-2) 0; }
.bio::after { content: ""; display: block; clear: both; }

/* DocSet: section navigation beside the document. */
.docs { display: grid; grid-template-columns: var(--doc-nav-width) minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.docs-nav { font-size: 0.875rem; }
.docs-nav p { margin: 0 0 var(--space-1); font-weight: 600; }
.docs-nav ul { list-style: none; margin: 0; padding-left: var(--space-3); }
.docs-nav > ul { padding-left: 0; }
.docs-nav a {
  display: flex;
  align-items: center;
  min-height: var(--touch-min);
  padding: 0 var(--space-2);
  border-radius: var(--radius-md);
  color: var(--ft-dark);
  text-decoration: none;
}
.docs-nav a:hover { background: var(--tint-secondary); }
.docs-nav a[aria-current] { background: var(--tint-primary); font-weight: 600; }
.toc { margin-bottom: var(--space-3); padding: var(--space-2) var(--space-3); background: var(--tint-secondary); border-radius: var(--radius-md); font-size: 0.875rem; }
.toc ul { margin: 0; padding-left: var(--space-3); }
.toc li + li { margin-top: 0; }
.toc a, .pager a { display: inline-flex; align-items: center; min-height: var(--touch-min); }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--column-rule); }

/* Phone portrait first: one column, no sideways scroll. */
@media (max-width: 48rem) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  /* On a phone the document comes first; its section navigation follows it. */
  .docs > .docs-nav { order: 2; }
  .doc { padding: var(--space-3); }
  .hero { padding-top: var(--space-4); }
  .hero h1 { font-size: 1.75rem; }
  .avatar { float: none; display: block; margin: 0 auto var(--space-2); }
}
