/* Austelle.online – primary: horizontal rail · secondary: editorial · mutation: layered depth */
:root {
  --au-ink: #1c1b19;
  --au-mist: #f4f0ea;
  --au-clay: #c45c3e;
  --au-slate: #5c6670;
  --au-paper: #ebe4da;
  --au-brass: #b8956b;
  --au-depth: 0 18px 40px rgba(28, 27, 25, 0.12);
  --au-depth-lg: 0 28px 60px rgba(28, 27, 25, 0.18);
  --au-radius: 2px;
  --au-font-display: "Cormorant Garamond", Georgia, serif;
  --au-font-ui: "Spline Sans", system-ui, sans-serif;
  --au-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body.au-body {
  margin: 0;
  background: var(--au-mist);
  color: var(--au-ink);
  font-family: var(--au-font-ui);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

a {
  color: var(--au-clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--au-ink);
}

.au-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--au-ink);
  color: var(--au-mist);
  padding: 0.5rem 1rem;
  z-index: 10000;
}

.au-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Sticky topbar ——— */
.au-topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: color-mix(in srgb, var(--au-mist) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--au-ink) 8%, transparent);
  transition: box-shadow 0.35s var(--au-ease);
}

.au-topbar.is-scrolled {
  box-shadow: var(--au-depth);
}

.au-topbar__grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.au-mark {
  text-decoration: none;
  color: inherit;
  font-family: var(--au-font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  gap: 0.15em;
  align-items: baseline;
}

.au-mark__b {
  font-size: 0.72em;
  color: var(--au-slate);
  font-weight: 500;
}

.au-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--au-ink) 15%, transparent);
  background: var(--au-paper);
  border-radius: var(--au-radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.au-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--au-ink);
  transition: transform 0.3s var(--au-ease);
}

.au-burger[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.au-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.au-dock__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: flex-end;
  align-items: center;
}

.au-dock__link {
  text-decoration: none;
  color: var(--au-ink);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
  position: relative;
}

.au-dock__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--au-clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--au-ease);
}

.au-dock__link:hover::after,
.au-dock__link.is-on::after {
  transform: scaleX(1);
  transform-origin: left;
}

.au-dock__link--cta {
  background: var(--au-ink);
  color: var(--au-mist);
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.au-dock__link--cta::after {
  display: none;
}

.au-dock__link--cta:hover {
  background: var(--au-clay);
  color: #fff;
}

.au-dock__link--bag {
  border: 1px solid color-mix(in srgb, var(--au-ink) 12%, transparent);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.au-dock__link--bag::after {
  display: none;
}

.au-badge {
  display: inline-block;
  min-width: 1.1rem;
  text-align: center;
  margin-left: 0.35rem;
  background: var(--au-clay);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.4;
  padding: 0 0.35rem;
  border-radius: 999px;
  vertical-align: middle;
}

@media (max-width: 820px) {
  .au-burger {
    display: flex;
  }

  .au-dock {
    position: fixed;
    inset: 0 0 auto 0;
    top: 56px;
    background: var(--au-mist);
    border-bottom: 1px solid color-mix(in srgb, var(--au-ink) 10%, transparent);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--au-ease);
  }

  .au-dock.is-open {
    max-height: 320px;
  }

  .au-dock__list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.25rem;
  }

  .au-dock__link {
    padding: 0.6rem 0;
  }
}

/* ——— Horizontal rail (homepage) ——— */
.au-home {
  overflow-x: hidden;
}

.au-rail-intro {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.au-rail-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 38%);
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  align-items: center;
}

@media (max-width: 900px) {
  .au-rail-intro__grid {
    grid-template-columns: 1fr;
  }

  .au-rail-intro__figure {
    max-width: 420px;
    margin-inline: auto;
    order: -1;
  }
}

.au-rail-intro__copy h1 {
  font-family: var(--au-font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5rem;
  max-width: 22ch;
}

.au-rail-intro__copy > p:not(.au-eyebrow) {
  margin: 0;
  color: var(--au-slate);
  max-width: 42ch;
  font-size: 0.98rem;
}

.au-rail-intro__lede {
  margin-top: 1rem;
  max-width: min(58ch, 100%);
}

.au-rail-intro__figure {
  margin: 0;
  position: relative;
  box-shadow: var(--au-depth-lg);
  background: var(--au-paper);
  border: 1px solid color-mix(in srgb, var(--au-ink) 8%, transparent);
}

.au-rail-intro__figure::after {
  content: "";
  position: absolute;
  inset: auto -8px -8px auto;
  width: 40%;
  height: 35%;
  background: linear-gradient(135deg, transparent 40%, color-mix(in srgb, var(--au-brass) 35%, transparent));
  z-index: -1;
  pointer-events: none;
}

.au-rail-intro__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 520px);
  object-fit: cover;
  display: block;
}

.au-rail-intro__cap {
  margin: 0;
  padding: 0.5rem 0.65rem 0.65rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--au-slate);
  background: var(--au-mist);
  border-top: 1px solid color-mix(in srgb, var(--au-ink) 6%, transparent);
}

.au-rail-intro__foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.au-scroll-hint {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--au-slate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.au-scroll-hint::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--au-brass), transparent);
  animation: au-pulse 2.2s ease-in-out infinite;
}

@keyframes au-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.9);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.au-rail {
  display: flex;
  gap: 1.25rem;
  padding: 0 1.25rem 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.au-rail::-webkit-scrollbar {
  height: 6px;
}

.au-rail::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--au-ink) 25%, transparent);
  border-radius: 99px;
}

.au-panel {
  flex: 0 0 min(88vw, 1040px);
  scroll-snap-align: start;
  min-height: min(72vh, 620px);
  position: relative;
  background: var(--au-paper);
  border: 1px solid color-mix(in srgb, var(--au-ink) 8%, transparent);
  overflow: hidden;
  display: grid;
  align-content: stretch;
}

.au-panel--tall {
  min-height: min(78vh, 680px);
}

.au-panel__inner {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.au-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--au-slate);
  margin: 0 0 0.35rem;
}

.au-panel h2 {
  font-family: var(--au-font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.12;
}

.au-panel__text {
  max-width: min(52ch, 100%);
  color: var(--au-slate);
  font-size: 0.95rem;
  line-height: 1.58;
}

.au-panel__text p {
  margin: 0 0 0.85rem;
}

.au-panel__text p:last-child {
  margin-bottom: 0;
}

.au-panel__text--narrow {
  max-width: min(46ch, 100%);
}

/* Experimental: diagonal stack */
.au-exp-stack {
  position: relative;
  min-height: 280px;
  margin-top: 0.5rem;
}

.au-exp-card {
  position: absolute;
  width: 72%;
  max-width: 380px;
  border-radius: var(--au-radius);
  overflow: hidden;
  box-shadow: var(--au-depth-lg);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--au-ease), z-index 0s;
}

.au-exp-card:nth-child(2) {
  left: 18%;
  top: 2.5rem;
  transform: rotate(4deg);
  z-index: 2;
}

.au-exp-card:nth-child(3) {
  left: 42%;
  top: 5.5rem;
  transform: rotate(-2deg);
  z-index: 3;
}

.au-exp-card:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 5;
}

.au-exp-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Story horizontal */
.au-story-track {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.au-story-card {
  flex: 0 0 240px;
  background: var(--au-mist);
  border: 1px solid color-mix(in srgb, var(--au-ink) 8%, transparent);
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
}

.au-story-card strong {
  display: block;
  font-family: var(--au-font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

/* Stats strip */
.au-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: auto;
}

@media (max-width: 600px) {
  .au-stat-row {
    grid-template-columns: 1fr;
  }
}

.au-stat {
  border-top: 2px solid var(--au-ink);
  padding-top: 0.75rem;
}

.au-stat b {
  font-family: var(--au-font-display);
  font-size: 2rem;
  display: block;
  line-height: 1;
}

/* Interactive atmosphere */
.au-mood {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.au-mood button {
  font-family: var(--au-font-ui);
  border: 1px solid var(--au-ink);
  background: transparent;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.au-mood button.is-active,
.au-mood button:hover {
  background: var(--au-ink);
  color: var(--au-mist);
}

.au-preview {
  margin-top: 1rem;
  position: relative;
  border-radius: var(--au-radius);
  overflow: hidden;
  box-shadow: var(--au-depth);
}

.au-preview img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: filter 0.6s var(--au-ease), transform 8s linear;
}

.au-preview[data-mood="warm"] img {
  filter: sepia(0.12) saturate(1.05) brightness(1.03);
}

.au-preview[data-mood="cool"] img {
  filter: saturate(0.85) hue-rotate(-8deg) brightness(1.02);
}

.au-preview[data-mood="earth"] img {
  filter: sepia(0.18) contrast(1.05);
}

/* Magazine panel */
.au-mag {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .au-mag {
    grid-template-columns: 1fr;
  }
}

.au-pull {
  font-family: var(--au-font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1.25;
  margin: 0;
  padding: 1.25rem;
  background: var(--au-ink);
  color: var(--au-mist);
  transform: translateY(1rem) rotate(-0.5deg);
  box-shadow: var(--au-depth);
}

.au-mag-col p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--au-slate);
}

/* Image + offset caption */
.au-visual {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0;
  min-height: 100%;
}

@media (max-width: 768px) {
  .au-visual {
    grid-template-columns: 1fr;
  }
}

.au-visual__pic {
  min-height: 260px;
}

.au-visual__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.au-visual__cap {
  background: var(--au-mist);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.au-visual__cap::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 20%;
  width: 48px;
  height: 60%;
  background: var(--au-clay);
  opacity: 0.15;
  z-index: 0;
}

.au-visual__cap > * {
  position: relative;
  z-index: 1;
}

/* Overlap floats */
.au-float-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

@media (max-width: 640px) {
  .au-float-pair {
    grid-template-columns: 1fr;
  }
}

.au-float {
  position: relative;
}

.au-float img {
  border-radius: var(--au-radius);
  box-shadow: var(--au-depth);
}

.au-float--shift {
  transform: translateY(2rem);
}

/* Process chips */
.au-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.au-chip {
  border: 1px dashed color-mix(in srgb, var(--au-ink) 35%, transparent);
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--au-mist) 70%, transparent);
}

/* Trust compact */
.au-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.88rem;
}

.au-trust-grid li {
  list-style: none;
  padding-left: 1.2rem;
  position: relative;
}

.au-trust-grid ul {
  margin: 0;
  padding: 0;
}

.au-trust-grid li::before {
  content: "◆";
  position: absolute;
  left: 0;
  font-size: 0.55rem;
  top: 0.35em;
  color: var(--au-brass);
}

/* End CTA */
.au-end-cta {
  background: linear-gradient(135deg, var(--au-ink), #3d3a36);
  color: var(--au-mist);
  border: none;
}

.au-end-cta h2 {
  color: var(--au-mist);
}

.au-end-cta p {
  color: color-mix(in srgb, var(--au-mist) 78%, transparent);
  margin: 0 0 1rem;
  max-width: 40ch;
}

.au-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.au-btn {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--au-ease), background 0.2s;
}

.au-btn:hover {
  transform: translateY(-2px);
}

.au-btn--light {
  background: var(--au-mist);
  color: var(--au-ink);
}

.au-btn--ghost {
  border-color: color-mix(in srgb, var(--au-mist) 45%, transparent);
  color: var(--au-mist);
  background: transparent;
}

/* Inner pages layout */
.au-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.au-page--wide {
  max-width: 1200px;
}

.au-page__head {
  margin-bottom: 2rem;
}

.au-page__head h1 {
  font-family: var(--au-font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.au-page__lead {
  font-size: 1.05rem;
  color: var(--au-slate);
  max-width: 52ch;
  margin: 0;
}

/* About: storytelling columns */
.au-story-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (max-width: 800px) {
  .au-story-hero {
    grid-template-columns: 1fr;
  }
}

.au-story-hero img {
  width: 100%;
  border-radius: var(--au-radius);
  box-shadow: var(--au-depth);
}

.au-prose h2 {
  font-family: var(--au-font-display);
  font-size: 1.65rem;
  margin: 2rem 0 0.75rem;
}

.au-prose p {
  margin: 0 0 1rem;
  color: var(--au-slate);
}

/* Shop grid visual-heavy */
.au-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.au-product {
  background: var(--au-paper);
  border: 1px solid color-mix(in srgb, var(--au-ink) 8%, transparent);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.35s var(--au-ease), transform 0.35s var(--au-ease);
}

.au-product:hover {
  box-shadow: var(--au-depth-lg);
  transform: translateY(-4px);
}

.au-product__img {
  aspect-ratio: 5/4;
  overflow: hidden;
}

.au-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--au-ease);
}

.au-product:hover .au-product__img img {
  transform: scale(1.04);
}

.au-product__body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.au-product__body h2 {
  font-family: var(--au-font-display);
  font-size: 1.35rem;
  margin: 0;
}

.au-price {
  font-weight: 600;
  color: var(--au-clay);
}

.au-add {
  margin-top: auto;
  font-family: var(--au-font-ui);
  border: none;
  background: var(--au-ink);
  color: var(--au-mist);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.25s;
}

.au-add:hover {
  background: var(--au-clay);
}

/* FAQ accordion */
.au-faq {
  border-top: 1px solid color-mix(in srgb, var(--au-ink) 10%, transparent);
}

.au-faq-item {
  border-bottom: 1px solid color-mix(in srgb, var(--au-ink) 10%, transparent);
}

.au-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.1rem 0;
  font-family: var(--au-font-ui);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--au-ink);
}

.au-faq-q span.icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--au-ink) 20%, transparent);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.35s var(--au-ease);
}

.au-faq-item.is-open .au-faq-q span.icon {
  transform: rotate(45deg);
}

.au-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--au-ease);
}

.au-faq-item.is-open .au-faq-a {
  max-height: 480px;
}

.au-faq-a-inner {
  padding: 0 0 1.15rem;
  color: var(--au-slate);
  font-size: 0.95rem;
  max-width: 70ch;
}

/* Contact */
.au-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .au-contact-grid {
    grid-template-columns: 1fr;
  }
}

.au-card {
  background: var(--au-paper);
  padding: 1.25rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--au-ink) 8%, transparent);
}

.au-card h2 {
  font-family: var(--au-font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

/* Cart */
.au-cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .au-cart-layout {
    grid-template-columns: 1fr;
  }
}

.au-cart-line {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--au-paper);
  border: 1px solid color-mix(in srgb, var(--au-ink) 8%, transparent);
  margin-bottom: 0.75rem;
}

.au-cart-line img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--au-radius);
}

.au-cart-sum {
  background: var(--au-ink);
  color: var(--au-mist);
  padding: 1.25rem;
  border-radius: var(--au-radius);
  position: sticky;
  top: 5rem;
}

.au-cart-sum strong {
  font-family: var(--au-font-display);
  font-size: 1.5rem;
}

.au-remove {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--au-mist) 35%, transparent);
  color: var(--au-mist);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* Legal longform */
.au-legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.au-legal h1 {
  font-family: var(--au-font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin: 0 0 0.5rem;
}

.au-legal .au-meta {
  font-size: 0.85rem;
  color: var(--au-slate);
  margin-bottom: 2rem;
}

.au-legal h2 {
  font-family: var(--au-font-display);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}

.au-legal h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.au-legal p,
.au-legal li {
  color: var(--au-slate);
  font-size: 0.95rem;
}

.au-legal ul {
  padding-left: 1.2rem;
}

.au-legal li {
  margin-bottom: 0.35rem;
}

/* Footer */
.au-foot {
  background: var(--au-ink);
  color: color-mix(in srgb, var(--au-mist) 82%, transparent);
  padding: 2.5rem 1.25rem;
  margin-top: 3rem;
}

.au-foot a {
  color: var(--au-mist);
}

.au-foot__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.au-foot__brand {
  margin-bottom: 1.5rem;
}

.au-foot__brand strong {
  display: block;
  font-family: var(--au-font-display);
  font-size: 1.35rem;
  color: var(--au-mist);
}

.au-foot__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .au-foot__cols {
    grid-template-columns: 1fr;
  }
}

.au-foot__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--au-mist) 55%, transparent);
}

.au-foot__text {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.au-foot__links {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.au-foot__links a {
  text-decoration: none;
}

.au-foot__links a:hover {
  text-decoration: underline;
}

.au-foot__copy {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--au-mist) 45%, transparent);
}

/* Back to top */
.au-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--au-clay);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--au-depth);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.25s;
  z-index: 800;
}

.au-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.au-top:hover {
  transform: translateY(-3px);
}

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .au-scroll-hint::after {
    animation: none;
  }
}

/* Mobile: stack panels vertically */
@media (max-width: 640px) {
  .au-rail {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 2rem;
  }

  .au-panel {
    flex: 1 1 auto;
    min-height: 0;
  }
}
