/* Arsanta 0.7.8 | Responsive public marketing layer. Do not apply to operational dashboards. */
.editorial-site{max-width:100%;overflow-x:clip}
.editorial-site :is(img,video,svg){max-width:100%}
.editorial-site :is(h1,h2,h3,p){overflow-wrap:break-word}
.editorial-site :is(button,a,summary){touch-action:manipulation}
.editorial-site :is(a,button,summary):focus-visible{outline:3px solid #5b806a;outline-offset:4px}
.editorial-site .editorial-work-grid.editorial-event-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(16px,2vw,30px);align-items:start}
.editorial-site .editorial-event-card{grid-column:span 4;min-width:0}
.editorial-site .editorial-event-card:first-child{grid-column:span 7}
.editorial-site .editorial-event-card:nth-child(2){grid-column:span 5}
.editorial-site .editorial-event-card:first-child:last-child{grid-column:1/-1}
.editorial-site .editorial-event-card:nth-child(3):last-child{grid-column:1/-1}
.editorial-site .editorial-event-card:nth-child(3):nth-last-child(2),.editorial-site .editorial-event-card:nth-child(4):last-child{grid-column:span 6}
.editorial-site .editorial-event-card:first-child:last-child .editorial-event-collage,.editorial-site .editorial-event-card:nth-child(3):last-child .editorial-event-collage{aspect-ratio:2.1}
.editorial-site .editorial-event-card:first-child .editorial-event-collage{aspect-ratio:1.28}
.editorial-site .editorial-event-card:nth-child(2) .editorial-event-collage{aspect-ratio:1.04}
.editorial-site .editorial-event-card:nth-child(n+3) .editorial-event-collage{aspect-ratio:.95}
.editorial-site .editorial-event-collage{border-radius:8px}
.editorial-site .editorial-event-caption{margin-top:14px;gap:5px}
.editorial-site .editorial-event-caption strong{font-size:clamp(17px,1.45vw,21px);max-width:100%}
.editorial-site .website-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px)}
.editorial-site .website-package-card{padding:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;isolation:isolate}
.editorial-site .website-package-card::before{display:none}
.editorial-site .website-package-cover{position:relative;display:block;aspect-ratio:4/3.8;overflow:hidden;background:#dce4d9;width:100%}
.editorial-site .website-package-cover img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .36s ease}
.editorial-site .website-package-card:hover .website-package-cover img{transform:scale(1.035)}
.editorial-site .website-package-cover-fallback{display:flex;flex-direction:column;justify-content:space-between;padding:22px;background:#d9dfd4;color:#30483e}
.editorial-site .website-package-cover-fallback span{font-size:10px;letter-spacing:.13em;font-weight:700}
.editorial-site .website-package-cover-fallback strong{font:italic clamp(25px,2.8vw,42px)/1.08 Georgia,serif;letter-spacing:-.02em}
.editorial-site .website-package-number{padding:18px 20px 0;font-size:10px}
.editorial-site .website-package-body{margin:0;padding:13px 20px 20px;min-height:0;flex:1}
.editorial-site .website-package-body h3{font-size:clamp(25px,2.2vw,34px);margin:9px 0 12px}
.editorial-site .website-package-excerpt{color:#52675a;font-size:13px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;margin-bottom:0}
.editorial-site .website-package-open{padding:16px 20px;min-height:52px;margin-top:auto;border-top:1px solid #d9e2d8;color:#30483e}
.editorial-site .website-package-dialog{width:min(620px,calc(100vw - 24px));max-height:min(88dvh,850px);overscroll-behavior:contain}
.editorial-site .portfolio-event-dialog{width:min(1080px,calc(100vw - 30px));max-height:92dvh;overscroll-behavior:contain}
.editorial-site .portfolio-event-viewer{min-height:0;max-width:100%;overflow:hidden}
.editorial-site .portfolio-event-viewer img{max-height:55dvh;min-width:0}
.editorial-site .portfolio-event-viewer button{min-height:44px;min-width:40px}
.editorial-site .portfolio-event-thumbs button{min-width:54px;min-height:54px}
.editorial-site .editorial-mobile-nav nav{max-width:calc(100vw - 36px)}
.editorial-site :is(.editorial-section,.editorial-hero,.editorial-final-cta){scroll-margin-top:85px}
@media(min-width:701px) and (max-width:1080px){
 .editorial-site .editorial-work-grid.editorial-event-grid{gap:16px}
 .editorial-site .editorial-event-card:first-child,.editorial-site .editorial-event-card:nth-child(2){grid-column:span 6}
 .editorial-site .editorial-event-card:nth-child(n+3){grid-column:span 6}
 .editorial-site .website-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .editorial-site .editorial-steps{gap:20px}
 .editorial-site .public-header nav{gap:13px}
}
@media(max-width:700px){
 .editorial-site .editorial-work-grid.editorial-event-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .editorial-site .editorial-event-card,.editorial-site .editorial-event-card:first-child,.editorial-site .editorial-event-card:nth-child(2){grid-column:span 1}
 .editorial-site .editorial-event-card:first-child{grid-column:1/-1}
 .editorial-site .editorial-event-card:nth-child(3):last-child{grid-column:1/-1}
 .editorial-site .editorial-event-card:nth-child(3):nth-last-child(2),.editorial-site .editorial-event-card:nth-child(4):last-child{grid-column:span 1}
 .editorial-site .editorial-event-card:first-child .editorial-event-collage{aspect-ratio:1.24}
 .editorial-site .editorial-event-card:nth-child(n+2) .editorial-event-collage{aspect-ratio:.88}
 .editorial-site .website-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .editorial-site .website-package-body{padding:10px 15px 18px}
 .editorial-site .website-package-number{padding:14px 15px 0}
 .editorial-site .website-package-open{padding:14px 15px;font-size:12px}
 .editorial-site .website-package-cover{aspect-ratio:4/4.3}
 .editorial-site .website-package-cover-fallback{padding:16px}
 .editorial-site .website-package-body h3{font-size:clamp(22px,5vw,29px)}
 .editorial-site .website-package-excerpt{-webkit-line-clamp:3;font-size:12px}
 .editorial-site .portfolio-event-dialog{width:calc(100vw - 12px);max-height:96dvh}
 .editorial-site .portfolio-event-dialog-inner{padding:16px 12px}
 .editorial-site .portfolio-event-close{width:44px;height:44px}
 .editorial-site .portfolio-event-header{padding-right:48px}
 .editorial-site .portfolio-event-viewer{gap:4px;padding:5px}
 .editorial-site .portfolio-event-viewer img{width:calc(100% - 92px);max-height:47dvh}
 .editorial-site .portfolio-event-viewer button{flex:0 0 44px;width:44px;min-height:48px}
 .editorial-site .public-header .wordmark{min-width:0;font-size:18px}
 .editorial-site .hero-inner{min-width:0}
 .editorial-site .hero .actions a{min-height:48px}
}
@media(max-width:480px){
 .editorial-site .public-section.editorial-section{padding:60px 18px}
 .editorial-site .hero-inner{padding:55px 20px 42px}
 .editorial-site .hero h1{font-size:clamp(42px,12vw,60px)}
 .editorial-site .hero p{font-size:15px}
 .editorial-site .hero-art.editorial-hero-photo{height:360px}
 .editorial-site .website-package-grid{grid-template-columns:1fr;gap:18px}
 .editorial-site .website-package-cover{aspect-ratio:4/3}
 .editorial-site .website-package-body h3{font-size:30px}
 .editorial-site .website-package-excerpt{font-size:13px}
 .editorial-site .editorial-work-grid.editorial-event-grid{grid-template-columns:1fr;gap:24px}
 .editorial-site .editorial-event-card,.editorial-site .editorial-event-card:first-child,.editorial-site .editorial-event-card:nth-child(2){grid-column:1/-1}
 .editorial-site .editorial-event-card:nth-child(3):last-child,.editorial-site .editorial-event-card:nth-child(3):nth-last-child(2),.editorial-site .editorial-event-card:nth-child(4):last-child{grid-column:1/-1}
 .editorial-site .editorial-event-card .editorial-event-collage{aspect-ratio:4/3.4!important}
 .editorial-site .editorial-footer-grid{grid-template-columns:1fr 1fr;gap:30px 20px}
 .editorial-site .editorial-final-cta{padding:68px 19px}
 .editorial-site .website-package-dialog-inner{padding:48px 22px 25px}
}
@media(max-width:360px){
 .editorial-site .hero .actions{flex-direction:column;align-items:stretch}
 .editorial-site .hero .actions a{justify-content:center}
 .editorial-site .editorial-steps{grid-template-columns:1fr}
 .editorial-site .editorial-footer-grid{grid-template-columns:1fr}
 .editorial-site .editorial-footer-grid>div:first-child{grid-column:auto}
 .editorial-site .portfolio-event-header h2{font-size:27px}
}
@media(hover:none){.editorial-site .website-package-card:hover,.editorial-site .editorial-event-trigger:hover img{transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){
 .editorial-site *,.editorial-site *::before,.editorial-site *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;scroll-behavior:auto!important}
}

/* v0.8.1 — mobile navigation: override legacy app.css hiding every non-button link.
   Scoped to the public homepage: admin and client navigation stay untouched. */
@media (max-width: 700px) {
 .editorial-site .public-header.editorial-nav { overflow: visible; }
 .editorial-site .public-header .editorial-mobile-nav { z-index: 100; }
 .editorial-site .public-header .editorial-mobile-nav > summary {
   display:flex;align-items:center;justify-content:center;gap:9px;
   min-height:44px;padding:10px 14px;border:1px solid #718d7a;border-radius:10px;
   background:#f8f7f2;color:#30483e;
   font:700 13px/1.25 'Plus Jakarta Sans',Inter,sans-serif;
 }
 .editorial-site .public-header .editorial-mobile-nav[open] > summary {
   background:#edf2ec;border-color:#30483e;
 }
 .editorial-site .public-header .editorial-mobile-nav > summary .editorial-menu-icon {
   display:inline-block;font-size:16px;line-height:1;transition:transform .2s ease;
 }
 .editorial-site .public-header .editorial-mobile-nav[open] > summary .editorial-menu-icon { transform:rotate(90deg); }
 .editorial-site .public-header .editorial-mobile-nav > nav {
   position:absolute;top:calc(100% + 12px);right:0;
   width:min(292px,calc(100vw - 34px));max-width:calc(100vw - 34px);
   display:flex;flex-direction:column;align-items:stretch;gap:3px;
   padding:10px;background:#f8f7f2;
   border:1px solid #d4ded3;border-radius:12px;
   box-shadow:0 16px 40px rgba(27,47,35,.18);
   z-index:120;
 }
 /* app.css contains `.public-header nav>a:not(.btn){display:none}`.
    The selector below is intentionally stronger, and re-enables EACH menu link. */
 .editorial-site .public-header .editorial-mobile-nav > nav > a,
 .editorial-site .public-header .editorial-mobile-nav > nav > a:not(.btn) {
   display:flex;align-items:center;min-height:46px;width:100%;padding:11px 14px;
   border:0;border-radius:7px;
   color:#26342d;background:transparent;
   font-size:14px;font-weight:650;line-height:1.35;
   text-decoration:none;
 }
 .editorial-site .public-header .editorial-mobile-nav > nav > a:hover,
 .editorial-site .public-header .editorial-mobile-nav > nav > a:focus-visible { background:#e5ede5;color:#30483e; }
 .editorial-site .public-header .editorial-mobile-nav > nav > a:last-child {
   background:#30483e;color:#fff;justify-content:space-between;margin-top:5px;
 }
 .editorial-site .public-header .editorial-mobile-nav > nav > a:last-child:hover { background:#243a30;color:#fff; }
}
/* Final CTA: balanced pair of actions on desktop, stack on small phones. */
.editorial-site .editorial-final-cta .editorial-cta-actions {
 display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
 gap:12px;margin-top:30px;max-width:100%;
}
.editorial-site .editorial-final-cta .editorial-cta-actions .btn {
 margin-top:0;display:inline-flex;align-items:center;justify-content:center;
 gap:12px;min-height:54px;min-width:206px;padding:15px 22px;
 border-radius:7px;text-decoration:none;text-align:center;
}
.editorial-site .editorial-final-cta .btn-contact {
 color:#f8f7f2;border:1px solid #c7d7ca;background:transparent;
}
.editorial-site .editorial-final-cta .btn-contact:hover {
 color:#30483e;background:#f8f7f2;border-color:#f8f7f2;
}
@media(max-width:480px){
 .editorial-site .editorial-final-cta .editorial-cta-actions { width:100%;flex-direction:column;gap:11px; }
 .editorial-site .editorial-final-cta .editorial-cta-actions .btn { width:100%;min-width:0;max-width:360px; }
}
@media(prefers-reduced-motion:reduce){
 .editorial-site .public-header .editorial-mobile-nav > summary .editorial-menu-icon { transition:none; }
}
