/*
 * Arm 2025 race theme. RGB values read from 03_Color_2025/RGB/*.ase.
 * Ink / White provide the canvas; the three selected accents carry the event.
 * These rules layer over the responsive component layout in styles.css.
 */
:root {
  --ink: #080225;
  --purple: #7233f7;
  --violet: #7233f7;
  --teal: #02eaea;
  --blue: #0057ff;
  --muted: #6f6f6f;
  --paper: #f3f3f3;
  --white: #fff;
  --line: #dedee4;
  --radius: 12px;
}

button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, [tabindex]:focus-visible { outline-color: var(--blue); }
.demo-bar { background: #eaf0ff; color: #254c91; }
.demo-dot { background: var(--blue); }
.preview-label select { color: #254c91; }
.site-header { background: var(--ink); border-color: #ffffff1a; }
.brand { gap: 25px; }
.arm-logo { display: block; width: 88px; height: auto; flex-shrink: 0; }
.brand-divider { height: 29px; background: #ffffff30; }
.brand-name { color: white; }
.desktop-nav { color: #d1cde1; }
.desktop-nav a:hover { color: var(--teal); }
.language-toggle { color: white; border-color: #ffffff40; }
.language-toggle:hover { background: #ffffff12; }

.hero {
  background:
    radial-gradient(ellipse at 89% 32%, #0057ff27, transparent 49%),
    radial-gradient(ellipse at 64% 100%, #7233f72b, transparent 60%),
    var(--ink);
  min-height: 490px;
}
.hero-inner { padding-top: 55px; padding-bottom: 50px; }
.hero-kicker { color: #d4c8f5; }
.small-rule { background: var(--teal); width: 30px; }
.hero h1 { font-size: clamp(42px, 5.8vw, 76px); font-weight: 400; line-height: 1.08; letter-spacing: -2.8px; white-space: nowrap; }
.hero h1 span { display: inline-block; color: var(--teal); font-size: 1.1em; line-height: 1.1; }
.hero-description { color: #c4bfd7; }
.hero-meta { color: #e9e4f5; }
.hero-meta .icon { color: var(--teal); }
.hero-link { color: white; border-bottom-color: #02eaea75; }
.hero-link span:last-child { color: var(--teal); }
.hero-link:hover { color: var(--teal); }
.hero-track { inset: -40px -90px -8px 26%; }
.hero-caption { color: #c1bad6; bottom: 32px; }
.checkered {
  background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0);
  background-size: 12px 12px;
}
.hero-caption .checkered { width: 28px; height: 22px; opacity: .75; }
.race-stripe { position: absolute; bottom: 0; left: 0; right: 0; display: flex; height: 4px; }
.race-stripe span { flex: 1; }
.race-stripe span:nth-child(1) { background: var(--purple); }
.race-stripe span:nth-child(2) { background: var(--teal); }
.race-stripe span:nth-child(3) { background: var(--blue); }

.event-status { background: white; border: 1px solid #dedee4; border-left: 3px solid var(--teal); border-radius: 8px; }
.status-symbol { background: var(--teal); color: var(--ink); }
.event-status .eyebrow { color: #00656a; }
.status-date { color: #696477; }
.section-heading .eyebrow { color: #6f6f6f; }
.section-heading h2 { color: var(--ink); }
.section-index { color: var(--blue); }
.day-tabs { gap: 0; border-color: #d8d8e4; }
.day-tabs button { color: #737080; padding-left: 16px; padding-right: 16px; }
.day-tabs button[aria-selected="true"] { color: white; background: var(--purple); }
.day-tabs button[data-day="1"][aria-selected="true"] { background: var(--blue); }
.day-tabs button[aria-selected="true"]:after { background: transparent; }
.schedule-subline { color: #6f6f6f; }
.time-dot { background: var(--blue); }
.timeline:before { background: #d4d3dc; }
.timeline-item { border-color: #dddde3; }
.timeline-dot { border-color: var(--purple); }
.time-end { color: #827e8d; }
.item-heading h3 { color: var(--ink); }
.item-location { color: #6d6879; }
.item-notes { color: #625d6e; }
.item-badge { background: #ebe5ff; color: #5421bc; }
.timeline-item.current {
  background: #e0f8f6;
  border-left: 2px solid var(--teal);
  border-radius: 8px;
  padding-left: 8px;
}
.timeline-item.current .timeline-dot { background: var(--teal); border-color: #00898d; box-shadow: 0 0 0 4px #c3f1ee; left: 74px; }
.timeline-item.current h3, .timeline-item.current .time-block { color: var(--ink); }
.timeline-item.current .item-badge { background: var(--ink); color: var(--teal); }
.timeline-item.dinner:not(.past):not(.current) h3 { color: var(--purple); }
.timeline-item.past h3, .timeline-item.past .time-block { color: #8b8991; }
.timeline-item.past .item-location, .timeline-item.past .item-notes,
.timeline-item.past .time-end { color: #939099; }
.timeline-item.past .timeline-dot { background: #cccad1; border-color: #cccad1; }
.timeline-item.past .item-badge { background: #e6e5e8; color: #807b88; }
.schedule-footnote { color: #716c7d; }

.pass-card {
  position: relative;
  border-color: #dcdbe4;
  border-radius: 12px;
  box-shadow: 0 8px 26px #08022504;
  overflow: hidden;
}
.pass-card:before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--purple) 0 33.33%, var(--teal) 33.33% 66.66%, var(--blue) 66.66% 100%);
}
.pass-top { color: var(--purple); }
.pass-card h2 { color: var(--ink); }
.pass-intro { color: #6f6f6f; }
form label { color: #4d475c; }
.input-wrap input { color: var(--ink); background: #fafafa; border-color: #d7d5df; }
.input-wrap input::placeholder { color: #857d90; }
.input-wrap input:focus { border-color: var(--blue); }
.input-wrap > button { color: #70677f; }
.input-wrap input[aria-invalid="true"] { border-color: #b44c59; }
small { color: #77717e; }
.primary-button { background: var(--purple); color: white; }
.primary-button:hover { background: #5d24d3; }
.primary-button:disabled { background: #8b6bbc; }
.demo-credentials { border-color: #d8d4e0; }
.demo-chip { color: #5e4d79; border-color: #dcd6e7; }
.demo-credentials p { color: #776b82; }
.demo-credentials button, .demo-credentials code { color: #5421bc; }
.credential-divider { color: #a9a0b5; }
.lookup-message.is-info { color: #526479; }
.pass-bottom { color: #80788d; }
.barcode { background: repeating-linear-gradient(90deg, #938b9e 0 1px, transparent 1px 3px, #938b9e 3px 5px, transparent 5px 7px); }
.result-name { color: var(--ink); }
.result-valid { color: #006065; background: #def9f6; }
.result-table { background: var(--teal); border-color: var(--teal); }
.result-table span, .result-table strong { color: var(--ink); }
.result-table strong { font-size: 52px; }
.result-small { border-color: #e2dcea; border-top: 3px solid var(--purple); background: #faf8ff; }
.result-small:nth-child(2) { border-color: #dce4f6; border-top-color: var(--blue); background: #f5f8ff; }
.result-small span { color: #6f6382; }
.result-small strong { color: #5421bc; }
.result-small:nth-child(2) strong { color: #0048d6; }
.result-transport { color: #4e475d; background: #f3f3f3; }
.result-demo-label { color: #7e738a; }

.dinner-card {
  isolation: isolate;
  padding: 28px;
  min-height: 244px;
  border-radius: 12px;
  background: var(--ink);
  border: 1px solid #211341;
}
.dinner-kicker { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.dinner-card .eyebrow { color: var(--teal); font-size: 9px; letter-spacing: 2px; }
.race-live-dot { width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.dinner-card h3 { margin-top: 20px; font-size: 27px; color: white; max-width: 85%; }
.dinner-card p { color: #d2cbe4; font-size: 12px; }
.dinner-card .text-button { color: white; position: relative; z-index: 2; border-bottom: 1px solid #ffffff30; padding-bottom: 4px; }
.dinner-card .text-button > span:last-child { color: var(--teal); }
.dinner-background { inset: 0; transform: none; opacity: 1; z-index: -1; pointer-events: none; }
.dinner-background .checkered { position: absolute; right: 12px; top: 28px; width: 55px; height: 42px; background-size: 14px 14px; opacity: .12; transform: rotate(-12deg); }
.dinner-lane { position: absolute; width: 30px; height: 340px; top: -48px; transform: rotate(34deg); border-radius: 30px; }
.lane-blue { background: var(--blue); right: 50px; }
.lane-violet { background: var(--purple); right: 8px; }
.lane-teal { background: var(--teal); right: -34px; }

.dress-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  align-items: center;
  margin-bottom: 20px;
  padding: 34px;
  border: 1px solid #211341;
  border-radius: var(--radius);
  color: white;
  background: radial-gradient(ellipse at 20% 0, #7233f721, transparent 65%), var(--ink);
}
.dress-copy, .dress-palette { min-width: 0; }
.dress-kicker { display: flex; align-items: center; gap: 10px; color: #c8bedc; font-size: 9px; letter-spacing: 1.8px; }
.dress-kicker .checkered { width: 22px; height: 18px; background-size: 8px 8px; opacity: .8; flex-shrink: 0; }
.dress-card h3 { margin: 17px 0 12px; font-size: clamp(25px, 2.7vw, 35px); font-weight: 400; letter-spacing: -1px; line-height: 1.2; }
.dress-card h3 span { color: var(--teal); }
.dress-theme { color: var(--teal); font-size: 12px; font-weight: 500; letter-spacing: .6px; }
.dress-description { margin-top: 10px; max-width: 450px; color: #e1dbea; font-size: 13px; line-height: 1.9; }
.dress-tip { margin-top: 9px; color: #b9afcc; font-size: 11px; line-height: 1.8; }
.dress-palette-label { margin-bottom: 12px; color: #d3cbe0; font-size: 11px; letter-spacing: .4px; }
.dress-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dress-swatch { display: flex; flex-direction: column; justify-content: space-between; min-height: 166px; padding: 17px 14px; border-radius: 5px; }
.swatch-violet { background: var(--purple); color: white; }
.swatch-teal { background: var(--teal); color: var(--ink); }
.swatch-blue { background: var(--blue); color: white; }
.swatch-number { font-size: 9px; letter-spacing: 1px; opacity: .8; }
.swatch-name { font-size: clamp(15px, 1.6vw, 21px); line-height: 1.15; letter-spacing: -.4px; }

.info-card { border-color: #dcdbe4; }
.info-icon { color: var(--purple); }
.info-card:nth-child(2) .info-icon { color: var(--blue); }
.info-card:nth-child(3) .info-icon { color: #00757a; }
.info-card h3 { color: var(--ink); }
.info-card p { color: #655d71; }
.info-card .info-detail { color: #79717f; }
.info-link { color: #0048d6; }
.info-link:hover { color: var(--purple); }
.info-tag { color: #685c79; background: #f0edf5; }
.notice-header .eyebrow { color: #756881; }
.notice-header h2 { color: var(--ink); }
.notice-number { color: var(--blue); }
.notice-row p { color: #72697b; }
.footer-identity { display: flex; gap: 25px; align-items: center; }
.footer-logo { display: block; width: 70px; height: auto; flex-shrink: 0; }
.footer-brand { color: #40364f; }
.site-footer p { color: #7e738a; }
.site-footer a { color: #5b4d72; }
.mobile-nav { border-color: #dedee4; }
.mobile-nav a { color: #766d82; }
.mobile-nav a.active { color: var(--purple); }

@media (min-width: 1600px) {
  .hero { min-height: 515px; }
  .hero-inner { padding-top: 65px; }
  .hero-track { left: 32%; }
}
@media (max-width: 1023px) {
  .hero-track { left: 19%; right: -180px; opacity: .95; }
  .dinner-card { padding: 24px; }
  .dinner-card h3 { font-size: 24px; }
  .dinner-lane { top: -48px; width: 24px; }
  .lane-blue { right: 30px; }
  .lane-violet { right: -5px; }
  .lane-teal { right: -40px; }
  .dress-card { gap: 28px; padding: 28px; }
  .dress-swatch { padding: 15px 11px; min-height: 146px; }
}
@media (max-width: 767px) {
  .brand { gap: 20px; }
  .arm-logo { width: 74px; }
  .brand-divider { height: 24px; }
  .hero { min-height: 463px; }
  .hero-inner { padding-top: 36px; padding-bottom: 38px; }
  .hero h1 { font-size: clamp(36px, 10.2vw, 64px); letter-spacing: -1.4px; }
  .hero h1 span { font-size: 1.1em; letter-spacing: -1.7px; margin-top: 4px; }
  .hero-description { color: #c8c0dc; }
  .hero-track { left: 28%; top: 108px; right: -326px; bottom: -105px; opacity: .85; }
  .hero-caption { bottom: 26px; color: #d0c8e1; }
  .hero-caption .checkered { width: 21px; height: 17px; background-size: 8px 8px; }
  .race-stripe { height: 3px; }
  .day-tabs button { padding-left: 12px; padding-right: 12px; }
  .timeline-item.current { padding-left: 6px; }
  .timeline-item.current .timeline-dot { left: 59px; }
  .timeline-item.past h3, .timeline-item.past .time-block { color: #89858f; }
  .timeline-item.past .item-notes, .timeline-item.past .item-location,
  .timeline-item.past .time-end { color: #928c99; }
  .dinner-card { min-height: 238px; padding: 26px; }
  .dinner-card h3 { font-size: 27px; }
  .dinner-card .eyebrow { font-size: 9px; }
  .dinner-lane { top: -48px; width: 28px; }
  .lane-blue { right: 45px; }
  .lane-violet { right: 6px; }
  .lane-teal { right: -33px; }
  .dress-card { grid-template-columns: 1fr; gap: 24px; padding: 26px; margin-bottom: 12px; }
  .dress-card h3 { font-size: clamp(25px, 7.2vw, 34px); }
  .dress-kicker { font-size: 8px; letter-spacing: 1.3px; }
  .dress-description { max-width: none; }
  .dress-palette-label { font-size: 10px; }
  .dress-swatch { min-height: 128px; padding: 14px 11px; }
  .swatch-name { font-size: clamp(14px, 4.2vw, 22px); }
  .footer-identity { gap: 21px; }
  .footer-logo { width: 64px; }
}
@media (max-width: 359px) {
  .brand { gap: 16px; }
  .arm-logo { width: 68px; }
  .hero-track { left: 20%; right: -326px; }
  .timeline-item.current .timeline-dot { left: 53px; }
  .day-tabs button { padding-left: 9px; padding-right: 9px; }
  .dinner-card { padding: 23px; }
  .dinner-card h3 { font-size: 24px; }
  .dress-card { padding: 22px; }
  .dress-swatches { gap: 6px; }
  .dress-swatch { padding: 12px 9px; min-height: 116px; }
  .footer-identity { gap: 16px; }
}
