/* Axiom Aerials — inner pages (content/), built into the homepage's own shell.
   Same voice as the theme: dark surfaces, Manrope, italic-light + bold-gradient
   headings, white pill buttons. Tokens come from polish.css. */

.ax-main {
  background: var(--ax-bg);
  color: var(--ax-text);
  font-family: var(--ax-font);
  -webkit-font-smoothing: antialiased;
}
.ax-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .ax-wrap { padding: 0 24px; } }

/* Headings: the split every homepage title uses */
.ax-italic { font-style: italic; font-weight: 200; color: rgb(255 255 255 / .6); }
.ax-bold {
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--ax-cyan-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ax-h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

/* Page hero */
.ax-hero { padding: 168px 0 72px; }
.ax-crumbs ol {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 28px; padding: 0; list-style: none;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgb(244 244 244 / .5);
}
.ax-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgb(244 244 244 / .3); }
.ax-crumbs a { color: inherit; text-decoration: none; }
.ax-crumbs a:hover { color: var(--ax-text); }
.ax-crumbs [aria-current] { color: rgb(244 244 244 / .85); }
.ax-hero__title {
  max-width: 16ch;
  margin: 0 0 28px;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ax-main--post .ax-hero__title { max-width: 22ch; font-size: clamp(36px, 5vw, 64px); }
.ax-hero__lead {
  max-width: 60ch;
  margin: 0 0 36px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  color: rgb(244 244 244 / .74);
}
.ax-hero__meta { margin: -8px 0 24px; font-size: 14px; color: var(--ax-muted); }
.ax-hero__media { margin-top: 64px; border-radius: 24px; overflow: hidden; background: var(--ax-surface); }
.ax-hero__media video { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
@media (max-width: 768px) {
  .ax-hero { padding: 128px 0 48px; }
  .ax-hero__media { margin-top: 40px; border-radius: 16px; }
  .ax-hero__media video { aspect-ratio: 4 / 3; }
}

/* Buttons: the contact form's white pill, plus an outline twin */
.ax-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ax-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 60px;
  background: #f4f4f4; color: #111; border: 1px solid #f4f4f4;
  font: 600 15px/1 var(--ax-font); text-decoration: none;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, background .3s, border-color .3s;
}
.ax-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgb(244 244 244 / .18); }
.ax-btn--ghost { background: transparent; color: var(--ax-text); border-color: rgb(244 244 244 / .3); }
.ax-btn--ghost:hover { border-color: var(--ax-text); box-shadow: none; }

/* Sections and long-form text */
.ax-section { padding: 72px 0; }
.ax-section + .ax-section { border-top: 1px solid rgb(255 255 255 / .08); }
.ax-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .ax-split { grid-template-columns: 1fr; gap: 24px; } }
.ax-prose { max-width: 68ch; }
.ax-prose p, .ax-prose li { font-size: 17px; line-height: 1.75; color: rgb(244 244 244 / .74); }
.ax-prose p { margin: 0 0 18px; }
.ax-prose h2 { margin: 48px 0 16px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.ax-prose h3 { margin: 32px 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.ax-prose h2:first-child, .ax-prose h3:first-child { margin-top: 0; }
.ax-prose ul, .ax-prose ol { margin: 0 0 18px; padding-left: 22px; }
.ax-prose ul, .ax-prose ul li { list-style: disc; }
.ax-prose ol, .ax-prose ol li { list-style: decimal; }
.ax-prose li { margin-bottom: 8px; }
.ax-prose li::marker { color: var(--ax-cyan); }
.ax-prose strong { color: var(--ax-text); font-weight: 600; }
.ax-prose a, .ax-faq a { color: var(--ax-text); text-decoration: underline; text-decoration-color: rgb(0 168 255 / .6); text-underline-offset: 3px; }
.ax-prose a:hover, .ax-faq a:hover { text-decoration-color: var(--ax-cyan-bright); }
.ax-main--post .ax-prose { margin: 0 auto; }

/* Card grid: children of a hub page, blog posts */
.ax-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
@media (max-width: 400px) { .ax-cards { grid-template-columns: 1fr; } }
.ax-card {
  position: relative; display: flex; flex-direction: column;
  overflow: hidden; border-radius: 20px; background: var(--ax-surface);
  border: 1px solid rgb(255 255 255 / .06);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), border-color .3s;
}
.ax-card:hover { transform: translateY(-4px); border-color: rgb(255 255 255 / .16); }
.ax-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #0f0f11; }
.ax-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.ax-card:hover .ax-card__media img { transform: scale(1.04); }
.ax-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.ax-card__meta { margin: 0 0 8px; font-size: 13px; color: var(--ax-muted); }
.ax-card__title { margin: 0 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.ax-card__body p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: rgb(244 244 244 / .68); }
.ax-card__more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--ax-cyan-bright); }
.ax-card__more span { display: inline-block; transition: transform .3s; }
.ax-card:hover .ax-card__more span { transform: translateX(4px); }

/* Whole card is the link (here and on the homepage service cards) */
.ax-card-link { color: inherit; text-decoration: none; }
.ax-card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.ax-card-link:focus-visible { outline: none; }
.ax-card:has(.ax-card-link:focus-visible),
.axiom-services__card:has(.ax-card-link:focus-visible) { outline: 2px solid var(--ax-cyan-bright); outline-offset: 3px; }

/* Numbered steps: the homepage's 01/02 card numbers */
.ax-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ax-steps li {
  counter-increment: step;
  padding: 28px 26px; border-radius: 20px; background: var(--ax-surface);
  font-size: 15px; line-height: 1.65; color: rgb(244 244 244 / .68);
}
.ax-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 18px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--ax-cyan-bright);
}
.ax-steps strong { display: block; margin-bottom: 8px; font-size: 19px; color: var(--ax-text); }

/* Short facts in two columns */
.ax-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; margin: 0; }
.ax-facts div { padding: 20px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.ax-facts dt { margin-bottom: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ax-muted); }
.ax-facts dd { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ax-text); }
.ax-facts a { color: inherit; text-underline-offset: 3px; }

/* FAQ */
.ax-faq { max-width: 860px; }
.ax-faq details { border-top: 1px solid rgb(255 255 255 / .1); }
.ax-faq details:last-child { border-bottom: 1px solid rgb(255 255 255 / .1); }
.ax-faq summary {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 600; line-height: 1.4;
}
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary::after { content: "+"; flex: none; font-weight: 300; font-size: 26px; line-height: 1; color: var(--ax-cyan-bright); transition: transform .3s; }
.ax-faq details[open] summary::after { transform: rotate(45deg); }
.ax-faq details p { max-width: 70ch; margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: rgb(244 244 244 / .72); }

/* Location links (generated: services <-> cities) */
.ax-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.ax-chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid rgb(244 244 244 / .22); border-radius: 999px;
  color: var(--ax-text); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: border-color .3s, background .3s;
}
.ax-chips a:hover { border-color: var(--ax-cyan-bright); background: rgb(0 168 255 / .08); }
.ax-section__note { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: rgb(244 244 244 / .7); }
.ax-section__note a { color: var(--ax-text); text-underline-offset: 3px; }

/* Closing band */
.ax-cta { padding: 96px 0 120px; }
.ax-cta__inner {
  padding-top: 72px; border-top: 1px solid rgb(255 255 255 / .1);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; align-items: end;
}
.ax-cta__inner .ax-h2 { grid-column: 1 / -1; margin: 0; }
.ax-cta__inner p { max-width: 54ch; margin: 0; font-size: 17px; line-height: 1.7; color: rgb(244 244 244 / .7); }
@media (max-width: 768px) {
  .ax-cta { padding: 64px 0 88px; }
  .ax-cta__inner { grid-template-columns: 1fr; padding-top: 48px; }
}

/* Homepage sections reused inside a page keep their own spacing */
.ax-main > section[class*="axiom-"] { border-top: 1px solid rgb(255 255 255 / .06); }

.ax-draft-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 9999; margin: 0;
  padding: 8px 14px; border-radius: 999px; background: #f5a524; color: #111;
  font: 700 12px/1 var(--ax-font); letter-spacing: .06em; text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .ax-card, .ax-card__media img, .ax-btn, .ax-card__more span { transition: none; }
}

/* Price tables */
.ax-table-wrap { overflow-x: auto; margin: 0 0 20px; border-radius: 20px; background: var(--ax-surface); }
.ax-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ax-table th, .ax-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid rgb(255 255 255 / .07); }
.ax-table tbody tr:last-child > * { border-bottom: 0; }
.ax-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ax-muted); }
.ax-table tbody th { font-weight: 700; color: var(--ax-text); }
.ax-table tbody th a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgb(0 168 255 / .6); }
.ax-table td { color: rgb(244 244 244 / .7); }
.ax-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--ax-text); font-variant-numeric: tabular-nums; }

/* Equipment photos */
.ax-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; }
.ax-gallery figure { margin: 0; }
.ax-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--ax-surface); }
.ax-gallery figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: rgb(244 244 244 / .7); }
.ax-gallery figcaption strong { display: block; color: var(--ax-text); font-size: 15px; }
