/* Stage 2 shared interactions. Original page layout styles remain authoritative. */
:root{--adh-accent:#bdc58a}
:focus-visible{outline:2px solid var(--adh-accent);outline-offset:5px}
.adh-menu-toggle{display:none}
.adh-section-nav{display:flex;gap:24px;flex-wrap:wrap;padding:0 0 18px;font-size:12px;color:#bdc58a}
.adh-section-nav a{display:inline-flex!important;align-items:center;min-height:44px}
.adh-back-work{color:#bdc58a;font-size:12px;line-height:1.5}
.adh-primary-nav{display:flex;align-items:center;gap:clamp(22px,3vw,52px)}
.adh-primary-nav>a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;white-space:nowrap}
.adh-section-nav,.header-inner,.footer-inner{min-width:0}
.footer-inner{flex-wrap:wrap}
.adh-menu-toggle,.adh-lb button{font:inherit;cursor:pointer}
.adh-unavailable{opacity:.65;cursor:default}
.adh-simulated-control{display:inline-block;cursor:default!important}
[data-adh-lightbox],[data-adh-source]{cursor:zoom-in}
[data-adh-page] img{max-width:100%}
.adh-motion .adh-reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.adh-motion .adh-reveal.adh-visible{opacity:1;transform:none}
.adh-marquee-pause{position:absolute;right:12px;bottom:6px;z-index:2;border:1px solid #bdc58a66;background:#080b09;color:#f2eee4;font:11px Arial,sans-serif;padding:7px 10px;min-height:32px;cursor:pointer}
.adh-marquee-paused *{animation-play-state:paused!important}
/* Hide legacy lightbox chrome defensively; only the shared dialog is mounted. */
.adh-lb{padding:0;border:1px solid #555;background:#080b09;color:#f2eee4;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;overflow:hidden}
.adh-lb::backdrop{background:rgba(0,0,0,.94)}
.adh-lb[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.adh-lb-toolbar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:12px}
.adh-lb button{min-width:44px;min-height:44px;padding:8px 12px;background:#171b17;color:#f2eee4;border:1px solid #69705e;font-size:15px;border-radius:2px}
.adh-lb button:disabled{opacity:.35;cursor:default}
.adh-lb-stage{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;min-height:0}
.adh-lb-image{display:block;object-fit:contain;max-width:calc(100% - 36px)!important;max-height:100%;width:auto;height:auto;user-select:none;transform-origin:center;cursor:grab}
.adh-lb-caption{padding:12px 24px 20px;font:13px/1.5 Arial,sans-serif;text-align:center;max-height:22dvh;overflow:auto;margin:0}
.adh-lb-count{font:12px/1.4 Arial,sans-serif;min-width:75px;text-align:center}
body.adh-modal-open{overflow:hidden}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 a.button,a.btn,a.button-link{transition:transform .18s ease,background-color .18s ease}
 a.button:hover,a.btn:hover,a.button-link:hover{transform:translateY(-2px)}
}
@media(max-width:760px){
 .site-header .header-inner{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px;padding-block:18px;min-height:80px}
 .site-header .brand{min-width:0;gap:10px}.site-header .brand-copy b{font-size:10px;letter-spacing:.19em}.site-header .mark{flex-shrink:0;width:36px;height:36px}
 .adh-nav-ready .adh-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:54px;min-height:44px;padding:8px 10px;border:1px solid #69705e;background:transparent;color:#f2eee4;font-size:12px}
 .site-header .adh-primary-nav{width:100%;flex-wrap:wrap;gap:8px 24px;justify-content:flex-start;margin:0;padding:8px 0 0}
 .adh-nav-ready .site-header .adh-primary-nav:not(.adh-open){display:none!important}
 .site-header .adh-primary-nav.adh-open{display:flex!important}
 .site-header .adh-primary-nav>a{display:inline-flex!important;min-height:44px;padding:8px 0;font-size:13px}
 .adh-section-nav{gap:6px 18px;padding-bottom:12px}
 .adh-lb-toolbar{gap:5px;padding:8px}.adh-lb button{padding:7px;min-width:42px}.adh-lb-count{min-width:52px;font-size:11px}
 .adh-lb-caption{font-size:12px;padding:10px 16px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .reveal,.adh-reveal{opacity:1!important;transform:none!important}
 #introScreen{display:none!important}
}
/* Narrow-layout fixes for long Greek headings; no clipping or copy changes. */
@media(max-width:760px){
 [data-adh-page="notion-digital-growth-operations-system"] .architecture-grid{grid-template-columns:minmax(0,1fr)}
 [data-adh-page="notion-digital-growth-operations-system"] .architecture-card{min-width:0;overflow-wrap:anywhere}
 [data-adh-page="marble-industry-mesogeion"] .section-head{grid-template-columns:minmax(0,1fr)}
 [data-adh-page="marble-industry-mesogeion"] .section-head>*{min-width:0;overflow-wrap:anywhere}
}
@media(max-width:760px){
 main [class*="-grid"]>*,main .section-head>*,main .challenge-grid>*,main .flow-node{min-width:0;overflow-wrap:anywhere}
 main .section-head{grid-template-columns:minmax(0,1fr)}
 main h1,main h2,main h3,main p{overflow-wrap:anywhere}
}
@media(max-width:1300px) and (min-width:761px){
 [data-adh-page="ai-search-chatgpt-ads"] .system-flow .flow{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 [data-adh-page="ai-search-chatgpt-ads"] .system-flow .flow-arrow{display:none}
 [data-adh-page="ai-search-chatgpt-ads"] .system-flow .flow-node{min-width:0;overflow-wrap:anywhere}
}

/* Greek V2 1.4.1: approved mark, original PNG retained byte-for-byte. */
[data-adh-page] .site-header .adh-ag-mark{width:56px;height:44px;flex:0 0 56px;border:0;background:none;box-shadow:none;overflow:visible;display:flex;align-items:center;justify-content:center}
[data-adh-page] .site-header .adh-ag-mark img{display:block;width:100%;height:100%;object-fit:contain;transform:none;border:0;background:none;box-shadow:none}
/* Crop only the embedded screenshot's visual region; retain the actual card body. */
[data-adh-page="work"] .project-hubspot .hubspot-media{position:relative;overflow:hidden;aspect-ratio:16/9!important}
[data-adh-page="work"] .project-hubspot .hubspot-media img{position:absolute!important;max-width:none!important;width:128%!important;height:auto!important;left:-14%;top:-4%;object-fit:initial!important;transform:none!important}
@media(max-width:760px){
 [data-adh-page="work"] .project-marble .project-media{height:auto!important;min-height:0!important;aspect-ratio:1672/941!important}
 [data-adh-page="work"] .project-marble .project-media img{object-fit:contain!important;object-position:center!important}
 [data-adh-page="work"] .project-spirulina .project-media{height:auto!important;min-height:0!important;aspect-ratio:4/3!important;background:#eeeade!important;display:flex;align-items:center}
 [data-adh-page="work"] .project-spirulina .project-media img{object-fit:contain!important;object-position:center!important;transform:none!important}
 /* Keep the existing radial relationships, with room for the stacked labels. */
 [data-adh-page="home"] .system-map{aspect-ratio:auto;height:650px;transform:none}
 [data-adh-page="home"] .system-core{width:42%;min-height:170px;aspect-ratio:auto;top:47%;padding:16px 4px;box-shadow:none}
 [data-adh-page="home"] .system-core .bars{display:none}
 [data-adh-page="home"] .system-core strong{font-size:14px;letter-spacing:.06em}
 [data-adh-page="home"] .system-core span{font-size:10px;max-width:95%;margin-top:10px}
 [data-adh-page="home"] .system-node{width:32%}
 [data-adh-page="home"] .system-node .badge{width:48px;height:48px;margin-bottom:8px}
 [data-adh-page="home"] .system-node b{font-size:14px;overflow-wrap:normal}
 [data-adh-page="home"] .system-node small{font-size:10px}
 [data-adh-page="home"] .node-google{left:34%;top:0}
 [data-adh-page="home"] .node-meta{left:0;top:23%}
 [data-adh-page="home"] .node-ai{right:0;top:23%}
 [data-adh-page="home"] .node-web{left:0;bottom:20%}
 [data-adh-page="home"] .node-crm{right:0;bottom:20%}
 [data-adh-page="home"] .node-measure{left:34%;bottom:0}
}

/* Final Greek staging review: consistent small labels and restrained CTA corners. */
[data-adh-page] :is(.eyebrow,.adh-beyond-kicker,.closing-label){font-size:11px!important;line-height:1.55!important;letter-spacing:.15em!important}
[data-adh-page] :is(.feature-label,.discipline-label,.project-content>.label,.card-label,.case-label,.evidence-group-label){font-size:11px!important;line-height:1.55!important;letter-spacing:.12em!important}
[data-adh-page] :is(a.button,button.button,a.btn,button.btn,.button-link,.download-btn,.sheet-btn,.visual-action,.adh-menu-toggle,.adh-marquee-pause,.adh-lb button,input[type="submit"]){border-radius:12px!important}
/* Tablet and mobile: embedded labels are part of the source bitmap.
   Preserve the entire composition with intrinsic image dimensions, no zoom/crop. */
@media(max-width:1366px){
 [data-adh-page="work"] .feature-project{grid-template-columns:minmax(0,1fr)!important;min-height:0!important}
 [data-adh-page="work"] .feature-project .feature-visual-art{order:0!important;min-height:0!important;height:auto!important;align-self:start}
 [data-adh-page="work"] .feature-project .feature-copy{order:1!important}
 [data-adh-page="work"] .feature-project .feature-visual-art img{width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;object-fit:contain!important;object-position:center!important;margin:0!important;transform:none!important}
 [data-adh-page="work"] .project-spirulina .project-media{height:auto!important;min-height:0!important;aspect-ratio:auto!important;padding:clamp(12px,2vw,24px)!important;background:#eeeade!important;display:flex;align-items:center;justify-content:center}
 [data-adh-page="work"] .project-spirulina .project-media img{width:100%!important;height:auto!important;object-fit:contain!important;object-position:center!important;transform:none!important}
}
/* This confirmation page has no entrance or hover movement. */
[data-adh-page="thank-you"] :is(.button,.reveal,.adh-reveal){transform:none!important;animation:none!important;transition:none!important;opacity:1!important}
