/* Dota-inspired hierarchy with locally bundled, openly licensed typefaces. */
.header,.home-cinematic .header{display:grid;grid-template-columns:300px minmax(0,1fr) auto;align-items:center;gap:24px;height:104px;padding:0 3%;isolation:isolate}
.header .brand{grid-column:1;grid-row:1;width:100%;min-width:0;max-width:350px;margin:0}
.header .brand img{display:block;width:100%;height:auto;max-width:100%}
.header,.header *{font-family:var(--header-display,'Noto Serif',Georgia,serif)!important;font-weight:600!important}
.header nav,.home-cinematic .header nav{grid-column:2;grid-row:1;display:flex;position:static;justify-self:center;align-items:center;flex-direction:row;gap:22px;width:auto;padding:0;border:0;background:transparent;box-shadow:none;max-height:none;overflow:visible}
.header .nav-link{font-family:var(--header-display,'Noto Serif',Georgia,serif)!important;font-weight:600!important;font-size:18px;line-height:1.4;letter-spacing:3px!important;text-transform:uppercase;white-space:nowrap}
.header #services-menu-toggle{display:flex;align-items:center;justify-content:flex-start;width:auto;min-width:0;min-height:52px;padding:14px 0;border:0;background:transparent;color:#d8d9d3;border-radius:0;cursor:pointer}
.header #services-menu-toggle:hover,.header #services-menu-toggle:focus-visible{color:#fff;background:transparent}
.header .header-actions{grid-column:3;grid-row:1;display:flex;justify-content:flex-end;align-items:center;gap:18px;margin:0;font-size:13px}
.header .header-actions a,.header .header-actions a span{font-size:13px;line-height:1.4;font-weight:600!important;letter-spacing:1px!important;text-transform:uppercase;white-space:nowrap}
.header .header-order{min-height:48px;padding:11px 15px;gap:12px}
.header .account-link{gap:8px}
.header .menu-toggle{display:none;grid-column:3;grid-row:1;order:initial;width:48px;min-width:48px;height:48px;min-height:48px;margin:0;padding:0;font-size:28px;color:#e8e8e2;border:0;background:transparent}
.header .services-dropdown{width:460px;left:-20px;padding:12px 14px;max-height:calc(100dvh - 130px);overflow-y:auto;overscroll-behavior:contain}
.header nav .services-menu-item{font-family:var(--header-display,'Noto Serif',Georgia,serif)!important;font-size:14px;font-weight:600!important;line-height:1.5;letter-spacing:1.2px!important;text-transform:uppercase;min-height:46px;padding:12px 10px;gap:12px}
.header .services-menu-item span{font-family:var(--header-display,'Noto Serif',Georgia,serif)!important;font-weight:600!important;letter-spacing:inherit!important;white-space:normal;min-width:0}
.header .services-menu-item small{font-size:9px;letter-spacing:.4px!important;text-transform:none;flex-shrink:0}
.header .services-menu-item[aria-current=page]{color:#efce95}
.header button:focus-visible{outline:2px solid var(--amber);outline-offset:5px}
@media(max-width:1320px){.header,.home-cinematic .header{grid-template-columns:250px minmax(0,1fr) auto;gap:18px;padding-inline:28px}.header nav,.home-cinematic .header nav{gap:18px}.header .nav-link{font-size:16px;letter-spacing:2px!important}.header .header-actions{gap:14px}.header .header-actions a,.header .header-actions a span{font-size:12px;letter-spacing:.6px!important}}
@media(max-width:1200px){
 .header,.home-cinematic .header{grid-template-columns:minmax(180px,280px) minmax(0,1fr) 48px;height:94px;padding-inline:24px;gap:18px}
 .header .header-actions{grid-column:2;grid-row:1}.header .menu-toggle{display:grid;place-items:center}
 .header nav,.home-cinematic .header nav{display:none;position:absolute;top:100%;left:0;right:0;width:100%;justify-self:stretch;padding:16px 24px;flex-direction:column;align-items:stretch;gap:0;background:var(--surface-overlay);border-bottom:1px solid #ffffff24;box-shadow:0 15px 30px #0006;max-height:calc(100dvh - 94px);overflow-y:auto;overscroll-behavior:contain}
 .header nav.open,.home-cinematic .header nav.open{display:flex}
 .header .nav-link{font-size:18px;min-height:48px;padding:12px 0;letter-spacing:2px!important}
 .header #services-menu-toggle{width:100%;min-height:48px;padding:12px 0}
 .header .nav-services-heading>.nav-link{flex:1}
 .header .services-dropdown{position:static;width:100%;max-height:none;display:none;transform:none;box-shadow:none;border:0;border-left:1px solid #a5a8a835;margin:4px 0 14px;padding:6px 0 0 12px;overflow:visible}
 .header .nav-services.is-open .services-dropdown{display:block}
 .header nav .services-menu-item{font-size:14px;min-height:48px;padding:11px 8px}
}
@media(max-width:600px){
 .header,.home-cinematic .header{grid-template-columns:minmax(0,1fr) 48px;gap:2px 12px;height:124px;padding:10px 16px;align-content:center}
 body:not(.home-cinematic) .header{grid-template-rows:var(--home-header-height);align-content:start;padding-block:0}
 .header .brand{grid-column:1;grid-row:1;max-width:300px}.header .menu-toggle{grid-column:2;grid-row:1}
 .header .header-actions{grid-area:1 / 1;justify-content:flex-end;gap:12px}
 .header .header-actions a,.header .header-actions a span{font-size:12px;letter-spacing:.5px!important}
 .header .header-order{min-height:44px;padding:10px 13px}
 .header nav,.home-cinematic .header nav{padding-inline:20px;max-height:calc(100dvh - 124px)}
}
@media(max-width:380px){.header,.home-cinematic .header{padding-inline:12px;gap:2px 10px}.header .header-actions a,.header .header-actions a span{font-size:11px}.header nav .services-menu-item{font-size:13px;letter-spacing:.7px!important}}
@media(prefers-reduced-motion:reduce){.header *{scroll-behavior:auto!important}}

/* Header with a standalone emblem. */
.header,.home-cinematic .header{grid-template-columns:minmax(64px,1fr) auto minmax(280px,1fr)}
.header .brand{width:49px;max-width:49px;min-height:55px}
.header .brand img{width:49px;height:55px;object-fit:contain}
@media(max-width:1200px){.header,.home-cinematic .header{grid-template-columns:64px minmax(0,1fr) 48px}}
@media(max-width:600px){.header,.home-cinematic .header{grid-template-columns:minmax(0,1fr) 48px}.header .brand{width:43px;max-width:43px;min-height:48px}.header .brand img{width:43px;height:48px}}
@media(max-width:760px) and (orientation:landscape) and (max-height:420px){
 .header .brand{width:40px;max-width:40px;min-height:45px}
 .header .brand img{width:40px;height:45px}
}

/* Dota Game menu uses a small filled 10 × 6 downward triangle. */
.header #services-menu-toggle{column-gap:0}
.header .services-caret{display:inline-block;flex:0 0 10px;width:10px;height:6px;margin-left:5px;background:currentColor;clip-path:polygon(0 0,100% 0,50% 100%);opacity:.9;pointer-events:none}

/* One responsive type size for every primary header action. */
.header .nav-link,.header #services-menu-toggle,.header .header-actions a,.header .header-actions a span{font-size:var(--header-type-size)}
@media(min-width:1201px){.header,.home-cinematic .header{grid-template-columns:minmax(64px,1fr) auto minmax(max-content,1fr)}}
@media(max-width:600px){.header .header-actions{gap:10px}.header .header-order{padding-inline:10px}}

/* Main services in one column, with event services alongside. */
.header .nav-services{position:static}
.header .nav-services-heading{position:relative}
.header .nav-services.is-open .nav-services-heading:after{content:'';position:absolute;top:100%;left:0;right:0;height:18px}
.header .services-dropdown{position:absolute;left:50%;top:calc(100% - 18px);width:min(720px,calc(100vw - 56px));max-height:calc(100dvh - 104px);padding:20px;transform:translate(-50%,8px);background:var(--surface-overlay);border:1px solid #ffffff26;border-top:2px solid var(--amber);box-shadow:0 20px 50px #0009}
.header .nav-services.is-open .services-dropdown{transform:translate(-50%,0)}
.header .services-menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.header .service-menu-block{min-width:0;padding:16px;background:var(--surface-panel);border:1px solid #ffffff12}
.header .service-menu-block h2{font-size:15px;line-height:1.4;letter-spacing:1px!important;text-transform:uppercase;color:var(--amber);margin:0 0 14px}
.header .service-menu-links{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.header nav .services-menu-item{border:1px solid #ffffff1c;background:var(--surface-inset);color:var(--text);transition:background .18s,border-color .18s,color .18s}
.header nav .services-menu-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-height:54px;padding:10px 12px;font-size:14px;letter-spacing:.5px!important}
.header nav .services-menu-item:is(:hover,:focus-visible){background:var(--surface-hover);border-color:var(--amber);color:#fff}
.header .services-menu-item small{font-size:10px;line-height:1.3;color:var(--muted);white-space:normal}
.header .services-menu-item[aria-current=page]{border-color:#d9b477aa;color:#efce95}
.event-service-parameters{margin-top:26px;border:1px solid var(--surface-edge);background:var(--surface-panel);padding:28px}
.event-service-parameters>h2{font-size:26px;margin-bottom:20px}
.event-service-parameters h3{font-size:21px;margin-bottom:8px}
.event-service-parameters p{font-size:17px;color:var(--secondary-text)}
@media(max-width:1200px){
 .header .nav-services.is-open .nav-services-heading:after{display:none}
 .header .services-dropdown,.header .nav-services.is-open .services-dropdown{position:static;left:auto;top:auto;width:100%;max-height:none;padding:0;margin:4px 0 16px;border:0;box-shadow:none;transform:none}
}
@media(max-width:900px){
 .header .services-menu-list{grid-template-columns:minmax(0,1fr);gap:12px}
 .header .service-menu-block{padding:14px}
 .header .service-menu-links{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:480px){
 .header .service-menu-block{padding:12px}
 .header .service-menu-block h2{font-size:14px;margin-bottom:10px}
 .header nav .services-menu-item{font-size:12px;min-height:54px;padding:8px;letter-spacing:.2px!important}
 .header .services-menu-item small{font-size:9px}
 .event-service-parameters{padding:20px}
}
/* Let the compact navigation span the full header grid instead of the burger cell. */
@media(max-width:1200px){
 .header #main-nav{grid-column:1/-1;grid-row:auto;left:0;right:0;width:100%;justify-self:stretch;max-height:var(--compact-menu-height,calc(100dvh - 124px))}
 .header .nav-services{width:100%}
}

/* Retained font-load stability; normal font and layout match the Nov 18 design. */
body[data-home-fonts="loading"] :is(.header nav,.header-actions,.site-breadcrumbs){visibility:hidden}
body[data-home-fonts="fallback"]{--header-display:Georgia,serif;--header-copy:Arial,sans-serif}
html{scrollbar-gutter:stable}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
.header [data-menu-group=main] .services-menu-item{min-height:46px;padding-block:9px}

/* Share the header type scale with the breadcrumb links. */
:root {
 --header-type-size: 20px;
 --header-spacing: 3px;
}
.header {
 border: 0;
 background: linear-gradient(#0c0c0ccf, #0c0c0c00);
}
.header nav .services-menu-item,
.header nav .services-menu-item span {
 font-family: var(--header-copy, 'Noto Sans', Arial, sans-serif) !important;
}
@media (min-width: 1201px) and (max-width: 1400px) {
 :root { --header-type-size: 18px; }
 .header #main-nav { gap: 16px; }
}
@media (max-width: 760px) {
 .header { background: linear-gradient(#0c0c0cf2, #0c0c0c00); }
}
.header :is(.nav-link, .header-actions a, .header-actions a span) {
 font-family: var(--header-display, 'Noto Serif', Georgia, serif) !important;
 font-weight: 600 !important;
 letter-spacing: var(--header-spacing) !important;
 line-height: 1.4;
 font-size: var(--header-type-size);
 text-transform: uppercase;
}
.header #services-menu-toggle { line-height: 1.4; }
@media (max-width: 1320px) {
 :root { --header-spacing: 2px; }
}
@media (max-width: 600px) {
 :root { --header-type-size: 16px; --header-spacing: .5px; }
 .header .account-link svg { flex: 0 0 18px; width: 18px; height: 20px; }
 .header .header-order { padding-inline: 9px; gap: 8px; }
}
@media (max-width: 380px) {
 :root { --header-type-size: 14px; --header-spacing: 0px; }
 .header .header-order { padding-inline: 8px; gap: 6px; }
}
:root {
 --header-inset: 3%;
}
@media (max-width: 1320px) { :root { --header-inset: 28px; } }
@media (max-width: 1200px) { :root { --header-inset: 24px; } }
@media (max-width: 600px) { :root { --header-inset: 16px; } }
@media (max-width: 380px) { :root { --header-inset: 12px; } }
.header, .home-cinematic .header { padding-inline: var(--header-inset); }
@media (min-width: 1201px) {
 /* Opposing margins keep the grid tracks and dropdown anchor in place. */
 .header #main-nav { margin-inline: -24px 24px; }
}

.site-breadcrumbs {
 color:#f0eee4;
 font-size:clamp(12px,1.1vw,14px);
 line-height:1.4;
 text-transform:uppercase;
}
.site-breadcrumbs :is(a,[aria-current=page]) {
 font-family:var(--header-display,'Noto Serif',Georgia,serif)!important;
 font-weight:600!important;
 letter-spacing:1px!important;
 overflow-wrap:anywhere;
}
.site-breadcrumbs ol { display:flex; flex-wrap:wrap; gap:0 12px; list-style:none; margin:0; padding:0; }
.site-breadcrumbs li { display:flex; align-items:center; gap:12px; min-width:0; max-width:100%; }
.site-breadcrumbs a { display:flex; align-items:center; min-height:34px; min-width:0; }
.site-breadcrumbs [aria-current=page] { min-width:0; color:var(--amber); opacity:.86; filter:brightness(.9); }
.breadcrumb-separator { color:var(--muted); }
@media(max-width:760px){
 .site-breadcrumbs ol,.site-breadcrumbs li{column-gap:8px}
 .site-breadcrumbs a{min-height:44px}
}

:is(.header .brand img, .header .account-link, .site-breadcrumbs a) {
 opacity: .86;
 filter: brightness(.9);
 transition: filter .22s ease, opacity .22s ease;
}
:is(.header .brand:is(:hover, :focus-visible) img, .header .account-link:is(:hover, :focus-visible), .site-breadcrumbs a:is(:hover, :focus-visible)) {
 opacity: 1;
 filter: brightness(1.35) drop-shadow(0 0 7px #ffffff80) drop-shadow(0 0 18px #d9b47755);
}

/* The shared button wipe moves its own layer, with steady labels. */
.button.button--steady {
 transition: color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button.button--steady::before { pointer-events: none; }
.button.button--steady:active { filter: none; }
.header .header-order.button--steady {
 --steady-surface: #10121060;
 background: var(--steady-surface);
 border-color: #a49b7b;
}
.button.button--steady:is(:hover, :focus-visible) {
 background: var(--steady-surface);
 box-shadow: 0 0 36px #d9b47720;
}
.header .header-order.button > #order-count {
 display: block;
 width: auto;
 height: auto;
 min-inline-size: 2ch;
 text-align: center;
 font-variant-numeric: tabular-nums;
 transform: none;
 transition: none;
}
.header .header-order.button > #order-count::after { content: none; }
.header .header-order.button:is(:hover, :focus-visible) > #order-count { color: inherit; }

@media (prefers-reduced-motion: reduce) {
 .header :is(.brand img, .account-link),
 .site-breadcrumbs a,
 .button.button--steady,
 .button.button--steady::before { transition: none; }
}

.header .account-link span { display:inline; }
@media (max-width:760px), (max-width:960px) and (pointer:coarse) {
 body:not(.home-cinematic) .header {
  background:var(--surface-overlay);
  box-shadow:inset 0 -1px var(--surface-edge);
 }
}
:root{--home-header-height:104px}
.home-cinematic .header{height:var(--home-header-height)}
@media(max-width:1200px){:root{--home-header-height:94px}}
@media(max-width:600px){:root{--home-header-height:72px}}
@media(max-width:960px) and (orientation:landscape) and (max-height:420px){:root{--home-header-height:60px}}
