/* Arcclass design book v1. Source geometry remains in data.json. */
:root {
  --site-gutter: 24px;
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #1e1e1e;
  --blue: #285db8;
  --orange: #e88960;
  --orange-highlight: rgb(232 137 96 / 30%);
  --orange-text-surface: #b65b35;
  --surface-soft: #f1f1f1;
  --orange-soft: #fcf0e9;
  --line: #b8b8b8;
  --font-ui: 'Golos Text', sans-serif;
  --font-display: 'Golos Text', sans-serif;
  --font-brand: 'Unbounded', sans-serif;
  --radius-label: 3px;
  --radius-control: 10px;
  --radius-button: 10px;
  --focus-ring: 2px solid var(--blue);
}
body, .canvas { background: var(--paper); color: var(--ink); font-family: var(--font-ui); }
/* The first screen uses native responsive flow, never scaled board coordinates. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
#site { width: min(100%, 480px); zoom: 1; }
#page { zoom: var(--scale); }
.header { --header-brand-size: 16px; width: 100%; height: 58px; display: flex; align-items: center; padding: 0 var(--site-gutter); gap: 8px; background: var(--surface); border-bottom: 1px solid #1a1a1a12; }
.header > .node { position: static; height: auto !important; }
.header [data-miro-id="3458764686911417257"] {
  padding: 0; width: auto !important; margin-right: auto; text-align: left !important;
  font-family: var(--font-brand) !important; font-weight: 700;
  color: var(--blue) !important;
  font-size: var(--header-brand-size) !important; letter-spacing: -.8px;
}
.header [data-miro-id="3458764686911417257"] p { font-size: 0; }
.header [data-miro-id="3458764686911417257"] strong { font-size: var(--header-brand-size); font-weight: 700; white-space: nowrap; }
.header .brand-logo { display: inline-block; width: .73em; height: .73em; width: 1cap; height: 1cap; margin-right: .3em; object-fit: contain; vertical-align: baseline; }
.header .action { font-weight: 400; width: auto !important; font-size: 12px !important; border: 0 !important; background: transparent !important; min-height: 44px; }
.header .arrow { width: 20px !important; min-height: 44px; }
.dropdown-chevron { display: inline-block; width: 1.1em; height: .65em; min-width: 10px; background: url('assets/dropdown-chevron.svg') center / contain no-repeat; vertical-align: -.05em; }
.header .dropdown-chevron { width: 14px; height: 8px; }
[aria-expanded="true"] .dropdown-chevron, .header:has(.contact-menu:not([hidden])) .arrow .dropdown-chevron { transform: rotate(180deg); }
.node.select { appearance: none; -webkit-appearance: none; padding-right: 27px; background-image: url('assets/dropdown-chevron.svg'); background-repeat: no-repeat; background-position: right 8px center; background-size: 13px 8px; }
.contact-menu { top: 58px; right: var(--site-gutter); }
.hero { position: relative; aspect-ratio: 1; isolation: isolate; }
.hero .hero-media { inset: 0 !important; width: 100% !important; height: 100% !important; overflow: hidden; background: var(--ink) !important; }
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #00000026 0%, #00000038 45%, #000000b8 100%);
}
.node.hero-title {
  left: 20px !important; top: auto !important; bottom: 24px; width: calc(100% - 40px) !important; height: auto !important;
  background: transparent !important; color: var(--surface) !important;
  font-family: var(--font-display) !important; font-size: clamp(24px, 7.4vw, 34px) !important;
  font-weight: 700; line-height: 1.12; letter-spacing: -.65px;
  text-align: left !important; justify-content: flex-end !important; pointer-events: none;
}
.hero-title p { min-height: 0; }
.node.hero-intro { position: static; width: auto !important; height: auto !important; margin: 0; padding: 26px var(--site-gutter) 32px; font-size: 14px !important; line-height: 1.65; }
.node.input, .node.select { border-color: var(--line); border-radius: var(--radius-control); font-family: var(--font-ui); }
.node.input:focus, .node.select:focus { border-color: var(--blue); }
.node.checkbox { accent-color: var(--blue); }
.node.rect.action:not(.header .action), .program-choice { border-radius: var(--radius-button) !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
@media (hover: hover) {
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 350px) { :root { --site-gutter: 20px; } .header { gap: 4px; } .header .action { font-size: 11px !important; } .node.hero-title { left: 16px !important; } }

/* Palette from the supplied Site 2.0 reference; no source content changes. */
.header .brand-logo { background: var(--blue); mask: url('assets/arcclass-logo-black.webp') center / contain no-repeat; -webkit-mask: url('assets/arcclass-logo-black.webp') center / contain no-repeat; }
.header { border-bottom-color: var(--line); }
.node.program-panel { background: var(--surface-soft) !important; border: 0 !important; border-radius: 10px !important; box-shadow: inset 0 3px var(--orange); }
.node.application-panel { background: var(--orange-soft) !important; border: 0 !important; border-radius: 10px !important; box-shadow: inset 0 3px var(--orange); }
.node.program-title { color: var(--blue) !important; }
.node.primary-action { background: var(--blue) !important; color: var(--surface) !important; border-color: var(--blue) !important; font-weight: 700; }
.node.action-link, .node.action:not(.primary-action):not(.header .action) { color: var(--blue) !important; }
.node.program-age, .hero-intro .intro-highlight { background: var(--orange); color: var(--surface) !important; border-radius: var(--radius-label); }
.node.decorative { border-top-color: var(--line) !important; }
.node.input, .node.select { background-color: var(--surface); color: var(--ink); }
.contact-menu { border-color: var(--line); border-radius: 10px; overflow: hidden; }
.contact-menu a, .contact-menu button { color: var(--blue); background: var(--surface); }
.expand-body, .popup-expand { background: var(--surface); color: var(--ink); }
.expand-body .program-choice, .dialog-simple button { background: var(--blue); color: var(--surface); border-color: var(--blue); border-radius: 10px; }
#close-modal { color: var(--blue); }
.connector path { stroke: var(--blue); }

#page .node.program-title { font-size: 16px !important; line-height: 1.35; }
dialog { scrollbar-width: none; }
dialog::-webkit-scrollbar { display: none; }
.node [style*="color:rgb(101,157,242)"], .expand-body [style*="color:rgb(101,157,242)"] { color: var(--blue) !important; }
.node [style*="color:rgb(26,26,26)"], .node [style*="color:rgb(0,0,0)"] { color: inherit !important; }

/* Radius tokens compensate only for the inherited Miro canvas zoom. */
.canvas { --radius-control: calc(10px / var(--scale)); --radius-button: calc(10px / var(--scale)); --radius-card: calc(10px / var(--scale)); }
.node.program-panel, .node.application-panel { border-radius: var(--radius-card, 10px) !important; }
#page .program-panel { border-radius: 0 0 var(--radius-card) var(--radius-card) !important; }
#page .program-photo { border-radius: var(--radius-card) var(--radius-card) 0 0; }
/* Hero gallery: square cards, a 16px peek beyond each 12px gap. */
.hero-gallery { position: relative; width: 100%; padding-top: 12px; }
.hero-gallery-track { display: flex; gap: 12px; padding: 0 var(--site-gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: none; touch-action: pan-y pinch-zoom; scroll-behavior: auto; scroll-padding-inline: var(--site-gutter); scrollbar-width: none; -webkit-overflow-scrolling: auto; }
.hero-gallery-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; isolation: isolate; scroll-snap-align: none; user-select: none; -webkit-user-select: none; background: var(--surface-soft); }
.hero-slide::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: white; opacity: var(--gallery-veil, .7); }
.hero-slide > img, .hero-slide > video, .hero-slide .hero-media > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-slide .hero { width: 100%; height: 100%; }
.hero-slide .hero-title { font-size: clamp(22px, 6.5vw, 31px) !important; bottom: 22px; }
.hero-slide::before{content:"";position:absolute;inset:46% 0 0;z-index:2;background:linear-gradient(transparent,rgb(0 0 0 / 46%) 45%,rgb(0 0 0 / 86%));pointer-events:none}
.hero-slide .hero-slide-caption,.hero-slide .node.hero-title.hero-slide-caption{position:absolute;left:16px!important;right:16px;top:auto!important;bottom:18px;width:auto!important;height:auto!important;margin:0;padding:0;z-index:3;color:white!important;font:700 clamp(13px,3.9vw,18px)/1.25 var(--font-ui)!important;letter-spacing:-.2px;white-space:nowrap;text-transform:none;pointer-events:none}
.hero-slide .hero-slide-caption,.hero-slide .node.hero-title.hero-slide-caption{font-family:var(--font-brand)!important;font-size:clamp(17px,4.8vw,22px)!important;line-height:1.25!important;white-space:normal;color:#fff!important;text-align:center!important;text-shadow:0 1px 5px #0008}
.hero-slide .node.hero-title.hero-slide-caption{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;min-height:44px;padding-block:6px;white-space:nowrap}
.hero-slide .hero-slide-caption,.hero-slide .node.hero-title.hero-slide-caption{pointer-events:auto}
.hero-caption-link{position:relative;isolation:isolate;display:block;width:100%;min-height:44px;border:0;padding:6px 0;margin:0;background:transparent;color:#fff!important;font:inherit!important;text-align:center;text-shadow:inherit;text-decoration:none!important;cursor:pointer;touch-action:pan-y pinch-zoom}
.hero-caption-link::after{content:'';position:absolute;inset:-24px -16px -24px}
.hero-caption-tail{display:inline-block;white-space:nowrap}
.hero-caption-arrow{display:inline-block;width:.55em;height:.55em;width:1ex;height:1ex;margin-left:.4em;background:currentColor;mask:url('assets/hero-caption-arrow.svg?v=2') center/contain no-repeat;-webkit-mask:url('assets/hero-caption-arrow.svg?v=2') center/contain no-repeat;vertical-align:baseline}
.hero-caption-text{display:inline}
.hero-caption-text,.hero-caption-tail{text-decoration:underline;text-decoration-thickness:.075em;text-underline-offset:.16em;text-decoration-skip-ink:auto}
.hero-caption-highlight{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity 120ms}
.hero-caption-highlight svg{display:block;width:100%;height:100%;overflow:visible;fill:var(--blue)}
@media(hover:hover){.hero-caption-link:hover .hero-caption-highlight{opacity:.88}}
@media(prefers-reduced-motion:reduce){.hero-caption-highlight{transition:none}}
.hero-caption-link:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:3px}
#directions,#programs,#reviews{scroll-margin-top:78px}
.gallery-control { position: absolute; z-index: 5; top: calc(50% + 6px); transform: translateY(-50%); width: 36px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: #ffffff73; color: var(--ink); }
.gallery-previous { left: 4px; }
.gallery-next { right: 4px; }
.gallery-control .dropdown-chevron { width: 18px; height: 11px; min-width: 0; }
.gallery-previous .dropdown-chevron { transform: rotate(90deg); }
.gallery-next .dropdown-chevron { transform: rotate(-90deg); }
@media (hover: hover) { .gallery-control:hover { background: rgb(255 255 255 / 72%); } }

.hero-gallery:not([data-ready]) .hero-gallery-track { visibility: hidden; scroll-snap-type: none; }
.hero-gallery:not([data-ready]) .gallery-control { visibility: hidden; }

/* Intro emphasis preserves the exact source wording. */
.hero-intro .intro-highlight { display: inline; background: var(--orange-highlight); color: var(--ink) !important; font-weight: 600; padding: 0 2px; margin: 0; line-height: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-intro p.intro-manifesto--static { margin: 48px 0 0; padding: 0; background: none; border-radius: 0; line-height: 0; }
.manifesto-static-art { display: block; width: 100%; height: auto; }
.services-manifesto { margin: 48px var(--site-gutter) 0; padding: 0; line-height: 0; }
.node.select[data-placeholder="true"] { color: #929292 !important; }


/* Contact menu: freestanding monochrome symbols and a short, responsive reveal. */
.contact-menu { width: 160px; transform-origin: top center; --menu-enter-ms: 100; --menu-exit-ms: 80; }
.contact-menu a, .contact-menu button { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 12px 10px; color: var(--ink); }
.contact-menu > :last-child { border-bottom: 0; }
.contact-icon { display: inline-block; flex: 0 0 15px; width: 15px; height: 15px; background: currentColor; mask: var(--contact-icon) center / contain no-repeat; -webkit-mask: var(--contact-icon) center / contain no-repeat; }
.contact-icon--phone { --contact-icon: url('assets/icons/phone.svg'); }
.contact-icon--application { --contact-icon: url('assets/icons/application.svg'); }
.contact-icon--vk { --contact-icon: url('assets/icons/vk.svg'); }
.contact-icon--telegram { --contact-icon: url('assets/icons/telegram.svg'); }
.contact-icon--max { --contact-icon: url('assets/icons/max.svg'); }
@media (hover: hover) { .contact-menu a[href]:hover, .contact-menu button:hover { background: var(--surface-soft); } }

/* Shared outer rails; nested content retains its own readable padding. */
.header .arrow { width: 14px !important; display: grid; place-items: center; padding: 0; flex: 0 0 14px; }
#page .expand-body { left: calc(var(--site-gutter) / var(--scale)); width: calc(375px - 2 * var(--site-gutter) / var(--scale)); }

#close-modal { padding-inline: calc(var(--site-gutter) / var(--scale)); }
#modal-canvas .expand-body { left: calc(var(--site-gutter) / var(--scale)); width: calc(375px - 2 * var(--site-gutter) / var(--scale)); }

/* Header controls form one anchored surface; the open first row is the phone link. */
.header { background-color: #fafafa; background-image: url('assets/header-grain.svg'); }
.header .contact-trigger { flex: 0 0 160px; width: 160px !important; height: 44px !important; min-height: 44px; display: flex; flex-direction: row; align-items: center; justify-content: space-between !important; gap: 6px; padding: 0 10px; border-radius: 10px !important; text-decoration: none !important; }
.header .contact-trigger p { margin: 0; white-space: nowrap; }
.header .contact-trigger .dropdown-chevron { flex: 0 0 14px; }
.header .contact-trigger:hover, .header .contact-trigger:focus-visible, .header .contact-trigger[aria-expanded="true"] { background: transparent !important; text-decoration: none !important; }
.contact-menu { top: 7px; box-shadow: 0 5px 18px #1e1e1e12; }
.contact-menu { border: 0; }
.contact-phone-row { display: flex; height: 44px; background: var(--surface); border-bottom: 1px solid #ddd; }
.contact-menu .contact-phone-row a { flex: 1; width: auto; min-width: 0; padding: 0 0 0 8px; gap: 5px; background: transparent; border: 0; font-size: 10px; white-space: nowrap; letter-spacing: -.15px; }
.contact-phone-row .contact-icon { flex-basis: 13px; width: 13px; height: 13px; }
.contact-menu .contact-collapse { width: 28px; flex: 0 0 28px; padding: 0; display: grid; place-items: center; background: transparent; border: 0; }
.contact-collapse .dropdown-chevron { transform: rotate(180deg); width: 12px; height: 8px; }
.header [data-miro-id="3458764686911417257"] { background: transparent !important; }
@media(max-width:350px){
 .header { gap: 4px; }
}
/* Frosted glass affects the scenery behind the controls, not their symbols. */
.gallery-control { background: rgb(255 255 255 / 62%); border: 0; backdrop-filter: blur(12px) saturate(135%); -webkit-backdrop-filter: blur(12px) saturate(135%); box-shadow: none; overflow: hidden; clip-path: inset(0 round 10px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .gallery-control { background: #ffffffbd; } }
/* Service cards use flow rather than absolute board coordinates. */
.node.hero-intro { padding-top: 53px; padding-bottom: 53px; }
.service-cards { padding: 0 var(--site-gutter); display: grid; gap: 26px; margin-bottom: 0; }
.service-card { border-radius: 10px; overflow: hidden; background: var(--surface-soft); }
.service-card .node { position: static; width: auto !important; height: auto !important; }
.service-card .service-photo { display: block; width: 100% !important; aspect-ratio: 304 / 115.2; object-fit: cover; border-radius: 0; }
.service-card .service-photo--dash{object-fit:cover;transform:none}
.service-card .service-photo--admission{transform:scale(1.12);transform-origin:center}
.service-card .service-photo--dhsh{transform:scale(1.2);transform-origin:center}
.service-card-body { position: relative; padding: 12px 16px 14px; display: flex; flex-direction: column; align-items: stretch; }
.service-card .service-age { position: absolute; top: auto !important; bottom: 100%; left: 16px !important; padding: 4px 8px; width: fit-content !important; font-size: 12px !important; line-height: 1.25; border-radius: 10px 10px 0 0; }
.service-card .service-title { color: var(--ink) !important; margin-top: 0; font-size: 16px !important; font-weight: 700; line-height: 1.35; }
.service-card .service-description { color: var(--ink) !important; margin-top: 10px; font-size: 12px !important; line-height: 1.5; }
.service-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.service-card .service-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; padding: 6px 10px; line-height: 16px; border-radius: 10px; border: 1px solid #1e1e1e26; background: var(--surface); font-size: 12px !important; font-weight: 600; text-decoration: none; }
.service-card .service-actions .node.action.service-button--apply { background: var(--blue); border-color: var(--blue); color: var(--surface) !important; }
.service-button .dropdown-chevron { flex: 0 0 12px; width: 12px; height: 8px; background: currentColor; mask: url('assets/dropdown-chevron.svg') center / contain no-repeat; -webkit-mask: url('assets/dropdown-chevron.svg') center / contain no-repeat; }
.service-button--apply .dropdown-chevron { transform: rotate(-90deg); }
.service-card .service-button:hover { text-decoration: none;  }

/* Stable phone typography and a square collapse target. */
.header .contact-trigger { display: grid; grid-template-columns: 1fr 44px; gap: 0; padding: 0; }
.header .contact-trigger p, .contact-phone-row .contact-number { font-size: 11px !important; line-height: 16px; font-weight: 400; letter-spacing: normal; text-align: right; white-space: nowrap; }
.header .contact-trigger .dropdown-chevron { justify-self: center; width: 12px; height: 8px; }
.contact-menu .contact-phone-row a { padding: 0 0 0 8px; gap: 5px; font-size: 11px; letter-spacing: normal; }
.contact-phone-row .contact-number { flex: 1; }
.contact-menu .contact-collapse { width: 44px; flex-basis: 44px; height: 44px; min-height: 44px; }

/* Closed header keeps the formatted number; the open row matches menu typography. */
.contact-menu .contact-phone-row a { padding-left: 10px; gap: 7px; font-size: 12px; }
.contact-phone-row .contact-icon { flex-basis: 15px; width: 15px; height: 15px; }
.contact-phone-row .contact-number { font-size: 12px !important; text-align: left; }

/* Solid direction accents share white foregrounds; card copy stays neutral. */
.service-card--children { --service-accent: var(--orange); --service-accent-ink: var(--surface); }
.service-card--admission { --service-accent: var(--blue); --service-accent-ink: var(--surface); }

/* Neutral cards with direction-specific labels and button accents. */
.service-card .service-age { background: var(--service-accent); color: var(--service-accent-ink) !important; }
.service-card .service-actions .node.action.service-button--details { color: var(--service-accent) !important; border-color: var(--service-accent); }
.service-card .service-actions .node.action.service-button--apply { background: var(--service-accent); border-color: var(--service-accent); color: var(--service-accent-ink) !important; }
/* A larger static contact label shares the brand's text baseline. */
.header { align-items: baseline; padding-top: calc((57px - var(--header-brand-size) * 1.42857143) / 2); }
.header .contact-trigger { display: flex; align-items: baseline; justify-content: flex-end !important; gap: 8px; padding: 12px 0; margin-top: -12px; }
.header .contact-trigger p { font-size: 14px !important; line-height: 20px; font-weight: 500; }
.header .contact-trigger .dropdown-chevron { flex: 0 0 12px; width: 12px; height: 8px; align-self: baseline; }
.contact-menu .contact-phone-row a { flex: 0 0 auto; padding-right: 0; }
.contact-phone-row .contact-number { flex: 0 0 auto; }
.contact-menu .contact-collapse { width: auto; flex: 1 1 44px; min-width: 44px; justify-items: end; padding-right: 16px; }
.contact-menu .contact-phone-row a:hover, .contact-menu .contact-collapse:hover { background: transparent; }

/* Match contact chevrons to the adjacent text stroke, not a universal hairline. */
.header .contact-trigger .dropdown-chevron, .contact-collapse .dropdown-chevron { background-image: url("assets/dropdown-chevron-medium.svg"); }

/* The first row names the panel and gives an explicit, generous close action. */
.contact-menu{top:calc(100% - 8px);width:216px;max-width:calc(100vw - 2 * var(--site-gutter));box-shadow:0 8px 28px rgb(30 30 30 / 16%)}
.contact-menu-header{display:flex;align-items:center;justify-content:space-between;gap:0;height:40px;padding:0 0 0 14px;border-bottom:1px solid #1e1e1e12;background:var(--surface)}
.contact-menu-header>span{font:700 14px/1.2 var(--font-brand);color:var(--orange)}
.contact-menu .contact-close{position:relative;display:block;flex:1 1 auto;width:auto;min-width:44px;height:40px;min-height:40px;align-self:stretch;padding:0;border:0;border-radius:0;background:transparent}
.contact-menu .contact-close:hover{background:transparent}
.contact-close::before{content:'';position:absolute;top:0;right:0;width:42px;height:100%;border-radius:0;pointer-events:none}
@media(hover:hover){.contact-close:hover::before{background:var(--surface-soft)}}
.contact-menu .contact-close{-webkit-tap-highlight-color:transparent}
.contact-close:active::before{background:var(--surface-soft)}
.contact-close .application-close-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%)}
.contact-menu>a,.contact-menu>button{min-height:48px;padding:12px 14px;font-size:14px}

.service-media{aspect-ratio:304 / 115.2;overflow:hidden;position:relative}
.service-card .service-media .service-photo{height:100%!important;aspect-ratio:auto}
.service-card .service-age{height:auto!important;z-index:1}

/* The carousel owns one short caption gradient, including the first video. */
.hero-slide .hero-media::after { content:none; }

/* Shared interaction feedback: hover for mice, press for touch, focus for keyboards. */
:where(button,a[href],summary,[role=button]):not(:disabled):not([aria-disabled=true]) { -webkit-tap-highlight-color:rgb(40 93 184 / 16%); }
@media(hover:hover) {
 a[href]:hover { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
}
a[href]:active { opacity:.7; }
:where(button,a[href],summary,[role=button]):focus-visible { outline:var(--focus-ring); outline-offset:3px; }
/* The transparent gallery hit areas retain their outlined cursor as feedback. */
.hero-gallery > .gallery-control:hover { box-shadow:none; }

/* Quiet interaction states preserve each button's original colour and shape. */
:is(button,summary) { --interaction-accent:var(--service-accent,var(--program-accent,var(--blue))); }
.program-apply { --interaction-accent:var(--program-accent,var(--orange)); }
.program-destination[data-course=ab] .program-apply { --interaction-accent:var(--blue); }
@media(hover:hover) {
:is(.desktop-enquiry-trigger,.service-button--apply,.program-apply):not(:disabled):not([aria-disabled=true]):hover { box-shadow:0 3px 12px rgb(30 30 30 / 20%); filter:none; }
:is(.service-button--details,.lower-button:not([aria-pressed=true])):not(:disabled):not([aria-disabled=true]):hover { background:color-mix(in srgb,var(--interaction-accent,var(--blue)) 12%,var(--paper))!important; box-shadow:none; filter:none; }
:is(.program-toggle,.review-quote-more):hover { text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; box-shadow:none; }
:is(.review-text-jump,.review-author-neighbor,.review-format-option):not(:disabled):hover { box-shadow:0 2px 8px rgb(30 30 30 / 12%); }
.video-review-arrow:not(:disabled):hover { background:var(--blue)!important; color:var(--paper)!important; border-color:var(--blue)!important; box-shadow:none; }
}
:is(.desktop-enquiry-trigger,.service-button--apply,.program-apply):not(:disabled):not([aria-disabled=true]):active { box-shadow:0 3px 12px rgb(30 30 30 / 20%); filter:none; }
:is(.service-button--details,.lower-button:not([aria-pressed=true])):not(:disabled):not([aria-disabled=true]):active { background:color-mix(in srgb,var(--interaction-accent,var(--blue)) 12%,var(--paper))!important; box-shadow:none; filter:none; }
:is(.program-toggle,.review-quote-more):active { text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; box-shadow:none; }
:is(.review-text-jump,.review-author-neighbor,.review-format-option):not(:disabled):active { box-shadow:0 2px 8px rgb(30 30 30 / 12%); }
.video-review-arrow:not(:disabled):active { background:var(--blue)!important; color:var(--paper)!important; border-color:var(--blue)!important; box-shadow:none; }

@media(hover:hover) {
 .review-stage > .review-card:hover { border-color:var(--blue); box-shadow:inset 0 0 0 1px var(--blue); }
 a[href]:hover { text-decoration-thickness:2px; }
}
.review-stage > .review-card:active { border-color:var(--blue); box-shadow:inset 0 0 0 1px var(--blue); }

@media(hover:hover) {
 .program-summary:hover { color:var(--program-accent,var(--blue)); }
 .header .contact-trigger:hover p { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
}
.program-summary:active { color:var(--program-accent,var(--blue)); }

/* Shared black outline on carousel navigation. */
:is(.gallery-control,.review-switch,.review-work-arrow,.review-photo-arrow){border:1px solid var(--ink)!important}


.intro-copy-block+.intro-copy-block{margin-top:1.65em}

.services-manifesto{width:min(calc(100% - 2 * var(--site-gutter)),480px);margin-inline:auto}

/* Selected light-glass controls, shared by phone and desktop hero. */
:root{--hero-control-glass:rgb(255 255 255 / 72%)}
.hero-gallery>.gallery-control{background:var(--hero-control-glass);border:0!important;box-shadow:0 3px 12px rgb(0 0 0 / 16%),0 1px 3px rgb(0 0 0 / 10%);backdrop-filter:blur(12px) saturate(120%);-webkit-backdrop-filter:blur(12px) saturate(120%)}
@media(hover:hover){.hero-gallery>.gallery-control:hover{background:#fff;box-shadow:0 5px 18px rgb(0 0 0 / 22%),0 1px 4px rgb(0 0 0 / 10%)}}
.hero-gallery>.gallery-control:focus-visible{background:#fff}
.hero-gallery>.gallery-control:active{background:#fff}
