/* A&L Tech and AI — dark only. No light theme. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --bg: #0e1512;
  --bg-deep: #0a100e;
  --bg-alt: #121a17;
  --card: #1a2420;
  --button: #1a3330;
  --button-hover: #23443e;
  --button-quiet: #141c19;
  --button-quiet-hover: #1e2924;
  --text: #f4f0e8;
  --muted: #c9d4cc;
  --brass: #f0c48a;
  --brass-strong: #f6d7b0;
  --line: #31443c;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(100% - 2.5rem, 68rem);
  --header-offset: 11rem;
}

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

html {
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

h1,
h2,
.person,
.price-value,
.facts p,
.step-num {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.45rem, 5.6vw, 4.15rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  text-wrap: balance;
}

h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a {
  color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--brass-strong);
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

::selection {
  background: #3a3328;
  color: var(--text);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--brass);
  border-radius: 10px;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-deep);
  border-bottom: 2px solid var(--brass);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.15rem;
  width: var(--wrap);
  margin-inline: auto;
  padding-block: 0.8rem 0.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  order: 1;
  margin-right: auto;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  min-height: 44px;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 9px;
}

.brand-full {
  display: none;
}

.header-call {
  position: relative;
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--brass);
  background: var(--button);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.header-call:hover {
  background: var(--button-hover);
  color: var(--text);
}

.site-nav {
  order: 3;
  flex: 1 0 100%;
  padding-bottom: 0.45rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
  list-style: none;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.55rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.28em;
}

.site-nav a:hover {
  color: var(--brass-strong);
}

.hero,
.section {
  scroll-margin-top: var(--header-offset);
  background: var(--bg);
}

.hero {
  padding: 2.25rem 0 3rem;
}

#services,
#about,
#hours {
  background: var(--bg-alt);
}

.section {
  padding: 3.5rem 0;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
  margin-bottom: 0.9rem;
  color: var(--brass);
  font-size: 0.98rem;
  font-weight: 600;
}

.kicker span:not(:last-child)::after {
  content: "·";
  margin: 0 0.5rem;
  color: var(--brass);
}

.amp {
  color: var(--brass);
}

.lead {
  max-width: 40rem;
  margin-top: 1rem;
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--text);
}

.support,
.intro,
.note,
.card p,
.step p,
.example-panel p,
.fine {
  color: var(--muted);
}

.support,
.intro {
  max-width: 38rem;
  margin-top: 0.85rem;
}

.hero-grid,
.about-grid,
.cards,
.steps,
.facts {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  gap: 1.5rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--brass);
  background: var(--button-quiet);
  color: var(--text);
  font: 600 1rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--button);
  border-width: 2px;
}

.button:hover {
  background: var(--button-quiet-hover);
  color: var(--text);
}

.button-primary:hover {
  background: var(--button-hover);
  color: var(--text);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ticket,
.card,
.example-panel,
.facts li,
.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.ticket {
  padding: 1.2rem 1.15rem 1.15rem;
  border-left: 4px solid var(--brass);
}

.ticket-label {
  margin-bottom: 0.85rem;
  color: var(--brass);
  font-weight: 600;
}

.rate {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.rate span {
  color: var(--muted);
}

.rate strong {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rate-note,
.price-note {
  margin: 0.15rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.ticket-hours {
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}

.card,
.example-panel {
  padding: 1.25rem 1.15rem 1.3rem;
}

.card h3 {
  margin-bottom: 0.45rem;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-top: 1rem;
}

.price-value {
  font-size: 3rem;
  color: var(--text);
}

.price-unit,
.price-from {
  color: var(--brass);
  font-weight: 600;
}

.ticks {
  list-style: none;
  padding: 0;
  margin-top: 0.9rem;
}

.ticks li {
  position: relative;
  margin: 0.48rem 0;
  padding-left: 1.3rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--brass);
}

.extras {
  margin-top: 1rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.extras div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.extras dt {
  color: var(--muted);
  font-weight: 400;
}

.extras dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.note {
  max-width: 40rem;
  margin-top: 1rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.steps li {
  min-width: 0;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.75rem;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  background: var(--card);
  color: var(--brass);
  font-size: 1.25rem;
}

.steps h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.steps li + li {
  margin-top: 1.6rem;
}

.callout {
  margin-top: 1.5rem;
  padding: 1.05rem 1.1rem;
  border-left: 4px solid var(--brass);
}

.callout strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.about-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.05rem 0 0.9rem;
}

.mark {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 14px;
}

.person {
  margin: 0;
  font-size: 1.7rem;
}

#about .about-copy {
  max-width: 40rem;
}

#about .about-copy + .about-copy {
  margin-top: 0.75rem;
}

.example-panel p + p {
  margin-top: 0.75rem;
}

.example-panel {
  margin-top: 1.25rem;
}

.url {
  margin-top: 0.85rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.facts {
  list-style: none;
  padding: 0;
  margin-top: 1.35rem;
}

.facts li {
  padding: 1.1rem 1.1rem 1.15rem;
}

.facts h3 {
  margin-bottom: 0.4rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--brass);
}

.facts p {
  font-size: 1.45rem;
  text-wrap: balance;
}

.site-footer {
  background: var(--bg-deep);
  border-top: 2px solid var(--brass);
  padding: 3.25rem 0 2.5rem;
  scroll-margin-top: var(--header-offset);
}

.contact-list {
  margin-top: 1.35rem;
}

.contact-list div {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  color: var(--brass);
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-list dd {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
}

.contact-list a {
  overflow-wrap: anywhere;
}

.fine {
  margin-top: 1.15rem;
  max-width: 36rem;
  font-size: 0.98rem;
}

.copy {
  margin-top: 1.4rem;
  color: var(--text);
  font-weight: 600;
}

.place {
  margin-top: 0.3rem;
  color: var(--muted);
}

@media (min-width: 480px) {
  .brand-short {
    display: none;
  }

  .brand-full {
    display: inline;
  }
}

@media (min-width: 720px) {
  .header-inner {
    padding-block: 0.85rem 0.4rem;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .actions .button {
    width: auto;
  }

  .hero {
    padding: 3.25rem 0 4rem;
  }

  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 719px) {
  .header-num {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

@media (min-width: 800px) {
  .cards,
  .facts {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .mark {
    width: 76px;
    height: 76px;
  }
}

@media (min-width: 960px) {
  :root {
    --header-offset: 6rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    padding-block: 0.85rem;
  }

  .brand {
    order: 1;
    margin-right: 0.25rem;
  }

  .site-nav {
    order: 2;
    flex: 0 1 auto;
    padding-bottom: 0;
  }

  .header-call {
    order: 3;
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.72fr);
    gap: 2.5rem;
    align-items: start;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 6%;
    right: 6%;
    height: 1px;
    background: var(--line);
  }

  .steps li + li {
    margin-top: 0;
  }

  .step-num {
    position: relative;
    z-index: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (forced-colors: active) {
  .button,
  .ticket,
  .card,
  .example-panel,
  .facts li,
  .callout,
  .step-num,
  .brand img,
  .mark {
    border: 1px solid ButtonText;
  }
}

@media print {
  .site-header {
    position: static;
  }

  html,
  body,
  .hero,
  .section,
  .site-header,
  .site-footer,
  .card,
  .ticket,
  .button,
  .example-panel,
  .facts li,
  .callout {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
