/* Top Austin AI — components added on top of the hs-* system in site.css.
   Everything here is namespaced ta-* and reuses the existing tokens
   (--hs-ink, --hs-bg, --hs-ease, --hs-font-display, --hs-font-ui) so new
   pages sit in the same visual language as the home page. */

.hs-root {
  --ta-line: #21211f1a;
  --ta-card: #ffffffb3;
  --ta-card-hi: #ffffffe0;
  --ta-muted: #00000085;
  --ta-body: #21211fbf;
  --ta-label: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace;
  --ta-radius: 20px;
}

/* ---------------------------------------------------------------- headers */

/* Interior pages: the hero photo and wash at a fraction of the height, so the
   glass nav still has something to sit on. */
.ta-hero--page {
  min-height: 0;
  padding: 35px 24px 0;
  display: block;
}

.ta-stage {
  z-index: 4;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 104px 0 116px;
}

.ta-kicker {
  margin: 0;
  font-family: var(--ta-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #21211f8a;
}

.ta-display--page {
  width: auto;
  max-width: 15ch;
  font-size: 54px;
  line-height: 1.08;
}

.ta-sub--page {
  max-width: 54ch;
  margin: 0 auto;
  font-size: 16.5px;
  opacity: .78;
}

/* Article headers get a longer, quieter title than a two-line display. */
.ta-hero--post .ta-display--page { max-width: 20ch; font-size: 46px; }

/* ---------------------------------------------------------------- links */

.ta-textlink {
  color: var(--hs-ink);
  text-decoration: none;
  border-bottom: 1px solid #21211f38;
  padding-bottom: 1px;
  transition: border-color .18s ease;
}
.ta-textlink:hover { border-bottom-color: var(--hs-ink); }

/* ---------------------------------------------------------------- cards */

.ta-feed { width: 100%; display: grid; gap: 18px; }
.ta-feed__rest,
.ta-list {
  width: 100%;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}

.ta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px;
  text-align: left;
  text-decoration: none;
  color: var(--hs-body);
  background: var(--ta-card);
  border: 1px solid #21211f14;
  border-radius: var(--ta-radius);
  transition: transform .2s var(--hs-ease), box-shadow .2s ease, background .2s ease;
}
.ta-card:hover {
  transform: translateY(-2px);
  background: var(--ta-card-hi);
  box-shadow: 0 20px 44px -26px #21211f5c;
}

.ta-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ta-label);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ta-muted);
}

.ta-tag {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 9.5px;
  font-weight: 600;
  color: #7a5a22;
  background: #f3ead6;
  border-radius: 999px;
  padding: 3px 8px;
}

.ta-card__title {
  margin: 2px 0 0;
  font-family: var(--hs-font-display);
  font-variation-settings: var(--hs-display-axes);
  letter-spacing: -.025em;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.18;
  color: var(--hs-ink);
}

.ta-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ta-body);
}

.ta-card__more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hs-ink);
}
.ta-card__more i {
  width: 13px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: width .22s var(--hs-ease);
}
.ta-card:hover .ta-card__more i { width: 22px; }

/* The lead story on the home page. */
.ta-card--big { padding: 34px; gap: 12px; }
.ta-card--big .ta-card__title { font-size: 40px; max-width: 18ch; }
.ta-card--big .ta-card__excerpt { font-size: 15.5px; max-width: 60ch; }

/* ---------------------------------------------------------------- skills */

.ta-skills {
  width: 100%;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  text-align: left;
}

.ta-skill {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--ta-card);
  border: 1px solid #21211f14;
  border-radius: var(--ta-radius);
}

.ta-skill__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ta-skill__head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--hs-ink);
}

.ta-chip {
  flex: none;
  font-family: var(--ta-label);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #21211f8a;
  background: #21211f0f;
  border-radius: 999px;
  padding: 4px 9px;
}
.ta-chip--ready { color: #2f5636; background: #dfeadf; }

.ta-skill__outcome {
  margin: 14px 0 0;
  font-family: var(--hs-font-display);
  font-variation-settings: var(--hs-display-axes);
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--hs-ink);
}

.ta-skill__detail {
  margin: 12px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #21211f14;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ta-body);
}

.ta-skill__facts {
  margin: 16px 0 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 14px;
  font-size: 13px;
}
.ta-skill__facts dt {
  font-family: var(--ta-label);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ta-muted);
  padding-top: 3px;
}
.ta-skill__facts dd { margin: 0; color: var(--ta-body); line-height: 1.5; }

.ta-skill__cta {
  margin-top: auto;
  display: block;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--hs-body);
  border: 1px solid #21211f24;
  border-radius: 999px;
  transition: background .18s ease, transform .18s var(--hs-ease);
}
.ta-skill__cta:hover { background: #21211f0d; transform: translateY(-1px); }
.ta-skill__cta.is-primary {
  background: var(--hs-ink);
  border-color: var(--hs-ink);
  color: var(--hs-bg);
  box-shadow: inset 0 3px 4px #ffffff3d, inset 0 -3px 9px #0009;
}
.ta-skill__cta.is-primary:hover { background: #3d3d3a; }

/* Skill groups stack tighter than a normal section. */
.ta-group { padding-block: 34px; }
.ta-group__head { margin-bottom: 30px; }
.ta-explainer { padding-bottom: 20px; }
.ta-explainer .hs-sec__sub { max-width: 62ch; }

/* ---------------------------------------------------------------- article */

.ta-article {
  width: min(680px, 100% - 48px);
  margin: 0 auto;
  padding: 78px 0 30px;
  font-size: 17px;
  line-height: 1.72;
  color: #21211fd6;
}

.ta-article > :first-child { margin-top: 0; }
.ta-article p { margin: 0 0 1.35em; }

.ta-article h2 {
  margin: 2.1em 0 .55em;
  font-family: var(--hs-font-display);
  font-variation-settings: var(--hs-display-axes);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--hs-ink);
}
.ta-article h3 {
  margin: 1.9em 0 .5em;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--hs-ink);
}

.ta-article ul, .ta-article ol { margin: 0 0 1.35em; padding-left: 1.15em; }
.ta-article li { margin-bottom: .55em; padding-left: .2em; }
.ta-article li::marker { color: #21211f70; }

.ta-article strong { font-weight: 600; color: var(--hs-ink); }
.ta-article a { color: var(--hs-ink); text-decoration: none; border-bottom: 1px solid #21211f38; }
.ta-article a:hover { border-bottom-color: var(--hs-ink); }

.ta-article blockquote {
  margin: 1.6em 0;
  padding: 2px 0 2px 22px;
  border-left: 2px solid #21211f2e;
  color: #21211fa8;
  font-style: italic;
}
.ta-article blockquote p:last-child { margin-bottom: 0; }

.ta-article hr {
  margin: 2.6em 0;
  border: 0;
  border-top: 1px solid var(--ta-line);
}

.ta-article code {
  font-family: var(--ta-label);
  font-size: .88em;
  background: #21211f0f;
  border-radius: 5px;
  padding: 2px 5px;
}

.ta-note {
  margin: 1.7em 0;
  padding: 20px 22px;
  background: #ffffffa6;
  border: 1px solid #21211f17;
  border-radius: 16px;
  font-size: 15.5px;
}
.ta-note p:last-child { margin-bottom: 0; }

.ta-tablewrap { margin: 1.7em 0; overflow-x: auto; }
.ta-article table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.ta-article th, .ta-article td {
  text-align: left;
  padding: 11px 16px 11px 0;
  border-bottom: 1px solid var(--ta-line);
  vertical-align: top;
}
.ta-article th {
  font-family: var(--ta-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ta-muted);
}

/* ---------------------------------------------------------------- footer */

/* Five columns is a lot at narrow desktop widths; let the last one wrap. */
.hs-footer__col h4 { font-family: var(--ta-label); }

/* ---------------------------------------------------------------- narrow */

@media (max-width: 1000px) {
  .ta-display--page { font-size: 44px; }
  .ta-card--big .ta-card__title { font-size: 32px; }
  .ta-stage { padding: 78px 0 84px; }
}

@media (max-width: 760px) {
  .ta-hero--page { padding: 16px 16px 0; }
  .ta-stage { padding: 54px 0 58px; gap: 14px; }
  .ta-display--page { font-size: 36px; max-width: 100%; }
  .ta-hero--post .ta-display--page { font-size: 32px; }
  .ta-sub--page { font-size: 15px; }
  .ta-feed__rest, .ta-list, .ta-skills { grid-template-columns: 1fr; }
  .ta-card, .ta-skill { padding: 22px; }
  .ta-card--big { padding: 24px; }
  .ta-card--big .ta-card__title { font-size: 27px; }
  .ta-card__title { font-size: 22px; }
  .ta-article { padding-top: 46px; font-size: 16.5px; }
  .ta-article h2 { font-size: 26px; }
  .ta-group { padding-block: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .ta-card, .ta-card__more i, .ta-skill__cta { transition: none; }
}

/* The mobile sheet's entire rule set lives inside @media (max-width:860px) in
   site.css, so above that width it has no styles at all and drops into normal
   flow at the foot of the page. Keep it out of the desktop layout. */
@media (min-width: 861px) { .hs-sheet { display: none; } }

/* Interior heroes compress the same photo into ~370px, which lands the dark
   ridgeline directly behind dark text. Push the crop up into the sky, blur it
   further, and lay a scrim that fades the whole band into the page colour. */
.ta-hero--page .hs-photo {
  background-position: center 16%;
  filter: blur(15px);
  opacity: .6;
  transform: scale(1.1);
}
.ta-hero--page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #faf7f01f 0%, #faf7f0ab 44%, #faf7f0f2 78%, var(--hs-bg) 100%);
}

/* Longer closing copy than the original carried; give it a little more ink. */
.hs-closing .hs-sec__sub { color: #21211fd1; }

/* ---------------------------------------------------------------- nav fit */

/* This nav was designed around a four-letter wordmark. "Top Austin AI" is
   three words, so at phone widths it collided with the nav CTA and wrapped
   onto three lines behind it. Never let the wordmark break... */
.hs-brand { white-space: nowrap; }

/* ...and below the burger breakpoint, drop the nav CTA entirely -- the sheet
   that the burger opens already carries the same call to action. */
@media (max-width: 860px) {
  .hs-nav .hs-btn--nav { display: none; }
  .hs-nav .hs-brand { font-size: 21px; }
}
