/* Isolated color demo only. Removing data-color-theme restores every original
   application rule. No dimensions, spacing, typography or interaction change. */
html[data-color-theme="brand"] {
  --yg-brand-maroon: #712519;
  --yg-brand-deep: #651504;
  --yg-brand-bronze: #ab693e;
  --yg-brand-gold: #e0954b;
  --yg-brand-copper: #e39248;
  --yg-brand-cream: #f3d1b0;
  --yg-brand-text: #fff2e3;
  --yg-brand-muted: #f3d1b0e0;
  --yg-brand-readable-gold: #f3bd80;
  --yg-brand-panel: #792b18;
  --yg-brand-art: url('/brand-theme/assets/rosette.svg');
  --yg-brand-native-gradient: linear-gradient(120deg, #e39248, #a04920 55%, #651504);
  --yg-brand-gold-wash: linear-gradient(110deg, #e0954b, #f3d1b0 55%, #e39248);
  /* An existing brand-maroon scrim keeps white controls readable on copper. */
  --yg-brand-control-gradient: linear-gradient(#65150480, #65150480), var(--yg-brand-native-gradient);
  --yg-brand-white-gradient: linear-gradient(90deg, #fff 0%, #fff 55%, #fcf4ea 82%, #f3d1b0 100%);
}

html[data-color-theme="brand"] :is(.gallery-page, .location-page) {
  --ink: var(--yg-brand-text);
  --tea: var(--yg-brand-muted);
  --maroon: var(--yg-brand-readable-gold);
  --maroon-deep: var(--yg-brand-text);
  --cream: var(--yg-brand-deep);
  --paper: var(--yg-brand-panel);
  --line: #e0954b55;
  --copper: var(--yg-brand-bronze);
  --gold: var(--yg-brand-gold);
  --gold-wash: var(--yg-brand-gold-wash);
  --menu-gradient: var(--yg-brand-control-gradient);
  background-color: var(--yg-brand-deep);
  background-image: linear-gradient(125deg, #651504ed, #712519ed 48%, #5d190ced), var(--yg-brand-art);
  background-size: auto, 320px;
  color: var(--yg-brand-text);
}

html[data-color-theme="brand"] :is(.gallery-page, .location-page) .site-header,
html[data-color-theme="brand"] :is(.gallery-page, .location-page) .site-footer {
  background: var(--yg-brand-deep);
  color: var(--yg-brand-text);
}
html[data-color-theme="brand"] :is(.gallery-page, .location-page) .site-header .nav-order,
html[data-color-theme="brand"] .gallery-page :is(.catalog-trigger, .catalog-close) {
  background: var(--yg-brand-gold-wash);
  color: var(--yg-brand-deep);
}
html[data-color-theme="brand"] .gallery-page .menu-category-dock { background: var(--yg-brand-deep); }
html[data-color-theme="brand"] .gallery-page .menu-category-tray {
  background: linear-gradient(180deg, #97451f, #762519 65%, #651504);
  border-color: #e0954b88;
  box-shadow: 0 3px 12px #35090455, inset 0 1px 0 #f3d1b066;
}
html[data-color-theme="brand"] .gallery-page .menu-category-dock .gallery-menu-nav a { color: var(--yg-brand-text); }
html[data-color-theme="brand"] .gallery-page .menu-category-dock .gallery-menu-nav a[aria-current="location"] {
  background: var(--yg-brand-gold-wash);
  color: var(--yg-brand-deep);
  box-shadow: inset 0 -2px 0 #f3d1b0;
}
html[data-color-theme="brand"] .gallery-page :is(.dish-price, .dish-weight, .dish-portion, .platter-portions, .catalog-item-price) { color: var(--yg-brand-readable-gold); }
html[data-color-theme="brand"] .gallery-page .gallery-current-caption :is(.dish-portion, .dish-weight) { color: var(--yg-brand-readable-gold); }
html[data-color-theme="brand"] .gallery-page :is(.gallery-card-copy, .gallery-current-caption, .menu-text-list) p { color: var(--yg-brand-muted); }
html[data-color-theme="brand"] .gallery-page .gallery-card-copy .dish-price,
html[data-color-theme="brand"] .gallery-page .menu-text-list .dish-price { color: var(--yg-brand-readable-gold); }
html[data-color-theme="brand"] .gallery-page .catalog-dialog { background: var(--yg-brand-deep); color: var(--yg-brand-text); }
html[data-color-theme="brand"] .menu-language-picker > nav { background: var(--yg-brand-deep); border-color: #e0954b88; }
html[data-color-theme="brand"] .menu-language-picker :is(summary, nav a) { color: var(--yg-brand-text); }
html[data-color-theme="brand"] .menu-language-picker > nav :is([aria-current="true"], a:hover) { color: var(--yg-brand-readable-gold); background: #e0954b20; }
html[data-color-theme="brand"] .gallery-page .gallery-order {
  background: radial-gradient(ellipse at 65% 50%, #e0954b20, transparent 70%), var(--yg-brand-deep);
}
html[data-color-theme="brand"] .gallery-page .gallery-branch-link { background: var(--yg-brand-panel); color: var(--yg-brand-text); }
html[data-color-theme="brand"] .gallery-page .gallery-branch-link:hover { background: #904020; }
html[data-color-theme="brand"] .table-menu-locations > span { color: var(--yg-brand-readable-gold); }
html[data-color-theme="brand"] .order-branch-choice { background: #651504; border-color: #e0954b88; }
html[data-color-theme="brand"] .order-branch-choice a { color: var(--yg-brand-text); }
html[data-color-theme="brand"] .order-branch-choice a[aria-current] { color: var(--yg-brand-deep); background: var(--yg-brand-gold-wash); box-shadow: none; }
html[data-color-theme="brand"] :is(.gallery-page, .location-page, .concept-page) :focus-visible { outline-color: var(--yg-brand-text); }
html[data-color-theme="brand"] .gallery-page .menu-category-dock .gallery-menu-nav a[aria-current="location"]:focus-visible { outline-color: var(--yg-brand-deep); }

html[data-color-theme="brand"] .location-page :is(.location-hero, .menu-section, .order-section, .locations-section) { background: transparent; }
html[data-color-theme="brand"] .location-page .menu-ribbon { color: var(--yg-brand-text); }
html[data-color-theme="brand"] .location-page :is(.location-hero h1 em, .menu-ribbon h2 em, .menu-ribbon .eyebrow) { color: var(--yg-brand-readable-gold); }
html[data-color-theme="brand"] .location-page .hero-menu { background: var(--yg-brand-gold-wash); color: var(--yg-brand-deep); }
html[data-color-theme="brand"] .location-page :is(.hero-directions, .order-links a) { color: var(--yg-brand-text); background: var(--yg-brand-panel); border-color: #e0954b88; }
html[data-color-theme="brand"] .location-page :is(.hero-directions:hover, .order-links a:hover) { background: #904020; }
html[data-color-theme="brand"] .location-page :is(.location-visit-card, .order-location[data-selected]) { background: #651504; border-color: #e0954b77; }

html[data-color-theme="brand"] .concept-page {
  --concept-ink: var(--yg-brand-deep);
  --concept-maroon: var(--yg-brand-maroon);
  --concept-copper: var(--yg-brand-bronze);
  --concept-gold: var(--yg-brand-readable-gold);
  --concept-cream: var(--yg-brand-text);
  --concept-button-gradient: var(--yg-brand-control-gradient);
  background-color: var(--yg-brand-deep);
  background-image: linear-gradient(125deg, #651504ed, #712519ed 48%, #5d190ced), var(--yg-brand-art);
  background-size: auto, 320px;
}
html[data-color-theme="brand"] .concept-page .concept-header { background: linear-gradient(180deg, #651504b3, #65150444 72%, transparent); }
html[data-color-theme="brand"] .concept-page .scene-shade {
  background: linear-gradient(90deg, #651504a3, #65150433 48%, transparent 80%), linear-gradient(0deg, var(--concept-ink), transparent 32%);
}
html[data-color-theme="brand"] .concept-page .food-stage {
  background: linear-gradient(180deg, transparent 75%, #651504), radial-gradient(ellipse at 72% 55%, #e0954b28, transparent 58%), linear-gradient(135deg, #651504ed, #712519ed 62%, #883213ed), var(--yg-brand-art);
  background-size: auto, auto, auto, 620px;
}
html[data-color-theme="brand"] .concept-page :is(.concept-outro, .concept-locations) { background: transparent; }
html[data-color-theme="brand"] .concept-page :is(.header-nav .header-order, .menu-cta, .branch-chooser button[aria-pressed="true"]) { color: var(--yg-brand-deep); background: var(--yg-brand-gold-wash); }
html[data-color-theme="brand"] .concept-page .header-nav .header-order:hover { color: var(--yg-brand-deep); }
html[data-color-theme="brand"] .concept-page .branch-chooser button { background: #792b18; color: var(--yg-brand-text); }
html[data-color-theme="brand"] .concept-page .branch-chooser button[aria-pressed="true"] { background: var(--yg-brand-gold-wash); color: var(--yg-brand-deep); }
html[data-color-theme="brand"] .concept-page :is(.story-copy p, .assembly-description, .serving-sizes, .locations-intro, .swipe-hint, .discovery-caption p, .location-list span, .location-list p) { color: var(--yg-brand-muted); }
html[data-color-theme="brand"] .concept-page :is(.scene-kicker, .story-copy .story-location, .discovery-group-title, .story-menu-link, .location-list strong, .location-contact-actions a) { color: var(--yg-brand-readable-gold); }
html[data-color-theme="brand"] .concept-page .story-copy .scene-kicker { color: var(--yg-brand-readable-gold); }
html[data-color-theme="brand"] .concept-page .concept-disclosure { color: #f3d1b0bf; }
@media(max-width:760px) {
  html[data-color-theme="brand"] :is(.gallery-page, .location-page, .concept-page) { background-size: auto, 260px; }
  html[data-color-theme="brand"] .concept-page .scene-shade { background: linear-gradient(180deg, #65150477, transparent 30%, #65150455 46%, #651504b8 54%, #651504e6 73%, var(--concept-ink)); }
  html[data-color-theme="brand"] .concept-page .food-stage {
    background: linear-gradient(180deg, transparent 75%, #651504), radial-gradient(ellipse at 50% 42%, #e0954b28, transparent 66%), linear-gradient(160deg, #651504ed, #712519ed), var(--yg-brand-art);
    background-size: auto, auto, auto, 520px;
  }
}

/* Owner's close-up reference: the MENU field is copper/bronze with a fine
   rosette repeat. Only scale changes; the extracted original SVG stays intact.
   White small text remains >=4.5:1 at the lightest patterned pixel. */
html[data-color-theme="brand"] .gallery-page {
  --ink: #fff;
  --tea: #fff;
  --maroon: #fff;
  --maroon-deep: #fff;
  background: #914725;
  isolation: isolate;
}
/* The gradient spans the visible screen, rather than the entire very long
   menu. Its copper-to-maroon transition remains visible on phones at any dish. */
html[data-color-theme="brand"] .gallery-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(135deg, #af5e32ed 0%, #98502aed 38%, #81351fed 72%, #712519ed 100%), var(--yg-brand-art);
  background-size: auto, 96px;
}
html[data-color-theme="brand"] .gallery-page .site-header,
html[data-color-theme="brand"] .gallery-page .menu-category-dock {
  background: var(--yg-brand-white-gradient);
}
html[data-color-theme="brand"] .gallery-page :is(.gallery-card-copy, .gallery-current-caption, .menu-text-list) p { color: #fff; }
html[data-color-theme="brand"] .gallery-page[data-menu-location="barrhaven"] :is(.gallery-card-copy, .menu-text-list) .dish-price,
html[data-color-theme="brand"] .gallery-page[data-menu-location="barrhaven"] .gallery-current-caption p { color: #fff; }
html[data-color-theme="brand"] .gallery-page .gallery-card-copy h3,
html[data-color-theme="brand"] .gallery-page .menu-text-list h3 { color: #fff; }
html[data-color-theme="brand"] .gallery-page .gallery-card:focus-visible h3,
html[data-color-theme="brand"] .gallery-page .dish-gallery:focus-visible [data-current-dish] h3 { text-decoration-color: #fff; }
html[data-color-theme="brand"] .gallery-page .catalog-dialog :is(.catalog-category summary, .catalog-category a) { color: var(--yg-brand-text); }
@media(max-width:760px) {
  html[data-color-theme="brand"] .gallery-page::before { background-size: auto, 80px; }
}

/* White footer with the original dark-wordmark logo. The print curves are
   adapted into a shallow, continuous gold/bronze/white wave without a hook. */
html[data-color-theme="brand"] :is(.site-footer, footer.concept-locations) {
  position: relative;
  background: var(--yg-brand-white-gradient);
  color: #712519;
  color-scheme: light;
  --ink: #712519;
  --tea: #75452e;
  --maroon: #712519;
  --maroon-deep: #712519;
  --concept-cream: #712519;
  --concept-gold: #712519;
}
html[data-color-theme="brand"] :is(.gallery-page, .location-page) .site-footer,
html[data-color-theme="brand"] .concept-page footer.concept-locations { background: var(--yg-brand-white-gradient); color: #712519; }
html[data-color-theme="brand"] :is(.site-footer .brand-logo, footer.concept-locations > img) {
  content: url('/assets/yemen-gate-logo.svg');
}
html[data-color-theme="brand"] :is(.site-footer, footer.concept-locations)::before,
html[data-color-theme="brand"] :is(.site-footer, footer.concept-locations)::after {
  content: "";
  display: block;
  position: absolute;
  inset: auto 0 100%;
  height: 44px;
  background: url('/brand-theme/assets/soft-wave-layered-separator.svg') center bottom / 100% 100% no-repeat;
  mask: none;
  pointer-events: none;
}
html[data-color-theme="brand"] :is(.site-footer, footer.concept-locations)::after {
  display: none;
}
html[data-color-theme="brand"] .site-footer :is(a, p, strong, .table-menu-locations > span),
html[data-color-theme="brand"] .concept-page footer.concept-locations :is(.locations-heading, .locations-intro, .location-list strong, .location-list span, .location-list p, .location-contact-actions a, .return-preview) {
  color: #712519;
}
html[data-color-theme="brand"] footer.concept-locations .concept-disclosure { color: #75452e; }
html[data-color-theme="brand"] footer.concept-locations .location-list,
html[data-color-theme="brand"] footer.concept-locations .location-list > * { border-color: #71251930; }
html[data-color-theme="brand"] :is(.site-footer, footer.concept-locations) :focus-visible { outline-color: #712519; }
/* White header, original dark logo/wordmark; all approved geometry and logo
   fade/wordmark motion remain controlled by the existing application. */
html[data-color-theme="brand"] :is(.gallery-page, .location-page, .home-page) .site-header,
html[data-color-theme="brand"] .concept-page .concept-header {
  background: var(--yg-brand-white-gradient);
  color: #712519;
}
html[data-color-theme="brand"] .site-header .brand-logo {
  content: url('/assets/yemen-gate-logo.svg');
}
html[data-color-theme="brand"] .concept-page .brand-wordmark {
  content: url('/brand-theme/assets/yemen-gate-wordmark-dark.svg');
}
html[data-color-theme="brand"] .site-header > nav > a,
html[data-color-theme="brand"] .site-header .menu-language-picker > summary,
html[data-color-theme="brand"] .concept-page .header-nav a { color: #712519; }
html[data-color-theme="brand"] .site-header :focus-visible,
html[data-color-theme="brand"] .concept-page .concept-header :focus-visible { outline-color: #712519; }
html[data-color-theme="brand"] .home-page .site-footer .brand-logo {
  aspect-ratio: 778 / 717;
  object-fit: contain;
}
@media(max-width:760px) {
  html[data-color-theme="brand"] :is(.site-footer, footer.concept-locations)::before { height: 40px; }
}

