/* Shared responsive rules for every customer page. */
.ah-main :where(form, fieldset, legend) {
  min-width: 0;
  max-width: 100%;
}
.ah-main legend {
  white-space: normal;
  overflow-wrap: anywhere;
}
.ah-main input[type="file"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.ah-main .ah-ticket-qr svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px) + 16px);
  }
  .ah-main {
    padding-inline: max(16px, env(safe-area-inset-left, 0px));
  }
  .ah-main :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    font-size: 16px;
  }
  .ah-main :is(.ah-summary-row, .ah-summary-total) {
    flex-wrap: wrap;
  }
  .ah-main :is(.ah-button, .ah-btn-tactile, .ah-button-bright) {
    max-width: 100%;
    min-height: 48px;
    border-radius: 980px;
    white-space: normal;
    text-align: center;
  }
  :is(.ah-button, .ah-btn-tactile, .ah-button-bright, .ah-stepper-btn):active:not(:disabled) {
    transform: scale(0.975);
    transition: transform 0.08s ease-out;
  }
}

.ah-main,
.ah-main > * {
  min-width: 0;
}

.ah-main :where(.ah-article-copy, .ah-artist-copy, .ah-artist-profile-copy,
.ah-detail-copy, .ah-detail-poster, .ah-ticket-copy, .ah-summary-row,
.ah-summary-total) {
  min-width: 0;
}

.ah-main :where(h1, h2, h3, p, dd, li, a, button, label, small) {
  overflow-wrap: anywhere;
}

.ah-main :where(img, video, iframe, svg) {
  max-width: 100%;
}

.ah-mobile-nav nav a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ah-customer-page {
  width: min(900px, 100%);
  min-height: 65vh;
  margin: clamp(28px, 5vw, 56px) auto 88px;
  padding: 0;
}

.ah-customer-page h1 {
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ah-application-page {
  max-width: 760px;
}

.ah-writing-form,
.ah-writing-form > p {
  min-width: 0;
}

.ah-writing-form input:not([type="checkbox"]),
.ah-writing-form textarea,
.ah-writing-form select,
.ah-writing-form button {
  max-width: 100%;
}

.ah-writing-form > button {
  min-height: 44px;
  margin: 8px 8px 8px 0;
}

.ah-articles-page .ah-article-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.ah-articles-page .ah-article-card.is-featured {
  display: flex;
}

.ah-article-card-cover {
  width: 160px;
  flex: 0 0 160px;
  overflow: hidden;
  border-radius: var(--ah-radius-control);
}

.ah-article-card-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ah-articles-page .ah-article-copy {
  flex: 1 1 auto;
  padding: 20px 0;
}

.ah-artist-list-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ah-artist-list-image-link {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius-control);
  background: #101114;
}

.ah-artist-list-image-link:focus-visible {
  outline: 2px solid var(--ah-paper);
  outline-offset: 3px;
}

.ah-artist-list-image-placeholder,
.ah-artist-poster-placeholder {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 35%, #24272b 0%, #101114 72%);
}

.ah-artist-list-image-placeholder span,
.ah-artist-poster-placeholder span {
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  box-shadow: 0 28px 0 14px rgba(255, 255, 255, .06);
}

.ah-artist-poster-frame {
  display: block;
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius-panel);
  overflow: hidden;
  background: #101114;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.ah-artist-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ah-artist-poster-frame img { object-fit: contain; }

.ah-artist-profile-copy,
.ah-artist-events li > a > span:first-child {
  min-width: 0;
}

.ah-ticket-option {
  min-width: 0;
}

/* Keep customer artwork portrait and visible without cropping. */
.ah-main .ah-article-card-cover img,
.ah-main .ah-article-image-link,
.ah-main .ah-article-hero img,
.ah-main .ah-article-cover img,
.ah-main .ah-article-gallery img,
.ah-main .ah-event-art,
.ah-main .ah-home-featured-poster,
.ah-main .ah-detail-poster > img,
.ah-main .ah-event-slideshow,
.ah-main .ah-event-gallery-grid figure,
.ah-main .ah-event-gallery-grid > img {
  aspect-ratio: 4 / 5;
}

.ah-main .ah-article-card-cover img,
.ah-main .ah-article-image-link img,
.ah-main .ah-article-hero img,
.ah-main .ah-article-cover img,
.ah-main .ah-article-gallery img,
.ah-main .ah-event-art img,
.ah-main .ah-event-photo,
.ah-main .ah-home-featured-poster img,
.ah-main .ah-detail-poster > img,
.ah-main .ah-event-slide img,
.ah-main .ah-event-gallery-grid figure img,
.ah-main .ah-event-gallery-grid > img {
  object-fit: contain;
  background-color: #101114;
}

.ah-main .ah-article-image-link {
  height: auto;
  min-height: 0;
}

.ah-main .ah-article-image-link img,
.ah-main .ah-event-gallery-grid figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.ah-main .ah-event-gallery-grid figure,
.ah-main .ah-event-gallery-grid > img {
  min-height: 0;
}

.ah-main .ah-event-gallery-grid figure:first-child {
  grid-row: auto;
  height: auto;
  min-height: 0;
}

.ah-main .ah-event-gallery-grid figure:first-child img {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.ah-main .ah-event-slideshow {
  height: auto;
  min-height: 0;
}

.ah-main .ah-detail-poster > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

.ah-main .ah-artist-card {
  overflow: hidden;
}

.ah-main .ah-artist-copy {
  min-height: 0;
  gap: 0;
  padding: clamp(16px, 2vw, 24px);
}

.ah-main .ah-artist-copy .ah-eyebrow {
  margin-bottom: 10px;
}

.ah-main .ah-artist-copy h2 {
  margin-bottom: 6px;
}

.ah-main .ah-artist-copy > p:not(.ah-eyebrow) {
  line-height: 1.65;
}

.ah-main .ah-artist-event-link {
  min-height: 44px;
  margin-top: 8px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ah-main .ah-artist-card:hover {
    transform: translateY(-3px);
  }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .ah-main .ah-artist-card,
  .ah-main .ah-artist-card:hover,
  .ah-main .ah-artist-card:active,
  .ah-main .ah-artist-list-image,
  .ah-main .ah-artist-event-link {
    transform: none;
    transition: none;
  }
}

.ah-ticket-option input {
  width: min(95px, 100%);
}

.ah-summary-row > :last-child,
.ah-summary-total > :last-child {
  text-align: right;
  overflow-wrap: anywhere;
}

.ah-event-dialog {
  max-height: calc(100dvh - 24px);
}

.ah-dialog-content {
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 767px) {
  .ah-header {
    position: sticky;
    gap: 12px;
    padding-inline: clamp(12px, 2.5vw, 24px);
  }

  .ah-header .ah-nav {
    display: none;
  }

  .ah-header .ah-mobile-nav {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .ah-header .ah-account {
    order: 3;
    min-width: 0;
    margin-left: 0;
  }

}

@media (max-width: 767px) {
  .ah-main {
    padding-inline: 16px;
  }

  .ah-main .ah-artist-card {
    display: grid;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    align-items: start;
    gap: 0;
  }

  .ah-main .ah-artist-list-image-link {
    align-self: start;
    border-radius: var(--ah-radius-control) 0 0 var(--ah-radius-control);
  }

  .ah-main .ah-artist-copy {
    padding: 14px 12px;
  }

  .ah-main .ah-artist-copy h2 {
    font-size: clamp(18px, 5vw, 24px);
  }

  .ah-main .ah-artist-event-link {
    align-self: stretch;
    justify-content: center;
    padding-inline: 8px;
    text-align: center;
  }

  .ah-main .ah-artist-poster-frame {
    width: min(100%, 340px);
  }

  .ah-header {
    height: 64px;
    gap: 8px;
    padding-inline: 12px;
  }

  .ah-header .ah-wordmark {
    font-size: clamp(16px, 4.4vw, 21px);
  }

  .ah-brand-byline {
    font-size: 9px;
  }

  .ah-mobile-nav summary,
  .ah-account-menu .ah-hamburger-btn {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .ah-header .ah-mobile-nav nav {
    right: 8px;
    left: 8px;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
  }

  .ah-header .ah-mobile-nav nav a {
    min-height: 48px;
    padding: 10px 12px;
  }

  .ah-home .ah-hero {
    min-height: clamp(470px, calc(100dvh - 96px), 680px);
  }

  .ah-home .ah-hero-copy {
    padding-bottom: 30px;
  }

  .ah-home .ah-hero h1 {
    font-size: clamp(48px, 11vw, 78px);
  }

  .ah-home .ah-featured-event {
    position: relative;
    inset: auto;
    width: auto;
    margin: 0 16px 16px;
  }

  .ah-home-featured-event {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-home-event-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-home .ah-title-row h2,
  .ah-title-row h2 {
    font-size: clamp(26px, 6vw, 36px);
    line-height: 1.25;
  }

  .ah-title-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .ah-title-row .ah-all-events {
    margin-left: auto;
  }

  .ah-detail-page .ah-event-detail-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .ah-detail-page .ah-detail-copy {
    padding: 24px 20px 12px;
  }

  .ah-detail-page .ah-detail-poster {
    grid-row: 1;
    width: min(100%, 380px);
    min-height: 0;
    margin: 0 auto;
    padding: 14px;
    border: 0;
  }

  .ah-detail-page .ah-detail-poster img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .ah-detail-page .ah-detail-poster-fallback {
    aspect-ratio: 4 / 5;
  }

  .ah-detail-page .ah-detail-facts {
    margin: 8px 20px 0;
  }

  .ah-detail-page .ah-detail-facts div {
    grid-template-columns: minmax(78px, 28%) minmax(0, 1fr);
    gap: 10px;
  }

  .ah-artist-profile {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .ah-artist-poster {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .ah-artist-profile-copy h1 {
    font-size: clamp(36px, 9vw, 64px);
  }

  .ah-artist-events li > a {
    align-items: flex-start;
  }

  .ah-artist-events li small {
    overflow-wrap: anywhere;
  }

  .ah-articles-page .ah-article-card,
  .ah-articles-page .ah-article-card.is-featured {
    min-height: 0;
    gap: 14px;
    padding: 16px;
  }

  .ah-article-card-cover {
    width: clamp(78px, 24vw, 120px);
    flex-basis: clamp(78px, 24vw, 120px);
  }

  .ah-articles-page .ah-article-copy {
    padding: 0;
  }

  .ah-articles-page .ah-article-card h2 {
    font-size: clamp(18px, 5vw, 23px);
    line-height: 1.3;
  }

  .ah-articles-page .ah-article-card .ah-article-cta {
    min-height: 44px;
    margin-top: 8px;
  }

  .ah-article-hero img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .ah-article-body p {
    font-size: 16px;
    line-height: 1.75;
  }

  .ah-auth.ah-login,
  .ah-auth {
    width: 100%;
    padding: 24px 20px;
  }

  .ah-login-layout {
    min-height: 0;
  }

  .ah-form input:not([type="checkbox"]),
  .ah-form select,
  .ah-form textarea {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .ah-login-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .ah-checkout,
  .ah-ticket-page {
    margin-block: 28px 68px;
  }

  .ah-ticket-pass:not(.ah-wallet-pass-card) {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .ah-ticket-pass:not(.ah-wallet-pass-card) .ah-ticket-qr {
    width: min(100%, 190px);
    justify-self: center;
  }

  .ah-summary {
    padding: 18px;
  }

  .ah-summary-row,
  .ah-summary-total {
    gap: 8px;
  }

  .ah-summary-total strong {
    font-size: clamp(26px, 8vw, 34px);
  }

  .ah-pagination {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ah-pagination a {
    justify-content: center;
  }

  .ah-customer-page {
    margin-block: 28px 68px;
  }

  .ah-author-page .ah-article-images-manager {
    margin-inline: 0 !important;
    padding: 18px !important;
  }

  .ah-author-page .ah-article-images-manager > div > div {
    width: min(200px, 100%) !important;
  }

  .ah-author-page .ah-article-images-manager button {
    min-height: 44px;
  }

  .ah-author-page .ah-article-images-manager input,
  .ah-author-page .ah-article-images-manager select,
  .ah-author-page .ah-article-images-manager textarea {
    max-width: 100%;
  }

  .ah-writing-form > button {
    width: 100%;
    margin: 6px 0;
  }

  .mp-page {
    padding-inline: 0;
  }

  .mp-section-head {
    flex-wrap: wrap;
    gap: 9px 12px;
    padding: 16px;
  }

  .mp-section-desc {
    width: 100%;
    margin-left: 46px;
  }

  .mp-section-body {
    padding: 20px 16px;
  }

  .mp-photo-controls {
    width: 100%;
    min-width: 0;
  }

  .mp-file-name {
    max-width: 100%;
  }

  .mp-submit-row {
    position: static;
    padding: 16px;
  }

  .ah-footer {
    gap: 8px 14px;
  }
}

/* Homepage campaign preview (.ah-story, .ah-ticket-flow, .ah-merch) moved to static/css/customer-home-layout.css */


.ah-editorial { padding-top: clamp(28px, 5vw, 58px); border-top: 1px solid var(--ah-line); }
.ah-editorial-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ah-editorial-heading h2 { margin: 8px 0 0; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.04em; }
.ah-editorial-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(300px, .88fr); gap: 18px; }
.ah-editorial-feature { min-width: 0; border: 1px solid var(--ah-line); background: #101113; }
.ah-editorial-cover { overflow: hidden; background: #090a0b; }
.ah-editorial-cover img { display: block; width: 100%; aspect-ratio: 1.8 / 1; object-fit: cover; }
.ah-editorial-copy { padding: clamp(18px, 2.6vw, 30px); }
.ah-editorial-copy h3 { max-width: 740px; margin: 10px 0; font-size: clamp(21px, 3vw, 32px); line-height: 1.2; letter-spacing: -.03em; }
.ah-editorial-copy > p:not(.ah-eyebrow) { max-width: 650px; color: var(--ah-muted, #a1a1a6); line-height: 1.7; }
.ah-editorial-copy > span,
.ah-editorial-compact span { color: var(--ah-muted, #a1a1a6); font-size: 10px; letter-spacing: .08em; }
.ah-editorial-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ah-editorial-compact { display: grid; grid-template-columns: minmax(104px, .82fr) minmax(0, 1.18fr); align-items: stretch; min-height: 142px; border: 1px solid var(--ah-line); background: #101113; }
.ah-editorial-compact img { width: 100%; height: 100%; min-height: 142px; object-fit: cover; }
.ah-editorial-compact > div { align-self: center; padding: 12px 14px; }
.ah-editorial-compact h3 { margin: 7px 0 10px; font-size: 15px; line-height: 1.35; }
.ah-editorial-compact .ah-eyebrow { margin: 0; font-size: 9px; }
.ah-editorial-side > .ah-text-link { margin-top: auto; padding: 8px 0; }

@media (max-width: 760px) {
  .ah-home :where(.ah-story, .ah-ticket-flow, .ah-merch, .ah-editorial) { width: min(100% - 32px, 620px); margin-block: clamp(36px, 8vw, 48px); }
  .ah-story, .ah-ticket-flow, .ah-merch { grid-template-columns: 1fr; gap: 26px; }
  .ah-story { padding-block: 34px; }
  .ah-flow-image { grid-column: auto; }
  .ah-flow-image img { aspect-ratio: 1.7 / 1; }
  .ah-merch { padding: 24px 18px; }
  .ah-merch-caption { flex-wrap: wrap; font-size: 9px; }
  .ah-editorial-grid { grid-template-columns: 1fr; }
  .ah-editorial-side { gap: 9px; }
  .ah-editorial-compact { grid-template-columns: minmax(105px, .7fr) minmax(0, 1.3fr); }
}

@media (max-width: 420px) {
  .ah-home :where(.ah-story, .ah-ticket-flow, .ah-merch, .ah-editorial) { width: calc(100% - 28px); }
  .ah-editorial-heading { align-items: flex-start; flex-direction: column; }
  .ah-editorial-compact { grid-template-columns: 96px minmax(0, 1fr); }
  .ah-editorial-compact img { min-height: 132px; }
  .ah-editorial-compact > div { padding: 10px; }
}

@media (max-width: 419px) {
  .ah-main {
    padding-inline: 12px;
  }

  .ah-header {
    gap: 6px;
    padding-inline: 8px;
  }

  .ah-header .ah-wordmark {
    font-size: 16px;
  }

  .ah-brand-byline {
    font-size: 8px;
  }

  .ah-mobile-nav summary,
  .ah-account-menu .ah-hamburger-btn {
    padding-inline: 8px;
    font-size: 11px;
  }

  .ah-home .ah-hero-copy {
    padding-inline: 16px;
  }

  .ah-home .ah-featured-event {
    margin-inline: 12px;
  }

  .ah-title-row .ah-count {
    margin-left: auto;
  }

  .ah-event-facts > div,
  .ah-detail-page .ah-detail-facts div {
    grid-template-columns: minmax(70px, 25%) minmax(0, 1fr);
    gap: 8px;
  }

  .ah-articles-page .ah-article-card,
  .ah-articles-page .ah-article-card.is-featured {
    min-height: 0;
    gap: 11px;
    padding: 12px;
  }

  .ah-article-card-cover {
    width: 76px;
    flex-basis: 76px;
  }

  .ah-article-copy .ah-eyebrow {
    font-size: 11px;
  }

  .ah-article-card > .ah-article-copy > p:not(.ah-eyebrow) {
    font-size: 13px;
  }

  .ah-ticket-pass {
    padding: 18px;
  }

  .mp-section-badge {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-article-card,
  .ah-artist-card,
  .ah-owned-ticket,
  .ah-artist-poster {
    transition: none;
  }
}

/* Homepage responsive rhythm: use the same content edge from phone to desktop. */
.ah-home {
  --ah-muted: #a1a1aa;
}

.ah-portfolio { width:min(1140px,100%); margin:clamp(48px,6vw,88px) auto; }
.ah-home > .ah-portfolio { width:min(1140px,100%); }
.ah-portfolio-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,3vw,32px); }
.ah-portfolio-card { min-width: 0; margin: 0; }
.ah-portfolio-open { display:block; width:100%; color:inherit; text-decoration:none; cursor:zoom-in; }
.ah-portfolio-open:focus-visible { outline:2px solid var(--ah-action); outline-offset:4px; }
.ah-portfolio-image { position:relative; isolation:isolate; aspect-ratio:4/5; display:grid; place-items:center; overflow:hidden; border:1px solid rgba(255,255,255,.045); background:radial-gradient(ellipse at 50% 36%, rgba(255,255,255,.075), transparent 68%), #101113; box-shadow:0 14px 28px rgba(0,0,0,.34), 0 2px 5px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08), 0 0 34px rgba(255,255,255,.035); transition:transform 180ms ease, box-shadow 180ms ease; }
.ah-portfolio-image img { width: 100%; height: 100%; object-fit: contain; }
.ah-portfolio-open:focus-visible .ah-portfolio-image { transform:translateY(-3px); box-shadow:0 20px 36px rgba(0,0,0,.42), 0 3px 8px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.11), 0 0 40px rgba(255,255,255,.055); }
.ah-portfolio-card figcaption { padding-top: 10px; }
.ah-portfolio-card :is(h2,h3) { margin:0; color:var(--ah-paper,#f5f5f7); font-size:clamp(14px,1.7vw,19px); line-height:1.35; }
.ah-portfolio-card p { margin:5px 0 0; color:var(--ah-muted,#a1a1aa); font-size:12px; line-height:1.55; }
.ah-portfolio-home-action { display:flex; justify-content:flex-end; margin:-4px 0 16px; }
.ah-portfolio-archive-heading { margin-top:0; }
.ah-portfolio-archive-intro { margin:10px 0 0; color:var(--ah-soft); }
.ah-portfolio-empty { padding:48px 20px; border:1px solid var(--ah-line); color:var(--ah-soft); text-align:center; }
.ah-portfolio-empty h2 { margin:0; color:var(--ah-paper); font-size:20px; }
.ah-portfolio-empty p { margin:8px 0 0; }
.ah-portfolio-archive .ah-pagination { margin-top:28px; }
.ah-portfolio-archive-content { scroll-margin-top:100px; transition:opacity 180ms ease, transform 180ms ease; }
.ah-portfolio-archive-content:focus { outline:none; }
.ah-portfolio-archive-content:focus-visible { outline:2px solid var(--ah-action); outline-offset:8px; }
.ah-portfolio-archive.is-loading-page .ah-portfolio-archive-content { opacity:.56; transform:translateY(4px); }
.ah-portfolio-dialog { position:fixed; box-sizing:border-box; width:min(1100px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); padding:48px 20px 20px; overflow:auto; scrollbar-gutter:stable both-edges; border:1px solid var(--ah-control-border); border-radius:6px; background:var(--ah-bg); color:var(--ah-paper); box-shadow:0 24px 80px rgba(0,0,0,.6); }
.ah-portfolio-dialog::backdrop { background:rgba(0,0,0,.84); backdrop-filter:blur(5px); }
.ah-portfolio-dialog figure { display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; gap:14px; width:100%; min-width:0; margin:0; }
.ah-portfolio-dialog img { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100dvh - 120px); object-fit:contain; }
.ah-portfolio-dialog figcaption { box-sizing:border-box; width:min(100%,760px); min-width:0; color:var(--ah-soft); font-size:13px; line-height:1.6; text-align:center; white-space:pre-line; overflow-wrap:anywhere; }
.ah-portfolio-dialog-close { position:absolute; top:8px; right:8px; display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--ah-control-border); border-radius:4px; background:var(--ah-surface); color:var(--ah-paper); font-size:28px; line-height:1; cursor:pointer; }
.ah-portfolio-dialog-close:hover { background:rgba(255,255,255,.06); }
.ah-portfolio-dialog-close:focus-visible { outline:2px solid var(--ah-action); outline-offset:2px; }
body:has(.ah-portfolio-dialog[open]) { overflow:hidden; }
@media (min-width: 1024px) { .ah-portfolio-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (hover:hover) and (pointer:fine) and (min-width:768px) { .ah-portfolio-open:hover .ah-portfolio-image { transform:translateY(-3px); box-shadow:0 20px 36px rgba(0,0,0,.42), 0 3px 8px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.11), 0 0 40px rgba(255,255,255,.055); } }
@media (max-width: 767px) { .ah-portfolio { width:100%; margin-block:48px; } .ah-portfolio-grid { grid-template-columns:minmax(0,1fr); gap:20px; } }
@media (prefers-reduced-motion: reduce) { .ah-portfolio-image, .ah-portfolio-archive-content { transition:none; } .ah-portfolio-open:hover .ah-portfolio-image, .ah-portfolio-open:focus-visible .ah-portfolio-image { transform:none; } .ah-portfolio-archive.is-loading-page .ah-portfolio-archive-content { transform:none; } }

.ah-portfolio-archive {
  width: min(1140px, 100%);
  margin: clamp(32px, 5vw, 64px) auto 96px;
}

/* Header & Chassis Card - Apple Bento Architecture */
:is(.ah-portfolio-archive-heading, .tp-portfolio-detail-chassis, .tp-portfolio-header-chassis) {
  position: relative;
  border-radius: 24px;
  background: rgba(13, 14, 18, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(229, 227, 218, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 4vw, 36px);
  margin-top: 8px;
  margin-bottom: 32px;
  box-sizing: border-box;
}

.tp-portfolio-chassis-top {
  margin-bottom: 0;
}

.tp-portfolio-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  min-height: 36px;
  border-radius: 980px;
  background: rgba(229, 227, 218, 0.06);
  border: 1px solid rgba(229, 227, 218, 0.14);
  color: #b8b6aa;
  font-family: var(--ah-mono, -apple-system, monospace);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.tp-portfolio-back-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(229, 227, 218, 0.32);
  transform: translateX(-2px);
}

.tp-portfolio-back-pill:active {
  transform: scale(0.96) translateX(-2px);
}

.tp-portfolio-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1;
}

.tp-portfolio-status-dot,
.tp-portfolio-badge-row .tp-radar-dot-pulse {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50%;
  background: var(--tp-status-success, #7a9374) !important;
  box-shadow: 0 0 4px rgba(122, 147, 116, 0.4) !important;
  flex-shrink: 0;
  margin: 0 !important;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px);
}

.tp-portfolio-eyebrow-text,
.tp-portfolio-badge-row .ah-eyebrow,
.tp-portfolio-badge-row .tp-portfolio-eyebrow {
  font-family: var(--ah-mono) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: #8e8d85 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}

.tp-portfolio-badge-row .ah-eyebrow::before,
.tp-portfolio-badge-row .tp-portfolio-eyebrow::before {
  display: none !important;
  content: none !important;
}

.tp-portfolio-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
  margin-bottom: 8px !important;
}

:is(.tp-portfolio-title, .tp-portfolio-main-title) {
  margin: 0;
  font-family: var(--ah-display, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.tp-portfolio-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 980px;
  background: rgba(229, 227, 218, 0.08);
  border: 1px solid rgba(229, 227, 218, 0.16);
  color: #e5e3da;
  font-family: var(--ah-mono, -apple-system, monospace);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.tp-portfolio-intro {
  font-family: var(--ah-text, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 10px 0 0 0;
  max-width: 58ch;
}

/* Portfolio Archive Grid Rhythm */
.ah-portfolio-archive .ah-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ah-portfolio-archive .ah-portfolio-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 20px !important;
  background: rgba(13, 14, 18, 0.96) !important;
  border: 1px solid rgba(229, 227, 218, 0.12) !important;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ah-portfolio-archive .ah-portfolio-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(229, 227, 218, 0.28) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.ah-portfolio-archive .ah-portfolio-open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden;
  background: #08090c !important;
  cursor: zoom-in;
  position: relative;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.65);
}

.ah-portfolio-archive .ah-portfolio-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
}

.ah-portfolio-archive .ah-portfolio-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  transform: none;
  transition: transform 0.25s ease;
}

.ah-portfolio-archive .ah-portfolio-card:hover .ah-portfolio-image img {
  transform: scale(1.02);
}

.ah-portfolio-archive .ah-portfolio-card figcaption {
  padding: 18px 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(10, 11, 14, 0.90) !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 8px;
}

.ah-portfolio-archive .ah-portfolio-card figcaption h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ah-portfolio-archive .ah-portfolio-card figcaption p,
.ah-portfolio-archive .ah-portfolio-card-desc {
  margin: 0;
  font-size: 13px;
  color: #a1a1aa !important;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.55em * 3); /* Lock exact 3-line height across all cards */
}

@media (min-width: 640px) and (max-width: 1023px) {
  .ah-portfolio-archive .ah-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 639px) {
  .ah-portfolio-archive .ah-portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  :is(.ah-portfolio-archive-heading, .tp-portfolio-detail-chassis, .tp-portfolio-header-chassis) {
    padding: 20px 18px !important;
    border-radius: 18px !important;
    margin-bottom: 24px !important;
  }
  .tp-portfolio-back-pill {
    margin-bottom: 16px !important;
  }
  :is(.tp-portfolio-title, .tp-portfolio-main-title) {
    font-size: clamp(24px, 6.5vw, 32px) !important;
  }
  .tp-portfolio-title-row {
    gap: 8px 10px !important;
  }
}

/* Portfolio archive depth: lift the artwork above the CCTV texture without adding a card. */
.ah-portfolio-archive-content { position:relative; isolation:isolate; }
.ah-portfolio-archive-content::before { content:""; position:absolute; z-index:-1; inset:-40px -24px 24px; pointer-events:none; background:radial-gradient(ellipse at 50% 38%, rgba(0,0,0,.56) 0, rgba(0,0,0,.3) 48%, transparent 82%); }
.ah-portfolio-archive .ah-portfolio-open { position:relative; isolation:isolate; }
.ah-portfolio-archive .ah-portfolio-open::before { content:""; position:absolute; z-index:-1; inset:7% 4%; pointer-events:none; opacity:.76; background:radial-gradient(ellipse at 50% 48%, rgba(229,233,238,.17), rgba(200,205,212,.07) 42%, transparent 74%); filter:blur(18px); transform:translateY(12px) scale(.94); transition:opacity 180ms ease, transform 180ms ease; }
.ah-portfolio-archive .ah-portfolio-image { z-index:1; box-shadow:0 3px 9px rgba(0,0,0,.3), 0 22px 40px rgba(0,0,0,.42), 0 0 28px rgba(222,226,231,.075), inset 0 1px 0 rgba(255,255,255,.08); transition:transform 180ms ease; }
.ah-portfolio-archive .ah-portfolio-open:hover::before,
.ah-portfolio-archive .ah-portfolio-open:focus-visible::before { opacity:1; transform:translateY(15px) scale(1); }
.ah-portfolio-archive .ah-portfolio-open:focus-visible .ah-portfolio-image { transform:translateY(-3px); }
@media (hover:hover) and (pointer:fine) { .ah-portfolio-archive .ah-portfolio-open:hover .ah-portfolio-image { transform:translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .ah-portfolio-archive .ah-portfolio-open::before,
  .ah-portfolio-archive .ah-portfolio-image { transition:none; }
  .ah-portfolio-archive .ah-portfolio-open:hover::before,
  .ah-portfolio-archive .ah-portfolio-open:focus-visible::before { transform:none; }
  .ah-portfolio-archive .ah-portfolio-open:hover .ah-portfolio-image,
  .ah-portfolio-archive .ah-portfolio-open:focus-visible .ah-portfolio-image { transform:none; }
}
body.ah-signal-paused .ah-portfolio-archive .ah-portfolio-open::before,
body.ah-signal-paused .ah-portfolio-archive .ah-portfolio-image { transition:none; }
body.ah-signal-paused .ah-portfolio-archive .ah-portfolio-open:hover::before,
body.ah-signal-paused .ah-portfolio-archive .ah-portfolio-open:focus-visible::before { transform:none; }
body.ah-signal-paused .ah-portfolio-archive .ah-portfolio-open:hover .ah-portfolio-image,
body.ah-signal-paused .ah-portfolio-archive .ah-portfolio-open:focus-visible .ah-portfolio-image { transform:none; }

/* Portfolio archive surveillance mood: extend the existing CCTV feed without changing artwork. */
html:has(body.ah-portfolio-surveillance-page) { overflow-x:clip; }
.ah-portfolio-archive .ah-portfolio-card :is(h2,h3),
.ah-portfolio-archive .ah-portfolio-card p { overflow-wrap:anywhere; }
.ah-portfolio-surveillance-page .ah-portfolio-feed-tag { display:flex; align-items:center; gap:8px; width:fit-content; max-width:100%; margin:12px 0 4px; color:var(--ah-danger,#9a7057); font:600 10px/1.5 var(--ah-mono,monospace); letter-spacing:.08em; overflow-wrap:anywhere; }
.ah-portfolio-surveillance-page .ah-portfolio-feed-tag::before { content:""; width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:var(--ah-danger,#9a7057); }
.ah-portfolio-surveillance-page .ah-portfolio-archive-content::before { background:radial-gradient(ellipse at 50% 38%, rgba(0,0,0,.6) 0, rgba(0,0,0,.38) 48%, transparent 82%); }
.ah-portfolio-surveillance-page .ah-portfolio-archive .ah-portfolio-open::before { background:radial-gradient(ellipse at 50% 48%, rgba(160,179,142,.2), rgba(135,145,111,.085) 42%, transparent 74%); }
.ah-portfolio-surveillance-page .ah-portfolio-archive .ah-portfolio-image { box-shadow:0 4px 10px rgba(0,0,0,.38), 0 24px 42px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); }
@media (max-width:767px) { .ah-portfolio-surveillance-page .ah-portfolio-feed-tag { margin-top:10px; } }
.ah-portfolio-surveillance-page .ah-portfolio-archive .ah-portfolio-open:hover .ah-portfolio-image,
.ah-portfolio-surveillance-page .ah-portfolio-archive .ah-portfolio-open:focus-visible .ah-portfolio-image { box-shadow:0 6px 14px rgba(0,0,0,.42), 0 28px 48px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.1); }
@media (prefers-reduced-motion:reduce) { .ah-portfolio-surveillance-page .ah-portfolio-archive .ah-portfolio-open:hover .ah-portfolio-image, .ah-portfolio-surveillance-page .ah-portfolio-archive .ah-portfolio-open:focus-visible .ah-portfolio-image { box-shadow:0 4px 10px rgba(0,0,0,.38), 0 24px 42px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); } }
body.ah-signal-paused.ah-portfolio-surveillance-page .ah-portfolio-archive .ah-portfolio-open:hover .ah-portfolio-image,
body.ah-signal-paused.ah-portfolio-surveillance-page .ah-portfolio-archive .ah-portfolio-open:focus-visible .ah-portfolio-image { box-shadow:0 4px 10px rgba(0,0,0,.38), 0 24px 42px rgba(0,0,0,.5), 0 0 30px rgba(135,145,111,.09), inset 0 1px 0 rgba(255,255,255,.08); }

/* Tactical Floating Pills for Portfolio Cards (Apple Frosted Glass) */
.ah-portfolio-card-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 14px !important;
}
.ah-portfolio-pill-btn {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--ah-text, inherit);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.ah-portfolio-pill-btn:active {
  transform: scale(0.97);
}
.ah-portfolio-pill-btn:focus-visible {
  outline: 2px solid var(--ah-action, #c9c9c6);
  outline-offset: 3px;
}
.ah-portfolio-pill-btn--primary,
.ah-portfolio-pill-btn--preview {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.ah-portfolio-pill-btn--primary:hover,
.ah-portfolio-pill-btn--preview:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.ah-portfolio-pill-btn--secondary,
.ah-portfolio-pill-btn--detail {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #a1a1aa !important;
  font-weight: 500 !important;
}
.ah-portfolio-pill-btn--secondary:hover,
.ah-portfolio-pill-btn--detail:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Apple Pure Minimalist Lightbox Modal */
.ah-portfolio-dialog {
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(10, 10, 12, 0.94) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  box-shadow: 0 32px 88px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.ah-portfolio-dialog-close {
  top: 14px !important;
  right: 14px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease !important;
}
.ah-portfolio-dialog-close:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: scale(1.06) !important;
}
.ah-portfolio-dialog-close:active {
  transform: scale(0.94) !important;
}

/* 2-Column Symmetric Tactical HUD Dossier (Detail Page) */
.ah-portfolio-detail {
  width: min(1140px, 100%);
  margin: clamp(32px, 5vw, 64px) auto 96px;
}
.ah-portfolio-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  margin-top: 24px;
}
.ah-portfolio-detail-visual {
  min-width: 0;
}
.ah-portfolio-detail-figure {
  margin: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #08090c;
  border: 1px solid rgba(229, 227, 218, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ah-portfolio-detail-figure:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ah-portfolio-detail-open {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  cursor: zoom-in;
  overflow: hidden;
  background: #08090c;
}
.ah-portfolio-detail-image {
  display: block;
  width: 100%;
  height: 100%;
  background: #08090c;
}
.ah-portfolio-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  background: #08090c;
}
.ah-portfolio-detail-lens-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 980px;
  background: rgba(13, 14, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
  pointer-events: none;
}
.ah-portfolio-detail-open:hover .ah-portfolio-detail-lens-badge {
  transform: translateY(-2px);
  background: rgba(13, 14, 18, 0.96);
  border-color: rgba(255, 255, 255, 0.32);
}
.ah-portfolio-hud-panel {
  border-radius: 20px;
  background: rgba(13, 14, 18, 0.96);
  border: 1px solid rgba(229, 227, 218, 0.14);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ah-portfolio-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ah-portfolio-hud-tag {
  font-family: var(--ah-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ah-soft, #a1a1aa);
}
.ah-portfolio-hud-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ah-mono, monospace);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tp-status-success, #7a9374);
  letter-spacing: 0.08em;
}
.ah-portfolio-hud-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ah-portfolio-hud-cell {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ah-portfolio-hud-label {
  font-size: 11px;
  font-weight: 500;
  color: #8e8d85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ah-portfolio-hud-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}
.ah-font-mono {
  font-family: var(--ah-mono, monospace);
}
.ah-portfolio-hud-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.ah-portfolio-hud-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #d1d1d6;
}
.ah-portfolio-hud-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.ah-portfolio-hud-actions .ah-portfolio-pill-btn {
  flex: 1 1 200px;
  min-height: 44px;
}

/* Mobile Responsive Optimization */
@media (max-width: 767px) {
  .ah-portfolio-card-actions {
    gap: 8px;
    margin-top: 12px;
  }
  .ah-portfolio-pill-btn {
    min-height: 44px;
    font-size: 13.5px;
    padding: 8px 12px;
  }
  .ah-portfolio-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .ah-portfolio-hud-matrix {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .ah-portfolio-hud-actions {
    flex-direction: column;
  }
  .ah-portfolio-hud-actions .ah-portfolio-pill-btn {
    flex: 0 1 auto;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-portfolio-pill-btn,
  .ah-portfolio-dialog-close,
  .ah-portfolio-detail-figure,
  .ah-portfolio-detail-lens-badge {
    transition: none !important;
  }
  .ah-portfolio-pill-btn:hover,
  .ah-portfolio-dialog-close:hover,
  .ah-portfolio-detail-open:hover .ah-portfolio-detail-lens-badge {
    transform: none !important;
  }
}

.ah-home :where(.ah-story, .ah-ticket-flow, .ah-merch, .ah-editorial) {
  width: min(1180px, 100%);
  margin-block: clamp(56px, 7vw, 88px);
}

.ah-home :where(.ah-eyebrow, .ah-story-visual figcaption, .ah-flow-image figcaption,
.ah-merch-image figcaption, .ah-merch-caption,
.ah-editorial-copy > span, .ah-editorial-compact span) {
  line-height: 1.5;
}

.ah-home .ah-all-events,
.ah-home .ah-filter-submit,
.ah-home .ah-hero-gallery .ah-home-hero-cta {
  min-height: 44px;
}

@media (max-width: 767px) {
  .ah-home .ah-title-row {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .ah-home .ah-title-row h2 {
    flex: 0 1 auto;
    min-width: 0;
  }

  .ah-home .ah-title-row .ah-count {
    flex: 0 0 auto;
    margin: 0;
  }

  .ah-home .ah-title-row .ah-all-events {
    margin: 2px 0 0 auto;
  }

  .ah-home :where(.ah-story, .ah-ticket-flow, .ah-merch, .ah-editorial) {
    margin-block: 52px;
  }
}

@media (max-width: 420px) {
  .ah-home .ah-hero-gallery-head,
  .ah-home .ah-hero-gallery-foot,
  .ah-home .ah-hero-slide figcaption {
    padding-inline: 14px;
  }

  .ah-home .ah-title-row h2 {
    font-size: clamp(23px, 6.1vw, 27px);
  }

  .ah-home .ah-all-events {
    padding-inline: 14px;
  }

  .ah-home .ah-merch-caption {
    justify-content: flex-start;
    column-gap: 14px;
    row-gap: 6px;
  }
}

/* Homepage event section: preserve the original featured + supporting card flow. */
.ah-home .ah-home-featured-event {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: 0;
  border-color: rgba(255, 255, 255, .18);
  /* Subtle surface grain inspired by the Requiem website; keep the original palette. */
  background-image: radial-gradient(ellipse at 0 0, rgba(255, 255, 255, .055), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 42%),
    linear-gradient(rgba(16, 17, 20, .97), rgba(16, 17, 20, .97)), var(--ah-grain);
  background-size: auto, auto, auto, 128px 128px;
  background-color: var(--ah-surface);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .5), 0 0 42px rgba(255, 255, 255, .035), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ah-home .ah-home-featured-event:hover,
.ah-home .ah-home-featured-event:active {
  transform: none;
}

.ah-home .ah-home-featured-event:hover {
  border-color: rgba(255, 255, 255, .34);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .52), 0 0 48px rgba(255, 255, 255, .055), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.ah-home .ah-home-featured-event:focus-within {
  border-color: rgba(255, 255, 255, .34);
}

.ah-home .ah-home-featured-poster {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  align-self: start;
  border: 0;
  border-radius: 0;
  background: var(--ah-surface);
  box-shadow: none;
}

.ah-home .ah-home-featured-poster::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(12, 8, 9, .46));
  content: "";
  pointer-events: none;
}

.ah-home .ah-home-featured-poster img {
  object-fit: cover;
  filter: saturate(.82) contrast(1.06);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .45s ease;
}

.ah-home .ah-home-featured-event:hover .ah-home-featured-poster img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.08);
}

.ah-home .ah-home-featured-poster:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.08);
}

.ah-home .ah-home-featured-copy {
  position: relative;
  isolation: isolate;
  min-width: 0;
  align-self: stretch;
  justify-content: flex-start;
  gap: 18px;
  padding: clamp(24px, 2.5vw, 40px);
  /* Light falloff guides eye top to CTA; grid and grain stay. */
  background-image: radial-gradient(ellipse at 0 0, rgba(255, 255, 255, .035), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 30%, transparent 70%, rgba(0, 0, 0, .25)),
    radial-gradient(ellipse at 0 35%, rgba(255, 255, 255, .065), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, auto, auto, 64px 64px, 64px 64px;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .12);
}

.ah-home .ah-home-featured-copy::before,
.ah-home .ah-home-featured-copy::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.ah-home .ah-home-featured-copy::before {
  inset: 12px;
  background: linear-gradient(var(--ah-soft), var(--ah-soft)) left top / 16px 1px,
    linear-gradient(var(--ah-soft), var(--ah-soft)) left top / 1px 16px,
    linear-gradient(var(--ah-soft), var(--ah-soft)) right bottom / 16px 1px,
    linear-gradient(var(--ah-soft), var(--ah-soft)) right bottom / 1px 16px;
  background-repeat: no-repeat;
  opacity: .35;
}

.ah-home .ah-home-featured-copy::after {
  inset: 0;
  background: var(--ah-grain) repeat;
  background-size: 128px 128px;
  opacity: .055;
}

.ah-home .ah-home-featured-heading {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px 24px;
  width: 100%;
}

.ah-home .ah-home-featured-copy h3 {
  flex: 1 1 260px;
  max-width: none;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 3px 28px rgba(255, 255, 255, .055);
}

.ah-home .ah-home-featured-title-main,
.ah-home .ah-home-featured-title-sub {
  display: block;
}

.ah-home .ah-home-featured-title-sub {
  margin-top: 6px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ah-home .ah-home-featured-copy .ah-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-family: var(--ah-text);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ah-home .ah-home-featured-copy .ah-eyebrow::before,
.ah-home .ah-home-featured-copy .ah-eyebrow::after {
  content: none;
}

.ah-home .ah-home-featured-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: var(--ah-radius-badge);
  font-weight: 600;
  background: var(--ah-surface);
}

.ah-home .ah-home-featured-status::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ah-home .ah-home-featured-status.is-ongoing {
  border-color: rgba(154, 112, 87, .52);
  background: rgba(154, 112, 87, .12);
  color: #c28d70;
}

.ah-home .ah-home-featured-status.is-upcoming {
  --ah-status-upcoming: var(--ah-action);
  color: var(--ah-status-upcoming);
}

.ah-home .ah-home-featured-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.ah-home .ah-home-featured-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--ah-radius-control);
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), transparent), var(--ah-surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.ah-home .ah-home-featured-range {
  grid-column: 1 / -1;
}

.ah-home .ah-home-featured-place {
  grid-column: 1;
}

.ah-home .ah-home-featured-ticket {
  grid-column: 2;
}

@media (max-width: 560px) {
  .ah-home .ah-home-featured-place,
  .ah-home .ah-home-featured-ticket {
    grid-column: 1 / -1;
  }
}

/* Date range at H3 scale: one line, start - end. */
.ah-home .ah-home-featured-range dd {
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.ah-home .ah-home-featured-range .ah-home-featured-date {
  display: inline;
  font-weight: 600;
}

.ah-home .ah-home-featured-sep {
  margin: 0 8px;
  color: var(--ah-muted);
  font-weight: 400;
}

.ah-home .ah-home-featured-range .ah-home-featured-timezone {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
}

/* Requiem-inspired lineup strip: hairline rules, no pills, fills right-column void. */
.ah-home .ah-home-featured-lineup {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  width: 100%;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: var(--ah-soft);
  font-size: 16px;
  line-height: 1.6;
}

.ah-home .ah-home-featured-lineup span + span::before,
.ah-home .ah-home-featured-lineup a + span::before,
.ah-home .ah-home-featured-lineup span + a::before,
.ah-home .ah-home-featured-lineup a + a::before {
  content: "/ ";
  color: var(--ah-muted);
  opacity: .7;
}

.ah-home .ah-home-featured-lineup a {
  color: inherit;
  text-underline-offset: 3px;
}

/* Requiem-inspired ghost year: huge outline date, fills empty corner. */
.ah-home .ah-home-featured-ghost {
  position: absolute;
  right: 16px;
  bottom: 88px;
  z-index: 0;
  margin: 0;
  color: transparent;
  font-family: var(--ah-display);
  font-size: clamp(88px, 9vw, 148px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .24);
  opacity: .9;
  pointer-events: none;
  user-select: none;
}

/* Dossier file line: functional record ID in Requiem case-file voice. */
.ah-home .ah-home-featured-file {
  width: 100%;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: var(--ah-muted);
  font-family: var(--ah-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.ah-home .ah-home-featured-copy > .ah-button {
  position: relative;
  z-index: 1;
}

/* PC depth: poster floats over copy edge, date row leads. */
@media (min-width: 900px) {
  .ah-home .ah-home-featured-poster {
    position: relative;
    z-index: 1;
    margin-right: -28px;
    box-shadow: 24px 24px 60px rgba(0, 0, 0, .5);
  }

  .ah-home .ah-home-featured-copy {
    padding-left: calc(clamp(24px, 2.5vw, 40px) + 28px);
  }

  .ah-home .ah-home-featured-facts > .ah-home-featured-range {
    border-color: rgba(255, 255, 255, .2);
    background: linear-gradient(135deg, rgba(255, 255, 255, .07), transparent), var(--ah-surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .ah-home .ah-home-featured-ghost {
    display: none;
  }
}

.ah-home .ah-home-featured-facts dt {
  color: var(--ah-soft);
  font-family: var(--ah-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ah-home .ah-home-featured-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--ah-paper);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ah-home .ah-home-featured-facts .ah-home-featured-address {
  display: block;
  margin-top: 4px;
  color: var(--ah-soft);
  font-size: 16px;
}

.ah-home .ah-home-featured-date {
  display: block;
  font-weight: 600;
}

.ah-home .ah-home-featured-clock {
  display: block;
  color: var(--ah-soft);
  font-size: 14px;
}

.ah-home .ah-home-featured-facts .ah-home-featured-ticket dd {
  color: var(--ah-soft);
  font-size: 16px;
}

.ah-home .ah-home-featured-ticket a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 3px;
}

.ah-home .ah-home-featured-timezone {
  display: block;
  margin-top: 4px;
  color: var(--ah-soft);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.ah-home .ah-home-featured-copy > .ah-button {
  width: 100%;
  min-height: 48px;
  max-width: 100%;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 16px;
  white-space: normal;
  text-align: left;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease-out;
}

.ah-home .ah-home-featured-copy > .ah-button:hover {
  transform: none;
}

.ah-home .ah-home-featured-copy > .ah-button:active {
  transform: scale(.98);
}

.ah-home .ah-home-featured-poster:focus-visible,
.ah-home .ah-home-event-poster:focus-visible {
  outline: 3px solid var(--ah-paper);
  outline-offset: -4px;
}

.ah-home .ah-home-event-grid {
  gap: 16px;
  margin-top: 18px;
}

.ah-home .ah-home-event-card {
  overflow: hidden;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 18px;
  background-image: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 48%),
    linear-gradient(rgba(16, 17, 20, .98), rgba(16, 17, 20, .98)), var(--ah-grain);
  background-size: auto, auto, 128px 128px;
  background-color: var(--ah-surface);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ah-home .ah-home-event-card:hover,
.ah-home .ah-home-event-card:active {
  transform: none;
}

.ah-home .ah-home-event-card:hover {
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.ah-home .ah-home-event-card:focus-within {
  border-color: rgba(255, 255, 255, .42);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 12px 28px rgba(0, 0, 0, .34);
}

.ah-home .ah-home-event-poster {
  display: grid;
  place-items: center;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: 0;
  background: var(--ah-surface);
}

.ah-home .ah-home-event-poster img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: none;
  transition: none;
}

.ah-home .ah-home-event-card:hover .ah-home-event-poster img {
  transform: none;
  filter: none;
}

.ah-home .ah-home-event-copy {
  gap: 0;
  padding: 16px 18px 18px;
}

.ah-home .ah-home-event-meta {
  justify-content: flex-start;
  margin-bottom: 8px;
}

.ah-home .ah-home-event-meta span {
  padding: 2px 8px;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .07);
  font-size: 10px;
}

.ah-home .ah-home-event-meta .ah-home-event-next {
  background: rgba(255, 255, 255, .14);
}

.ah-home .ah-home-event-copy h3 {
  margin-bottom: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.25;
  text-wrap: balance;
}

.ah-home .ah-home-event-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 12px 0 0;
  padding-top: 4px;
  border-top: 3px double rgba(255, 255, 255, .09);
}

.ah-home .ah-home-event-facts > div {
  display: grid;
  grid-template-columns: minmax(78px, .34fr) minmax(0, 1fr);
  align-content: start;
  gap: 4px 9px;
  min-width: 0;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.ah-home .ah-home-event-facts dt {
  color: var(--ah-soft);
  font-size: 10px;
  line-height: 1.45;
}

.ah-home .ah-home-event-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--ah-paper);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ah-home .ah-home-event-status {
  display: block;
  margin-top: 4px;
  color: var(--ah-soft);
  font-size: 11px;
  line-height: 1.5;
}

.ah-home .ah-home-event-facts .ah-home-event-place dd:nth-of-type(2) {
  color: var(--ah-soft);
  font-size: 11px;
}

.ah-home .ah-home-event-card h3 a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--ah-paper);
  outline-offset: 3px;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .ah-home .ah-home-featured-copy {
    gap: 8px;
    padding: 16px;
  }

  .ah-home .ah-home-featured-copy h3 {
    font-size: clamp(34px, 6vw, 48px);
  }

  .ah-home .ah-home-featured-facts {
    gap: 8px;
  }

  .ah-home .ah-home-featured-facts > div {
    padding: 8px 12px;
  }
}

@media (max-width: 899px) {
  .ah-home .ah-home-featured-event {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-home .ah-home-featured-copy {
    width: 100%;
    padding: 24px clamp(20px, 4vw, 32px) 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  }
}

@media (max-width: 767px) {
  .ah-home .ah-home-featured-copy {
    padding: 24px 20px;
  }

  .ah-home .ah-home-featured-copy h3 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .ah-home .ah-home-featured-heading {
    flex-direction: column;
  }

  .ah-home .ah-home-featured-copy h3 {
    flex-basis: auto;
  }

  .ah-home .ah-home-featured-facts > div {
    padding: 16px;
  }

  .ah-home .ah-home-event-grid {
    gap: 14px;
  }

}

@media (max-width: 479px) {
  .ah-home .ah-home-featured-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-home .ah-home-featured-event,
  .ah-home .ah-home-featured-poster img,
  .ah-home .ah-home-featured-copy > .ah-button,
  .ah-home .ah-home-event-card,
  .ah-home .ah-home-event-poster img {
    transition: none;
    transform: none;
  }
}

/* Customer font scale: large-readable (base 18px, Thai-friendly leading). */
body.ah-body {
  font-size: 18px;
  line-height: 1.7;
}

.ah-wordmark,
.ah-wordmark span {
  font-size: 21px;
}

.ah-nav a,
.ah-account a,
.ah-account button {
  font-size: 16px;
}

.ah-button {
  font-size: 16px;
}

.ah-hero-lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.ah-hero-meta {
  font-size: 15px;
}

.ah-event-dialog .ah-detail-lede,
.ah-detail-lede {
  font-size: 17px;
  line-height: 1.75;
}

.ah-event-facts dd {
  font-size: 17px;
  line-height: 1.7;
}

.ah-event-facts dt {
  font-size: 14px;
}

.ah-event-dialog .ah-event-facts > div {
  font-size: 16px;
}

.ah-event-dialog .ah-lineup,
.ah-lineup {
  font-size: 16px;
}

.ah-main p,
.ah-main li,
.ah-main dd {
  line-height: 1.7;
}

/* Dossier excerpt + countdown stamp + map link (Requiem case-file voice). */
.ah-home .ah-home-featured-lede {
  display: -webkit-box;
  width: 100%;
  max-width: 46ch;
  margin: 0;
  overflow: hidden;
  color: var(--ah-soft);
  font-size: 16px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ah-home .ah-home-featured-count {
  color: var(--ah-soft);
  font-family: var(--ah-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Foot cluster: lineup and file share one row on PC, stack on mobile. */
.ah-home .ah-home-featured-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ah-home .ah-home-featured-foot .ah-home-featured-lineup {
  flex: 1 1 auto;
  width: auto;
  padding: 0;
  border: 0;
}

.ah-home .ah-home-featured-foot .ah-home-featured-file {
  flex: 0 0 auto;
  width: auto;
  padding: 0;
  border: 0;
}

@media (max-width: 560px) {
  .ah-home .ah-home-featured-foot {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Events section air: room between head, filters, featured, grid. */
.ah-home .ah-section-head {
  margin-bottom: clamp(28px, 4vw, 52px);
}

.ah-home .ah-filters {
  margin-top: 0;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.ah-home .ah-home-featured-event {
  margin-top: 0;
}

/* Homepage proportion pass: keep existing sections and content, refine rhythm. */
.ah-home {
  --ah-home-border: rgba(224, 230, 216, .12);
  --ah-home-highlight: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.ah-home .ah-hero {
  min-height: clamp(440px, 42vw, 580px);
  border-radius: 24px;
}

.ah-home .ah-hero-copy {
  width: min(600px, 56%);
}

.ah-home .ah-hero h1 {
  font-size: clamp(64px, 8vw, 112px);
}

.ah-home .ah-hero-lede {
  max-width: 34ch;
  margin-bottom: 12px;
}

.ah-home .ah-hero-support {
  max-width: 42ch;
  margin: 0 0 20px;
  color: rgba(227, 230, 229, .78);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.7;
}

.ah-home .ah-events {
  padding-block: clamp(56px, 6vw, 80px);
}

.ah-home .ah-section-head {
  margin-bottom: 24px;
}

.ah-home .ah-filters {
  margin-bottom: clamp(22px, 3vw, 32px);
  padding: 12px;
  gap: 12px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.ah-home .ah-all-events {
  min-height: 44px;
}

.ah-home .ah-home-featured-event {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  border-radius: 20px;
}

.ah-home .ah-home-featured-event:hover,
.ah-home .ah-home-event-card:hover {
  transform: none;
}

.ah-home .ah-home-event-card {
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.ah-home .ah-dispatch {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
}

.ah-home .ah-news-item:hover {
  padding-left: 0;
}

.ah-home .ah-all-events,
.ah-home .ah-filter-submit,
.ah-home .ah-articles-link {
  min-height: 44px;
}

@media (max-width: 767px) {
  .ah-home .ah-hero-copy {
    width: 100%;
  }

  .ah-home .ah-home-featured-event {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-home .ah-dispatch {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ah-home .ah-home-event-grid {
  gap: 24px;
  margin-top: 28px;
}

/* Customer-wide Apple-inspired flat finish; keep the existing dark brand and layout. */
.ah-body {
  --ah-line: rgba(255, 255, 255, .12);
  --ah-control-border: rgba(255, 255, 255, .18);
  --ah-surface: #151518;
  --ah-panel: #1c1c1f;
  --ah-radius-panel: 20px;
  --ah-radius-card: 16px;
  --ah-radius-control: 10px;
  --ah-shadow-raised: none;
  font-size: 17px;
  line-height: 1.6;
}

.ah-header {
  background: #0a0a0c;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ah-nav a,
.ah-account a,
.ah-account button,
.ah-mobile-nav summary,
.ah-footer > a:last-child {
  min-height: 44px;
}

.ah-footer > a:last-child {
  display: inline-flex;
  align-items: center;
}

.ah-main :is(h1, h2, h3) {
  font-weight: 600;
  letter-spacing: -.025em;
}

.ah-button,
.ah-button-bright,
.ah-filter-submit,
.ah-article-cta,
.ah-artist-event-link,
.ah-btn-tactile {
  min-height: 44px;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .12s ease-out;
}

.ah-button:hover:not(:disabled),
.ah-button-bright:hover:not(:disabled),
.ah-filter-submit:hover:not(:disabled),
.ah-article-cta:hover,
.ah-artist-event-link:hover,
.ah-wallet:hover,
.ah-hamburger-btn:hover {
  box-shadow: none;
  transform: none;
}

.ah-event-card,
.ah-home .ah-home-featured-event,
.ah-home .ah-home-event-card,
.ah-article-card:not(.is-featured),
.ah-artist-card,
.ah-owned-ticket,
.ah-ticket-pass,
.ah-summary,
.ah-empty,
.ah-detail,
.ah-verify-card,
.ah-artist-poster-frame,
.ah-artist-portrait,
.ah-article-hero,
.ah-detail-page .ah-event-gallery-grid figure,
.ah-profile-card,
.ah-sec-panel,
.ah-ticket-option,
.ah-filters,
.ah-account-drawer,
.ah-mobile-nav nav,
.ah-event-dialog {
  background: var(--ah-surface);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ah-event-card,
.ah-home .ah-home-featured-event,
.ah-home .ah-home-event-card,
.ah-article-card:not(.is-featured),
.ah-artist-card,
.ah-owned-ticket,
.ah-ticket-pass,
.ah-summary,
.ah-empty,
.ah-detail,
.ah-verify-card,
.ah-artist-poster-frame,
.ah-artist-portrait,
.ah-article-hero,
.ah-detail-page .ah-event-gallery-grid figure,
.ah-profile-card,
.ah-sec-panel,
.ah-ticket-option,
.ah-filters {
  border-color: var(--ah-line);
}

.ah-event-card:hover,
.ah-home .ah-home-featured-event:hover,
.ah-home .ah-home-event-card:hover,
.ah-article-card:not(.is-featured):hover,
.ah-artist-card:hover,
.ah-owned-ticket:hover,
.ah-detail-page .ah-event-gallery-grid figure:hover {
  transform: none;
  border-color: var(--ah-control-border);
  box-shadow: none;
}

.ah-filters,
.ah-empty,
.ah-home .ah-home-featured-event,
.ah-home .ah-home-featured-copy,
.ah-home .ah-home-event-card,
.ah-detail,
.ah-ticket-option,
.ah-order-total,
.ah-summary,
.ah-verify-card,
.ah-verify-hint,
.ah-profile-card,
.ah-sec-panel,
.ah-event-dialog,
.ah-account-drawer,
.ah-mobile-nav nav,
.ah-message {
  background-image: none;
  box-shadow: none;
}

.ah-main .ah-detail-page .ah-event-lineup,
.ah-main .ah-checkout .ah-order-total,
.ah-main .ah-checkout .ah-summary-total {
  border-color: var(--ah-line);
  border-radius: var(--ah-radius-control);
  background: var(--ah-panel);
  background-image: none;
  box-shadow: none;
}

.ah-main .ah-checkout .ah-ticket-option {
  background: var(--ah-panel);
  background-image: none;
}

.ah-home .ah-home-featured-copy::before,
.ah-home .ah-home-featured-copy::after {
  display: none;
}

.ah-auth:not(.ah-login),
.ah-auth-apple,
.ah-article-card.is-featured {
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ah-ticket-pass {
  border-color: rgba(0, 0, 0, .12);
  background: var(--ah-paper);
  color: #000;
}

.ah-ticket-qr,
.ah-profile-avatar {
  box-shadow: none;
}

.ah-profile-avatar,
.mp-section-icon {
  background: #202125;
}

.ah-profile-dock-btn:hover,
.ah-settings-item:hover,
.ah-profile-card:hover {
  transform: none;
  box-shadow: none;
}

.mp-section,
.mp-section-head {
  background: var(--ah-surface);
  background-image: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.mp-section::before {
  display: none;
}

.mp-section:focus-within {
  box-shadow: none;
  border-color: var(--ah-control-border);
}

.ah-account-drawer,
.ah-mobile-nav nav,
.ah-event-dialog {
  border: 1px solid var(--ah-line);
}

.ah-filters,
.ah-empty,
.ah-event-card,
.ah-article-card:not(.is-featured),
.ah-artist-card,
.ah-detail,
.ah-summary,
.ah-ticket-option,
.ah-verify-card,
.ah-profile-card,
.ah-sec-panel {
  border-radius: var(--ah-radius-card);
}

.ah-search-control,
.ah-filter-category select,
.ah-form input,
.ah-form select,
.ah-form textarea,
.ah-password-control input,
.ah-category select,
.ah-login .ah-form input,
.ah-auth-apple input {
  border-color: var(--ah-control-border);
  border-radius: var(--ah-radius-control);
  background: #141519;
  box-shadow: none;
}

.ah-search-control:focus-within,
.ah-filter-category select:focus,
.ah-form input:focus,
.ah-form select:focus,
.ah-form textarea:focus,
.ah-password-control input:focus,
.ah-category select:focus,
.ah-login .ah-form input:focus,
.ah-auth-apple input:focus {
  border-color: var(--ah-action);
  outline: 2px solid rgba(201, 201, 198, .38);
  outline-offset: 2px;
  box-shadow: none;
}

.ah-body :focus-visible { outline-color: var(--ah-action); }

.ah-main :is(.ah-auth-switch a, .ah-text-link) { color: var(--ah-action); }
.ah-main :is(.ah-auth-switch a, .ah-text-link):hover { color: var(--ah-action-hover); }

.ah-main :is(.ah-article-cta, .ah-artist-event-link) {
  border-color: var(--ah-action-fill);
  background: var(--ah-action-fill);
  color: var(--ah-action-ink);
}

.ah-main :is(.ah-article-cta, .ah-artist-event-link):hover,
.ah-main :is(.ah-article-cta, .ah-artist-event-link):focus-visible {
  border-color: var(--ah-action-fill-hover);
  background: var(--ah-action-fill-hover);
  color: var(--ah-action-ink);
}

.ah-profile-card-glow,
.ah-verify-card::before {
  display: none;
}

.ah-message {
  background: #17181b;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ah-message.success .ah-message-dot,
.ah-message.error .ah-message-dot,
.ah-message.warning .ah-message-dot,
.ah-message.info .ah-message-dot,
.ah-live-dot {
  box-shadow: none;
}

@media (max-width: 767px) {
  .ah-header {
    height: 58px;
  }

  .ah-main :is(h1, h2, h3) {
    text-wrap: pretty;
  }
}

/* Customer surfaces: crisp one-pixel edges without changing the existing cards. */
.ah-main .ah-home-featured-event,
.ah-main .ah-home-event-card,
.ah-main .ah-event-index .ah-event-card,
.ah-main .ah-article-card:not(.is-featured),
.ah-main .ah-artist-card,
.ah-main .ah-ticket-option,
.ah-main .ah-detail,
.ah-main .ah-summary,
.ah-main .ah-owned-ticket {
  border: 1px solid rgba(245, 245, 247, .14);
}

.ah-home .ah-home-featured-poster {
  isolation: isolate;
}

.ah-home .ah-home-featured-poster img {
  z-index: 0;
}

.ah-home .ah-cctv-noise {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  background-image: var(--ah-grain), repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(222, 235, 237, .07) 3px 4px
  );
  background-size: 128px 128px, 100% 4px;
  opacity: .11;
  mix-blend-mode: screen;
  pointer-events: none;
}

.ah-home .ah-cctv-osd {
  position: relative;
  align-self: flex-end;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 4px;
  background: rgba(8, 10, 11, .74);
  color: rgba(246, 248, 248, .92);
  font-family: var(--ah-mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  line-height: 1;
  text-shadow: 0 1px 4px #000;
  pointer-events: none;
}

.ah-home .ah-cctv-rec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c28d70;
}

.ah-home .ah-cctv-rec::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c28d70;
  content: "";
}

.ah-home .ah-cctv-timecode {
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}

/* Homepage events: Zipevent-style discovery cues within the existing UG layout. */
.ah-home .ah-events {
  scroll-margin-top: 76px;
}

.ah-home .ah-home-featured-event {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ah-home .ah-home-featured-poster {
  margin-right: 0;
  border-radius: 16px 0 0 16px;
  box-shadow: none;
}

.ah-home .ah-home-featured-copy {
  padding-left: clamp(24px, 2.5vw, 40px);
}

.ah-home .ah-home-event-card {
  border-radius: 16px;
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ah-home .ah-home-event-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  margin: 5px 0 0;
  padding: 2px 9px;
  border: 1px solid rgba(167, 154, 130, .25);
  border-radius: 999px;
  background: rgba(167, 154, 130, .08);
  color: var(--ah-soft);
  font-size: 11px;
  line-height: 1.3;
}

.ah-home .ah-home-event-status.is-ongoing {
  border-color: rgba(135, 145, 111, .3);
  background: rgba(135, 145, 111, .1);
  color: #aeb795;
}

@media (min-width: 900px) {
  .ah-home .ah-events .ah-filters {
    position: sticky;
    top: 72px;
    z-index: 20;
    border-radius: 16px;
    background: #111214;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ah-home .ah-home-featured-event:hover,
  .ah-home .ah-home-event-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .28);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  }

  .ah-home .ah-home-featured-poster img,
  .ah-home .ah-home-event-poster img {
    transition: transform .24s ease;
  }

  .ah-home .ah-home-featured-event:hover .ah-home-featured-poster img,
  .ah-home .ah-home-event-card:hover .ah-home-event-poster img {
    transform: scale(1.015);
  }
}

@media (max-width: 899px) {
  .ah-home .ah-home-featured-event {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-home .ah-home-featured-poster {
    border-radius: 16px 16px 0 0;
  }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .ah-home .ah-home-featured-event,
  .ah-home .ah-home-featured-event:hover,
  .ah-home .ah-home-event-card,
  .ah-home .ah-home-event-card:hover,
  .ah-home .ah-home-featured-poster img,
  .ah-home .ah-home-event-poster img {
    transform: none;
    transition: none;
  }
}

/* Image-led homepage hero; native scrolling also works without JavaScript. */
.ah-home .ah-hero-gallery {
  display: block;
  min-height: 0;
  background: #111214;
  box-shadow: none;
}

.ah-home .ah-hero-gallery .ah-hero-copy {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
}

.ah-hero-gallery-head,
.ah-hero-gallery-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.ah-home .ah-hero-gallery .ah-hero-overline {
  position: static;
  margin: 0;
  font-size: 11px;
}

.ah-home .ah-live-dot {
  background: #c28d70;
  box-shadow: none;
}

.ah-hero-intro { min-width: 0; }
.ah-home .ah-hero-support {
  max-width: 58ch;
  margin: 5px 0 0 15px;
  color: rgba(245, 245, 247, .64);
  font-size: 13px;
  line-height: 1.55;
}

.ah-hero-gallery-head > span {
  color: var(--ah-muted);
  font: 10px/1.4 var(--ah-mono);
  letter-spacing: .08em;
}

.ah-hero-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ah-hero-track::-webkit-scrollbar { display: none; }
.ah-hero-track:focus-visible { outline: 2px solid var(--ah-action); outline-offset: -2px; }

.ah-hero-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.ah-hero-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 421;
  object-fit: contain;
  background: #0a0a0c;
}

.ah-hero-slide figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
}

.ah-hero-slide figcaption > span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.ah-hero-slide figcaption > small {
  color: var(--ah-muted);
  font-size: 12px;
}

.ah-hero-gallery-foot { border-top: 1px solid var(--ah-line); }
.ah-home .ah-hero-gallery .ah-home-hero-cta { margin: 0; min-height: 44px; }
.ah-hero-controls { display: flex; align-items: center; gap: 8px; }
.ah-hero-controls[hidden] { display: none; }
.ah-hero-channel { display: grid; gap: 3px; text-align: left; }
.ah-hero-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ah-line);
  border-radius: 50%;
  background: transparent;
  color: var(--ah-paper);
  font: 28px/1 var(--ah-text);
  cursor: pointer;
}

.ah-hero-arrow:hover { background: rgba(255, 255, 255, .08); }
.ah-hero-dots { display: flex; align-items: center; gap: 6px; }
.ah-hero-dots button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: transparent;
  color: rgba(245, 245, 247, .58);
  font: 11px/1 var(--ah-mono);
  cursor: pointer;
}

.ah-hero-channel > span:first-child {
  color: var(--ah-muted);
  font-size: 9px;
}

.ah-hero-dots button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .07);
  color: #f5f5f7;
}
.ah-hero-controls button:focus-visible { outline: 2px solid var(--ah-action); outline-offset: 2px; }
.ah-hero-slide { position: relative; overflow: hidden; }
.ah-hero-slide figcaption { position: relative; z-index: 1; }
.ah-home .ah-hero-cctv-slide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: contrast(1.08) brightness(.84) saturate(.78);
}
.ah-home .ah-hero-cctv-slide .ah-cctv-noise {
  inset: 0 0 48px;
  opacity: .18;
}
.ah-home .ah-hero-slide .ah-cctv-osd {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  margin: 0;
}
.ah-hero-slide::after {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(245, 245, 247, .12), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .ah-hero-slide.is-sweeping::after { animation: ah-channel-sweep 1.25s ease-out both; }
}

@keyframes ah-channel-sweep {
  from { transform: translateY(-110%); opacity: 0; }
  18% { opacity: .5; }
  to { transform: translateY(560%); opacity: 0; }
}

@media (max-width: 767px) {
  .ah-hero-gallery-head,
  .ah-hero-gallery-foot,
  .ah-hero-slide figcaption { padding: 12px 16px; }
  .ah-hero-gallery-head > span { display: none; }
  .ah-home .ah-hero-support { max-width: 40ch; font-size: 12px; }
  .ah-hero-slide figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ah-hero-gallery-foot { flex-wrap: wrap; }
  .ah-hero-controls { width: 100%; }
  .ah-hero-dots { width: 100%; }
  .ah-hero-dots button { flex: 1; min-width: 0; justify-content: center; gap: 5px; padding-inline: 5px; }
}

/* One quiet visual system across customer pages; keep each page's existing structure. */
.ah-main > :is(.ah-home, .ah-events, .ah-event-index, .ah-detail-page,
.ah-articles-page, .ah-article-detail, .ah-artists-page, .ah-artist-detail,
.ah-checkout, .ah-ticket-page, .ah-customer-page, .ah-login-layout, .ah-section) {
  min-width: 0;
}

.ah-main :is(.ah-event-card, .ah-article-card, .ah-artist-card,
.ah-home-featured-event, .ah-home-event-card, .ah-owned-ticket, .ah-summary,
.ah-detail, .ah-ticket-option, .ah-empty, .ah-verify-card, .ah-profile-card,
.ah-sec-panel, .mp-section) {
  border-color: var(--ah-line);
  border-radius: var(--ah-radius-card);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ah-main :is(.ah-event-card, .ah-article-card, .ah-artist-card,
.ah-home-featured-event, .ah-home-event-card, .ah-owned-ticket):is(:hover, :active) {
  transform: none;
  box-shadow: none;
}

.ah-main .ah-event-index .ah-filter-submit {
  border-color: var(--ah-action-fill);
  background: var(--ah-action-fill);
  color: var(--ah-action-ink);
}

.ah-main .ah-event-index .ah-filter-submit:hover:not(:disabled) {
  border-color: var(--ah-action-fill-hover);
  background: var(--ah-action-fill-hover);
  color: var(--ah-action-ink);
}

.ah-main .ah-event-index .ah-event-card:focus-within,
.ah-main .ah-detail-page .ah-ticket-option:focus-within {
  border-color: var(--ah-action);
}

.ah-main .ah-article-card.is-featured {
  border-color: var(--ah-line);
  background: var(--ah-surface);
  color: var(--ah-paper);
}

.ah-main .ah-article-card.is-featured :is(h2 a, .ah-article-cta) {
  color: var(--ah-paper);
}

.ah-main .ah-article-card.is-featured .ah-eyebrow,
.ah-main .ah-article-card.is-featured > .ah-article-copy > p:not(.ah-eyebrow) {
  color: var(--ah-soft);
}

.ah-main :is(.ah-article-card, .ah-artist-card, .ah-event-card,
.ah-home-event-card, .ah-home-featured-event, .ah-ticket-option,
.ah-summary, .ah-owned-ticket, .ah-sec-panel, .mp-section) {
  min-width: 0;
}

.ah-main :is(.ah-home-featured-copy, .ah-article-copy, .ah-artist-copy,
.ah-detail-copy, .ah-ticket-copy, .ah-customer-page, .ah-auth,
.ah-checkout, .ah-ticket-page) {
  overflow-wrap: anywhere;
}

.ah-main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  max-width: 100%;
  min-height: 44px;
  font-size: max(16px, 1em);
}

.ah-main textarea { min-height: 120px; }

.ah-main :is(.ah-button, .ah-btn-tactile, .ah-filter-submit, .ah-article-cta,
.ah-pagination a, .ah-profile-dock-btn, .ah-settings-item) {
  min-height: 44px;
}

.ah-main .ah-home .ah-events .ah-filters {
  position: static;
  z-index: auto;
}

@media (max-width: 899px) {
  .ah-main .ah-articles-page .ah-article-card.is-featured {
    flex-direction: column;
  }

  .ah-main .ah-articles-page .ah-article-card.is-featured .ah-article-card-cover {
    width: 100%;
    flex: 0 0 auto;
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  .ah-main { padding-inline: 16px; }

  .ah-main :is(.ah-article-list, .ah-artists-grid, .ah-event-grid) {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-main :is(.ah-article-card, .ah-artist-card, .ah-home-event-card) {
    border-radius: 14px;
  }

  .ah-main .ah-article-copy { padding: 18px; }

  .ah-main .ah-article-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ah-main .ah-article-footer .ah-button { justify-content: center; }

  .ah-main .ah-event-index .ah-filters,
  .ah-main .ah-home .ah-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-main .ah-security-view .ah-sec-panel { padding: 20px 16px !important; }

  .ah-main .ah-security-view .ah-sec-panel form > div[style*="display: flex"] {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .ah-main .ah-security-view .ah-sec-panel form > div[style*="display: flex"] > * {
    flex: 1 1 160px;
  }

  .ah-main .mp-page { padding-inline: 0; }
  .ah-main .mp-header { align-items: flex-start; flex-direction: column; }
  .ah-main .mp-header-actions { width: 100%; }
}

@media (max-width: 420px) {
  .ah-main { padding-inline: 14px; }

  .ah-main :is(.ah-button, .ah-btn-tactile, .ah-filter-submit,
  .ah-article-cta, .ah-pagination a) {
    max-width: 100%;
    white-space: normal;
  }

  .ah-main .ah-article-card-cover {
    width: 112px;
    flex-basis: 112px;
  }

  .ah-main .ah-article-list .ah-article-card:not(.is-featured) {
    gap: 14px;
  }
}

/* Silent Recovery: archive language only on the homepage and published articles. */
.ah-body.ah-archive-theme {
  background-image: radial-gradient(ellipse 76% 34% at 50% 0%, rgba(255, 255, 255, .025), transparent 70%);
  background-color: #0a0a0c;
}

.ah-archive-theme {
  --ah-archive-signal: #c9756b;
}

.ah-home .ah-editorial {
  margin-block: clamp(72px, 9vw, 112px);
  padding-top: clamp(30px, 5vw, 58px);
}

.ah-home .ah-editorial-heading h2 {
  letter-spacing: -.035em;
}

.ah-home .ah-archive-manifesto {
  margin: 8px 0 0;
  color: var(--ah-soft);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
}

.ah-home .ah-editorial .ah-mock-pill {
  min-height: 36px;
  border-radius: var(--ah-radius-control);
  color: var(--ah-archive-signal);
  letter-spacing: .07em;
}

.ah-home .ah-editorial-feature,
.ah-home .ah-editorial-compact {
  border-radius: var(--ah-radius-card);
  border-color: rgba(255, 255, 255, .1);
  background: #141518;
  box-shadow: none;
}

.ah-home .ah-editorial-cover img,
.ah-home .ah-editorial-compact img {
  filter: saturate(.78) brightness(.9);
}

.ah-home .ah-editorial-copy .ah-eyebrow,
.ah-home .ah-editorial-compact .ah-eyebrow {
  color: var(--ah-archive-signal);
  font-size: 11px;
  letter-spacing: .015em;
}

.ah-home .ah-editorial-copy > p:not(.ah-eyebrow),
.ah-home .ah-editorial-compact h3 {
  line-height: 1.7;
}

.ah-home .ah-editorial-copy > span,
.ah-home .ah-editorial-compact span {
  font-size: 12px;
  letter-spacing: 0;
}

.ah-home .ah-editorial-side > .ah-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ah-paper);
  text-underline-offset: 5px;
  transition: color .16s ease;
}

.ah-home .ah-editorial-side > .ah-text-link:hover,
.ah-home .ah-editorial-side > .ah-text-link:focus-visible {
  color: var(--ah-archive-signal);
}

.ah-home .ah-dispatch {
  padding-top: clamp(36px, 5vw, 60px);
}

.ah-home .ah-news-item {
  min-height: 112px;
  border-color: rgba(255, 255, 255, .1);
  border-style: solid;
}

.ah-home .ah-news-item p {
  color: var(--ah-soft);
  font-size: 12px;
}

.ah-home .ah-news-item > span {
  color: var(--ah-archive-signal);
}

.ah-home .ah-news-item a,
.ah-home .ah-articles-link {
  min-height: 44px;
}

.ah-home .ah-news-item h3 a {
  display: inline-flex;
  align-items: center;
}

.ah-archive-theme .ah-main .ah-articles-page,
.ah-archive-theme .ah-main .ah-article-detail {
  color: var(--ah-paper);
}

.ah-archive-theme .ah-main .ah-articles-page > .ah-text-link,
.ah-archive-theme .ah-main .ah-article-detail > .ah-text-link,
.ah-archive-theme .ah-main .ah-article-detail > section a,
.ah-archive-theme .ah-main .ah-article-footer .ah-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.ah-archive-theme .ah-main .ah-articles-heading {
  margin-top: clamp(34px, 5vw, 52px);
  padding-bottom: 30px;
}

.ah-archive-theme .ah-main .ah-articles-heading .ah-eyebrow,
.ah-archive-theme .ah-main .ah-article-heading .ah-eyebrow {
  color: var(--ah-archive-signal);
  font-size: 12px;
  letter-spacing: .05em;
}

.ah-archive-theme .ah-main .ah-article-card,
.ah-archive-theme .ah-main .ah-article-card.is-featured {
  border-color: rgba(255, 255, 255, .1);
  border-radius: var(--ah-radius-card);
  background: #141518;
  color: var(--ah-paper);
  box-shadow: none;
}

.ah-archive-theme .ah-main .ah-article-card.is-featured {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
  min-height: 0;
  padding: 18px;
}

.ah-archive-theme .ah-main .ah-article-card.is-featured .ah-article-card-cover {
  width: 100%;
  min-width: 0;
  flex: initial;
  align-self: stretch;
  border-radius: var(--ah-radius-control);
  background: #0a0a0c;
}

.ah-archive-theme .ah-main .ah-article-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: var(--ah-radius-control);
  background: #0a0a0c;
}

.ah-archive-theme .ah-main .ah-article-card.is-featured .ah-article-copy {
  align-self: center;
  padding: clamp(12px, 3vw, 32px);
}

.ah-archive-theme .ah-main .ah-article-card.is-featured:not(.has-cover) .ah-article-copy {
  grid-column: 1 / -1;
}

.ah-archive-theme .ah-main .ah-article-card.is-featured :is(h2 a, .ah-article-cta) {
  color: var(--ah-paper);
}

.ah-archive-theme .ah-main .ah-article-card.is-featured .ah-eyebrow,
.ah-archive-theme .ah-main .ah-article-card.is-featured > .ah-article-copy > p:not(.ah-eyebrow) {
  color: var(--ah-soft);
  line-height: 1.7;
}

.ah-archive-theme .ah-main .ah-article-card.is-featured .ah-article-cta {
  border-radius: var(--ah-radius-control);
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.ah-archive-theme .ah-main .ah-article-cta:hover,
.ah-archive-theme .ah-main .ah-article-cta:focus-visible {
  border-color: var(--ah-archive-signal);
  background: var(--ah-archive-signal);
  color: #0a0a0c;
}

.ah-archive-theme .ah-main .ah-article-detail {
  max-width: 900px;
}

.ah-archive-theme .ah-main .ah-article-heading {
  margin-block: 40px 28px;
}

.ah-archive-theme .ah-main .ah-article-heading h1 {
  max-width: 24ch;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ah-archive-theme .ah-main .ah-article-cover {
  width: min(100%, 540px);
  margin: 32px auto 40px;
}

.ah-archive-theme .ah-main .ah-article-cover img,
.ah-archive-theme .ah-main .ah-article-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--ah-radius-control);
  background: #141518;
  box-shadow: none;
}

.ah-archive-theme .ah-main .ah-article-cover > p,
.ah-archive-theme .ah-main .ah-article-gallery figcaption {
  margin: 10px 0 0;
  color: var(--ah-soft);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.ah-archive-theme .ah-main .ah-article-body {
  width: min(100%, 65ch);
  max-width: 65ch;
}

.ah-archive-theme .ah-main .ah-article-body p {
  color: #c9c9ce;
  font-size: 17px;
  line-height: 1.8;
}

.ah-archive-theme .ah-main .ah-article-detail > section {
  margin-top: 52px;
}

.ah-archive-theme .ah-main .ah-article-detail > section h2 {
  font-size: 22px;
}

.ah-archive-theme .ah-main .ah-article-detail > section li {
  margin-block: 8px;
}

.ah-archive-theme .ah-main .ah-article-footer {
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .ah-home .ah-editorial .ah-editorial-heading {
    align-items: flex-start;
  }

  .ah-home .ah-editorial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .ah-home .ah-editorial-side {
    gap: 10px;
  }

  .ah-home .ah-editorial-compact {
    grid-template-columns: minmax(92px, .62fr) minmax(0, 1.38fr);
  }

  .ah-home .ah-editorial-compact img {
    min-height: 132px;
  }

  .ah-archive-theme .ah-main .ah-article-card.is-featured {
    grid-template-columns: minmax(76px, 92px) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .ah-archive-theme .ah-main .ah-article-card.is-featured .ah-article-card-cover {
    align-self: center;
  }

  .ah-archive-theme .ah-main .ah-article-card-cover img {
    min-height: 0;
    height: auto;
  }

  .ah-archive-theme .ah-main .ah-article-card.is-featured .ah-article-copy {
    padding: 4px 0;
  }

  .ah-archive-theme .ah-main .ah-article-card.is-featured:not(.has-cover) {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-archive-theme .ah-main .ah-article-detail > section > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-home .ah-editorial-side > .ah-text-link,
  .ah-archive-theme .ah-main .ah-article-cta {
    transition: none;
  }
}

/* Keep the home page image led: let the campaign poster carry its texture. */
.ah-home .ah-hero-gallery {
  border-color: var(--ah-line);
  background: var(--ah-surface);
  box-shadow: none;
}

.ah-home .ah-hero-gallery::before,
.ah-home .ah-hero-gallery::after { display: none; }

.ah-home .ah-hero-gallery-head,
.ah-home .ah-hero-gallery-foot,
.ah-home .ah-hero-slide figcaption {
  padding-inline: clamp(16px, 3vw, 24px);
}

.ah-home .ah-hero-gallery-head { padding-block: 18px; }
.ah-home .ah-hero-overline { font-family: var(--ah-text); letter-spacing: .02em; }
.ah-home .ah-hero-support { font-size: 14px; }
.ah-home .ah-hero-slide figcaption { padding-block: 16px; }
.ah-home .ah-hero-slide figcaption > small { font-size: 13px; }

.ah-home .ah-hero h1,
.ah-home .ah-title-row h2,
.ah-home .ah-editorial-heading h2,
.ah-home .ah-home-featured-copy h3 {
  font-weight: 600;
  text-shadow: none;
}

.ah-home .ah-hero-gallery .ah-home-hero-cta {
  border-color: var(--ah-action-fill);
  background: var(--ah-action-fill);
  color: var(--ah-action-ink);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ah-home .ah-hero-gallery .ah-home-hero-cta:hover {
  border-color: var(--ah-action-fill-hover);
  background: var(--ah-action-fill-hover);
  color: var(--ah-action-ink);
  box-shadow: none;
  transform: none;
}

.ah-home .ah-home-featured-poster { box-shadow: none; }

.ah-home .ah-home-featured-facts > .ah-home-featured-range {
  border-color: var(--ah-line);
  background: var(--ah-surface);
  box-shadow: none;
}

.ah-home .ah-home-featured-copy > .ah-button,
.ah-home .ah-filter-submit {
  border-color: var(--ah-action-fill);
  background: var(--ah-action-fill);
  color: var(--ah-action-ink);
  box-shadow: none;
}

.ah-home .ah-home-featured-copy > .ah-button:hover,
.ah-home .ah-filter-submit:hover:not(:disabled) {
  border-color: var(--ah-action-fill-hover);
  background: var(--ah-action-fill-hover);
  color: var(--ah-action-ink);
}

.ah-home .ah-home-featured-poster:focus-visible,
.ah-home .ah-home-event-poster:focus-visible,
.ah-home .ah-home-event-card h3 a:focus-visible {
  outline-color: var(--ah-action);
}

.ah-home .ah-filters {
  border-color: var(--ah-line);
  background: var(--ah-surface);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ah-home .ah-home-featured-event {
  background: var(--ah-surface);
  background-image: none;
}

.ah-home .ah-home-featured-copy {
  background: var(--ah-surface);
  background-image: none;
  box-shadow: none;
}

.ah-home .ah-home-featured-copy::before,
.ah-home .ah-home-featured-copy::after { display: none; }

.ah-home .ah-home-featured-facts {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--ah-line);
}

.ah-home .ah-home-featured-facts > div {
  grid-column: auto;
  grid-template-columns: minmax(80px, 96px) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--ah-line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

@media (max-width: 479px) {
  .ah-home .ah-home-featured-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* Artist and editorial pages keep artwork first and controls quiet. */
.ah-main .ah-artist-list-image-link,
.ah-main .ah-artist-poster-frame {
  background: var(--ah-panel);
  box-shadow: none;
}

.ah-main :is(.ah-artist-list-image-placeholder, .ah-artist-poster-placeholder) {
  background: var(--ah-surface);
}

.ah-main :is(.ah-artist-list-image-placeholder, .ah-artist-poster-placeholder) span {
  box-shadow: none;
}

.ah-main .ah-artist-profile-copy h1,
.ah-main .ah-article-card h2,
.ah-main .ah-article-heading h1 {
  font-weight: 600;
}

.ah-main .ah-article-card h2 a:hover,
.ah-main .ah-article-card h2 a:focus-visible {
  color: var(--ah-action);
}

.ah-main .ah-article-card.is-featured .ah-article-cta {
  border-color: var(--ah-action-fill);
  background: var(--ah-action-fill);
  color: var(--ah-action-ink);
}

/* Ticket pass stays light for QR contrast; surrounding account surfaces stay dark. */
.ah-main .ah-ticket-pass {
  border-radius: var(--ah-radius-panel);
  box-shadow: none;
}

.ah-main .ah-owned-ticket {
  background: var(--ah-surface);
}

/* Authentication uses a single calm surface and keeps the artwork understated. */
.ah-login-art::before { display: none; }

.ah-login-art::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent 82%);
}

.ah-main .ah-login-layout { box-shadow: none; }

.ah-main > .auth {
  border-color: var(--ah-line);
  border-radius: var(--ah-radius-panel);
  background: var(--ah-surface);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ah-main .ah-login h1 { font-weight: 600; }

.ah-main .ah-login-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ah-action);
}

.ah-main .ah-login-links a:hover { color: var(--ah-action-hover); }

/* Mineral-metal CTAs: cool stone fill, graphite ink, and quiet etched highlights. */
.ah-main :is(.ah-button-bright, .ah-btn-tactile, .ah-article-cta, .ah-artist-event-link) {
  border-color: #c5c5c2;
  background-color: var(--ah-action-fill);
  background-image: radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, .52), transparent 46%), repeating-linear-gradient(115deg, rgba(26, 27, 29, .045) 0 1px, transparent 1px 9px), linear-gradient(155deg, #e6e6e3 0%, #d8d8d5 52%, #cececb 100%);
  color: var(--ah-action-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 3px 10px rgba(0, 0, 0, .22);
}

.ah-main .ah-button-bright {
  min-height: 48px;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: var(--ah-radius-control);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.ah-main .ah-button-bright > span[aria-hidden="true"] {
  display: inline-flex;
  min-width: 28px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding-left: 9px;
  border-left: 1px solid rgba(23, 24, 27, .18);
  color: #414246;
  transition: transform .18s ease-out;
}

.ah-main .ah-button-bright:hover:not(:disabled),
.ah-main .ah-button-bright:focus-visible {
  border-color: #b7b7b4;
  background-color: var(--ah-action-fill-hover);
  background-image: radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, .65), transparent 46%), repeating-linear-gradient(115deg, rgba(26, 27, 29, .035) 0 1px, transparent 1px 9px), linear-gradient(155deg, #efefec 0%, #e3e3e0 52%, #d9d9d6 100%);
  color: var(--ah-action-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), 0 5px 14px rgba(0, 0, 0, .28);
  transform: translateY(-1px);
}

.ah-main .ah-button-bright:hover > span[aria-hidden="true"] { transform: translate(2px, -1px); }
.ah-main .ah-button-bright:active:not(:disabled) { transform: scale(.985); }

.ah-main .ah-home-hero-cta.ah-button-bright,
.ah-main .ah-home-featured-copy > .ah-button.ah-button-bright,
.ah-main .ah-article-card.is-featured .ah-article-cta {
  border-color: #c5c5c2;
  background-color: var(--ah-action-fill);
  background-image: radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, .52), transparent 46%), repeating-linear-gradient(115deg, rgba(26, 27, 29, .045) 0 1px, transparent 1px 9px), linear-gradient(155deg, #e6e6e3 0%, #d8d8d5 52%, #cececb 100%);
  color: var(--ah-action-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 3px 10px rgba(0, 0, 0, .22);
}

.ah-main .ah-home-hero-cta.ah-button-bright:hover,
.ah-main .ah-home-featured-copy > .ah-button.ah-button-bright:hover,
.ah-main .ah-article-card.is-featured .ah-article-cta:hover {
  border-color: #b7b7b4;
  background-color: var(--ah-action-fill-hover);
  background-image: radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, .65), transparent 46%), repeating-linear-gradient(115deg, rgba(26, 27, 29, .035) 0 1px, transparent 1px 9px), linear-gradient(155deg, #efefec 0%, #e3e3e0 52%, #d9d9d6 100%);
  color: var(--ah-action-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), 0 5px 14px rgba(0, 0, 0, .28);
}

.ah-main :is(.ah-btn-tactile, .ah-article-cta, .ah-artist-event-link):hover,
.ah-main :is(.ah-btn-tactile, .ah-article-cta, .ah-artist-event-link):focus-visible {
  border-color: #b7b7b4;
  background-color: var(--ah-action-fill-hover);
  background-image: radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, .65), transparent 46%), repeating-linear-gradient(115deg, rgba(26, 27, 29, .035) 0 1px, transparent 1px 9px), linear-gradient(155deg, #efefec 0%, #e3e3e0 52%, #d9d9d6 100%);
  color: var(--ah-action-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), 0 5px 14px rgba(0, 0, 0, .28);
}

@media (prefers-reduced-motion: reduce) {
  .ah-main .ah-button-bright,
  .ah-main .ah-button-bright > span[aria-hidden="true"] {
    transition: none;
  }
}

/* Keep the hero introduction and action together before the existing gallery. */
.ah-home .ah-hero-gallery .ah-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.ah-home .ah-hero-intro {
  display: grid;
  gap: 4px;
}

.ah-home .ah-hero-gallery-head { min-width: 0; }

.ah-home .ah-hero-gallery-foot {
  justify-content: flex-end;
  border-top: 0;
}

.ah-home .ah-hero-gallery .ah-hero-support { margin-left: 0; }

.ah-home .ah-hero-gallery .ah-hero-overline {
  color: var(--ah-paper);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.ah-home .ah-hero-gallery .ah-hero-support {
  max-width: 52ch;
  margin: 0;
  color: var(--ah-soft);
  font-size: 14px;
  line-height: 1.5;
}

.ah-home .ah-hero-gallery .ah-home-hero-cta {
  min-width: 148px;
  justify-content: center;
  border-color: var(--ah-action-fill);
  background: var(--ah-action-fill);
  color: var(--ah-action-ink);
}

.ah-home .ah-hero-gallery .ah-home-hero-cta:hover,
.ah-home .ah-hero-gallery .ah-home-hero-cta:focus-visible {
  border-color: var(--ah-action-fill-hover);
  background: var(--ah-action-fill-hover);
  color: var(--ah-action-ink);
}

.ah-home .ah-home-event-lede {
  margin: 8px 0 0;
  color: var(--ah-soft);
  font-size: 13px;
  line-height: 1.55;
}

.ah-home .ah-home-event-preview {
  display: inline-flex;
  margin: 8px 0 0;
  padding: 4px 8px;
  border: 1px solid var(--ah-line);
  color: var(--ah-soft);
  font-size: 11px;
  line-height: 1.4;
}

.ah-home .ah-hero-slide figcaption > small,
.ah-home .ah-home-featured-file {
  color: var(--ah-soft);
}

.ah-home .ah-home-event-facts dt,
.ah-home .ah-home-event-facts .ah-home-event-place dd:nth-of-type(2),
.ah-home .ah-home-event-meta span,
.ah-home .ah-news-item > p {
  font-size: 12px;
  line-height: 1.6;
}

.ah-home .ah-home-event-facts dd,
.ah-home .ah-flow-grid p {
  font-size: 14px;
  line-height: 1.6;
}

.ah-home .ah-home-featured-copy > .ah-cctv-osd {
  align-self: flex-start;
  color: var(--ah-soft);
}

.ah-home .ah-hero-slide figcaption .ah-cctv-osd {
  position: static;
  align-self: flex-start;
  margin: 0;
  flex: 0 0 auto;
}

.ah-home .ah-hero-track {
  grid-column: 1 / -1;
  min-width: 0;
}

.ah-home .ah-home-featured-copy > .ah-button { margin-top: 0; }

@media (max-width: 767px) {
  .ah-home .ah-hero-gallery .ah-hero-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-home .ah-hero-gallery-foot {
    justify-content: flex-start;
    padding-top: 0;
  }

  .ah-home .ah-home-featured-poster,
  .ah-home .ah-home-event-poster {
    aspect-ratio: 4 / 5;
  }

  .ah-home .ah-home-featured-poster img,
  .ah-home .ah-home-event-poster img {
    object-fit: cover;
  }

  .ah-home .ah-home-featured-copy {
    gap: 16px;
    padding: 20px;
  }

  .ah-home .ah-home-featured-heading { gap: 8px; }
  .ah-home .ah-home-featured-facts > div { padding-block: 10px; }
.ah-home .ah-home-featured-date { display: inline; }
}

/* Homepage cyber effects: restrained, opt-in interactions that reuse current art and palette. */
.ah-home {
  position: relative;
  isolation: isolate;
}

.ah-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(760px, 82vh);
  pointer-events: none;
  opacity: .16;
  transform: perspective(520px) rotateX(56deg) scale(1.4);
  transform-origin: center top;
  background-image: linear-gradient(to bottom, var(--ah-line) 1px, transparent 1px),
    linear-gradient(to right, var(--ah-line) 1px, transparent 1px);
  background-size: 100% 48px, 64px 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.ah-home .ah-page-transition.is-booting,
.ah-page-transition.is-booting {
  display: block;
  z-index: 9999;
  --ah-boot-signal: #aeb795;
  background: #050608;
  opacity: 1;
  animation: ah-boot-fade 1.35s ease both;
}

.ah-page-transition.is-booting::before {
  inset: 0;
  background-image: url("/static/images/LOGO_N_DD.png"),
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(245, 245, 247, .14) 3px 4px);
  background-repeat: no-repeat, repeat;
  background-position: center, center;
  background-size: min(72vw, 496px) auto, 100% 4px;
  mix-blend-mode: screen;
  opacity: .9;
  animation: ah-boot-logo 1.35s steps(5, end) both;
}

.ah-page-transition.is-booting::after {
  inset: auto 8vw 9vh;
  height: auto;
  border-block: 1px solid var(--ah-action);
  padding: 12px 0;
  background: transparent;
  color: var(--ah-boot-signal);
  content: "01010110 01000111 00100000 01001001 01001110 00100000 01010100 01001000 01000101 00100000 01000010 01001111 01011000";
  font: 11px/1.6 var(--ah-mono);
  letter-spacing: .18em;
  text-align: center;
  overflow-wrap: anywhere;
  animation: ah-boot-code .11s steps(2, end) infinite;
}

@keyframes ah-boot-fade {
  0%, 78% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes ah-boot-logo {
  0%, 16%, 20%, 45%, 51%, 79% { opacity: .9; filter: none; }
  18%, 48%, 82% { opacity: .45; filter: drop-shadow(2px 0 #aeb795) drop-shadow(-2px 0 rgba(255,255,255,.65)); }
  100% { opacity: .9; filter: none; }
}

@keyframes ah-boot-code {
  0%, 100% { opacity: .55; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2px); }
}

/* Rate Limit & Traffic Guard Cooldown */
.ah-page-transition.is-booting.is-cooldown {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  animation: none !important;
  pointer-events: auto !important;
  z-index: 99999 !important;
}

.ah-page-transition.is-booting.is-cooldown::before {
  animation: ah-boot-logo 2.5s steps(5, end) infinite !important;
  opacity: 0.35 !important;
  pointer-events: none;
}

.ah-page-transition.is-booting.is-cooldown::after {
  display: none !important;
}

.ah-cooldown-hud {
  position: relative;
  z-index: 100001;
  width: min(92vw, 480px);
  padding: 32px 24px;
  background: rgba(5, 6, 8, 0.95);
  border: 1px solid rgba(174, 183, 149, 0.45);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(174, 183, 149, 0.15);
  color: #f5f5f7;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ah-cooldown-badge {
  font-family: var(--ah-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #aeb795;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ah-cooldown-title {
  font-family: var(--ah-mono, "JetBrains Mono", monospace);
  font-size: clamp(17px, 4.5vw, 22px);
  color: #f5f5f7;
  margin: 0 0 10px;
  font-weight: 700;
}

.ah-cooldown-message {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 245, 247, 0.82);
  margin: 0 0 16px;
}

.ah-cooldown-countdown {
  font-family: var(--ah-mono, "JetBrains Mono", monospace);
  font-size: clamp(34px, 8vw, 48px);
  font-weight: 700;
  color: #aeb795;
  text-shadow: 0 0 20px rgba(174, 183, 149, 0.5);
  margin: 10px 0;
}

.ah-cooldown-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 12px 0 20px;
}

.ah-cooldown-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #aeb795, #d2dcab);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(174, 183, 149, 0.6);
}

.ah-cooldown-sub {
  font-size: 12px;
  color: rgba(174, 183, 149, 0.7);
  font-family: var(--ah-mono, monospace);
  margin-bottom: 20px;
}

.ah-cooldown-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ah-cooldown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  background: #aeb795;
  color: #050608;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.ah-cooldown-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  background: rgba(174, 183, 149, 0.25);
  color: rgba(245, 245, 247, 0.5);
}

.ah-cooldown-btn:not(:disabled):hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.ah-cooldown-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(174, 183, 149, 0.35);
  color: #f5f5f7;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.ah-cooldown-link:hover {
  background: rgba(174, 183, 149, 0.12);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ah-home .ah-hero-slide:hover img,
  .ah-home .ah-home-featured-event:hover .ah-home-featured-poster img,
  .ah-home .ah-home-event-card:hover .ah-home-event-poster img {
    animation: ah-image-signal-break .22s steps(2, end) both;
  }

  .ah-home .ah-hero-slide:focus-within img,
  .ah-home .ah-home-featured-event:focus-within .ah-home-featured-poster img,
  .ah-home .ah-home-event-card:focus-within .ah-home-event-poster img {
    animation: ah-image-signal-break .22s steps(2, end) both;
  }

  .ah-home .ah-news-item:hover h3 a,
  .ah-home .ah-news-item:focus-within h3 a {
    animation: ah-message-decode .36s steps(3, end) both;
  }
}

@keyframes ah-image-signal-break {
  0%, 100% { filter: none; }
  35% { filter: drop-shadow(1px 0 var(--ah-warning)) drop-shadow(-1px 0 rgba(255,255,255,.75)) saturate(1.12); }
  70% { filter: drop-shadow(-1px 0 var(--ah-warning)) drop-shadow(1px 0 rgba(255,255,255,.75)); }
}

@keyframes ah-message-decode {
  0% { filter: blur(.8px); letter-spacing: .06em; text-shadow: 1px 0 var(--ah-warning), -1px 0 rgba(255,255,255,.65); }
  55% { filter: blur(.25px); letter-spacing: .025em; text-shadow: -1px 0 var(--ah-warning), 1px 0 rgba(255,255,255,.65); }
  100% { filter: none; letter-spacing: inherit; text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-page-transition.is-booting { display: none; animation: none; }
  .ah-home::before { transform: none; }
}

/* Shared cyber interface: reuse existing copy panels, image wrappers and CCTV layers. */
.ah-main :is(.ah-home-featured-copy, .ah-home-event-copy, .ah-event-info,
.ah-article-copy, .ah-artist-copy, .ah-detail-copy, .ah-ticket-copy,
.ah-summary, .ah-sec-panel) {
  position: relative;
  isolation: isolate;
}

.ah-main :is(.ah-home-featured-copy, .ah-home-event-copy, .ah-event-info,
.ah-article-copy, .ah-artist-copy, .ah-detail-copy, .ah-ticket-copy,
.ah-summary, .ah-sec-panel)::before {
  position: absolute;
  z-index: -1;
  inset: 8px;
  pointer-events: none;
  background:
    linear-gradient(var(--ah-action), var(--ah-action)) left top / 14px 1px no-repeat,
    linear-gradient(var(--ah-action), var(--ah-action)) left top / 1px 14px no-repeat,
    linear-gradient(var(--ah-action), var(--ah-action)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--ah-action), var(--ah-action)) right bottom / 1px 14px no-repeat;
  content: "";
  opacity: .42;
}

.ah-main :is(.ah-home-featured-copy, .ah-home-event-copy, .ah-event-info,
.ah-article-copy, .ah-artist-copy, .ah-detail-copy, .ah-ticket-copy,
.ah-summary, .ah-sec-panel) :is(.ah-eyebrow, .ah-event-meta, .ah-home-event-meta,
.ah-detail-index, .ah-artist-file-label) {
  font-family: var(--ah-mono);
  letter-spacing: .055em;
}

/* Keep CCTV texture attached only to existing camera spans, never over added content. */
.ah-main .ah-cctv-noise {
  pointer-events: none;
  mix-blend-mode: screen;
}

.ah-main :is(.ah-event-art, .ah-home-event-poster, .ah-artist-list-image-link,
.ah-artist-poster-frame, .ah-article-card-cover, .ah-article-cover,
.ah-article-gallery figure, .ah-event-slide, .ah-event-gallery-grid figure) {
  isolation: isolate;
}

.ah-main :is(.ah-event-photo, .ah-home-event-poster img, .ah-artist-list-image,
.ah-artist-poster-frame img, .ah-article-card-cover img, .ah-article-cover img,
.ah-article-gallery img, .ah-event-slide img, .ah-event-gallery-grid img) {
  transition: filter .18s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ah-main :is(.ah-event-card, .ah-home-event-card, .ah-artist-card,
  .ah-article-card, .ah-event-slide, .ah-article-image-link):is(:hover, :focus-within)
  :is(.ah-event-photo, .ah-home-event-poster img, .ah-artist-list-image,
  .ah-article-card-cover img, .ah-article-image-link img, .ah-event-slide img,
  .ah-event-gallery-grid img) {
    animation: ah-image-signal-break .22s steps(2, end) both;
  }
}

@media (max-width: 767px) {
  .ah-main :is(.ah-home-featured-copy, .ah-home-event-copy, .ah-event-info,
  .ah-article-copy, .ah-artist-copy, .ah-detail-copy, .ah-ticket-copy,
  .ah-summary, .ah-sec-panel)::before {
    inset: 6px;
    opacity: .28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-main :is(.ah-event-photo, .ah-home-event-poster img, .ah-artist-list-image,
  .ah-artist-poster-frame img, .ah-article-card-cover img, .ah-article-cover img,
  .ah-article-gallery img, .ah-event-slide img, .ah-event-gallery-grid img) {
    transition: none;
    animation: none !important;
  }
}

/* Matched mobile navigation triggers: equal hit area, aligned label and icon. */
.ah-header .ah-mobile-nav > summary,
.ah-header .ah-account-menu > .ah-hamburger-btn {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ah-line);
  border-radius: 980px;
  background: rgba(255, 255, 255, .05);
  color: var(--ah-paper);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.ah-header .ah-mobile-nav > summary:focus-visible,
.ah-header .ah-account-menu > .ah-hamburger-btn:focus-visible {
  outline: 2px solid var(--ah-action);
  outline-offset: 3px;
}

.ah-header .ah-account-menu > .ah-hamburger-btn .ah-hamburger-box {
  flex: 0 0 15px;
}

.ah-header .ah-mobile-nav-icon {
  display: inline-flex;
  flex: 0 0 16px;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.ah-header .ah-mobile-nav-icon span {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.ah-header .ah-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  white-space: nowrap;
}

.ah-header .ah-login-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

@media (max-width: 419px) {
  .ah-header .ah-mobile-nav > summary,
  .ah-header .ah-account-menu > .ah-hamburger-btn {
    gap: 7px;
    padding-inline: 8px;
    font-size: 11px;
  }
}

/* Event index: reflow cards and filters before their content gets cramped. */
.ah-main .ah-event-index .ah-filters {
  grid-template-columns: minmax(0, 1fr) 230px 120px;
  align-items: end;
}

@media (max-width: 1023px) {
  .ah-main .ah-event-index .ah-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
}

@media (max-width: 767px) {
  .ah-main .ah-event-index {
    padding-block: 52px 64px;
  }

  .ah-main .ah-event-index .ah-filters {
    grid-template-columns: minmax(0, 1fr) minmax(112px, .7fr);
    gap: 12px;
    margin: 22px 0 28px;
    padding: 14px;
  }

  .ah-main .ah-event-index .ah-filter-search {
    grid-column: 1 / -1;
  }

  .ah-main .ah-event-index .ah-filter-category,
  .ah-main .ah-event-index .ah-filter-submit {
    grid-column: auto;
    min-width: 0;
  }

  .ah-main .ah-event-index .ah-filter-submit {
    width: 100%;
  }

  .ah-main .ah-event-index .ah-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .ah-main .ah-event-index .ah-event-info {
    padding: 16px !important;
  }

  .ah-main .ah-event-index .ah-event-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .ah-main .ah-event-index .ah-event-meta time {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .ah-main .ah-event-index .ah-event-info h3 {
    font-size: clamp(17px, 3.4vw, 21px);
    line-height: 1.28;
  }

  .ah-main .ah-event-index .ah-event-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .ah-main .ah-event-index .ah-event-bottom span:first-child {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .ah-main .ah-event-index .ah-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .ah-main .ah-event-index .ah-filter-category,
  .ah-main .ah-event-index .ah-filter-submit {
    grid-column: 1 / -1;
    width: 100%;
  }
  .ah-main .ah-event-index .ah-filter-submit {
    min-height: 48px;
    font-size: 15px;
  }
  .ah-main .ah-event-index .ah-event-card {
    border-radius: 16px;
    overflow: hidden;
  }
}

@media (max-width: 479px) {
  .ah-main .ah-event-index .ah-event-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .ah-main .ah-event-index .ah-event-info {
    padding: 18px !important;
  }

  .ah-main .ah-event-index .ah-event-meta {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ah-main .ah-event-index .ah-event-meta time {
    font-size: 12.5px;
  }

  .ah-main .ah-event-index .ah-event-info h3 {
    font-size: 22px;
  }

  .ah-main .ah-event-index .ah-event-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .ah-main .ah-event-index .ah-event-bottom span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ah-paper);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
  }
}

@media (max-width: 359px) {
  .ah-main .ah-event-index .ah-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-main .ah-event-index .ah-filter-search,
  .ah-main .ah-event-index .ah-filter-category,
  .ah-main .ah-event-index .ah-filter-submit {
    grid-column: 1;
  }
}

/* Event index: keep poster artwork complete and let it carry the visual weight. */
.ah-main .ah-event-index .ah-event-card {
  border-radius: 16px;
  background: linear-gradient(180deg, #17191b 0%, #101112 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .08);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ah-main .ah-event-index .ah-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .12);
}

.ah-main .ah-event-index .ah-event-art {
  display: grid;
  place-items: center;
  padding: 12px !important;
  background: radial-gradient(ellipse at 50% 42%, #24272a 0%, #121416 72%);
}

.ah-main .ah-event-index .ah-event-art::after {
  content: none;
}

.ah-main .ah-event-index .ah-event-photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .38));
  transition: filter .22s ease;
}

.ah-main .ah-event-index .ah-event-card:hover .ah-event-photo {
  transform: none;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .48));
}

.ah-main .ah-event-index .ah-event-info h3 {
  text-wrap: balance;
}

.ah-main .ah-event-index .ah-event-bottom span:first-child {
  min-width: 0;
}

.ah-main .ah-event-index .ah-event-card:active {
  transform: translateY(-1px) scale(.995);
}

@media (prefers-reduced-motion: reduce) {
  .ah-main .ah-event-index .ah-event-card,
  .ah-main .ah-event-index .ah-event-photo {
    transition: none;
  }

.ah-main .ah-event-index .ah-event-card:is(:hover, :active) {
    transform: none;
  }
}

.ah-main .ah-event-index .ah-event-filter-tools {
  width: 100%;
}

.ah-main .ah-event-index .ah-event-filter-toggle {
  display: none;
}

.ah-main .ah-event-index .ah-filters[hidden] {
  display: none !important;
}

@media (max-width: 1023px) {
  .ah-main .ah-event-index .ah-event-filter-toggle {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;
    margin: 22px 0 0;
    padding: 0 15px;
    border: 1px solid var(--ah-control-border);
    border-radius: var(--ah-radius-control);
    background: rgba(20, 21, 25, .92);
    color: var(--ah-paper);
    font: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .ah-main .ah-event-index .ah-event-filter-toggle svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: var(--ah-action);
  }

  .ah-main .ah-event-index .ah-event-filter-toggle:hover {
    background: rgba(255, 255, 255, .1);
  }

  .ah-main .ah-event-index .ah-event-filter-toggle:focus-visible {
    outline: 2px solid var(--ah-action);
    outline-offset: 3px;
  }

  .ah-main .ah-event-index .ah-event-filter-chevron {
    margin-left: auto;
    color: var(--ah-muted);
    transition: transform .18s ease;
  }

  .ah-main .ah-event-index .ah-event-filter-toggle[aria-expanded="true"] .ah-event-filter-chevron {
    transform: rotate(180deg);
  }

  .ah-main .ah-event-index .ah-filters:not([hidden]) {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-main .ah-event-index .ah-event-filter-chevron {
    transition: none;
  }
}

/* Event detail: balanced portrait cover, selectable gallery, and mobile-first order. */
.ah-main .ah-detail-page { width: min(1160px, calc(100% - 40px)); }
.ah-main .ah-detail-page .ah-event-detail-hero {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 0;
  align-items: center;
}
.ah-main .ah-detail-page .ah-detail-info { min-width: 0; padding: clamp(28px, 4vw, 56px); }
.ah-main .ah-detail-page .ah-detail-facts {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 10px;
  border: 0;
}
.ah-main .ah-detail-page .ah-detail-facts div {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  align-content: start;
  padding: 13px 14px;
  border: 1px solid var(--ah-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}
.ah-main .ah-detail-page .ah-detail-facts div:nth-child(4) { grid-column: 1 / -1; }
.ah-main .ah-detail-page .ah-detail-facts dt { font-size: 12px; }
.ah-main .ah-detail-page .ah-detail-facts dd { line-height: 1.55; }
.ah-main .ah-detail-page .ah-detail-poster {
  display: block;
  min-height: 0;
  aspect-ratio: auto;
  align-self: center;
  overflow: visible;
  border-left: 1px solid var(--ah-line);
}
.ah-main .ah-detail-page .ah-detail-poster > img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}
.ah-main .ah-detail-page .ah-detail-poster > .ah-detail-poster-fallback { width: 100%; aspect-ratio: 4 / 5; }
.ah-main .ah-detail-page .ah-event-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--ah-line) transparent;
}
.ah-main .ah-detail-page .ah-event-thumbnails button {
  flex: 0 0 88px;
  width: 88px;
  height: 110px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ah-line);
  border-radius: 8px;
  background: #101114;
  cursor: pointer;
}
.ah-main .ah-detail-page .ah-event-thumbnails button:focus-visible { outline: 2px solid var(--ah-accent); outline-offset: 2px; }
.ah-main .ah-detail-page .ah-event-thumbnails img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ah-main .ah-detail-page .ah-detail-below { grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); }

@media (max-width: 899px) {
  .ah-main .ah-detail-page { width: min(720px, calc(100% - 32px)); }
  .ah-main .ah-detail-page .ah-event-detail-hero { display: flex; flex-direction: column; align-items: stretch; }
  .ah-main .ah-detail-page .ah-detail-poster {
    order: 1;
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 20px 20px 0;
    border: 0;
  }
  .ah-main .ah-detail-page .ah-detail-info { display: contents; }
  .ah-main .ah-detail-page .ah-detail-copy { order: 2; padding: 28px 28px 18px; }
  .ah-main .ah-detail-page .ah-detail-index { margin-top: 22px; }
  .ah-main .ah-detail-page .ah-detail-facts { order: 3; margin: 0 28px; }
  .ah-main .ah-detail-page .ah-detail-ticket-note { order: 4; margin: 18px 28px 26px; }
  .ah-main .ah-detail-page .ah-detail-info > a.ah-button { order: 4; align-self: flex-start; margin: 18px 28px 26px !important; }
  .ah-main .ah-detail-page .ah-detail-below { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 560px) {
  .ah-main .ah-detail-page { width: calc(100% - 24px); margin-top: 16px; }
  .ah-main .ah-detail-page .ah-detail-poster { padding: 12px 12px 0; }
  .ah-main .ah-detail-page .ah-detail-copy { padding: 24px 20px 16px; }
  .ah-main .ah-detail-page .ah-detail-index { margin-top: 18px; }
  .ah-main .ah-detail-page .ah-detail-facts { margin-inline: 20px; }
  .ah-main .ah-detail-page .ah-detail-facts div { grid-template-columns: minmax(70px, 27%) minmax(0, 1fr); gap: 8px; }
  .ah-main .ah-detail-page .ah-detail-ticket-note,
  .ah-main .ah-detail-page .ah-detail-info > a.ah-button { margin-inline: 20px !important; }
  .ah-main .ah-detail-page .ah-detail-below { padding: 28px 20px; }
}

/* Customer sign-out page: reuse its current markup and customer palette. */
.ah-main .auth.goodbye {
  width: min(540px, 100%);
  max-width: 540px;
  margin: clamp(28px, 7vh, 72px) auto clamp(48px, 9vh, 88px);
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  border-color: var(--ah-line);
  border-radius: var(--ah-radius-panel);
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 62%), var(--ah-surface);
}
.ah-main .auth.goodbye .tick {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid var(--ah-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .035);
  color: var(--ah-action);
}
.ah-main .auth.goodbye .tick svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ah-main .auth.goodbye h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 36px); line-height: 1.18; text-wrap: balance; }
.ah-main .auth.goodbye .sub { max-width: 34ch; margin: 0 auto 20px; line-height: 1.65; text-wrap: pretty; }
.ah-main .auth.goodbye .fineprint { display: block; margin: 0; line-height: 1.5; }
.ah-main .auth.goodbye .fineprint a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 4px;
  padding: 8px 16px;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius-control);
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.ah-main .auth.goodbye .fineprint a:first-of-type { border-color: var(--ah-action-fill); background: var(--ah-action-fill); color: var(--ah-action-ink); font-weight: 600; }
.ah-main .auth.goodbye .fineprint a:first-of-type:hover { background: var(--ah-action-fill-hover); border-color: var(--ah-action-fill-hover); color: var(--ah-action-ink); text-decoration: none; }
.ah-main .auth.goodbye .fineprint a:last-of-type { color: var(--ah-soft); }
.ah-main .auth.goodbye .fineprint a:last-of-type:hover { border-color: var(--ah-soft); color: var(--ah-paper); text-decoration: none; }
.ah-main .auth.goodbye .fineprint a:focus-visible { outline: 2px solid var(--ah-action); outline-offset: 3px; }

@media (max-width: 560px) {
  .ah-main .auth.goodbye {
    width: calc(100% - 24px);
    margin: 20px auto 48px;
    padding: 30px 20px;
  }
  .ah-main .auth.goodbye .tick { width: 64px; margin-bottom: 18px; }
  .ah-main .auth.goodbye h1 { font-size: clamp(27px, 8vw, 32px); }
  .ah-main .auth.goodbye .fineprint a { margin: 4px 2px; padding-inline: 12px; }
}

/* Homepage events: let the heading lead directly into the featured event. */
.ah-home .ah-section-head {
  margin-bottom: clamp(28px, 3.5vw, 42px);
}

.ah-home .ah-title-row {
  align-items: baseline;
  gap: 8px 14px;
}

.ah-home .ah-home-featured-event {
  margin-top: 0;
}

@media (max-width: 767px) {
  .ah-home .ah-hero-gallery .ah-hero-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .ah-home .ah-hero-gallery-foot {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .ah-home .ah-hero-gallery .ah-home-hero-cta {
    width: 100%;
  }

  .ah-home .ah-title-row {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .ah-home .ah-title-row h2 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ah-home .ah-title-row .ah-count {
    flex: 0 0 auto;
  }
}

/* Event cover and gallery stay distinct; gallery images open in a native viewer. */
.ah-main .ah-detail-page .ah-detail-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(20px, 3vw, 36px);
  overflow: visible;
  border-left: 1px solid var(--ah-line);
}
.ah-main .ah-detail-page .ah-detail-cover {
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ah-line);
  border-radius: 12px;
  background: var(--ah-surface);
}
.ah-main .ah-detail-page .ah-detail-cover img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: none;
  transition: none;
}
.ah-main .ah-detail-page .ah-event-gallery { width: min(100%, 440px); }
.ah-main .ah-detail-page .ah-event-media-switch {
  display: flex;
  width: min(100%, 440px);
  gap: 8px;
}
.ah-main .ah-detail-page .ah-event-media-switch button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius-control);
  background: var(--ah-surface);
  color: var(--ah-soft);
  font: inherit;
  cursor: pointer;
}
.ah-main .ah-detail-page .ah-event-media-switch button[aria-pressed="true"] {
  border-color: var(--ah-action-fill);
  background: var(--ah-action-fill);
  color: var(--ah-action-ink);
}
.ah-main .ah-detail-page .ah-event-media-switch button:focus-visible {
  outline: 2px solid var(--ah-action);
  outline-offset: 2px;
}
.ah-main .ah-detail-page .ah-event-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--ah-line) transparent;
}
.ah-main .ah-detail-page .ah-event-thumbnails button {
  flex: 0 0 88px;
  width: 88px;
  height: 110px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ah-line);
  border-radius: 8px;
  background: var(--ah-surface);
  cursor: pointer;
}
.ah-main .ah-detail-page .ah-event-thumbnails button[aria-pressed="true"] { border-color: var(--ah-action); }
.ah-main .ah-detail-page .ah-event-thumbnails button:focus-visible { outline: 2px solid var(--ah-action); outline-offset: 2px; }
.ah-main .ah-detail-page .ah-event-thumbnails img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  transform: none;
  filter: none;
  transition: none;
}
.ah-main .ah-detail-page .ah-gallery-viewer {
  position: fixed;
  max-width: min(94vw, 1100px);
  max-height: 94dvh;
  padding: 12px;
  overflow: visible;
  border: 1px solid var(--ah-line);
  border-radius: 14px;
  background: var(--ah-surface);
  color: var(--ah-paper);
}
.ah-main .ah-detail-page .ah-gallery-viewer[open] { display: grid; place-items: center; }
.ah-main .ah-detail-page .ah-gallery-viewer::backdrop { background: rgba(0, 0, 0, .88); }
.ah-main .ah-detail-page .ah-gallery-viewer img { display: block; max-width: calc(94vw - 24px); max-height: calc(94dvh - 24px); object-fit: contain; }
.ah-main .ah-detail-page .ah-gallery-viewer-close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ah-line);
  border-radius: 50%;
  background: var(--ah-surface);
  color: var(--ah-paper);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.ah-main .ah-detail-page .ah-gallery-viewer-close:focus-visible { outline: 2px solid var(--ah-action); outline-offset: 2px; }

@media (max-width: 899px) {
  .ah-main .ah-detail-page .ah-detail-poster { width: 100%; padding: 20px 20px 0; border: 0; }
  .ah-main .ah-detail-page .ah-detail-cover,
  .ah-main .ah-detail-page .ah-event-gallery,
  .ah-main .ah-detail-page .ah-event-media-switch { width: min(100%, 520px); }
}
@media (max-width: 560px) {
  .ah-main .ah-detail-page .ah-detail-poster { padding: 12px 12px 0; }
  .ah-main .ah-detail-page .ah-gallery-viewer { width: 100vw; max-width: 100vw; max-height: 100dvh; padding: 8px; border: 0; border-radius: 0; }
  .ah-main .ah-detail-page .ah-gallery-viewer img { max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
}
@media (min-width: 900px) {
  .ah-main .ah-detail-page .ah-event-thumbnails button {
    flex-basis: 112px;
    width: 112px;
    height: 140px;
  }
}

@media (min-width: 1024px) {
  .ah-header .ah-login-icon { display: none; }
.ah-header .ah-login-link { gap: 0; }
}

/* Security hub: keep identity, status, and actions balanced at every width. */
.ah-main .ah-security-view {
  box-sizing: border-box;
  width: min(100%, 760px);
  max-width: 760px;
  margin: clamp(24px, 4vw, 40px) auto 64px;
  padding-inline: 16px;
}

.ah-main .ah-sec-header-text { min-width: 0; }
.ah-main .ah-sec-header-sub { min-width: 0; flex-wrap: wrap; overflow-wrap: anywhere; }
.ah-main .ah-sec-header-sub > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ah-main .ah-sec-row-info { overflow-wrap: anywhere; }
.ah-main .ah-sec-row-action {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.ah-main .ah-sec-row-action > :is(form, a) { margin: 0 !important; }
.ah-main .ah-security-view .ah-sec-row-action .ah-btn-tactile { min-height: 44px; }
.ah-main .ah-security-view .ah-status-pill { max-width: 100%; white-space: normal; text-align: center; }
.ah-main .ah-security-view .ah-challenge-hint { align-items: flex-start; overflow-wrap: anywhere; }
.ah-main .ah-security-view .ah-challenge-hint strong { overflow-wrap: anywhere; }

@media (max-width: 767px) {
  .ah-main .ah-security-view { margin-block: 24px 48px; padding-inline: 14px; }
  .ah-main .ah-sec-header { align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .ah-main .ah-sec-header-text h1 { font-size: clamp(21px, 5.8vw, 28px); }
  .ah-main .ah-sec-header-sub { gap: 6px 8px; font-size: 12px; }
  .ah-main .ah-sec-row { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .ah-main .ah-sec-row-info { flex: 1 1 calc(100% - 54px); }
  .ah-main .ah-sec-row-action { flex: 1 1 100%; width: 100%; margin-top: 2px; justify-content: flex-start; }
  .ah-main .ah-sec-inline-challenge { padding: 14px; }
  .ah-main .ah-challenge-input-row { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .ah-main .ah-security-view { padding-inline: 10px; }
  .ah-main .ah-sec-header { gap: 10px; padding-inline: 0; }
  .ah-main .ah-sec-header-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .ah-main .ah-sec-header-sub { align-items: flex-start; flex-direction: column; }
  .ah-main .ah-sec-group-title { padding-left: 4px; }
  .ah-main .ah-sec-panel { padding: 16px 12px !important; }
  .ah-main .ah-sec-row { padding: 12px 4px; }
  .ah-main .ah-sec-row-action { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ah-main .ah-sec-row-action > :is(form, a) { width: 100%; box-sizing: border-box; }
  .ah-main .ah-sec-row-action form button,
  .ah-main .ah-sec-row-action > a { width: 100%; justify-content: center; text-align: center; }
  .ah-main .ah-sec-inline-challenge { padding: 12px 10px; }
  .ah-main .ah-challenge-input-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ah-main .ah-otp-compact,
  .ah-main .ah-challenge-input-row button { width: 100%; box-sizing: border-box; min-height: 44px; }
  .ah-main .ah-sec-inline-challenge > div[style*="display: flex"] {
    align-items: stretch !important;
    flex-direction: column;
    gap: 4px;
  }
  .ah-main .ah-sec-inline-challenge .ah-link-subtle { min-height: 44px; padding: 8px 0; text-align: left; }
  .ah-main .ah-sec-group-caption { padding-inline: 4px; }
}

/* MFA forms sit below the identity text without forcing the row wider than its panel. */
.ah-main .ah-security-view .ah-sec-row-mfa {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
}
.ah-main .ah-security-view .ah-sec-row-mfa .ah-sec-row-info {
  min-width: 0;
}
.ah-main .ah-security-view .ah-sec-row-mfa .ah-sec-row-action {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-content: flex-start;
}
.ah-main .ah-security-view .ah-sec-row-mfa .ah-sec-row-action > form {
  display: flex !important;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 !important;
}
.ah-main .ah-security-view .ah-sec-row-mfa .ah-sec-row-action form input.ah-input {
  box-sizing: border-box;
  max-width: 100%;
}
.ah-main .ah-security-view .ah-mfa-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.ah-main .ah-security-view .ah-mfa-action-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ah-control-border, rgba(229, 227, 218, .18));
  border-radius: 12px;
  background: rgba(0, 0, 0, .16);
}
.ah-main .ah-security-view .ah-mfa-action-card h3 { margin: 0; font-size: 14px; }
.ah-main .ah-security-view .ah-mfa-action-card p { margin: 0 0 4px; color: var(--ah-muted); font-size: 12px; line-height: 1.5; }
.ah-main .ah-security-view .ah-mfa-action-card label { font-size: 12px; }
.ah-main .ah-security-view .ah-mfa-action-card .ah-input { box-sizing: border-box; width: 100%; min-height: 44px; }
.ah-main .ah-security-view .ah-mfa-action-card .ah-mfa-recovery-choice { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.ah-main .ah-security-view .ah-mfa-action-card button { min-height: 44px; white-space: normal; }
@media (max-width: 767px) {
  .ah-main .ah-security-view .ah-sec-row-mfa { gap: 12px; }
}
@media (max-width: 520px) {
  .ah-main .ah-security-view .ah-mfa-action-grid { grid-template-columns: minmax(0, 1fr); }
  .ah-main .ah-security-view .ah-sec-row-mfa .ah-sec-row-action > form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
  }
  .ah-main .ah-security-view .ah-sec-row-mfa .ah-sec-row-action form input.ah-input {
    width: 100% !important;
  }
}

/* Give the CCTV gallery a restrained CRT terminal bezel and make channel switching obvious. */
.ah-home .ah-hero-gallery {
  border-color: rgba(217, 216, 209, .28);
  box-shadow: inset 0 0 0 4px #0b0c0d, inset 0 0 0 5px rgba(217, 216, 209, .12), 0 12px 30px rgba(0, 0, 0, .24);
}

.ah-home .ah-hero-gallery-head,
.ah-home .ah-hero-gallery-foot {
  position: relative;
  background-color: #101112;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(245, 245, 247, .018) 3px 4px);
}

.ah-home .ah-hero-gallery-head {
  border-bottom-color: rgba(217, 216, 209, .2);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), inset 0 -3px 0 rgba(0, 0, 0, .38);
}

.ah-home .ah-hero-gallery-foot {
  min-height: 76px;
  border-top: 1px solid rgba(217, 216, 209, .2);
  border-bottom: 3px solid rgba(0, 0, 0, .42);
  box-shadow: inset 0 1px rgba(255, 255, 255, .07);
}

.ah-home .ah-hero-gallery-foot::before {
  content: "CAM SELECT / กดช่องเพื่อเปลี่ยนภาพ";
  color: var(--ah-soft);
  font: 10px/1.4 var(--ah-mono);
  letter-spacing: .08em;
  pointer-events: none;
}

.ah-home .ah-hero-dots button {
  position: relative;
  min-width: 94px;
  border-color: rgba(217, 216, 209, .22);
  border-radius: 3px;
  background: rgba(0, 0, 0, .28);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 2px 0 rgba(0, 0, 0, .35);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.ah-home .ah-hero-dots button:hover {
  border-color: rgba(217, 216, 209, .55);
  background: rgba(217, 216, 209, .1);
  color: var(--ah-paper);
}

.ah-home .ah-hero-dots button:active { transform: translateY(1px); }

.ah-home .ah-hero-dots button[aria-pressed="true"] {
  border-color: var(--ah-action-fill);
  background: rgba(217, 216, 209, .13);
  color: var(--ah-paper);
  box-shadow: inset 0 0 0 1px rgba(217, 216, 209, .12), 0 0 12px rgba(217, 216, 209, .08);
}

.ah-home .ah-hero-dots button[aria-pressed="true"] .ah-hero-channel > span:first-child {
  color: var(--ah-action-fill);
}

.ah-home .ah-hero-slide figcaption {
  border-top: 1px solid rgba(217, 216, 209, .22);
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(245, 245, 247, .018) 3px 4px), #101112;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), inset 0 -3px 0 rgba(0, 0, 0, .34);
}

.ah-home .ah-hero-slide figcaption > span:first-child::before {
  content: "SIGNAL // ";
  color: var(--ah-muted);
  font: 10px/1 var(--ah-mono);
  letter-spacing: .06em;
}

.ah-home .ah-hero-slide .ah-cctv-osd {
  border-color: rgba(217, 216, 209, .28);
  border-radius: 2px;
  background: rgba(8, 9, 10, .9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

@media (max-width: 767px) {
  .ah-home .ah-hero-gallery-foot {
    justify-content: flex-start;
    gap: 10px;
    padding-block: 12px;
  }

  .ah-home .ah-hero-gallery-foot::before { flex: 0 0 100%; }
  .ah-home .ah-hero-dots { gap: 6px; }
  .ah-home .ah-hero-dots button { min-height: 48px; }
  .ah-home .ah-hero-slide figcaption > span:first-child::before { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-home .ah-hero-dots button { transition: none; }
}

.ah-home .ah-home-featured-count[data-event-countdown] {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid var(--ah-action-fill);
  border-radius: var(--ah-radius-badge);
  background: rgba(217, 216, 209, .08);
  color: var(--ah-paper);
  font: 700 13px/1.4 var(--ah-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.ah-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 1fr) minmax(300px, 1.15fr);
  align-items: start;
  gap: 24px clamp(24px, 3vw, 44px);
  padding-block: 28px;
  border-top-color: var(--ah-line);
  background: linear-gradient(180deg, rgba(21, 21, 24, .5), transparent);
}

.ah-footer:not(:has(.ah-footer-group)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ah-footer:not(:has(.ah-footer-group)) .ah-footer-connect { display: none; }
.ah-footer-identity,
.ah-footer-connect,
.ah-footer-resources { min-width: 0; }
.ah-footer-identity { display: grid; align-content: start; gap: 10px; }
.ah-footer-identity p { max-width: 42ch; line-height: 1.6; }
.ah-footer-connect { display: grid; align-content: start; gap: 18px; }
.ah-footer-group,
.ah-footer-resources { display: grid; align-content: start; gap: 8px; }
.ah-footer-label {
  color: var(--ah-muted);
  font: 10px/1.4 var(--ah-mono);
  letter-spacing: .1em;
}

.ah-footer-contact,
.ah-footer-social,
.ah-footer-resource-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
}

.ah-footer-contact a,
.ah-footer-social a,
.ah-footer-resource-links a {
  display: inline-flex;
  gap: 7px;
  min-height: 44px;
  max-width: 100%;
  align-items: center;
  padding-inline: 10px;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius-control);
  color: var(--ah-soft);
  font-size: 11.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.ah-footer-contact a svg,
.ah-footer-social a svg,
.ah-footer-resource-links a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ah-footer-contact a .ah-footer-icon-fill,
.ah-footer-social a .ah-footer-icon-fill {
  fill: currentColor;
  stroke: none;
}

.ah-footer-contact a span,
.ah-footer-social a span,
.ah-footer-resource-links a span {
  min-width: 0;
}

.ah-footer-resources {
  padding-inline-start: clamp(18px, 2.4vw, 32px);
  border-inline-start: 1px solid var(--ah-line);
}

.ah-footer :is(.ah-footer-contact, .ah-footer-social, .ah-footer-resource-links) a:hover,
.ah-footer :is(.ah-footer-contact, .ah-footer-social, .ah-footer-resource-links) a:focus-visible {
  border-color: var(--ah-action);
  background: rgba(217, 216, 209, .07);
  color: var(--ah-paper);
}

.ah-footer :is(.ah-footer-contact, .ah-footer-social, .ah-footer-resource-links) a:focus-visible {
  outline: 2px solid var(--ah-action);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ah-footer :is(.ah-footer-contact, .ah-footer-social, .ah-footer-resource-links) a { transition: none; }
}

@media (max-width: 1023px) {
  .ah-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .ah-footer-resources {
    grid-column: 1 / -1;
    padding: 16px 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--ah-line);
  }
}

.ah-privacy-page .ah-privacy-kicker {
  margin: 0 0 12px;
  color: var(--ah-muted);
  font: 11px/1.5 var(--ah-mono);
  letter-spacing: .1em;
}

.ah-privacy-page h1 { margin-bottom: 12px; }
.ah-privacy-page .ah-privacy-lede { color: var(--ah-soft); }
.ah-privacy-page section { padding-block: 20px; border-bottom: 1px solid var(--ah-line); }
.ah-privacy-page h2 { margin: 0 0 8px; font-size: 20px; }
.ah-privacy-page section p { margin: 0; color: var(--ah-soft); }
.ah-privacy-page section p + p { margin-top: 10px; }
.ah-privacy-page a { color: var(--ah-paper); text-underline-offset: 3px; }
.ah-privacy-draft {
  margin-block: 24px;
  padding: 16px 18px;
  border: 1px solid var(--ah-action);
  background: var(--ah-surface);
}
.ah-privacy-draft p { margin: 6px 0 0; color: var(--ah-soft); }
.ah-privacy-source { margin-top: 20px; color: var(--ah-muted); font-size: 12px; }

@media (max-width: 767px) {
  .ah-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-block: 22px;
  }

  .ah-footer-connect { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
  .ah-footer-resources { grid-column: auto; }
}

/* .ah-home .ah-ticket-flow styles moved to static/css/customer-home-layout.css */

.ah-customer-system .ah-main .tp-register-submit > span[aria-hidden="true"],
.ah-customer-system .ah-main .tp-register-submit > .tp-btn-arrow {
  border-left: none !important;
  padding-left: 0 !important;
  min-width: auto !important;
  min-height: auto !important;
}

.ah-customer-system .tp-register-form input:focus,
.ah-customer-system .tp-register-form input:focus-visible {
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: none !important;
}

