/* WAYKALEN FOOD TRAILER. Black canvas, yellow accents, neutral product photography.
   Shared legacy components are themed here; their behavior and routes stay intact. */
html[data-brand-site] {
  color-scheme: dark;
  --page: #000; --surface: #171717; --ink: #f2f2ef; --muted: #b0b0ac;
  --line: #363636; --fog: #363636; --fog-light: #222;
  --guide-paper: #000; --guide-ink: #f2f2ef; --guide-muted: #b0b0ac;
  --ab-paper: #000; --ab-ink: #f2f2ef; --ab-muted: #b0b0ac; --ab-line: #363636;
}
html[data-brand-site] ::selection { background:var(--brand-accent); color:#000; }
html[data-brand-site] body:has(#main.about-brand) {
  --ab-paper:#000; --ab-ink:#f2f2ef; --ab-muted:#b0b0ac; --ab-line:#363636;
  background:#000; color:#f2f2ef;
}
.ag-header { background:#000; }
.ag-header-inner { min-height:80px; padding-block:10px; gap:24px; }
.ag-logo { flex:none; }
html[data-brand-site] .ag-logo .brand-wordmark {
  display:block; width:245px; height:48px; object-fit:contain; object-position:left center;
  filter:none; mix-blend-mode:normal; border-radius:0; transform:none;
}
/* Selected 1C Maker Plate lockup, shared by header and footer. */
html[data-brand-site] .ag-footer { border-top:1px solid var(--brand-line); padding-top:48px; }
html[data-brand-site] .ag-footer .ag-logo .brand-wordmark { width:310px; height:62px; max-width:100%; }
html[data-brand-site] .ag-footer .ag-logo { max-width:100%; }
html[data-brand-site] .ag-footer h2 { font-size:18px; font-weight:400; line-height:1.55; letter-spacing:-.015em; color:var(--brand-muted); max-width:270px; margin:24px 0 0; }
html[data-brand-site] .ag-footer h3 { color:var(--brand-ink); }
html[data-brand-site] .ag-footer a:hover { color:var(--brand-accent); }
html[data-brand-site] .ag-footer .ag-logo:hover { text-decoration:none; color:var(--brand-ink); }
html[data-brand-site] .ag-footer-bottom { border-top:1px solid var(--brand-line); margin-top:44px; padding-top:24px; }
.brand-home .brand-hero h1 em,.brand-inner h1 em { color:var(--brand-accent); }
.brand-process-list details[open] .brand-step { color:var(--brand-accent); }
.brand-workshop li:before { color:var(--brand-accent); }
.ag-nav a[aria-current=page]:not(.ag-quote) { color:var(--brand-accent); }
.brand-home .lineup-copy .button:hover { background:var(--brand-hover); }

.ag-nav { gap:20px; }
.ag-nav a.ag-quote:hover { color:#000; background:var(--brand-hover); }
.ag-language-options { border-color:#363636; box-shadow:0 12px 40px #0008; }
.ag-language-options button:hover,.ag-language-options button[aria-pressed=true] { background:#292929; }
.ag-header[data-open] .ag-header-inner { flex-wrap:wrap; }
.brand-home .brand-hero h1 { font-weight:500; line-height:1.06; font-size:clamp(54px,5.8vw,84px); }
.brand-hero { padding-top:50px; }
.brand-hero-top { margin-bottom:46px; }
.brand-eyebrow,.brand-workshop .brand-eyebrow { color:var(--brand-accent); }
.brand-home .brand-hero-scene img { height:clamp(280px,calc(100svh - 395px),530px); }
.brand-home .brand-hero-scene figcaption>span { display:none; }
.brand-hero-scene figcaption { justify-content:flex-end; }
.brand-home .lineup-copy .button { color:#090909; }
.brand-home .lineup-arrows button { border-color:#484848; }
.brand-home .lineup-series-tab:hover { color:#fff; }
.brand-home .lineup-media img { filter:none; }
.brand-workshop,.brand-invite { background:#101010; }
.brand-workshop .brand-button:hover { background:var(--brand-hover); }
.brand-process-list details { border-color:#363636; }
.ag-footer { background:#000; }
.ag-footer h2 { color:#f2f2ef; }
html[data-brand-site] :is(.button,.ed-button,.ag-build-button,.ph-button,.quote-submit):focus-visible { outline-color:var(--brand-accent); }
html[data-brand-site] :is(.button-primary,.ed-button,.ag-build-button,.button-hero-primary,.quote-submit) { background:var(--brand-accent); color:#090909; border-color:var(--brand-accent); }
html[data-brand-site] :is(.button-primary,.ed-button,.ag-build-button,.button-hero-primary,.quote-submit):hover { background:var(--brand-hover); color:#090909; }
html[data-brand-site] :is(.button-secondary,.ed-button-secondary,.button-hero-secondary) { color:#f2f2ef; background:transparent; border-color:#747474; }
html[data-brand-site] :is(input,textarea,select) { background:#0b0b0b; color:#f2f2ef; border-color:#686868; }
html[data-brand-site] :is(input,textarea)::placeholder { color:#a6a6a2; opacity:1; }
html[data-brand-site] :is(input,textarea,select):focus-visible { outline-color:var(--brand-accent); }
html[data-brand-site] :is(.quote-form,.quote-selection-card,.quote-mobile-summary,.layout-summary,.custom-layout-cta,.project-process-step) { background:#141414; color:#f2f2ef; }
html[data-brand-site] :is(.quote-form,.quote-selection-card,.quote-mobile-summary) :is(label,legend,strong,h2,h3) { color:#f2f2ef; }
html[data-brand-site] :is(.quote-helper,.quote-summary-note,.quote-form-note,.quote-privacy,.quote-field-help,.quote-summary,.quote-plan-choice span) { color:#b0b0ac; }
html[data-brand-site] :is(.quote-plan-choice,.layout-option) { border-color:#585858; color:#f2f2ef; }
html[data-brand-site] :is(.quote-plan-choice:has(input:checked),.layout-option.is-active) { border-color:var(--brand-accent); background:#242424; color:#fff; }
html[data-brand-site] :is(.quote-form,.quote-selection-card) :is(input,select,textarea) { border-color:#686868; }
html[data-brand-site] :is(.series-selector-option,.series-model-copy,.variant-summary-bar,.layout-summary,.drawing-card) { color:#f2f2ef; }
html[data-brand-site] .series-selector-option.is-active { color:var(--brand-accent); border-color:var(--brand-accent); }
html[data-brand-site] :is(.series-model-card,.layout-option,.project-fit-card) :is(p,small) { color:#b0b0ac; }
html[data-brand-site] .brand-inner .drawing-card img { background:#eee; }
html[data-brand-site] .brand-about .ab-process-tabs button[aria-selected=true] { background:var(--brand-accent); color:#090909; }
html[data-brand-site] :is(.ab-credential,.ab-certificate,.ab-certificate-card) { background:#202020; }
html[data-brand-site] :is(.ed-section,.photo-page,.story-page) { color:#f2f2ef; }
html[data-brand-site] :is(.ed-section,.photo-page,.ed-hero) p { color:#b0b0ac; }
html[data-brand-site] :is(.ed-path,.ed-card,.ed-search,.ed-faq-tools button,.ag-faq-list details,.ag-faq-list details[open],.system-key-list li,.custom-scope-list article,.ag-trust-reasons article) { background:#171717; color:#f2f2ef; }
html[data-brand-site] :is(.ed-faq-tools button[aria-pressed=true],.guide-stage-tabs button[aria-selected=true]) { background:var(--brand-accent); color:#090909; }
html[data-brand-site] :is(.ag-faq-answer,.ag-faq-answer p,.ed-section p,.ed-path p) { color:#b0b0ac; }
html[data-brand-site] :is(.ag-text-link,.text-link,.ed-text-link) { color:#f2f2ef; }
html[data-brand-site] :is(.ag-text-link,.text-link,.ed-text-link):hover { color:var(--brand-accent); }
/* Legacy page families: keep the same black canvas through guides and dialogs. */
html[data-brand-site] :is(.photo-page,.guide-handbook,.story-page) { background:#000; }
html[data-brand-site] :is(.ph-tone,.ph-cards article,.ph-configuration article,.ph-markets,.ph-equipment li,.ph-plan,.gh-grid article) { background:#171717; color:#f2f2ef; }
html[data-brand-site] :is(.ph-filters button,.ph-card-arrow) { background:#242424; color:#f2f2ef; }
html[data-brand-site] .ph-filters button[aria-pressed=true] { background:var(--brand-accent); color:#090909; }
html[data-brand-site] :is(.photo-page figcaption,.ph-facts dt,.ph-overview li,.ph-configuration li,.gh-photo figcaption,.gh-checklist li>span) { color:#b0b0ac; }
html[data-brand-site] :is(.gh-intro>a,.gh-links a) { color:#f2f2ef; }
html[data-brand-site] .ph-project-feature p { color:#fff; }
html[data-brand-site] :is(.series-editorial-media,.interior-gallery-item,.workflow-grid article) { background:#171717; }
html[data-brand-site] :is(.series-results-description,.journey-steps>li>span,.brief-note) { color:#b0b0ac; }
html[data-brand-site] .customer-rail-heading { color:#f2f2ef; }
html[data-brand-site] .ag-build-button span { color:#090909; }
html[data-brand-site] .ag-custom .hero { background-color:#101010; }
html[data-brand-site] .ag-custom .hero .button-primary { background:var(--brand-accent); color:#090909; }
html[data-brand-site] .ab-process-tabs button[aria-selected=true]>span { color:#333; }
html[data-brand-site] .buying-guide .bg-navigation { background:#101010; backdrop-filter:none; }
html[data-brand-site] .bg-navigation a { color:#b0b0ac; }
html[data-brand-site] .bg-navigation a:hover { background:#242424; color:#fff; }
html[data-brand-site] .bg-navigation a[aria-current=step] { background:var(--brand-accent); color:#090909; }
html[data-brand-site] :is(.bg-photo a,.bg-document a,.bg-receipt a,.bg-receipt-details,.bg-pickup,.bg-documents,.bg-pending,.bg-evidence,.bg-quote-scope,.bg-checklist-items) { background:#171717; color:#f2f2ef; border-color:#363636; }
html[data-brand-site] #invoice .bg-receipt-stage { background:#171717; }
html[data-brand-site] .buying-guide :is(#quotation,#invoice) { background:transparent; }
html[data-brand-site] .buying-guide :is(.bg-actions,.bg-phase-heading p,.bg-step-number,.bg-text-link,.bg-inspection-checklist>[data-checklist-open]) { color:#b0b0ac; }
html[data-brand-site] .buying-guide :is(.bg-checklist-body p,.bg-info-dialog .bg-dialog-copy p,.bg-photo figcaption,.bg-receipt-details span) { color:#b0b0ac; }
html[data-brand-site] .bg-gallery-controls button { color:#f2f2ef; border-color:#666; }
html[data-brand-site] .bg-gallery-controls button:disabled { color:#888; border-color:#444; }
html[data-brand-site] :is(.bg-checklist-dialog,.bg-checklist-dialog [data-checklist-close],.ag-context-dialog) { background:#101010; color:#f2f2ef; }
html[data-brand-site] .bg-checklist-dialog::backdrop { background:#000e; }
html[data-brand-site] .bg-checklist-items li { background:#171717; color:#f2f2ef; border-color:#363636; }
html[data-brand-site] .bg-checklist-items li::before { color:#b0b0ac; }
html[data-brand-site] .bg-checklist-items h3 { color:#f2f2ef; }
html[data-brand-site] .bg-checklist-items p { color:#b0b0ac; }
/* Expanded states must use the same dark surfaces as the page itself. */
html[data-brand-site] :is(.model-picker-dialog,.model-picker-frame,.series-variant-dialog,.series-variant-dialog-head) { background:#101010; color:#f2f2ef; border-color:#363636; }
html[data-brand-site] :is(.model-picker-series-tab,.model-picker-option,.model-picker-option-media,.model-picker-option-copy,.series-variant-option) { background:#171717; color:#f2f2ef; border-color:#363636; }
html[data-brand-site] :is(.model-picker-series-tab:hover,.model-picker-series-tab.is-selected,.series-variant-option:hover,.series-variant-option.is-active) { background:#292929; color:#f2f2ef; border-color:var(--brand-accent); box-shadow:inset 0 0 0 1px var(--brand-accent); }
html[data-brand-site] .model-picker-option.is-current { border-color:var(--brand-accent); box-shadow:inset 0 0 0 1px var(--brand-accent); }
html[data-brand-site] :is(.model-picker-dialog,.series-variant-dialog) :is(p,em,small) { color:#b0b0ac; }
html[data-brand-site] :is(.model-picker-dialog,.series-variant-dialog) .eyebrow { color:var(--brand-accent); }
html[data-brand-site] :is(.model-picker-close,.series-variant-dialog-close) { background:#101010; color:#f2f2ef; border-color:#686868; }
html[data-brand-site] :is(.model-picker-close,.series-variant-dialog-close):hover { background:var(--brand-accent); color:#090909; }
html[data-brand-site] :is(.model-picker-dialog,.series-variant-dialog)::backdrop { background:#000d; }
html[data-brand-site] .customer-rail-link { color:#f2f2ef; }
html[data-brand-site] .customer-gallery-photo figcaption { color:#b0b0ac; }
html[data-brand-site] .ed-number { color:#b0b0ac; }
html[data-brand-site] :is(.skip-link,.inquiry-thanks-button) { background:var(--brand-accent); color:#090909; border-color:var(--brand-accent); }
html[data-brand-site] .inquiry-thanks-button:hover { background:var(--brand-hover); color:#090909; }
/* Inquiry controls need explicit brand states after the shared delivery styles. */
html[data-brand-site] [data-demo-form] .quote-submit-row [data-quote-submit] {
  display:flex;align-items:center;justify-content:center;gap:12px;
  min-height:54px;padding:16px 24px;text-align:center;
  background:var(--brand-accent);border-color:var(--brand-accent);color:#090909;
  font-weight:600;opacity:1;
}
html[data-brand-site] [data-demo-form] .quote-submit-row [data-quote-submit]:not(:disabled):hover {
  background:var(--brand-hover);border-color:var(--brand-hover);color:#090909;
}
html[data-brand-site] [data-demo-form] .quote-submit-row [data-quote-submit]:disabled {
  background:#303030;border-color:#484848;color:#deded9;opacity:1;cursor:not-allowed;
}
html[data-brand-site] [data-demo-form] .quote-submit-row [data-quote-submit][data-delivery-state="sending"] {
  background:#303030;border-color:#686868;color:#f2f2ef;cursor:wait;
}
html[data-brand-site] [data-demo-form] .quote-submit-row [data-quote-submit][data-delivery-state="success"] {
  background:var(--brand-accent);border-color:var(--brand-accent);color:#090909;cursor:default;
}
html[data-brand-site] .inquiry-thanks {
  min-height:clamp(460px,66svh,640px);padding:80px 24px;background:#000;
}
html[data-brand-site] .inquiry-thanks-inner {width:min(100%,560px)}
html[data-brand-site] .inquiry-thanks-mark {
  width:56px;height:56px;margin:0 auto 24px;border:1px solid #66500c;
  background:#191500;color:var(--brand-accent);
}
html[data-brand-site] .inquiry-thanks h1 {
  margin:0;font-size:clamp(30px,3.2vw,44px);line-height:1.2;
  font-weight:600;letter-spacing:-.035em;
}
/* The heading receives programmatic focus for screen readers, not a control ring. */
html[data-brand-site] .inquiry-thanks [data-receipt-title]:focus {outline:none}
html[data-brand-site] .inquiry-thanks-copy {
  margin:18px 0 30px;font-size:16px;line-height:1.7;color:#b0b0ac;
}
html[data-brand-site] .inquiry-thanks-button {
  min-height:48px;min-width:160px;padding:13px 24px;font-size:14px;font-weight:600;
}
@media(max-width:600px){
  html[data-brand-site] .inquiry-thanks {min-height:440px;padding:64px 24px}
  html[data-brand-site] .inquiry-thanks-mark {width:48px;height:48px;margin-bottom:22px}
  html[data-brand-site] .inquiry-thanks-copy {max-width:290px;margin:16px auto 28px;font-size:15px}
}
html[data-brand-site] :is(.inquiry-thanks-button,.customer-rail-link):focus-visible { outline-color:var(--brand-accent); }
@media(max-width:1180px) {
  .ag-header-inner { min-height:72px; }
  html[data-brand-site] .ag-logo .brand-wordmark { width:210px; height:42px; }
}
@media(max-width:767px) {
  .ag-header-inner { min-height:68px; padding-block:8px; gap:10px; }
  html[data-brand-site] .ag-logo .brand-wordmark { width:180px; height:36px; }
  .ag-language { margin-left:auto; }
  .brand-hero { padding-top:30px; }
  .brand-hero-top { margin-bottom:28px; }
  .brand-home .brand-hero h1 { font-size:clamp(39px,10.8vw,62px); line-height:1.08; }
  .brand-home .brand-hero-scene img { height:320px; }
}
@media(max-width:359px) {
  html[data-brand-site] .ag-logo .brand-wordmark { width:148px; height:32px; }
  .ag-header-inner { gap:8px; }
}

/* Keep the original metal badge artwork; hide its pale square sprite cells. */
html[data-brand-site] .about-brand .ab-metal-badge {
  --badge-shift-x:-3.6%; --badge-shift-y:-3.35%;
  background:transparent; border:0; box-shadow:none;
  clip-path:circle(41.6% at 50% 50%);
}
html[data-brand-site] .about-brand .ab-metal-badge:nth-child(3n + 2) { --badge-shift-x:.12%; }
html[data-brand-site] .about-brand .ab-metal-badge:nth-child(3n) { --badge-shift-x:3.95%; }
html[data-brand-site] .about-brand .ab-metal-badge:nth-child(n + 4):nth-child(-n + 6) { --badge-shift-y:.72%; }
html[data-brand-site] .about-brand .ab-metal-badge:nth-child(n + 7) { --badge-shift-y:5.14%; }
html[data-brand-site] .about-brand .ab-metal-badge > img {
  left:calc(var(--badge-x) * -2 + var(--badge-shift-x));
  top:calc(var(--badge-y) * -2 + var(--badge-shift-y));
}
html[data-brand-site] .about-brand .ab-metal-badge:focus-visible { filter:brightness(1.25); }
