/* 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; }
.site-footer .build { font-size: 0.75rem; }
.site-footer .footer-links { margin-bottom: var(--space-1); }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: var(--touch-min); }

/* 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); }
}

/* THE SHOP: bricks and mortar on the home page. Light only, no script, no webfont.
   The tones come from the Characters' field palette. */
:root {
  --brick: #b4531c;
  --brick-soft: #f6e9df;
  --mortar: #fbf6ef;
  --wood: #8a5a3a;
  --wood-top: #a8744a;
  --sign: #3a3225;
  --awning-a: #b4531c;
  --awning-b: #fbf6ef;
}

/* The shop front: an awning over a brick facade, the name on a sign board,
   the offer in the window. */
.storefront { padding: 0; margin: 0 0 var(--space-4); text-align: center; }
.awning {
  /* one tile: a rust stripe and a cream stripe, each ending in a scallop */
  height: 3rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='48'%3E%3Cpath d='M0 0H40V34A20 14 0 0 1 0 34Z' fill='%23b4531c'/%3E%3Cpath d='M40 0H80V34A20 14 0 0 1 40 34Z' fill='%23fbf6ef'/%3E%3Cpath d='M0 0H80V6H0Z' fill='%238a5a3a'/%3E%3C/svg%3E") repeat-x 0 0 / 5rem 3rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: -0.75rem;
  position: relative;
}
.facade {
  padding: var(--space-5) var(--space-3);
  /* running-bond brick: two courses per tile, the joints offset by half a brick */
  background: #e9c9b0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32'%3E%3Cg fill='%23f6e9df' stroke='%23fbf6ef' stroke-width='3'%3E%3Crect x='1.5' y='1.5' width='61' height='13'/%3E%3Crect x='-30.5' y='17.5' width='61' height='13'/%3E%3Crect x='33.5' y='17.5' width='61' height='13'/%3E%3C/g%3E%3C/svg%3E") repeat 0 0 / 4rem 2rem;
  border-bottom: 0.5rem solid var(--wood);
}
.signboard {
  display: inline-block;
  margin: var(--space-2) 0 var(--space-3);
  padding: var(--space-2) var(--space-4);
  background: var(--sign);
  border: 4px solid var(--wood-top);
  border-radius: var(--radius-md);
  box-shadow: 0 3px 0 var(--wood);
}
.signboard h1 { margin: 0; color: #f2ead8; font-family: Georgia, "Times New Roman", serif; letter-spacing: 0.04em; }
.window {
  max-width: 40rem;
  margin: 0 auto;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.92);
  border: 6px solid var(--wood-top);
  border-radius: var(--radius-md);
}
.window .lead { margin-top: 0; color: var(--ft-dark); }
.storefront .announcement { margin: 0; }

/* Counters: what we do, laid out on a counter top. */
.counter { margin: var(--space-5) 0; }
.counter .grid > li { border-bottom: 0.5rem solid var(--wood-top); }

/* The Characters, revealed like trading cards. */
.characters { margin: var(--space-5) 0; }
.tradingcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: var(--space-3);
  list-style: none;
  padding: 0;
}
.tradingcard {
  margin: 0;
  padding: var(--space-2) var(--space-2) var(--space-3);
  background: #fff;
  border: 6px solid var(--sign);
  border-radius: 0.875rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.tradingcard img { display: block; width: 100%; border-radius: 0.5rem; }
.tradingcard h3 { margin: var(--space-2) 0 0; font-family: Georgia, "Times New Roman", serif; letter-spacing: 0.12em; }
.tradingcard .role { margin: 0 0 var(--space-1); color: var(--brick); font-family: var(--mono); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; }
.tradingcard p:last-child { margin-bottom: 0; }
/* The card not yet turned over. */
.tradingcard.is-facedown {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  background-color: var(--sign);
  background-image: repeating-linear-gradient(45deg, rgba(242, 234, 216, 0.12) 0 0.5rem, transparent 0.5rem 1rem);
  color: #f2ead8;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

/* The library: links on wooden shelves. */
.library { margin: var(--space-5) 0; }
.shelf { margin-bottom: var(--space-4); }
.shelf h3 { margin-bottom: var(--space-1); font-size: 1rem; color: var(--ft-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.shelf ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-2);
  margin: 0;
  padding: 0 var(--space-2);
  list-style: none;
  border-bottom: 0.625rem solid var(--wood-top);
  box-shadow: 0 0.375rem 0 var(--wood);
}
.shelf li { margin: 0; }
.shelf a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-3);
  background: var(--brick-soft);
  border: 1px solid var(--card-edge);
  border-bottom: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  color: var(--ft-dark);
  font-weight: 600;
  text-decoration: none;
}
.shelf a:hover { background: #fff; }

@media (max-width: 48rem) {
  .facade { padding: var(--space-3) var(--space-2) var(--space-4); }
  .signboard { padding: var(--space-2) var(--space-3); }
}

/* The shop window carries a menu card: what is inside the shop, with dotted leaders
   like a cafe menu. Plain links, no script. (Mark Air round 1, 2026-11-27.) */
.window {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0 18%, rgba(255, 255, 255, 0) 18% 100%),
    rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 2px var(--mortar), 0 4px 0 var(--wood);
}
.menu-card {
  max-width: 26rem;
  margin: var(--space-3) auto;
  padding: var(--space-2) var(--space-3) var(--space-3);
  background: var(--mortar);
  border: 1px solid var(--brick-soft);
  border-top: 0.375rem solid var(--brick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transform: rotate(-1deg);
  text-align: left;
}
.menu-card h2 {
  margin: 0 0 var(--space-2);
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.menu-card ul { list-style: none; margin: 0; padding: 0; }
.menu-card li + li { margin-top: var(--space-1); }
.menu-card a {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  min-height: var(--touch-min);
  color: var(--sign);
  text-decoration: none;
}
.menu-card a:hover .dish, .menu-card a:focus-visible .dish { color: var(--brick); text-decoration: underline; }
.menu-card .dish { font-family: Georgia, "Times New Roman", serif; font-weight: 700; white-space: nowrap; }
.menu-card .leader { flex: 1; border-bottom: 2px dotted var(--wood-top); transform: translateY(-0.25rem); }
.menu-card .side { color: var(--ft-muted); font-size: 0.875rem; font-style: italic; text-align: right; }

/* A Character presents its counter. */
.counter-character { display: block; width: 6rem; height: 6rem; margin: 0 auto var(--space-1); }
.counter > h2 { text-align: center; font-family: Georgia, "Times New Roman", serif; letter-spacing: 0.04em; }
.counter > h2 + p { text-align: center; max-width: 40rem; margin-left: auto; margin-right: auto; }

@media (max-width: 30rem) {
  .menu-card .side { display: none; }
}
